Server IP : 213.176.29.180 / Your IP : 18.119.192.221 Web Server : Apache System : Linux 213.176.29.180.hostiran.name 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64 User : webtaragh ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/webtaragh/public_html/whmcs/admin/templates/blend/js/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
if(!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(t.document)return e(t);throw new Error("jQuery requires a window with a document")}:e(t)}("undefined"!=typeof window?window:this,function(w,R){function N(t,e){return e.toUpperCase()}var h=[],f=w.document,u=h.slice,F=h.concat,j=h.push,z=h.indexOf,H={},B=H.toString,g=H.hasOwnProperty,m={},t="1.12.4",x=function(t,e){return new x.fn.init(t,e)},W=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,U=/^-ms-/,q=/-([\da-z])/gi;function Y(t){var e=!!t&&"length"in t&&t.length,n=x.type(t);return"function"!==n&&!x.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t)}x.fn=x.prototype={jquery:t,constructor:x,selector:"",length:0,toArray:function(){return u.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:u.call(this)},pushStack:function(t){t=x.merge(this.constructor(),t);return t.prevObject=this,t.context=this.context,t},each:function(t){return x.each(this,t)},map:function(n){return this.pushStack(x.map(this,function(t,e){return n.call(t,e,t)}))},slice:function(){return this.pushStack(u.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,t=+t+(t<0?e:0);return this.pushStack(0<=t&&t<e?[this[t]]:[])},end:function(){return this.prevObject||this.constructor()},push:j,sort:h.sort,splice:h.splice},x.extend=x.fn.extend=function(){var t,e,n,i,o,s=arguments[0]||{},r=1,a=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[r]||{},r++),"object"==typeof s||x.isFunction(s)||(s={}),r===a&&(s=this,r--);r<a;r++)if(null!=(i=arguments[r]))for(n in i)o=s[n],s!==(e=i[n])&&(l&&e&&(x.isPlainObject(e)||(t=x.isArray(e)))?(o=t?(t=!1,o&&x.isArray(o)?o:[]):o&&x.isPlainObject(o)?o:{},s[n]=x.extend(l,o,e)):void 0!==e&&(s[n]=e));return s},x.extend({expando:"jQuery"+(t+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===x.type(t)},isArray:Array.isArray||function(t){return"array"===x.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){var e=t&&t.toString();return!x.isArray(t)&&0<=e-parseFloat(e)+1},isEmptyObject:function(t){for(var e in t)return!1;return!0},isPlainObject:function(t){if(!t||"object"!==x.type(t)||t.nodeType||x.isWindow(t))return!1;try{if(t.constructor&&!g.call(t,"constructor")&&!g.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(!m.ownFirst)for(var e in t)return g.call(t,e);for(e in t);return void 0===e||g.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?H[B.call(t)]||"object":typeof t},globalEval:function(t){t&&x.trim(t)&&(w.execScript||function(t){w.eval.call(w,t)})(t)},camelCase:function(t){return t.replace(U,"ms-").replace(q,N)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e){var n,i=0;if(Y(t))for(n=t.length;i<n&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:function(t){return null==t?"":(t+"").replace(W,"")},makeArray:function(t,e){e=e||[];return null!=t&&(Y(Object(t))?x.merge(e,"string"==typeof t?[t]:t):j.call(e,t)),e},inArray:function(t,e,n){var i;if(e){if(z)return z.call(e,t,n);for(i=e.length,n=n?n<0?Math.max(0,i+n):n:0;n<i;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,i=0,o=t.length;i<n;)t[o++]=e[i++];if(n!=n)for(;void 0!==e[i];)t[o++]=e[i++];return t.length=o,t},grep:function(t,e,n){for(var i=[],o=0,s=t.length,r=!n;o<s;o++)!e(t[o],o)!=r&&i.push(t[o]);return i},map:function(t,e,n){var i,o,s=0,r=[];if(Y(t))for(i=t.length;s<i;s++)null!=(o=e(t[s],s,n))&&r.push(o);else for(s in t)null!=(o=e(t[s],s,n))&&r.push(o);return F.apply([],r)},guid:1,proxy:function(t,e){var n,i;if("string"==typeof e&&(i=t[e],e=t,t=i),x.isFunction(t))return n=u.call(arguments,2),(i=function(){return t.apply(e||this,n.concat(u.call(arguments)))}).guid=t.guid=t.guid||x.guid++,i},now:function(){return+new Date},support:m}),"function"==typeof Symbol&&(x.fn[Symbol.iterator]=h[Symbol.iterator]),x.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(t,e){H["[object "+e+"]"]=e.toLowerCase()});function i(t,e,n){for(var i=[],o=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(o&&x(t).is(n))break;i.push(t)}return i}function V(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}var t=function(R){function h(t,e,n){var i="0x"+e-65536;return i!=i||n?e:i<0?String.fromCharCode(65536+i):String.fromCharCode(i>>10|55296,1023&i|56320)}function N(){x()}var t,f,$,s,F,g,j,z,w,l,d,x,_,e,C,m,i,o,v,S="sizzle"+ +new Date,y=R.document,k=0,H=0,B=dt(),W=dt(),b=dt(),U=function(t,e){return t===e&&(d=!0),0},q={}.hasOwnProperty,n=[],Y=n.pop,V=n.push,D=n.push,G=n.slice,T=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},Q="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",r="[\\x20\\t\\r\\n\\f]",a="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",K="\\["+r+"*("+a+")(?:"+r+"*([*^$|!~]?=)"+r+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+a+"))|)"+r+"*\\]",J=":("+a+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+K+")*)|.*)\\)|)",X=new RegExp(r+"+","g"),I=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),Z=new RegExp("^"+r+"*,"+r+"*"),tt=new RegExp("^"+r+"*([>+~]|"+r+")"+r+"*"),et=new RegExp("="+r+"*([^\\]'\"]*?)"+r+"*\\]","g"),nt=new RegExp(J),it=new RegExp("^"+a+"$"),c={ID:new RegExp("^#("+a+")"),CLASS:new RegExp("^\\.("+a+")"),TAG:new RegExp("^("+a+"|[*])"),ATTR:new RegExp("^"+K),PSEUDO:new RegExp("^"+J),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),bool:new RegExp("^(?:"+Q+")$","i"),needsContext:new RegExp("^"+r+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+r+"*((?:-\\d)?\\d*)"+r+"*\\)|)(?=[^-]|$)","i")},ot=/^(?:input|select|textarea|button)$/i,st=/^h\d$/i,u=/^[^{]+\{\s*\[native \w/,rt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,at=/[+~]/,lt=/'|\\/g,p=new RegExp("\\\\([\\da-f]{1,6}"+r+"?|("+r+")|.)","ig");try{D.apply(n=G.call(y.childNodes),y.childNodes),n[y.childNodes.length].nodeType}catch(t){D={apply:n.length?function(t,e){V.apply(t,G.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function A(t,e,n,i){var o,s,r,a,l,d,u,h,c=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!i&&((e?e.ownerDocument||e:y)!==_&&x(e),e=e||_,C)){if(11!==p&&(d=rt.exec(t)))if(o=d[1]){if(9===p){if(!(r=e.getElementById(o)))return n;if(r.id===o)return n.push(r),n}else if(c&&(r=c.getElementById(o))&&v(e,r)&&r.id===o)return n.push(r),n}else{if(d[2])return D.apply(n,e.getElementsByTagName(t)),n;if((o=d[3])&&f.getElementsByClassName&&e.getElementsByClassName)return D.apply(n,e.getElementsByClassName(o)),n}if(f.qsa&&!b[t+" "]&&(!m||!m.test(t))){if(1!==p)c=e,h=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(lt,"\\$&"):e.setAttribute("id",a=S),s=(u=g(t)).length,l=it.test(a)?"#"+a:"[id='"+a+"']";s--;)u[s]=l+" "+E(u[s]);h=u.join(","),c=at.test(t)&&ct(e.parentNode)||e}if(h)try{return D.apply(n,c.querySelectorAll(h)),n}catch(t){}finally{a===S&&e.removeAttribute("id")}}}return z(t.replace(I,"$1"),e,n,i)}function dt(){var n=[];function i(t,e){return n.push(t+" ")>$.cacheLength&&delete i[n.shift()],i[t+" "]=e}return i}function M(t){return t[S]=!0,t}function O(t){var e=_.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e)}}function ut(t,e){for(var n=t.split("|"),i=n.length;i--;)$.attrHandle[n[i]]=e}function ht(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function P(r){return M(function(s){return s=+s,M(function(t,e){for(var n,i=r([],t.length,s),o=i.length;o--;)t[n=i[o]]&&(t[n]=!(e[n]=t[n]))})})}function ct(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in f=A.support={},F=A.isXML=function(t){t=t&&(t.ownerDocument||t).documentElement;return!!t&&"HTML"!==t.nodeName},x=A.setDocument=function(t){var t=t?t.ownerDocument||t:y;return t!==_&&9===t.nodeType&&t.documentElement&&(e=(_=t).documentElement,C=!F(_),(t=_.defaultView)&&t.top!==t&&(t.addEventListener?t.addEventListener("unload",N,!1):t.attachEvent&&t.attachEvent("onunload",N)),f.attributes=O(function(t){return t.className="i",!t.getAttribute("className")}),f.getElementsByTagName=O(function(t){return t.appendChild(_.createComment("")),!t.getElementsByTagName("*").length}),f.getElementsByClassName=u.test(_.getElementsByClassName),f.getById=O(function(t){return e.appendChild(t).id=S,!_.getElementsByName||!_.getElementsByName(S).length}),f.getById?($.find.ID=function(t,e){if(void 0!==e.getElementById&&C)return(e=e.getElementById(t))?[e]:[]},$.filter.ID=function(t){var e=t.replace(p,h);return function(t){return t.getAttribute("id")===e}}):(delete $.find.ID,$.filter.ID=function(t){var e=t.replace(p,h);return function(t){t=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return t&&t.value===e}}),$.find.TAG=f.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):f.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],o=0,s=e.getElementsByTagName(t);if("*"!==t)return s;for(;n=s[o++];)1===n.nodeType&&i.push(n);return i},$.find.CLASS=f.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&C)return e.getElementsByClassName(t)},i=[],m=[],(f.qsa=u.test(_.querySelectorAll))&&(O(function(t){e.appendChild(t).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+r+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+r+"*(?:value|"+Q+")"),t.querySelectorAll("[id~="+S+"-]").length||m.push("~="),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+S+"+*").length||m.push(".#.+[+~]")}),O(function(t){var e=_.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+r+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")})),(f.matchesSelector=u.test(o=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.msMatchesSelector))&&O(function(t){f.disconnectedMatch=o.call(t,"div"),o.call(t,"[s!='']:x"),i.push("!=",J)}),m=m.length&&new RegExp(m.join("|")),i=i.length&&new RegExp(i.join("|")),t=u.test(e.compareDocumentPosition),v=t||u.test(e.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(n.contains?n.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=t?function(t,e){var n;return t===e?(d=!0,0):(n=!t.compareDocumentPosition-!e.compareDocumentPosition)||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!f.sortDetached&&e.compareDocumentPosition(t)===n?t===_||t.ownerDocument===y&&v(y,t)?-1:e===_||e.ownerDocument===y&&v(y,e)?1:l?T(l,t)-T(l,e):0:4&n?-1:1)}:function(t,e){if(t===e)return d=!0,0;var n,i=0,o=t.parentNode,s=e.parentNode,r=[t],a=[e];if(!o||!s)return t===_?-1:e===_?1:o?-1:s?1:l?T(l,t)-T(l,e):0;if(o===s)return ht(t,e);for(n=t;n=n.parentNode;)r.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;r[i]===a[i];)i++;return i?ht(r[i],a[i]):r[i]===y?-1:a[i]===y?1:0}),_},A.matches=function(t,e){return A(t,null,null,e)},A.matchesSelector=function(t,e){if((t.ownerDocument||t)!==_&&x(t),e=e.replace(et,"='$1']"),f.matchesSelector&&C&&!b[e+" "]&&(!i||!i.test(e))&&(!m||!m.test(e)))try{var n=o.call(t,e);if(n||f.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0<A(e,_,null,[t]).length},A.contains=function(t,e){return(t.ownerDocument||t)!==_&&x(t),v(t,e)},A.attr=function(t,e){(t.ownerDocument||t)!==_&&x(t);var n=$.attrHandle[e.toLowerCase()],n=n&&q.call($.attrHandle,e.toLowerCase())?n(t,e,!C):void 0;return void 0!==n?n:f.attributes||!C?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},A.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},A.uniqueSort=function(t){var e,n=[],i=0,o=0;if(d=!f.detectDuplicates,l=!f.sortStable&&t.slice(0),t.sort(U),d){for(;e=t[o++];)e===t[o]&&(i=n.push(o));for(;i--;)t.splice(n[i],1)}return l=null,t},s=A.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=s(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=s(e);return n},($=A.selectors={cacheLength:50,createPseudo:M,match:c,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(p,h),t[3]=(t[3]||t[4]||t[5]||"").replace(p,h),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||A.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&A.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return c.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&nt.test(n)&&(e=(e=g(n,!0))&&n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(p,h).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=B[t+" "];return e||(e=new RegExp("(^|"+r+")"+t+"("+r+"|$)"))&&B(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(t){t=A.attr(t,e);return null==t?"!="===n:!n||(t+="","="===n?t===i:"!="===n?t!==i:"^="===n?i&&0===t.indexOf(i):"*="===n?i&&-1<t.indexOf(i):"$="===n?i&&t.slice(-i.length)===i:"~="===n?-1<(" "+t.replace(X," ")+" ").indexOf(i):"|="===n&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(f,t,e,g,m){var v="nth"!==f.slice(0,3),y="last"!==f.slice(-4),b="of-type"===t;return 1===g&&0===m?function(t){return!!t.parentNode}:function(t,e,n){var i,o,s,r,a,l,d=v!=y?"nextSibling":"previousSibling",u=t.parentNode,h=b&&t.nodeName.toLowerCase(),c=!n&&!b,p=!1;if(u){if(v){for(;d;){for(r=t;r=r[d];)if(b?r.nodeName.toLowerCase()===h:1===r.nodeType)return!1;l=d="only"===f&&!l&&"nextSibling"}return!0}if(l=[y?u.firstChild:u.lastChild],y&&c){for(p=(a=(i=(o=(s=(r=u)[S]||(r[S]={}))[r.uniqueID]||(s[r.uniqueID]={}))[f]||[])[0]===k&&i[1])&&i[2],r=a&&u.childNodes[a];r=++a&&r&&r[d]||(p=a=0,l.pop());)if(1===r.nodeType&&++p&&r===t){o[f]=[k,a,p];break}}else if(!1===(p=c?a=(i=(o=(s=(r=t)[S]||(r[S]={}))[r.uniqueID]||(s[r.uniqueID]={}))[f]||[])[0]===k&&i[1]:p))for(;(r=++a&&r&&r[d]||(p=a=0,l.pop()))&&((b?r.nodeName.toLowerCase()!==h:1!==r.nodeType)||!++p||(c&&((o=(s=r[S]||(r[S]={}))[r.uniqueID]||(s[r.uniqueID]={}))[f]=[k,p]),r!==t)););return(p-=m)===g||p%g==0&&0<=p/g}}},PSEUDO:function(t,s){var e,r=$.pseudos[t]||$.setFilters[t.toLowerCase()]||A.error("unsupported pseudo: "+t);return r[S]?r(s):1<r.length?(e=[t,t,"",s],$.setFilters.hasOwnProperty(t.toLowerCase())?M(function(t,e){for(var n,i=r(t,s),o=i.length;o--;)t[n=T(t,i[o])]=!(e[n]=i[o])}):function(t){return r(t,0,e)}):r}},pseudos:{not:M(function(t){var i=[],o=[],a=j(t.replace(I,"$1"));return a[S]?M(function(t,e,n,i){for(var o,s=a(t,null,i,[]),r=t.length;r--;)(o=s[r])&&(t[r]=!(e[r]=o))}):function(t,e,n){return i[0]=t,a(i,null,n,o),i[0]=null,!o.pop()}}),has:M(function(e){return function(t){return 0<A(e,t).length}}),contains:M(function(e){return e=e.replace(p,h),function(t){return-1<(t.textContent||t.innerText||s(t)).indexOf(e)}}),lang:M(function(n){return it.test(n||"")||A.error("unsupported lang: "+n),n=n.replace(p,h).toLowerCase(),function(t){var e;do{if(e=C?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(e=e.toLowerCase())===n||0===e.indexOf(n+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var e=R.location&&R.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===e},focus:function(t){return t===_.activeElement&&(!_.hasFocus||_.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!$.pseudos.empty(t)},header:function(t){return st.test(t.nodeName)},input:function(t){return ot.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(t=t.getAttribute("type"))||"text"===t.toLowerCase())},first:P(function(){return[0]}),last:P(function(t,e){return[e-1]}),eq:P(function(t,e,n){return[n<0?n+e:n]}),even:P(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:P(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:P(function(t,e,n){for(var i=n<0?n+e:n;0<=--i;)t.push(i);return t}),gt:P(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=$.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})$.pseudos[t]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(t);for(t in{submit:!0,reset:!0})$.pseudos[t]=function(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}(t);function pt(){}function E(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function ft(r,t,e){var a=t.dir,l=e&&"parentNode"===a,d=H++;return t.first?function(t,e,n){for(;t=t[a];)if(1===t.nodeType||l)return r(t,e,n)}:function(t,e,n){var i,o,s=[k,d];if(n){for(;t=t[a];)if((1===t.nodeType||l)&&r(t,e,n))return!0}else for(;t=t[a];)if(1===t.nodeType||l){if((i=(o=(o=t[S]||(t[S]={}))[t.uniqueID]||(o[t.uniqueID]={}))[a])&&i[0]===k&&i[1]===d)return s[2]=i[2];if((o[a]=s)[2]=r(t,e,n))return!0}}}function gt(o){return 1<o.length?function(t,e,n){for(var i=o.length;i--;)if(!o[i](t,e,n))return!1;return!0}:o[0]}function L(t,e,n,i,o){for(var s,r=[],a=0,l=t.length,d=null!=e;a<l;a++)!(s=t[a])||n&&!n(s,i,o)||(r.push(s),d&&e.push(a));return r}function mt(p,f,g,m,v,t){return m&&!m[S]&&(m=mt(m)),v&&!v[S]&&(v=mt(v,t)),M(function(t,e,n,i){var o,s,r,a=[],l=[],d=e.length,u=t||function(t,e,n){for(var i=0,o=e.length;i<o;i++)A(t,e[i],n);return n}(f||"*",n.nodeType?[n]:n,[]),h=!p||!t&&f?u:L(u,a,p,n,i),c=g?v||(t?p:d||m)?[]:e:h;if(g&&g(h,c,n,i),m)for(o=L(c,l),m(o,[],n,i),s=o.length;s--;)(r=o[s])&&(c[l[s]]=!(h[l[s]]=r));if(t){if(v||p){if(v){for(o=[],s=c.length;s--;)(r=c[s])&&o.push(h[s]=r);v(null,c=[],o,i)}for(s=c.length;s--;)(r=c[s])&&-1<(o=v?T(t,r):a[s])&&(t[o]=!(e[o]=r))}}else c=L(c===e?c.splice(d,c.length):c),v?v(null,e,c,i):D.apply(e,c)})}function vt(m,v){function t(t,e,n,i,o){var s,r,a,l=0,d="0",u=t&&[],h=[],c=w,p=t||b&&$.find.TAG("*",o),f=k+=null==c?1:Math.random()||.1,g=p.length;for(o&&(w=e===_||e||o);d!==g&&null!=(s=p[d]);d++){if(b&&s){for(r=0,e||s.ownerDocument===_||(x(s),n=!C);a=m[r++];)if(a(s,e||_,n)){i.push(s);break}o&&(k=f)}y&&((s=!a&&s)&&l--,t)&&u.push(s)}if(l+=d,y&&d!==l){for(r=0;a=v[r++];)a(u,h,e,n);if(t){if(0<l)for(;d--;)u[d]||h[d]||(h[d]=Y.call(i));h=L(h)}D.apply(i,h),o&&!t&&0<h.length&&1<l+v.length&&A.uniqueSort(i)}return o&&(k=f,w=c),u}var y=0<v.length,b=0<m.length;return y?M(t):t}return pt.prototype=$.filters=$.pseudos,$.setFilters=new pt,g=A.tokenize=function(t,e){var n,i,o,s,r,a,l,d=W[t+" "];if(d)return e?0:d.slice(0);for(r=t,a=[],l=$.preFilter;r;){for(s in n&&!(i=Z.exec(r))||(i&&(r=r.slice(i[0].length)||r),a.push(o=[])),n=!1,(i=tt.exec(r))&&(n=i.shift(),o.push({value:n,type:i[0].replace(I," ")}),r=r.slice(n.length)),$.filter)!(i=c[s].exec(r))||l[s]&&!(i=l[s](i))||(n=i.shift(),o.push({value:n,type:s,matches:i}),r=r.slice(n.length));if(!n)break}return e?r.length:r?A.error(t):W(t,a).slice(0)},j=A.compile=function(t,e){var n,i=[],o=[],s=b[t+" "];if(!s){for(n=(e=e||g(t)).length;n--;)((s=function t(e){for(var i,n,o,s=e.length,r=$.relative[e[0].type],a=r||$.relative[" "],l=r?1:0,d=ft(function(t){return t===i},a,!0),u=ft(function(t){return-1<T(i,t)},a,!0),h=[function(t,e,n){return t=!r&&(n||e!==w)||((i=e).nodeType?d:u)(t,e,n),i=null,t}];l<s;l++)if(n=$.relative[e[l].type])h=[ft(gt(h),n)];else{if((n=$.filter[e[l].type].apply(null,e[l].matches))[S]){for(o=++l;o<s&&!$.relative[e[o].type];o++);return mt(1<l&>(h),1<l&&E(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(I,"$1"),n,l<o&&t(e.slice(l,o)),o<s&&t(e=e.slice(o)),o<s&&E(e))}h.push(n)}return gt(h)}(e[n]))[S]?i:o).push(s);(s=b(t,vt(o,i))).selector=t}return s},z=A.select=function(t,e,n,i){var o,s,r,a,l,d="function"==typeof t&&t,u=!i&&g(t=d.selector||t);if(n=n||[],1===u.length){if(2<(s=u[0]=u[0].slice(0)).length&&"ID"===(r=s[0]).type&&f.getById&&9===e.nodeType&&C&&$.relative[s[1].type]){if(!(e=($.find.ID(r.matches[0].replace(p,h),e)||[])[0]))return n;d&&(e=e.parentNode),t=t.slice(s.shift().value.length)}for(o=c.needsContext.test(t)?0:s.length;o--&&(r=s[o],!$.relative[a=r.type]);)if((l=$.find[a])&&(i=l(r.matches[0].replace(p,h),at.test(s[0].type)&&ct(e.parentNode)||e))){if(s.splice(o,1),t=i.length&&E(s))break;return D.apply(n,i),n}}return(d||j(t,u))(i,e,!C,n,!e||at.test(t)&&ct(e.parentNode)||e),n},f.sortStable=S.split("").sort(U).join("")===S,f.detectDuplicates=!!d,x(),f.sortDetached=O(function(t){return 1&t.compareDocumentPosition(_.createElement("div"))}),O(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ut("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),f.attributes&&O(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ut("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),O(function(t){return null==t.getAttribute("disabled")})||ut(Q,function(t,e,n){if(!n)return!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),A}(w),G=(x.find=t,x.expr=t.selectors,x.expr[":"]=x.expr.pseudos,x.uniqueSort=x.unique=t.uniqueSort,x.text=t.getText,x.isXMLDoc=t.isXML,x.contains=t.contains,x.expr.match.needsContext),Q=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,K=/^.[^:#\[\.,]*$/;function J(t,n,i){if(x.isFunction(n))return x.grep(t,function(t,e){return!!n.call(t,e,t)!==i});if(n.nodeType)return x.grep(t,function(t){return t===n!==i});if("string"==typeof n){if(K.test(n))return x.filter(n,t,i);n=x.filter(n,t)}return x.grep(t,function(t){return-1<x.inArray(t,n)!==i})}x.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?x.find.matchesSelector(i,t)?[i]:[]:x.find.matches(t,x.grep(e,function(t){return 1===t.nodeType}))},x.fn.extend({find:function(t){var e,n=[],i=this,o=i.length;if("string"!=typeof t)return this.pushStack(x(t).filter(function(){for(e=0;e<o;e++)if(x.contains(i[e],this))return!0}));for(e=0;e<o;e++)x.find(t,i[e],n);return(n=this.pushStack(1<o?x.unique(n):n)).selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(J(this,t||[],!1))},not:function(t){return this.pushStack(J(this,t||[],!0))},is:function(t){return!!J(this,"string"==typeof t&&G.test(t)?x(t):t||[],!1).length}});var X,Z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,tt=((x.fn.init=function(t,e,n){if(t){if(n=n||X,"string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):x.isFunction(t)?void 0!==n.ready?n.ready(t):t(x):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),x.makeArray(t,this));if(!(i="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:Z.exec(t))||!i[1]&&e)return(!e||e.jquery?e||n:this.constructor(e)).find(t);if(i[1]){if(e=e instanceof x?e[0]:e,x.merge(this,x.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:f,!0)),Q.test(i[1])&&x.isPlainObject(e))for(var i in e)x.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i])}else{if((n=f.getElementById(i[2]))&&n.parentNode){if(n.id!==i[2])return X.find(t);this.length=1,this[0]=n}this.context=f,this.selector=t}}return this}).prototype=x.fn,X=x(f),/^(?:parents|prev(?:Until|All))/),et={children:!0,contents:!0,next:!0,prev:!0};function nt(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}x.fn.extend({has:function(t){var e,n=x(t,this),i=n.length;return this.filter(function(){for(e=0;e<i;e++)if(x.contains(this,n[e]))return!0})},closest:function(t,e){for(var n,i=0,o=this.length,s=[],r=G.test(t)||"string"!=typeof t?x(t,e||this.context):0;i<o;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(r?-1<r.index(n):1===n.nodeType&&x.find.matchesSelector(n,t))){s.push(n);break}return this.pushStack(1<s.length?x.uniqueSort(s):s)},index:function(t){return t?"string"==typeof t?x.inArray(this[0],x(t)):x.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(x.uniqueSort(x.merge(this.get(),x(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),x.each({parent:function(t){t=t.parentNode;return t&&11!==t.nodeType?t:null},parents:function(t){return i(t,"parentNode")},parentsUntil:function(t,e,n){return i(t,"parentNode",n)},next:function(t){return nt(t,"nextSibling")},prev:function(t){return nt(t,"previousSibling")},nextAll:function(t){return i(t,"nextSibling")},prevAll:function(t){return i(t,"previousSibling")},nextUntil:function(t,e,n){return i(t,"nextSibling",n)},prevUntil:function(t,e,n){return i(t,"previousSibling",n)},siblings:function(t){return V((t.parentNode||{}).firstChild,t)},children:function(t){return V(t.firstChild)},contents:function(t){return x.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:x.merge([],t.childNodes)}},function(i,o){x.fn[i]=function(t,e){var n=x.map(this,o,t);return(e="Until"!==i.slice(-5)?t:e)&&"string"==typeof e&&(n=x.filter(e,n)),1<this.length&&(et[i]||(n=x.uniqueSort(n)),tt.test(i))&&(n=n.reverse()),this.pushStack(n)}});var it,ot,_=/\S+/g;function st(){f.addEventListener?(f.removeEventListener("DOMContentLoaded",e),w.removeEventListener("load",e)):(f.detachEvent("onreadystatechange",e),w.detachEvent("onload",e))}function e(){!f.addEventListener&&"load"!==w.event.type&&"complete"!==f.readyState||(st(),x.ready())}for(ot in x.Callbacks=function(i){var t,n;i="string"==typeof i?(t=i,n={},x.each(t.match(_)||[],function(t,e){n[e]=!0}),n):x.extend({},i);function o(){for(a=i.once,r=s=!0;d.length;u=-1)for(e=d.shift();++u<l.length;)!1===l[u].apply(e[0],e[1])&&i.stopOnFalse&&(u=l.length,e=!1);i.memory||(e=!1),s=!1,a&&(l=e?[]:"")}var s,e,r,a,l=[],d=[],u=-1,h={add:function(){return l&&(e&&!s&&(u=l.length-1,d.push(e)),function n(t){x.each(t,function(t,e){x.isFunction(e)?i.unique&&h.has(e)||l.push(e):e&&e.length&&"string"!==x.type(e)&&n(e)})}(arguments),e)&&!s&&o(),this},remove:function(){return x.each(arguments,function(t,e){for(var n;-1<(n=x.inArray(e,l,n));)l.splice(n,1),n<=u&&u--}),this},has:function(t){return t?-1<x.inArray(t,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return a=d=[],l=e="",this},disabled:function(){return!l},lock:function(){return a=!0,e||h.disable(),this},locked:function(){return!!a},fireWith:function(t,e){return a||(e=[t,(e=e||[]).slice?e.slice():e],d.push(e),s)||o(),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!r}};return h},x.extend({Deferred:function(t){var s=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],o="pending",r={state:function(){return o},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var o=arguments;return x.Deferred(function(i){x.each(s,function(t,e){var n=x.isFunction(o[t])&&o[t];a[e[1]](function(){var t=n&&n.apply(this,arguments);t&&x.isFunction(t.promise)?t.promise().progress(i.notify).done(i.resolve).fail(i.reject):i[e[0]+"With"](this===r?i.promise():this,n?[t]:arguments)})}),o=null}).promise()},promise:function(t){return null!=t?x.extend(t,r):r}},a={};return r.pipe=r.then,x.each(s,function(t,e){var n=e[2],i=e[3];r[e[1]]=n.add,i&&n.add(function(){o=i},s[1^t][2].disable,s[2][2].lock),a[e[0]]=function(){return a[e[0]+"With"](this===a?r:this,arguments),this},a[e[0]+"With"]=n.fireWith}),r.promise(a),t&&t.call(a,a),a},when:function(t){function e(e,n,i){return function(t){n[e]=this,i[e]=1<arguments.length?u.call(arguments):t,i===o?d.notifyWith(n,i):--l||d.resolveWith(n,i)}}var o,n,i,s=0,r=u.call(arguments),a=r.length,l=1!==a||t&&x.isFunction(t.promise)?a:0,d=1===l?t:x.Deferred();if(1<a)for(o=new Array(a),n=new Array(a),i=new Array(a);s<a;s++)r[s]&&x.isFunction(r[s].promise)?r[s].promise().progress(e(s,n,o)).done(e(s,i,r)).fail(d.reject):--l;return l||d.resolveWith(i,r),d.promise()}}),x.fn.ready=function(t){return x.ready.promise().done(t),this},x.extend({isReady:!1,readyWait:1,holdReady:function(t){t?x.readyWait++:x.ready(!0)},ready:function(t){(!0===t?--x.readyWait:x.isReady)||(x.isReady=!0)!==t&&0<--x.readyWait||(it.resolveWith(f,[x]),x.fn.triggerHandler&&(x(f).triggerHandler("ready"),x(f).off("ready")))}}),x.ready.promise=function(t){if(!it)if(it=x.Deferred(),"complete"===f.readyState||"loading"!==f.readyState&&!f.documentElement.doScroll)w.setTimeout(x.ready);else if(f.addEventListener)f.addEventListener("DOMContentLoaded",e),w.addEventListener("load",e);else{f.attachEvent("onreadystatechange",e),w.attachEvent("onload",e);var n=!1;try{n=null==w.frameElement&&f.documentElement}catch(t){}n&&n.doScroll&&!function e(){if(!x.isReady){try{n.doScroll("left")}catch(t){return w.setTimeout(e,50)}st(),x.ready()}}()}return it.promise(t)},x.ready.promise(),x(m))break;m.ownFirst="0"===ot,m.inlineBlockNeedsLayout=!1,x(function(){var t,e,n=f.getElementsByTagName("body")[0];n&&n.style&&(t=f.createElement("div"),(e=f.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(e).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",m.inlineBlockNeedsLayout=t=3===t.offsetWidth,t)&&(n.style.zoom=1),n.removeChild(e))});t=f.createElement("div");m.deleteExpando=!0;try{delete t.test}catch(t){m.deleteExpando=!1}function v(t){var e=x.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return(1===n||9===n)&&(!e||!0!==e&&t.getAttribute("classid")===e)}var o,rt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,at=/([A-Z])/g;function lt(t,e,n){if(void 0===n&&1===t.nodeType){var i="data-"+e.replace(at,"-$1").toLowerCase();if("string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:rt.test(n)?x.parseJSON(n):n)}catch(t){}x.data(t,e,n)}else n=void 0}return n}function dt(t){for(var e in t)if(("data"!==e||!x.isEmptyObject(t[e]))&&"toJSON"!==e)return;return 1}function ut(t,e,n,i){if(v(t)){var o,s=x.expando,r=t.nodeType,a=r?x.cache:t,l=r?t[s]:t[s]&&s;if(l&&a[l]&&(i||a[l].data)||void 0!==n||"string"!=typeof e)return a[l=l||(r?t[s]=h.pop()||x.guid++:s)]||(a[l]=r?{}:{toJSON:x.noop}),"object"!=typeof e&&"function"!=typeof e||(i?a[l]=x.extend(a[l],e):a[l].data=x.extend(a[l].data,e)),t=a[l],i||(t.data||(t.data={}),t=t.data),void 0!==n&&(t[x.camelCase(e)]=n),"string"==typeof e?null==(o=t[e])&&(o=t[x.camelCase(e)]):o=t,o}}function ht(t,e,n){if(v(t)){var i,o,s=t.nodeType,r=s?x.cache:t,a=s?t[x.expando]:x.expando;if(r[a]){if(e&&(i=n?r[a]:r[a].data)){o=(e=x.isArray(e)?e.concat(x.map(e,x.camelCase)):e in i||(e=x.camelCase(e))in i?[e]:e.split(" ")).length;for(;o--;)delete i[e[o]];if(n?!dt(i):!x.isEmptyObject(i))return}(n||(delete r[a].data,dt(r[a])))&&(s?x.cleanData([t],!0):m.deleteExpando||r!=r.window?delete r[a]:r[a]=void 0)}}}x.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?x.cache[t[x.expando]]:t[x.expando])&&!dt(t)},data:function(t,e,n){return ut(t,e,n)},removeData:function(t,e){return ht(t,e)},_data:function(t,e,n){return ut(t,e,n,!0)},_removeData:function(t,e){return ht(t,e,!0)}}),x.fn.extend({data:function(t,e){var n,i,o,s=this[0],r=s&&s.attributes;if(void 0!==t)return"object"==typeof t?this.each(function(){x.data(this,t)}):1<arguments.length?this.each(function(){x.data(this,t,e)}):s?lt(s,t,x.data(s,t)):void 0;if(this.length&&(o=x.data(s),1===s.nodeType)&&!x._data(s,"parsedAttrs")){for(n=r.length;n--;)r[n]&&0===(i=r[n].name).indexOf("data-")&<(s,i=x.camelCase(i.slice(5)),o[i]);x._data(s,"parsedAttrs",!0)}return o},removeData:function(t){return this.each(function(){x.removeData(this,t)})}}),x.extend({queue:function(t,e,n){var i;if(t)return i=x._data(t,e=(e||"fx")+"queue"),n&&(!i||x.isArray(n)?i=x._data(t,e,x.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=x.queue(t,e),i=n.length,o=n.shift(),s=x._queueHooks(t,e);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===e&&n.unshift("inprogress"),delete s.stop,o.call(t,function(){x.dequeue(t,e)},s)),!i&&s&&s.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return x._data(t,n)||x._data(t,n,{empty:x.Callbacks("once memory").add(function(){x._removeData(t,e+"queue"),x._removeData(t,n)})})}}),x.fn.extend({queue:function(e,n){var t=2;return"string"!=typeof e&&(n=e,e="fx",t--),arguments.length<t?x.queue(this[0],e):void 0===n?this:this.each(function(){var t=x.queue(this,e,n);x._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&x.dequeue(this,e)})},dequeue:function(t){return this.each(function(){x.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){function n(){--o||s.resolveWith(r,[r])}var i,o=1,s=x.Deferred(),r=this,a=this.length;for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";a--;)(i=x._data(r[a],t+"queueHooks"))&&i.empty&&(o++,i.empty.add(n));return n(),s.promise(e)}}),m.shrinkWrapBlocks=function(){var t,e,n;return null!=o?o:(o=!1,(e=f.getElementsByTagName("body")[0])&&e.style?(t=f.createElement("div"),(n=f.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",e.appendChild(n).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(f.createElement("div")).style.width="5px",o=3!==t.offsetWidth),e.removeChild(n),o):void 0)};function ct(t,e){return"none"===x.css(t=e||t,"display")||!x.contains(t.ownerDocument,t)}var t=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,pt=new RegExp("^(?:([+-])=|)("+t+")([a-z%]*)$","i"),a=["Top","Right","Bottom","Left"];function ft(t,e,n,i){var o,s=1,r=20,a=i?function(){return i.cur()}:function(){return x.css(t,e,"")},l=a(),d=n&&n[3]||(x.cssNumber[e]?"":"px"),u=(x.cssNumber[e]||"px"!==d&&+l)&&pt.exec(x.css(t,e));if(u&&u[3]!==d)for(d=d||u[3],n=n||[],u=+l||1;u/=s=s||".5",x.style(t,e,u+d),s!==(s=a()/l)&&1!==s&&--r;);return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i)&&(i.unit=d,i.start=u,i.end=o),o}function c(t,e,n,i,o,s,r){var a=0,l=t.length,d=null==n;if("object"===x.type(n))for(a in o=!0,n)c(t,e,a,n[a],!0,s,r);else if(void 0!==i&&(o=!0,x.isFunction(i)||(r=!0),e=d?r?(e.call(t,i),null):(d=e,function(t,e,n){return d.call(x(t),n)}):e))for(;a<l;a++)e(t[a],n,r?i:i.call(t[a],a,e(t[a],n)));return o?t:d?e.call(t):l?e(t[0],n):s}var gt=/^(?:checkbox|radio)$/i,mt=/<([\w:-]+)/,vt=/^$|\/(?:java|ecma)script/i,yt=/^\s+/,bt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";function $t(t){var e=bt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}D=f.createElement("div"),k=f.createDocumentFragment(),P=f.createElement("input"),D.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",m.leadingWhitespace=3===D.firstChild.nodeType,m.tbody=!D.getElementsByTagName("tbody").length,m.htmlSerialize=!!D.getElementsByTagName("link").length,m.html5Clone="<:nav></:nav>"!==f.createElement("nav").cloneNode(!0).outerHTML,P.type="checkbox",P.checked=!0,k.appendChild(P),m.appendChecked=P.checked,D.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!D.cloneNode(!0).lastChild.defaultValue,k.appendChild(D),(P=f.createElement("input")).setAttribute("type","radio"),P.setAttribute("checked","checked"),P.setAttribute("name","t"),D.appendChild(P),m.checkClone=D.cloneNode(!0).cloneNode(!0).lastChild.checked,m.noCloneEvent=!!D.addEventListener,D[x.expando]=1,m.attributes=!D.getAttribute(x.expando);var y={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:m.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};function b(t,e){var n,i,o=0,s=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):void 0;if(!s)for(s=[],n=t.childNodes||t;null!=(i=n[o]);o++)!e||x.nodeName(i,e)?s.push(i):x.merge(s,b(i,e));return void 0===e||e&&x.nodeName(t,e)?x.merge([t],s):s}function wt(t,e){for(var n,i=0;null!=(n=t[i]);i++)x._data(n,"globalEval",!e||x._data(e[i],"globalEval"))}y.optgroup=y.option,y.tbody=y.tfoot=y.colgroup=y.caption=y.thead,y.th=y.td;var xt=/<|&#?\w+;/,_t=/<tbody/i;function Ct(t){gt.test(t.type)&&(t.defaultChecked=t.checked)}function St(t,e,n,i,o){for(var s,r,a,l,d,u,h,c=t.length,p=$t(e),f=[],g=0;g<c;g++)if((r=t[g])||0===r)if("object"===x.type(r))x.merge(f,r.nodeType?[r]:r);else if(xt.test(r)){for(l=l||p.appendChild(e.createElement("div")),d=(mt.exec(r)||["",""])[1].toLowerCase(),h=y[d]||y._default,l.innerHTML=h[1]+x.htmlPrefilter(r)+h[2],s=h[0];s--;)l=l.lastChild;if(!m.leadingWhitespace&&yt.test(r)&&f.push(e.createTextNode(yt.exec(r)[0])),!m.tbody)for(s=(r="table"!==d||_t.test(r)?"<table>"!==h[1]||_t.test(r)?0:l:l.firstChild)&&r.childNodes.length;s--;)x.nodeName(u=r.childNodes[s],"tbody")&&!u.childNodes.length&&r.removeChild(u);for(x.merge(f,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=p.lastChild}else f.push(e.createTextNode(r));for(l&&p.removeChild(l),m.appendChecked||x.grep(b(f,"input"),Ct),g=0;r=f[g++];)if(i&&-1<x.inArray(r,i))o&&o.push(r);else if(a=x.contains(r.ownerDocument,r),l=b(p.appendChild(r),"script"),a&&wt(l),n)for(s=0;r=l[s++];)vt.test(r.type||"")&&n.push(r);return l=null,p}var kt,Dt,Tt=f.createElement("div");for(kt in{submit:!0,change:!0,focusin:!0})(m[kt]=(Dt="on"+kt)in w)||(Tt.setAttribute(Dt,"t"),m[kt]=!1===Tt.attributes[Dt].expando);var It=/^(?:input|select|textarea)$/i,At=/^key/,Mt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ot=/^(?:focusinfocus|focusoutblur)$/,Pt=/^([^.]*)(?:\.(.+)|)/;function Et(){return!0}function l(){return!1}function Lt(){try{return f.activeElement}catch(t){}}function Rt(t,e,n,i,o,s){var r,a;if("object"==typeof e){for(a in"string"!=typeof n&&(i=i||n,n=void 0),e)Rt(t,a,n,i,e[a],s);return t}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=l;else if(!o)return t;return 1===s&&(r=o,(o=function(t){return x().off(t),r.apply(this,arguments)}).guid=r.guid||(r.guid=x.guid++)),t.each(function(){x.event.add(this,e,o,i,n)})}x.event={global:{},add:function(t,e,n,i,o){var s,r,a,l,d,u,h,c,p,f=x._data(t);if(f)for(n.handler&&(n=(a=n).handler,o=a.selector),n.guid||(n.guid=x.guid++),s=(s=f.events)||(f.events={}),(d=f.handle)||((d=f.handle=function(t){return void 0===x||t&&x.event.triggered===t.type?void 0:x.event.dispatch.apply(d.elem,arguments)}).elem=t),r=(e=(e||"").match(_)||[""]).length;r--;)h=p=(c=Pt.exec(e[r])||[])[1],c=(c[2]||"").split(".").sort(),h&&(l=x.event.special[h]||{},h=(o?l.delegateType:l.bindType)||h,l=x.event.special[h]||{},p=x.extend({type:h,origType:p,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&x.expr.match.needsContext.test(o),namespace:c.join(".")},a),(u=s[h])||((u=s[h]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(t,i,c,d))||(t.addEventListener?t.addEventListener(h,d,!1):t.attachEvent&&t.attachEvent("on"+h,d)),l.add&&(l.add.call(t,p),p.handler.guid||(p.handler.guid=n.guid)),o?u.splice(u.delegateCount++,0,p):u.push(p),x.event.global[h]=!0)},remove:function(t,e,n,i,o){var s,r,a,l,d,u,h,c,p,f,g,m=x.hasData(t)&&x._data(t);if(m&&(u=m.events)){for(d=(e=(e||"").match(_)||[""]).length;d--;)if(p=g=(a=Pt.exec(e[d])||[])[1],f=(a[2]||"").split(".").sort(),p){for(h=x.event.special[p]||{},c=u[p=(i?h.delegateType:h.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=s=c.length;s--;)r=c[s],!o&&g!==r.origType||n&&n.guid!==r.guid||a&&!a.test(r.namespace)||i&&i!==r.selector&&("**"!==i||!r.selector)||(c.splice(s,1),r.selector&&c.delegateCount--,h.remove&&h.remove.call(t,r));l&&!c.length&&(h.teardown&&!1!==h.teardown.call(t,f,m.handle)||x.removeEvent(t,p,m.handle),delete u[p])}else for(p in u)x.event.remove(t,p+e[d],n,i,!0);x.isEmptyObject(u)&&(delete m.handle,x._removeData(t,"events"))}},trigger:function(t,e,n,i){var o,s,r,a,l,d,u=[n||f],h=g.call(t,"type")?t.type:t,c=g.call(t,"namespace")?t.namespace.split("."):[],p=l=n=n||f;if(3!==n.nodeType&&8!==n.nodeType&&!Ot.test(h+x.event.triggered)&&(-1<h.indexOf(".")&&(h=(c=h.split(".")).shift(),c.sort()),s=h.indexOf(":")<0&&"on"+h,(t=t[x.expando]?t:new x.Event(h,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=c.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+c.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:x.makeArray(e,[t]),a=x.event.special[h]||{},i||!a.trigger||!1!==a.trigger.apply(n,e))){if(!i&&!a.noBubble&&!x.isWindow(n)){for(r=a.delegateType||h,Ot.test(r+h)||(p=p.parentNode);p;p=p.parentNode)u.push(p),l=p;l===(n.ownerDocument||f)&&u.push(l.defaultView||l.parentWindow||w)}for(d=0;(p=u[d++])&&!t.isPropagationStopped();)t.type=1<d?r:a.bindType||h,(o=(x._data(p,"events")||{})[t.type]&&x._data(p,"handle"))&&o.apply(p,e),(o=s&&p[s])&&o.apply&&v(p)&&(t.result=o.apply(p,e),!1===t.result)&&t.preventDefault();if(t.type=h,!i&&!t.isDefaultPrevented()&&(!a._default||!1===a._default.apply(u.pop(),e))&&v(n)&&s&&n[h]&&!x.isWindow(n)){(l=n[s])&&(n[s]=null),x.event.triggered=h;try{n[h]()}catch(t){}x.event.triggered=void 0,l&&(n[s]=l)}return t.result}},dispatch:function(t){t=x.event.fix(t);var e,n,i,o,s,r=u.call(arguments),a=(x._data(this,"events")||{})[t.type]||[],l=x.event.special[t.type]||{};if((r[0]=t).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,t)){for(s=x.event.handlers.call(this,t,a),e=0;(i=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(o.namespace)||(t.handleObj=o,t.data=o.data,void 0!==(o=((x.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,r))&&!1===(t.result=o)&&(t.preventDefault(),t.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,o,s,r=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(i=[],n=0;n<a;n++)void 0===i[o=(s=e[n]).selector+" "]&&(i[o]=s.needsContext?-1<x(o,this).index(l):x.find(o,this,null,[l]).length),i[o]&&i.push(s);i.length&&r.push({elem:l,handlers:i})}return a<e.length&&r.push({elem:this,handlers:e.slice(a)}),r},fix:function(t){if(t[x.expando])return t;var e,n,i,o=t.type,s=t,r=this.fixHooks[o];for(r||(this.fixHooks[o]=r=Mt.test(o)?this.mouseHooks:At.test(o)?this.keyHooks:{}),i=r.props?this.props.concat(r.props):this.props,t=new x.Event(s),e=i.length;e--;)t[n=i[e]]=s[n];return t.target||(t.target=s.srcElement||f),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,r.filter?r.filter(t,s):t},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(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,o=e.button,s=e.fromElement;return null==t.pageX&&null!=e.clientX&&(i=(n=t.target.ownerDocument||f).documentElement,n=n.body,t.pageX=e.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&s&&(t.relatedTarget=s===t.target?e.toElement:s),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Lt()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){if(this===Lt()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(x.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(t){return x.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n){t=x.extend(new x.Event,n,{type:t,isSimulated:!0});x.event.trigger(t,null,e),t.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=f.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)}:function(t,e,n){e="on"+e;t.detachEvent&&(void 0===t[e]&&(t[e]=null),t.detachEvent(e,n))},x.Event=function(t,e){if(!(this instanceof x.Event))return new x.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Et:l):this.type=t,e&&x.extend(this,e),this.timeStamp=t&&t.timeStamp||x.now(),this[x.expando]=!0},x.Event.prototype={constructor:x.Event,isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Et,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Et,t&&!this.isSimulated&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Et,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,o){x.event.special[t]={delegateType:o,bindType:o,handle:function(t){var e,n=t.relatedTarget,i=t.handleObj;return n&&(n===this||x.contains(this,n))||(t.type=i.origType,e=i.handler.apply(this,arguments),t.type=o),e}}}),m.submit||(x.event.special.submit={setup:function(){if(x.nodeName(this,"form"))return!1;x.event.add(this,"click._submit keypress._submit",function(t){t=t.target,t=x.nodeName(t,"input")||x.nodeName(t,"button")?x.prop(t,"form"):void 0;t&&!x._data(t,"submit")&&(x.event.add(t,"submit._submit",function(t){t._submitBubble=!0}),x._data(t,"submit",!0))})},postDispatch:function(t){t._submitBubble&&(delete t._submitBubble,this.parentNode)&&!t.isTrigger&&x.event.simulate("submit",this.parentNode,t)},teardown:function(){if(x.nodeName(this,"form"))return!1;x.event.remove(this,"._submit")}}),m.change||(x.event.special.change={setup:function(){if(It.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(x.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._justChanged=!0)}),x.event.add(this,"click._change",function(t){this._justChanged&&!t.isTrigger&&(this._justChanged=!1),x.event.simulate("change",this,t)})),!1;x.event.add(this,"beforeactivate._change",function(t){t=t.target;It.test(t.nodeName)&&!x._data(t,"change")&&(x.event.add(t,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||x.event.simulate("change",this.parentNode,t)}),x._data(t,"change",!0))})},handle:function(t){var e=t.target;if(this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type)return t.handleObj.handler.apply(this,arguments)},teardown:function(){return x.event.remove(this,"._change"),!It.test(this.nodeName)}}),m.focusin||x.each({focus:"focusin",blur:"focusout"},function(n,i){function o(t){x.event.simulate(i,t.target,x.event.fix(t))}x.event.special[i]={setup:function(){var t=this.ownerDocument||this,e=x._data(t,i);e||t.addEventListener(n,o,!0),x._data(t,i,(e||0)+1)},teardown:function(){var t=this.ownerDocument||this,e=x._data(t,i)-1;e?x._data(t,i,e):(t.removeEventListener(n,o,!0),x._removeData(t,i))}}}),x.fn.extend({on:function(t,e,n,i){return Rt(this,t,e,n,i)},one:function(t,e,n,i){return Rt(this,t,e,n,i,1)},off:function(t,e,n){var i,o;if(t&&t.preventDefault&&t.handleObj)i=t.handleObj,x(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler);else{if("object"!=typeof t)return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=l),this.each(function(){x.event.remove(this,t,n,e)});for(o in t)this.off(o,e,t[o])}return this},trigger:function(t,e){return this.each(function(){x.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];if(n)return x.event.trigger(t,e,n,!0)}});var Nt=/ jQuery\d+="(?:null|\d+)"/g,Ft=new RegExp("<(?:"+bt+")[\\s/>]","i"),jt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,zt=/<script|<style|<link/i,Ht=/checked\s*(?:[^=]|=\s*.checked.)/i,Bt=/^true\/(.*)/,Wt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Ut=$t(f).appendChild(f.createElement("div"));function qt(t,e){return x.nodeName(t,"table")&&x.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function Yt(t){return t.type=(null!==x.find.attr(t,"type"))+"/"+t.type,t}function Vt(t){var e=Bt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Gt(t,e){if(1===e.nodeType&&x.hasData(t)){var n,i,o,t=x._data(t),s=x._data(e,t),r=t.events;if(r)for(n in delete s.handle,s.events={},r)for(i=0,o=r[n].length;i<o;i++)x.event.add(e,n,r[n][i]);s.data&&(s.data=x.extend({},s.data))}}function $(n,i,o,s){i=F.apply([],i);var t,e,r,a,l,d,u=0,h=n.length,c=h-1,p=i[0],f=x.isFunction(p);if(f||1<h&&"string"==typeof p&&!m.checkClone&&Ht.test(p))return n.each(function(t){var e=n.eq(t);f&&(i[0]=p.call(this,t,e.html())),$(e,i,o,s)});if(h&&(t=(d=St(i,n[0].ownerDocument,!1,n,s)).firstChild,1===d.childNodes.length&&(d=t),t||s)){for(r=(a=x.map(b(d,"script"),Yt)).length;u<h;u++)e=d,u!==c&&(e=x.clone(e,!0,!0),r)&&x.merge(a,b(e,"script")),o.call(n[u],e,u);if(r)for(l=a[a.length-1].ownerDocument,x.map(a,Vt),u=0;u<r;u++)e=a[u],vt.test(e.type||"")&&!x._data(e,"globalEval")&&x.contains(l,e)&&(e.src?x._evalUrl&&x._evalUrl(e.src):x.globalEval((e.text||e.textContent||e.innerHTML||"").replace(Wt,"")));d=null}return n}function Qt(t,e,n){for(var i,o=e?x.filter(e,t):t,s=0;null!=(i=o[s]);s++)n||1!==i.nodeType||x.cleanData(b(i)),i.parentNode&&(n&&x.contains(i.ownerDocument,i)&&wt(b(i,"script")),i.parentNode.removeChild(i));return t}x.extend({htmlPrefilter:function(t){return t.replace(jt,"<$1></$2>")},clone:function(t,e,n){var i,o,s,r,a,l=x.contains(t.ownerDocument,t);if(m.html5Clone||x.isXMLDoc(t)||!Ft.test("<"+t.nodeName+">")?s=t.cloneNode(!0):(Ut.innerHTML=t.outerHTML,Ut.removeChild(s=Ut.firstChild)),!(m.noCloneEvent&&m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||x.isXMLDoc(t)))for(i=b(s),a=b(t),r=0;null!=(o=a[r]);++r)if(i[r]){h=u=d=p=c=void 0;var d,u,h,c=o,p=i[r];if(1===p.nodeType){if(d=p.nodeName.toLowerCase(),!m.noCloneEvent&&p[x.expando]){for(u in(h=x._data(p)).events)x.removeEvent(p,u,h.handle);p.removeAttribute(x.expando)}"script"===d&&p.text!==c.text?(Yt(p).text=c.text,Vt(p)):"object"===d?(p.parentNode&&(p.outerHTML=c.outerHTML),m.html5Clone&&c.innerHTML&&!x.trim(p.innerHTML)&&(p.innerHTML=c.innerHTML)):"input"===d&>.test(c.type)?(p.defaultChecked=p.checked=c.checked,p.value!==c.value&&(p.value=c.value)):"option"===d?p.defaultSelected=p.selected=c.defaultSelected:"input"!==d&&"textarea"!==d||(p.defaultValue=c.defaultValue)}}if(e)if(n)for(a=a||b(t),i=i||b(s),r=0;null!=(o=a[r]);r++)Gt(o,i[r]);else Gt(t,s);return 0<(i=b(s,"script")).length&&wt(i,!l&&b(t,"script")),i=a=o=null,s},cleanData:function(t,e){for(var n,i,o,s,r=0,a=x.expando,l=x.cache,d=m.attributes,u=x.event.special;null!=(n=t[r]);r++)if((e||v(n))&&(s=(o=n[a])&&l[o])){if(s.events)for(i in s.events)u[i]?x.event.remove(n,i):x.removeEvent(n,i,s.handle);l[o]&&(delete l[o],d||void 0===n.removeAttribute?n[a]=void 0:n.removeAttribute(a),h.push(o))}}}),x.fn.extend({domManip:$,detach:function(t){return Qt(this,t,!0)},remove:function(t){return Qt(this,t)},text:function(t){return c(this,function(t){return void 0===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||f).createTextNode(t))},null,t,arguments.length)},append:function(){return $(this,arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||qt(this,t).appendChild(t)})},prepend:function(){return $(this,arguments,function(t){var e;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(e=qt(this,t)).insertBefore(t,e.firstChild)})},before:function(){return $(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return $(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&x.cleanData(b(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&x.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return x.clone(this,t,e)})},html:function(t){return c(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Nt,""):void 0;if("string"==typeof t&&!zt.test(t)&&(m.htmlSerialize||!Ft.test(t))&&(m.leadingWhitespace||!yt.test(t))&&!y[(mt.exec(t)||["",""])[1].toLowerCase()]){t=x.htmlPrefilter(t);try{for(;n<i;n++)1===(e=this[n]||{}).nodeType&&(x.cleanData(b(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var n=[];return $(this,arguments,function(t){var e=this.parentNode;x.inArray(this,n)<0&&(x.cleanData(b(this)),e)&&e.replaceChild(t,this)},n)}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,r){x.fn[t]=function(t){for(var e,n=0,i=[],o=x(t),s=o.length-1;n<=s;n++)e=n===s?this:this.clone(!0),x(o[n])[r](e),j.apply(i,e.get());return this.pushStack(i)}});var Kt,Jt={HTML:"block",BODY:"block"};function Xt(t,e){t=x(e.createElement(t)).appendTo(e.body),e=x.css(t[0],"display");return t.detach(),e}function Zt(t){var e=f,n=Jt[t];return n||("none"!==(n=Xt(t,e))&&n||((e=((Kt=(Kt||x("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement))[0].contentWindow||Kt[0].contentDocument).document).write(),e.close(),n=Xt(t,e),Kt.detach()),Jt[t]=n),n}function te(t,e,n,i){var o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];for(o in n=n.apply(t,i||[]),e)t.style[o]=s[o];return n}var n,ee,ne,ie,oe,se,re,s,ae=/^margin/,le=new RegExp("^("+t+")(?!px)[a-z%]+$","i"),de=f.documentElement;function r(){var t,e=f.documentElement;e.appendChild(re),s.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",n=ne=se=!1,ee=oe=!0,w.getComputedStyle&&(t=w.getComputedStyle(s),n="1%"!==(t||{}).top,se="2px"===(t||{}).marginLeft,ne="4px"===(t||{width:"4px"}).width,s.style.marginRight="50%",ee="4px"===(t||{marginRight:"4px"}).marginRight,(t=s.appendChild(f.createElement("div"))).style.cssText=s.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",s.style.width="1px",oe=!parseFloat((w.getComputedStyle(t)||{}).marginRight),s.removeChild(t)),s.style.display="none",(ie=0===s.getClientRects().length)&&(s.style.display="",s.innerHTML="<table><tr><td></td><td>t</td></tr></table>",s.childNodes[0].style.borderCollapse="separate",(t=s.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",ie=0===t[0].offsetHeight)&&(t[0].style.display="",t[1].style.display="none",ie=0===t[0].offsetHeight),e.removeChild(re)}re=f.createElement("div"),(s=f.createElement("div")).style&&(s.style.cssText="float:left;opacity:.5",m.opacity="0.5"===s.style.opacity,m.cssFloat=!!s.style.cssFloat,s.style.backgroundClip="content-box",s.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===s.style.backgroundClip,(re=f.createElement("div")).style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",s.innerHTML="",re.appendChild(s),m.boxSizing=""===s.style.boxSizing||""===s.style.MozBoxSizing||""===s.style.WebkitBoxSizing,x.extend(m,{reliableHiddenOffsets:function(){return null==n&&r(),ie},boxSizingReliable:function(){return null==n&&r(),ne},pixelMarginRight:function(){return null==n&&r(),ee},pixelPosition:function(){return null==n&&r(),n},reliableMarginRight:function(){return null==n&&r(),oe},reliableMarginLeft:function(){return null==n&&r(),se}}));var d,p,ue=/^(top|right|bottom|left)$/;function he(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}w.getComputedStyle?(d=function(t){var e=t.ownerDocument.defaultView;return(e=e&&e.opener?e:w).getComputedStyle(t)},p=function(t,e,n){var i,o,s=t.style;return""!==(o=(n=n||d(t))?n.getPropertyValue(e)||n[e]:void 0)&&void 0!==o||x.contains(t.ownerDocument,t)||(o=x.style(t,e)),n&&!m.pixelMarginRight()&&le.test(o)&&ae.test(e)&&(t=s.width,e=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=n.width,s.width=t,s.minWidth=e,s.maxWidth=i),void 0===o?o:o+""}):de.currentStyle&&(d=function(t){return t.currentStyle},p=function(t,e,n){var i,o,s,r=t.style;return null==(n=(n=n||d(t))?n[e]:void 0)&&r&&r[e]&&(n=r[e]),le.test(n)&&!ue.test(e)&&(i=r.left,(s=(o=t.runtimeStyle)&&o.left)&&(o.left=t.currentStyle.left),r.left="fontSize"===e?"1em":n,n=r.pixelLeft+"px",r.left=i,s)&&(o.left=s),void 0===n?n:n+""||"auto"});var ce=/alpha\([^)]*\)/i,pe=/opacity\s*=\s*([^)]*)/i,fe=/^(none|table(?!-c[ea]).+)/,ge=new RegExp("^("+t+")(.*)$","i"),me={position:"absolute",visibility:"hidden",display:"block"},ve={letterSpacing:"0",fontWeight:"400"},ye=["Webkit","O","Moz","ms"],be=f.createElement("div").style;function $e(t){if(t in be)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=ye.length;n--;)if((t=ye[n]+e)in be)return t}function we(t,e){for(var n,i,o,s=[],r=0,a=t.length;r<a;r++)(i=t[r]).style&&(s[r]=x._data(i,"olddisplay"),n=i.style.display,e?(s[r]||"none"!==n||(i.style.display=""),""===i.style.display&&ct(i)&&(s[r]=x._data(i,"olddisplay",Zt(i.nodeName)))):(o=ct(i),(n&&"none"!==n||!o)&&x._data(i,"olddisplay",o?n:x.css(i,"display"))));for(r=0;r<a;r++)!(i=t[r]).style||e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?s[r]||"":"none");return t}function xe(t,e,n){var i=ge.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function _e(t,e,n,i,o){for(var s=n===(i?"border":"content")?4:"width"===e?1:0,r=0;s<4;s+=2)"margin"===n&&(r+=x.css(t,n+a[s],!0,o)),i?("content"===n&&(r-=x.css(t,"padding"+a[s],!0,o)),"margin"!==n&&(r-=x.css(t,"border"+a[s]+"Width",!0,o))):(r+=x.css(t,"padding"+a[s],!0,o),"padding"!==n&&(r+=x.css(t,"border"+a[s]+"Width",!0,o)));return r}function Ce(t,e,n){var i=!0,o="width"===e?t.offsetWidth:t.offsetHeight,s=d(t),r=m.boxSizing&&"border-box"===x.css(t,"boxSizing",!1,s);if(o<=0||null==o){if(((o=p(t,e,s))<0||null==o)&&(o=t.style[e]),le.test(o))return o;i=r&&(m.boxSizingReliable()||o===t.style[e]),o=parseFloat(o)||0}return o+_e(t,e,n||(r?"border":"content"),i,s)+"px"}function C(t,e,n,i,o){return new C.prototype.init(t,e,n,i,o)}x.extend({cssHooks:{opacity:{get:function(t,e){if(e)return""===(e=p(t,"opacity"))?"1":e}}},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:m.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var o,s,r,a=x.camelCase(e),l=t.style;if(e=x.cssProps[a]||(x.cssProps[a]=$e(a)||a),r=x.cssHooks[e]||x.cssHooks[a],void 0===n)return r&&"get"in r&&void 0!==(o=r.get(t,!1,i))?o:l[e];if("string"===(s=typeof n)&&(o=pt.exec(n))&&o[1]&&(n=ft(t,e,o),s="number"),null!=n&&n==n&&("number"===s&&(n+=o&&o[3]||(x.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),!(r&&"set"in r&&void 0===(n=r.set(t,n,i)))))try{l[e]=n}catch(t){}}},css:function(t,e,n,i){var o,s=x.camelCase(e);return e=x.cssProps[s]||(x.cssProps[s]=$e(s)||s),"normal"===(o=void 0===(o=(s=x.cssHooks[e]||x.cssHooks[s])&&"get"in s?s.get(t,!0,n):o)?p(t,e,i):o)&&e in ve&&(o=ve[e]),(""===n||n)&&(s=parseFloat(o),!0===n||isFinite(s))?s||0:o}}),x.each(["height","width"],function(t,o){x.cssHooks[o]={get:function(t,e,n){if(e)return fe.test(x.css(t,"display"))&&0===t.offsetWidth?te(t,me,function(){return Ce(t,o,n)}):Ce(t,o,n)},set:function(t,e,n){var i=n&&d(t);return xe(0,e,n?_e(t,o,n,m.boxSizing&&"border-box"===x.css(t,"boxSizing",!1,i),i):0)}}}),m.opacity||(x.cssHooks.opacity={get:function(t,e){return pe.test((e&&t.currentStyle?t.currentStyle:t.style).filter||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,t=t.currentStyle,i=x.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=t&&t.filter||n.filter||"";((n.zoom=1)<=e||""===e)&&""===x.trim(o.replace(ce,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||t&&!t.filter)||(n.filter=ce.test(o)?o.replace(ce,i):o+" "+i)}}),x.cssHooks.marginRight=he(m.reliableMarginRight,function(t,e){if(e)return te(t,{display:"inline-block"},p,[t,"marginRight"])}),x.cssHooks.marginLeft=he(m.reliableMarginLeft,function(t,e){if(e)return(parseFloat(p(t,"marginLeft"))||(x.contains(t.ownerDocument,t)?t.getBoundingClientRect().left-te(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}):0))+"px"}),x.each({margin:"",padding:"",border:"Width"},function(o,s){x.cssHooks[o+s]={expand:function(t){for(var e=0,n={},i="string"==typeof t?t.split(" "):[t];e<4;e++)n[o+a[e]+s]=i[e]||i[e-2]||i[0];return n}},ae.test(o)||(x.cssHooks[o+s].set=xe)}),x.fn.extend({css:function(t,e){return c(this,function(t,e,n){var i,o,s={},r=0;if(x.isArray(e)){for(i=d(t),o=e.length;r<o;r++)s[e[r]]=x.css(t,e[r],!1,i);return s}return void 0!==n?x.style(t,e,n):x.css(t,e)},t,e,1<arguments.length)},show:function(){return we(this,!0)},hide:function(){return we(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){ct(this)?x(this).show():x(this).hide()})}}),((x.Tween=C).prototype={constructor:C,init:function(t,e,n,i,o,s){this.elem=t,this.prop=n,this.easing=o||x.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=s||(x.cssNumber[n]?"":"px")},cur:function(){var t=C.propHooks[this.prop];return(t&&t.get?t:C.propHooks._default).get(this)},run:function(t){var e,n=C.propHooks[this.prop];return this.options.duration?this.pos=e=x.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(n&&n.set?n:C.propHooks._default).set(this),this}}).init.prototype=C.prototype,(C.propHooks={_default:{get:function(t){return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(t=x.css(t.elem,t.prop,""))&&"auto"!==t?t:0},set:function(t){x.fx.step[t.prop]?x.fx.step[t.prop](t):1!==t.elem.nodeType||null==t.elem.style[x.cssProps[t.prop]]&&!x.cssHooks[t.prop]?t.elem[t.prop]=t.now:x.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=C.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},x.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},x.fx=C.prototype.init,x.fx.step={};var S,Se,k,D,ke=/^(?:toggle|show|hide)$/,De=/queueHooks$/;function Te(){return w.setTimeout(function(){S=void 0}),S=x.now()}function Ie(t,e){var n,i={height:t},o=0;for(e=e?1:0;o<4;o+=2-e)i["margin"+(n=a[o])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function Ae(t,e,n){for(var i,o=(T.tweeners[e]||[]).concat(T.tweeners["*"]),s=0,r=o.length;s<r;s++)if(i=o[s].call(n,e,t))return i}function T(o,t,e){var n,s,i,r,a,l,d,u=0,h=T.prefilters.length,c=x.Deferred().always(function(){delete p.elem}),p=function(){if(s)return!1;for(var t=S||Te(),t=Math.max(0,f.startTime+f.duration-t),e=1-(t/f.duration||0),n=0,i=f.tweens.length;n<i;n++)f.tweens[n].run(e);return c.notifyWith(o,[f,e,t]),e<1&&i?t:(c.resolveWith(o,[f]),!1)},f=c.promise({elem:o,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{},easing:x.easing._default},e),originalProperties:t,originalOptions:e,startTime:S||Te(),duration:e.duration,tweens:[],createTween:function(t,e){e=x.Tween(o,f.opts,t,e,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(e),e},stop:function(t){var e=0,n=t?f.tweens.length:0;if(!s){for(s=!0;e<n;e++)f.tweens[e].run(1);t?(c.notifyWith(o,[f,1,0]),c.resolveWith(o,[f,t])):c.rejectWith(o,[f,t])}return this}}),g=f.props,m=g,v=f.opts.specialEasing;for(i in m)if(a=v[r=x.camelCase(i)],l=m[i],x.isArray(l)&&(a=l[1],l=m[i]=l[0]),i!==r&&(m[r]=l,delete m[i]),(d=x.cssHooks[r])&&"expand"in d)for(i in l=d.expand(l),delete m[r],l)i in m||(m[i]=l[i],v[i]=a);else v[r]=a;for(;u<h;u++)if(n=T.prefilters[u].call(f,o,g,f.opts))return x.isFunction(n.stop)&&(x._queueHooks(f.elem,f.opts.queue).stop=x.proxy(n.stop,n)),n;return x.map(g,Ae,f),x.isFunction(f.opts.start)&&f.opts.start.call(o,f),x.fx.timer(x.extend(p,{elem:o,anim:f,queue:f.opts.queue})),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always)}x.Animation=x.extend(T,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return ft(n.elem,t,pt.exec(e),n),n}]},tweener:function(t,e){for(var n,i=0,o=(t=x.isFunction(t)?(e=t,["*"]):t.match(_)).length;i<o;i++)n=t[i],T.tweeners[n]=T.tweeners[n]||[],T.tweeners[n].unshift(e)},prefilters:[function(e,t,n){var i,o,s,r,a,l,d,u=this,h={},c=e.style,p=e.nodeType&&ct(e),f=x._data(e,"fxshow");for(i in n.queue||(null==(a=x._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,u.always(function(){u.always(function(){a.unqueued--,x.queue(e,"fx").length||a.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[c.overflow,c.overflowX,c.overflowY],"inline"===("none"===(d=x.css(e,"display"))?x._data(e,"olddisplay")||Zt(e.nodeName):d))&&"none"===x.css(e,"float")&&(m.inlineBlockNeedsLayout&&"inline"!==Zt(e.nodeName)?c.zoom=1:c.display="inline-block"),n.overflow&&(c.overflow="hidden",m.shrinkWrapBlocks()||u.always(function(){c.overflow=n.overflow[0],c.overflowX=n.overflow[1],c.overflowY=n.overflow[2]})),t)if(o=t[i],ke.exec(o)){if(delete t[i],s=s||"toggle"===o,o===(p?"hide":"show")){if("show"!==o||!f||void 0===f[i])continue;p=!0}h[i]=f&&f[i]||x.style(e,i)}else d=void 0;if(x.isEmptyObject(h))"inline"===("none"===d?Zt(e.nodeName):d)&&(c.display=d);else for(i in f?"hidden"in f&&(p=f.hidden):f=x._data(e,"fxshow",{}),s&&(f.hidden=!p),p?x(e).show():u.done(function(){x(e).hide()}),u.done(function(){for(var t in x._removeData(e,"fxshow"),h)x.style(e,t,h[t])}),h)r=Ae(p?f[i]:0,i,u),i in f||(f[i]=r.start,p&&(r.end=r.start,r.start="width"===i||"height"===i?1:0))}],prefilter:function(t,e){e?T.prefilters.unshift(t):T.prefilters.push(t)}}),x.speed=function(t,e,n){var i=t&&"object"==typeof t?x.extend({},t):{complete:n||!n&&e||x.isFunction(t)&&t,duration:t,easing:n&&e||e&&!x.isFunction(e)&&e};return i.duration=x.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in x.fx.speeds?x.fx.speeds[i.duration]:x.fx.speeds._default,null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){x.isFunction(i.old)&&i.old.call(this),i.queue&&x.dequeue(this,i.queue)},i},x.fn.extend({fadeTo:function(t,e,n,i){return this.filter(ct).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(e,t,n,i){function o(){var t=T(this,x.extend({},e),r);(s||x._data(this,"finish"))&&t.stop(!0)}var s=x.isEmptyObject(e),r=x.speed(t,n,i);return o.finish=o,s||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(o,t,s){function r(t){var e=t.stop;delete t.stop,e(s)}return"string"!=typeof o&&(s=t,t=o,o=void 0),t&&!1!==o&&this.queue(o||"fx",[]),this.each(function(){var t=!0,e=null!=o&&o+"queueHooks",n=x.timers,i=x._data(this);if(e)i[e]&&i[e].stop&&r(i[e]);else for(e in i)i[e]&&i[e].stop&&De.test(e)&&r(i[e]);for(e=n.length;e--;)n[e].elem!==this||null!=o&&n[e].queue!==o||(n[e].anim.stop(s),t=!1,n.splice(e,1));!t&&s||x.dequeue(this,o)})},finish:function(r){return!1!==r&&(r=r||"fx"),this.each(function(){var t,e=x._data(this),n=e[r+"queue"],i=e[r+"queueHooks"],o=x.timers,s=n?n.length:0;for(e.finish=!0,x.queue(this,r,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===r&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete e.finish})}}),x.each(["toggle","show","hide"],function(t,i){var o=x.fn[i];x.fn[i]=function(t,e,n){return null==t||"boolean"==typeof t?o.apply(this,arguments):this.animate(Ie(i,!0),t,e,n)}}),x.each({slideDown:Ie("show"),slideUp:Ie("hide"),slideToggle:Ie("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,i){x.fn[t]=function(t,e,n){return this.animate(i,t,e,n)}}),x.timers=[],x.fx.tick=function(){var t,e=x.timers,n=0;for(S=x.now();n<e.length;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||x.fx.stop(),S=void 0},x.fx.timer=function(t){x.timers.push(t),t()?x.fx.start():x.timers.pop()},x.fx.interval=13,x.fx.start=function(){Se=Se||w.setInterval(x.fx.tick,x.fx.interval)},x.fx.stop=function(){w.clearInterval(Se),Se=null},x.fx.speeds={slow:600,fast:200,_default:400},x.fn.delay=function(i,t){return i=x.fx&&x.fx.speeds[i]||i,this.queue(t=t||"fx",function(t,e){var n=w.setTimeout(t,i);e.stop=function(){w.clearTimeout(n)}})},k=f.createElement("input"),P=f.createElement("div"),D=f.createElement("select"),t=D.appendChild(f.createElement("option")),(P=f.createElement("div")).setAttribute("className","t"),P.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",L=P.getElementsByTagName("a")[0],k.setAttribute("type","checkbox"),P.appendChild(k),(L=P.getElementsByTagName("a")[0]).style.cssText="top:1px",m.getSetAttribute="t"!==P.className,m.style=/top/.test(L.getAttribute("style")),m.hrefNormalized="/a"===L.getAttribute("href"),m.checkOn=!!k.value,m.optSelected=t.selected,m.enctype=!!f.createElement("form").enctype,D.disabled=!0,m.optDisabled=!t.disabled,(k=f.createElement("input")).setAttribute("value",""),m.input=""===k.getAttribute("value"),k.value="t",k.setAttribute("type","radio"),m.radioValue="t"===k.value;var Me=/\r/g,Oe=/[\x20\t\r\n\f]+/g;x.fn.extend({val:function(e){var n,t,i,o=this[0];return arguments.length?(i=x.isFunction(e),this.each(function(t){1!==this.nodeType||(null==(t=i?e.call(this,t,x(this).val()):e)?t="":"number"==typeof t?t+="":x.isArray(t)&&(t=x.map(t,function(t){return null==t?"":t+""})),(n=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,t,"value"))||(this.value=t)})):o?(n=x.valHooks[o.type]||x.valHooks[o.nodeName.toLowerCase()])&&"get"in n&&void 0!==(t=n.get(o,"value"))?t:"string"==typeof(t=o.value)?t.replace(Me,""):null==t?"":t:void 0}}),x.extend({valHooks:{option:{get:function(t){var e=x.find.attr(t,"value");return null!=e?e:x.trim(x.text(t)).replace(Oe," ")}},select:{get:function(t){for(var e,n=t.options,i=t.selectedIndex,o="select-one"===t.type||i<0,s=o?null:[],r=o?i+1:n.length,a=i<0?r:o?i:0;a<r;a++)if(((e=n[a]).selected||a===i)&&(m.optDisabled?!e.disabled:null===e.getAttribute("disabled"))&&(!e.parentNode.disabled||!x.nodeName(e.parentNode,"optgroup"))){if(e=x(e).val(),o)return e;s.push(e)}return s},set:function(t,e){for(var n,i,o=t.options,s=x.makeArray(e),r=o.length;r--;)if(i=o[r],-1<x.inArray(x.valHooks.option.get(i),s))try{i.selected=n=!0}catch(t){i.scrollHeight}else i.selected=!1;return n||(t.selectedIndex=-1),o}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(t,e){if(x.isArray(e))return t.checked=-1<x.inArray(x(t).val(),e)}},m.checkOn||(x.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var I,Pe,A=x.expr.attrHandle,Ee=/^(?:checked|selected)$/i,M=m.getSetAttribute,Le=m.input,Re=(x.fn.extend({attr:function(t,e){return c(this,x.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each(function(){x.removeAttr(this,t)})}}),x.extend({attr:function(t,e,n){var i,o,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===t.getAttribute?x.prop(t,e,n):(1===s&&x.isXMLDoc(t)||(e=e.toLowerCase(),o=x.attrHooks[e]||(x.expr.match.bool.test(e)?Pe:I)),void 0!==n?null===n?void x.removeAttr(t,e):o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:(t.setAttribute(e,n+""),n):!(o&&"get"in o&&null!==(i=o.get(t,e)))&&null==(i=x.find.attr(t,e))?void 0:i)},attrHooks:{type:{set:function(t,e){var n;if(!m.radioValue&&"radio"===e&&x.nodeName(t,"input"))return n=t.value,t.setAttribute("type",e),n&&(t.value=n),e}}},removeAttr:function(t,e){var n,i,o=0,s=e&&e.match(_);if(s&&1===t.nodeType)for(;n=s[o++];)i=x.propFix[n]||n,x.expr.match.bool.test(n)?Le&&M||!Ee.test(n)?t[i]=!1:t[x.camelCase("default-"+n)]=t[i]=!1:x.attr(t,n,""),t.removeAttribute(M?n:i)}}),Pe={set:function(t,e,n){return!1===e?x.removeAttr(t,n):Le&&M||!Ee.test(n)?t.setAttribute(!M&&x.propFix[n]||n,n):t[x.camelCase("default-"+n)]=t[n]=!0,n}},x.each(x.expr.match.bool.source.match(/\w+/g),function(t,e){var s=A[e]||x.find.attr;Le&&M||!Ee.test(e)?A[e]=function(t,e,n){var i,o;return n||(o=A[e],A[e]=i,i=null!=s(t,e,n)?e.toLowerCase():null,A[e]=o),i}:A[e]=function(t,e,n){if(!n)return t[x.camelCase("default-"+e)]?e.toLowerCase():null}}),Le&&M||(x.attrHooks.value={set:function(t,e,n){if(!x.nodeName(t,"input"))return I&&I.set(t,e,n);t.defaultValue=e}}),M||(I={set:function(t,e,n){var i=t.getAttributeNode(n);if(i||t.setAttributeNode(i=t.ownerDocument.createAttribute(n)),i.value=e+="","value"===n||e===t.getAttribute(n))return e}},A.id=A.name=A.coords=function(t,e,n){if(!n)return(n=t.getAttributeNode(e))&&""!==n.value?n.value:null},x.valHooks.button={get:function(t,e){t=t.getAttributeNode(e);if(t&&t.specified)return t.value},set:I.set},x.attrHooks.contenteditable={set:function(t,e,n){I.set(t,""!==e&&e,n)}},x.each(["width","height"],function(t,n){x.attrHooks[n]={set:function(t,e){if(""===e)return t.setAttribute(n,"auto"),e}}})),m.style||(x.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}}),/^(?:input|select|textarea|button|object)$/i),Ne=/^(?:a|area)$/i,Fe=(x.fn.extend({prop:function(t,e){return c(this,x.prop,t,e,1<arguments.length)},removeProp:function(t){return t=x.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(t){}})}}),x.extend({prop:function(t,e,n){var i,o,s=t.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&x.isXMLDoc(t)||(e=x.propFix[e]||e,o=x.propHooks[e]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(t,n,e))?i:t[e]=n:o&&"get"in o&&null!==(i=o.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=x.find.attr(t,"tabindex");return e?parseInt(e,10):Re.test(t.nodeName)||Ne.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.hrefNormalized||x.each(["href","src"],function(t,e){x.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),m.optSelected||(x.propHooks.selected={get:function(t){t=t.parentNode;return t&&(t.selectedIndex,t.parentNode)&&t.parentNode.selectedIndex,null},set:function(t){t=t.parentNode;t&&(t.selectedIndex,t.parentNode)&&t.parentNode.selectedIndex}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),m.enctype||(x.propFix.enctype="encoding"),/[\t\r\n\f]/g);function O(t){return x.attr(t,"class")||""}x.fn.extend({addClass:function(e){var t,n,i,o,s,r,a=0;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,O(this)))});if("string"==typeof e&&e)for(t=e.match(_)||[];n=this[a++];)if(r=O(n),i=1===n.nodeType&&(" "+r+" ").replace(Fe," ")){for(s=0;o=t[s++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(r=x.trim(i))&&x.attr(n,"class",r)}return this},removeClass:function(e){var t,n,i,o,s,r,a=0;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,O(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(_)||[];n=this[a++];)if(r=O(n),i=1===n.nodeType&&(" "+r+" ").replace(Fe," ")){for(s=0;o=t[s++];)for(;-1<i.indexOf(" "+o+" ");)i=i.replace(" "+o+" "," ");r!==(r=x.trim(i))&&x.attr(n,"class",r)}return this},toggleClass:function(o,e){var s=typeof o;return"boolean"==typeof e&&"string"==s?e?this.addClass(o):this.removeClass(o):x.isFunction(o)?this.each(function(t){x(this).toggleClass(o.call(this,t,O(this),e),e)}):this.each(function(){var t,e,n,i;if("string"==s)for(e=0,n=x(this),i=o.match(_)||[];t=i[e++];)n.hasClass(t)?n.removeClass(t):n.addClass(t);else void 0!==o&&"boolean"!=s||((t=O(this))&&x._data(this,"__className__",t),x.attr(this,"class",!t&&!1!==o&&x._data(this,"__className__")||""))})},hasClass:function(t){for(var e,n=0,i=" "+t+" ";e=this[n++];)if(1===e.nodeType&&-1<(" "+O(e)+" ").replace(Fe," ").indexOf(i))return!0;return!1}}),x.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,n){x.fn[n]=function(t,e){return 0<arguments.length?this.on(n,null,t,e):this.trigger(n)}}),x.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}});var P=w.location,je=x.now(),ze=/\?/,He=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g,Be=(x.parseJSON=function(t){var o,s,e;return w.JSON&&w.JSON.parse?w.JSON.parse(t+""):(s=null,(e=x.trim(t+""))&&!x.trim(e.replace(He,function(t,e,n,i){return 0===(s=o&&e?0:s)?t:(o=n||e,s+=!i-!n,"")}))?Function("return "+e)():x.error("Invalid JSON: "+t))},x.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{w.DOMParser?e=(new w.DOMParser).parseFromString(t,"text/xml"):((e=new w.ActiveXObject("Microsoft.XMLDOM")).async="false",e.loadXML(t))}catch(t){e=void 0}return e&&e.documentElement&&!e.getElementsByTagName("parsererror").length||x.error("Invalid XML: "+t),e},/#.*$/),We=/([?&])_=[^&]*/,Ue=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,qe=/^(?:GET|HEAD)$/,Ye=/^\/\//,Ve=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Ge={},Qe={},Ke="*/".concat("*"),Je=P.href,E=Ve.exec(Je.toLowerCase())||[];function Xe(s){return function(t,e){"string"!=typeof t&&(e=t,t="*");var n,i=0,o=t.toLowerCase().match(_)||[];if(x.isFunction(e))for(;n=o[i++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(s[n]=s[n]||[]).unshift(e)):(s[n]=s[n]||[]).push(e)}}function Ze(e,i,o,s){var r={},a=e===Qe;function l(t){var n;return r[t]=!0,x.each(e[t]||[],function(t,e){e=e(i,o,s);return"string"!=typeof e||a||r[e]?a?!(n=e):void 0:(i.dataTypes.unshift(e),l(e),!1)}),n}return l(i.dataTypes[0])||!r["*"]&&l("*")}function tn(t,e){var n,i,o=x.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((o[i]?t:n=n||{})[i]=e[i]);return n&&x.extend(!0,t,n),t}function en(t){if(!x.contains(t.ownerDocument||f,t))return!0;for(;t&&1===t.nodeType;){if("none"===((e=t).style&&e.style.display||x.css(e,"display"))||"hidden"===t.type)return!0;t=t.parentNode}var e;return!1}x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Je,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(E[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ke,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":x.parseJSON,"text xml":x.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?tn(tn(t,x.ajaxSettings),e):tn(x.ajaxSettings,t)},ajaxPrefilter:Xe(Ge),ajaxTransport:Xe(Qe),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0);var n,l,d,u,h,c,i,p=x.ajaxSetup({},e=e||{}),f=p.context||p,g=p.context&&(f.nodeType||f.jquery)?x(f):x.event,m=x.Deferred(),v=x.Callbacks("once memory"),y=p.statusCode||{},o={},s={},b=0,r="canceled",$={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!i)for(i={};e=Ue.exec(d);)i[e[1].toLowerCase()]=e[2];e=i[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?d:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return b||(t=s[n]=s[n]||t,o[t]=e),this},overrideMimeType:function(t){return b||(p.mimeType=t),this},statusCode:function(t){if(t)if(b<2)for(var e in t)y[e]=[y[e],t[e]];else $.always(t[$.status]);return this},abort:function(t){t=t||r;return c&&c.abort(t),a(0,t),this}};if(m.promise($).complete=v.add,$.success=$.done,$.error=$.fail,p.url=((t||p.url||Je)+"").replace(Be,"").replace(Ye,E[1]+"//"),p.type=e.method||e.type||p.method||p.type,p.dataTypes=x.trim(p.dataType||"*").toLowerCase().match(_)||[""],null==p.crossDomain&&(t=Ve.exec(p.url.toLowerCase()),p.crossDomain=!(!t||t[1]===E[1]&&t[2]===E[2]&&(t[3]||("http:"===t[1]?"80":"443"))===(E[3]||("http:"===E[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=x.param(p.data,p.traditional)),Ze(Ge,p,e,$),2!==b){for(n in(h=x.event&&p.global)&&0==x.active++&&x.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!qe.test(p.type),l=p.url,p.hasContent||(p.data&&(l=p.url+=(ze.test(l)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=We.test(l)?l.replace(We,"$1_="+je++):l+(ze.test(l)?"&":"?")+"_="+je++)),p.ifModified&&(x.lastModified[l]&&$.setRequestHeader("If-Modified-Since",x.lastModified[l]),x.etag[l])&&$.setRequestHeader("If-None-Match",x.etag[l]),(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&$.setRequestHeader("Content-Type",p.contentType),$.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Ke+"; q=0.01":""):p.accepts["*"]),p.headers)$.setRequestHeader(n,p.headers[n]);if(p.beforeSend&&(!1===p.beforeSend.call(f,$,p)||2===b))return $.abort();for(n in r="abort",{success:1,error:1,complete:1})$[n](p[n]);if(c=Ze(Qe,p,e,$)){if($.readyState=1,h&&g.trigger("ajaxSend",[$,p]),2===b)return $;p.async&&0<p.timeout&&(u=w.setTimeout(function(){$.abort("timeout")},p.timeout));try{b=1,c.send(o,a)}catch(t){if(!(b<2))throw t;a(-1,t)}}else a(-1,"No Transport")}return $;function a(t,e,n,i){var o,s,r,a=e;2!==b&&(b=2,u&&w.clearTimeout(u),c=void 0,d=i||"",$.readyState=0<t?4:0,i=200<=t&&t<300||304===t,n&&(r=function(t,e,n){for(var i,o,s,r,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===o&&(o=t.mimeType||e.getResponseHeader("Content-Type"));if(o)for(r in a)if(a[r]&&a[r].test(o)){l.unshift(r);break}if(l[0]in n)s=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){s=r;break}i=i||r}s=s||i}if(s)return s!==l[0]&&l.unshift(s),n[s]}(p,$,n)),r=function(t,e,n,i){var o,s,r,a,l,d={},u=t.dataTypes.slice();if(u[1])for(r in t.converters)d[r.toLowerCase()]=t.converters[r];for(s=u.shift();s;)if(t.responseFields[s]&&(n[t.responseFields[s]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(r=d[l+" "+s]||d["* "+s]))for(o in d)if((a=o.split(" "))[1]===s&&(r=d[l+" "+a[0]]||d["* "+a[0]])){!0===r?r=d[o]:!0!==d[o]&&(s=a[0],u.unshift(a[1]));break}if(!0!==r)if(r&&t.throws)e=r(e);else try{e=r(e)}catch(t){return{state:"parsererror",error:r?t:"No conversion from "+l+" to "+s}}}return{state:"success",data:e}}(p,r,$,i),i?(p.ifModified&&((n=$.getResponseHeader("Last-Modified"))&&(x.lastModified[l]=n),n=$.getResponseHeader("etag"))&&(x.etag[l]=n),204===t||"HEAD"===p.type?a="nocontent":304===t?a="notmodified":(a=r.state,o=r.data,i=!(s=r.error))):(s=a,!t&&a||(a="error",t<0&&(t=0))),$.status=t,$.statusText=(e||a)+"",i?m.resolveWith(f,[o,a,$]):m.rejectWith(f,[$,a,s]),$.statusCode(y),y=void 0,h&&g.trigger(i?"ajaxSuccess":"ajaxError",[$,p,i?o:s]),v.fireWith(f,[$,a]),h)&&(g.trigger("ajaxComplete",[$,p]),--x.active||x.event.trigger("ajaxStop"))}},getJSON:function(t,e,n){return x.get(t,e,n,"json")},getScript:function(t,e){return x.get(t,void 0,e,"script")}}),x.each(["get","post"],function(t,o){x[o]=function(t,e,n,i){return x.isFunction(e)&&(i=i||n,n=e,e=void 0),x.ajax(x.extend({url:t,type:o,dataType:i,data:e,success:n},x.isPlainObject(t)&&t))}}),x._evalUrl=function(t){return x.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},x.fn.extend({wrapAll:function(e){var t;return x.isFunction(e)?this.each(function(t){x(this).wrapAll(e.call(this,t))}):(this[0]&&(t=x(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)),this)},wrapInner:function(n){return x.isFunction(n)?this.each(function(t){x(this).wrapInner(n.call(this,t))}):this.each(function(){var t=x(this),e=t.contents();e.length?e.wrapAll(n):t.append(n)})},wrap:function(e){var n=x.isFunction(e);return this.each(function(t){x(this).wrapAll(n?e.call(this,t):e)})},unwrap:function(){return this.parent().each(function(){x.nodeName(this,"body")||x(this).replaceWith(this.childNodes)}).end()}}),x.expr.filters.hidden=function(t){return m.reliableHiddenOffsets()?t.offsetWidth<=0&&t.offsetHeight<=0&&!t.getClientRects().length:en(t)},x.expr.filters.visible=function(t){return!x.expr.filters.hidden(t)};var nn=/%20/g,on=/\[\]$/,sn=/\r?\n/g,rn=/^(?:submit|button|image|reset|file)$/i,an=/^(?:input|select|textarea|keygen)/i;x.param=function(t,e){function n(t,e){e=x.isFunction(e)?e():null==e?"":e,o[o.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)}var i,o=[];if(void 0===e&&(e=x.ajaxSettings&&x.ajaxSettings.traditional),x.isArray(t)||t.jquery&&!x.isPlainObject(t))x.each(t,function(){n(this.name,this.value)});else for(i in t)!function n(i,t,o,s){if(x.isArray(t))x.each(t,function(t,e){o||on.test(i)?s(i,e):n(i+"["+("object"==typeof e&&null!=e?t:"")+"]",e,o,s)});else if(o||"object"!==x.type(t))s(i,t);else for(var e in t)n(i+"["+e+"]",t[e],o,s)}(i,t[i],e,n);return o.join("&").replace(nn,"+")},x.fn.extend({serialize:function(){return x.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=x.prop(this,"elements");return t?x.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!x(this).is(":disabled")&&an.test(this.nodeName)&&!rn.test(t)&&(this.checked||!gt.test(t))}).map(function(t,e){var n=x(this).val();return null==n?null:x.isArray(n)?x.map(n,function(t){return{name:e.name,value:t.replace(sn,"\r\n")}}):{name:e.name,value:n.replace(sn,"\r\n")}}).get()}}),x.ajaxSettings.xhr=void 0!==w.ActiveXObject?function(){return this.isLocal?hn():8<f.documentMode?un():/^(get|post|head|put|delete|options)$/i.test(this.type)&&un()||hn()}:un;var ln=0,dn={},L=x.ajaxSettings.xhr();function un(){try{return new w.XMLHttpRequest}catch(t){}}function hn(){try{return new w.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}w.attachEvent&&w.attachEvent("onunload",function(){for(var t in dn)dn[t](void 0,!0)}),m.cors=!!L&&"withCredentials"in L,(m.ajax=!!L)&&x.ajaxTransport(function(l){var d;if(!l.crossDomain||m.cors)return{send:function(t,s){var e,r=l.xhr(),a=++ln;if(r.open(l.type,l.url,l.async,l.username,l.password),l.xhrFields)for(e in l.xhrFields)r[e]=l.xhrFields[e];for(e in l.mimeType&&r.overrideMimeType&&r.overrideMimeType(l.mimeType),l.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)void 0!==t[e]&&r.setRequestHeader(e,t[e]+"");r.send(l.hasContent&&l.data||null),d=function(t,e){var n,i,o;if(d&&(e||4===r.readyState))if(delete dn[a],d=void 0,r.onreadystatechange=x.noop,e)4!==r.readyState&&r.abort();else{o={},n=r.status,"string"==typeof r.responseText&&(o.text=r.responseText);try{i=r.statusText}catch(t){i=""}n||!l.isLocal||l.crossDomain?1223===n&&(n=204):n=o.text?200:404}o&&s(n,i,o,r.getAllResponseHeaders())},l.async?4===r.readyState?w.setTimeout(d):r.onreadystatechange=dn[a]=d:d()},abort:function(){d&&d(void 0,!0)}}}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return x.globalEval(t),t}}}),x.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),x.ajaxTransport("script",function(e){var i,o;if(e.crossDomain)return o=f.head||x("head")[0]||f.documentElement,{send:function(t,n){(i=f.createElement("script")).async=!0,e.scriptCharset&&(i.charset=e.scriptCharset),i.src=e.url,i.onload=i.onreadystatechange=function(t,e){!e&&i.readyState&&!/loaded|complete/.test(i.readyState)||(i.onload=i.onreadystatechange=null,i.parentNode&&i.parentNode.removeChild(i),i=null,e)||n(200,"success")},o.insertBefore(i,o.firstChild)},abort:function(){i&&i.onload(void 0,!0)}}});var cn=[],pn=/(=)\?(?=&|$)|\?\?/,fn=(x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=cn.pop()||x.expando+"_"+je++;return this[t]=!0,t}}),x.ajaxPrefilter("json jsonp",function(t,e,n){var i,o,s,r=!1!==t.jsonp&&(pn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&pn.test(t.data)&&"data");if(r||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=x.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,r?t[r]=t[r].replace(pn,"$1"+i):!1!==t.jsonp&&(t.url+=(ze.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||x.error(i+" was not called"),s[0]},t.dataTypes[0]="json",o=w[i],w[i]=function(){s=arguments},n.always(function(){void 0===o?x(w).removeProp(i):w[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,cn.push(i)),s&&x.isFunction(o)&&o(s[0]),s=o=void 0}),"script"}),x.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||f;var i=Q.exec(t),n=!n&&[];return i?[e.createElement(i[1])]:(i=St([t],e,n),n&&n.length&&x(n).remove(),x.merge([],i.childNodes))},x.fn.load);function gn(t){return x.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}x.fn.load=function(t,e,n){var i,o,s,r,a;return"string"!=typeof t&&fn?fn.apply(this,arguments):(r=this,-1<(a=t.indexOf(" "))&&(i=x.trim(t.slice(a,t.length)),t=t.slice(0,a)),x.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),0<r.length&&x.ajax({url:t,type:o||"GET",dataType:"html",data:e}).done(function(t){s=arguments,r.html(i?x("<div>").append(x.parseHTML(t)).find(i):t)}).always(n&&function(t,e){r.each(function(){n.apply(this,s||[t.responseText,e,t])})}),this)},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){x.fn[e]=function(t){return this.on(e,t)}}),x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length},x.offset={setOffset:function(t,e,n){var i,o,s,r,a=x.css(t,"position"),l=x(t),d={};"static"===a&&(t.style.position="relative"),s=l.offset(),i=x.css(t,"top"),r=x.css(t,"left"),a=("absolute"===a||"fixed"===a)&&-1<x.inArray("auto",[i,r])?(o=(a=l.position()).top,a.left):(o=parseFloat(i)||0,parseFloat(r)||0),null!=(e=x.isFunction(e)?e.call(t,n,x.extend({},s)):e).top&&(d.top=e.top-s.top+o),null!=e.left&&(d.left=e.left-s.left+a),"using"in e?e.using.call(t,d):l.css(d)}},x.fn.extend({offset:function(e){var t,n,i,o;return arguments.length?void 0===e?this:this.each(function(t){x.offset.setOffset(this,e,t)}):(n={top:0,left:0},(o=(i=this[0])&&i.ownerDocument)?(t=o.documentElement,x.contains(t,i)?(void 0!==i.getBoundingClientRect&&(n=i.getBoundingClientRect()),i=gn(o),{top:n.top+(i.pageYOffset||t.scrollTop)-(t.clientTop||0),left:n.left+(i.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):n):void 0)},position:function(){var t,e,n,i;if(this[0])return n={top:0,left:0},i=this[0],"fixed"===x.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),(n=x.nodeName(t[0],"html")?n:t.offset()).top+=x.css(t[0],"borderTopWidth",!0),n.left+=x.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-x.css(i,"marginTop",!0),left:e.left-n.left-x.css(i,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&!x.nodeName(t,"html")&&"static"===x.css(t,"position");)t=t.offsetParent;return t||de})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,o){var s=/Y/.test(o);x.fn[e]=function(t){return c(this,function(t,e,n){var i=gn(t);if(void 0===n)return i?o in i?i[o]:i.document.documentElement[e]:t[e];i?i.scrollTo(s?x(i).scrollLeft():n,s?n:x(i).scrollTop()):t[e]=n},e,t,arguments.length,null)}}),x.each(["top","left"],function(t,n){x.cssHooks[n]=he(m.pixelPosition,function(t,e){if(e)return e=p(t,n),le.test(e)?x(t).position()[n]+"px":e})}),x.each({Height:"height",Width:"width"},function(s,r){x.each({padding:"inner"+s,content:r,"":"outer"+s},function(i,t){x.fn[t]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),o=i||(!0===t||!0===e?"margin":"border");return c(this,function(t,e,n){var i;return x.isWindow(t)?t.document.documentElement["client"+s]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+s],i["scroll"+s],t.body["offset"+s],i["offset"+s],i["client"+s])):void 0===n?x.css(t,e,o):x.style(t,e,n,o)},r,n?t:void 0,n,null)}})}),x.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return x});var mn=w.jQuery,vn=w.$;return x.noConflict=function(t){return w.$===x&&(w.$=vn),t&&w.jQuery===x&&(w.jQuery=mn),x},R||(w.jQuery=w.$=x),x}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(){"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(i){"use strict";i.fn.emulateTransitionEnd=function(t){var e=!1,n=this;i(this).one("bsTransitionEnd",function(){e=!0});return setTimeout(function(){e||i(n).trigger(i.support.transition.end)},t),this},i(function(){i.support.transition=function(){var t,e=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(t in n)if(void 0!==e.style[t])return{end:n[t]};return!1}(),i.support.transition&&(i.event.special.bsTransitionEnd={bindType:i.support.transition.end,delegateType:i.support.transition.end,handle:function(t){if(i(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(s){"use strict";function r(t){s(t).on("click",e,this.close)}var e='[data-dismiss="alert"]';r.VERSION="3.4.1",r.TRANSITION_DURATION=150,r.prototype.close=function(t){var e=s(this),n=e.attr("data-target"),i=(n="#"===(n=n||(n=e.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,""))?[]:n,s(document).find(n));function o(){i.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),(i=i.length?i:e.closest(".alert")).trigger(t=s.Event("close.bs.alert")),t.isDefaultPrevented()||(i.removeClass("in"),s.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",o).emulateTransitionEnd(r.TRANSITION_DURATION):o())};var t=s.fn.alert;s.fn.alert=function(n){return this.each(function(){var t=s(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new r(this)),"string"==typeof n&&e[n].call(t)})},s.fn.alert.Constructor=r,s.fn.alert.noConflict=function(){return s.fn.alert=t,this},s(document).on("click.bs.alert.data-api",e,r.prototype.close)}(jQuery),function(s){"use strict";function i(t,e){this.$element=s(t),this.options=s.extend({},i.DEFAULTS,e),this.isLoading=!1}function n(n){return this.each(function(){var t=s(this),e=t.data("bs.button");e||t.data("bs.button",e=new i(this,"object"==typeof n&&n)),"toggle"==n?e.toggle():n&&e.setState(n)})}i.VERSION="3.4.1",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(t){var e="disabled",n=this.$element,i=n.is("input")?"val":"html",o=n.data();t+="Text",null==o.resetText&&n.data("resetText",n[i]()),setTimeout(s.proxy(function(){n[i]((null==o[t]?this.options:o)[t]),"loadingText"==t?(this.isLoading=!0,n.addClass(e).attr(e,e).prop(e,!0)):this.isLoading&&(this.isLoading=!1,n.removeClass(e).removeAttr(e).prop(e,!1))},this),0)},i.prototype.toggle=function(){var t,e=!0,n=this.$element.closest('[data-toggle="buttons"]');n.length?("radio"==(t=this.$element.find("input")).prop("type")?(t.prop("checked")&&(e=!1),n.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==t.prop("type")&&(t.prop("checked")!==this.$element.hasClass("active")&&(e=!1),this.$element.toggleClass("active")),t.prop("checked",this.$element.hasClass("active")),e&&t.trigger("change")):(this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active"))};var t=s.fn.button;s.fn.button=n,s.fn.button.Constructor=i,s.fn.button.noConflict=function(){return s.fn.button=t,this},s(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=s(t.target).closest(".btn");n.call(e,"toggle"),s(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),(e.is("input,button")?e:e.find("input:visible,button:visible").first()).trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){s(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),function(d){"use strict";function u(t,e){this.$element=d(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",d.proxy(this.keydown,this)),"hover"!=this.options.pause||"ontouchstart"in document.documentElement||this.$element.on("mouseenter.bs.carousel",d.proxy(this.pause,this)).on("mouseleave.bs.carousel",d.proxy(this.cycle,this))}function o(o){return this.each(function(){var t=d(this),e=t.data("bs.carousel"),n=d.extend({},u.DEFAULTS,t.data(),"object"==typeof o&&o),i="string"==typeof o?o:n.slide;e||t.data("bs.carousel",e=new u(this,n)),"number"==typeof o?e.to(o):i?e[i]():n.interval&&e.pause().cycle()})}u.VERSION="3.4.1",u.TRANSITION_DURATION=600,u.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},u.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},u.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(d.proxy(this.next,this),this.options.interval)),this},u.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},u.prototype.getItemForDirection=function(t,e){var n=this.getItemIndex(e);return("prev"==t&&0===n||"next"==t&&n==this.$items.length-1)&&!this.options.wrap?e:(e=(n+("prev"==t?-1:1))%this.$items.length,this.$items.eq(e))},u.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):n==t?this.pause().cycle():this.slide(n<t?"next":"prev",this.$items.eq(t))},u.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&d.support.transition&&(this.$element.trigger(d.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},u.prototype.next=function(){if(!this.sliding)return this.slide("next")},u.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},u.prototype.slide=function(t,e){var n,i,o,s=this.$element.find(".item.active"),r=e||this.getItemForDirection(t,s),e=this.interval,a="next"==t?"left":"right",l=this;return r.hasClass("active")?this.sliding=!1:(n=r[0],i=d.Event("slide.bs.carousel",{relatedTarget:n,direction:a}),this.$element.trigger(i),i.isDefaultPrevented()?void 0:(this.sliding=!0,e&&this.pause(),this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),i=d(this.$indicators.children()[this.getItemIndex(r)]))&&i.addClass("active"),o=d.Event("slid.bs.carousel",{relatedTarget:n,direction:a}),d.support.transition&&this.$element.hasClass("slide")?(r.addClass(t),"object"==typeof r&&r.length&&r[0].offsetWidth,s.addClass(a),r.addClass(a),s.one("bsTransitionEnd",function(){r.removeClass([t,a].join(" ")).addClass("active"),s.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(o)},0)}).emulateTransitionEnd(u.TRANSITION_DURATION)):(s.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(o)),e&&this.cycle(),this))};function t(t){var e,n=d(this),i=(i=n.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""),i=n.attr("data-target")||i;(i=d(document).find(i)).hasClass("carousel")&&(e=d.extend({},i.data(),n.data()),(n=n.attr("data-slide-to"))&&(e.interval=!1),o.call(i,e),n&&i.data("bs.carousel").to(n),t.preventDefault())}var e=d.fn.carousel;d.fn.carousel=o,d.fn.carousel.Constructor=u,d.fn.carousel.noConflict=function(){return d.fn.carousel=e,this};d(document).on("click.bs.carousel.data-api","[data-slide]",t).on("click.bs.carousel.data-api","[data-slide-to]",t),d(window).on("load",function(){d('[data-ride="carousel"]').each(function(){var t=d(this);o.call(t,t.data())})})}(jQuery),function(o){"use strict";function s(t,e){this.$element=o(t),this.options=o.extend({},s.DEFAULTS,e),this.$trigger=o('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()}function n(t){t=t.attr("data-target")||(t=t.attr("href"))&&t.replace(/.*(?=#[^\s]+$)/,"");return o(document).find(t)}function r(i){return this.each(function(){var t=o(this),e=t.data("bs.collapse"),n=o.extend({},s.DEFAULTS,t.data(),"object"==typeof i&&i);!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),e||t.data("bs.collapse",e=new s(this,n)),"string"==typeof i&&e[i]()})}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 t=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(t&&t.length&&(i=t.data("bs.collapse"))&&i.transitioning)){var e=o.Event("show.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){t&&t.length&&(r.call(t,"hide"),i||t.data("bs.collapse",null));var n=this.dimension(),e=(this.$element.removeClass("collapse").addClass("collapsing")[n](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1,function(){this.$element.removeClass("collapsing").addClass("collapse in")[n](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")});if(!o.support.transition)return e.call(this);var i=o.camelCase(["scroll",n].join("-"));this.$element.one("bsTransitionEnd",o.proxy(e,this)).emulateTransitionEnd(s.TRANSITION_DURATION)[n](this.$element[0][i])}}}},s.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=o.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var t=this.dimension(),e=(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,function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")});if(!o.support.transition)return e.call(this);this.$element[t](0).one("bsTransitionEnd",o.proxy(e,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(t,e){e=o(e);this.addAriaAndCollapsedClass(n(e),e)},this)).end()},s.prototype.addAriaAndCollapsedClass=function(t,e){var n=t.hasClass("in");t.attr("aria-expanded",n),e.toggleClass("collapsed",!n).attr("aria-expanded",n)};var t=o.fn.collapse;o.fn.collapse=r,o.fn.collapse.Constructor=s,o.fn.collapse.noConflict=function(){return o.fn.collapse=t,this},o(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var e=o(this),t=(e.attr("data-target")||t.preventDefault(),n(e)),e=t.data("bs.collapse")?"toggle":e.data();r.call(t,e)})}(jQuery),function(o){"use strict";function i(t){o(t).on("click.bs.dropdown",this.toggle)}var s='[data-toggle="dropdown"]';function r(t){var e=t.attr("data-target"),e="#"!==(e=e||(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""))?o(document).find(e):null;return e&&e.length?e:t.parent()}function a(i){i&&3===i.which||(o(".dropdown-backdrop").remove(),o(s).each(function(){var t=o(this),e=r(t),n={relatedTarget:this};!e.hasClass("open")||i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&o.contains(e[0],i.target)||(e.trigger(i=o.Event("hide.bs.dropdown",n)),i.isDefaultPrevented())||(t.attr("aria-expanded","false"),e.removeClass("open").trigger(o.Event("hidden.bs.dropdown",n)))}))}i.VERSION="3.4.1",i.prototype.toggle=function(t){var e=o(this);if(!e.is(".disabled, :disabled")){var n=r(e),i=n.hasClass("open");if(a(),!i){"ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&o(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(o(this)).on("click",a);i={relatedTarget:this};if(n.trigger(t=o.Event("show.bs.dropdown",i)),t.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),n.toggleClass("open").trigger(o.Event("shown.bs.dropdown",i))}return!1}},i.prototype.keydown=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var e=o(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var n=r(e),i=n.hasClass("open");if(!i&&27!=t.which||i&&27==t.which)return 27==t.which&&n.find(s).trigger("focus"),e.trigger("click");i=n.find(".dropdown-menu li:not(.disabled):visible a");i.length&&(e=i.index(t.target),38==t.which&&0<e&&e--,40==t.which&&e<i.length-1&&e++,i.eq(e=~e?e:0).trigger("focus"))}}};var t=o.fn.dropdown;o.fn.dropdown=function(n){return this.each(function(){var t=o(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new i(this)),"string"==typeof n&&e[n].call(t)})},o.fn.dropdown.Constructor=i,o.fn.dropdown.noConflict=function(){return o.fn.dropdown=t,this},o(document).on("click.bs.dropdown.data-api",a).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",s,i.prototype.toggle).on("keydown.bs.dropdown.data-api",s,i.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",i.prototype.keydown)}(jQuery),function(s){"use strict";function r(t,e){this.options=e,this.$body=s(document.body),this.$element=s(t),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,s.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))}function a(i,o){return this.each(function(){var t=s(this),e=t.data("bs.modal"),n=s.extend({},r.DEFAULTS,t.data(),"object"==typeof i&&i);e||t.data("bs.modal",e=new r(this,n)),"string"==typeof i?e[i](o):n.show&&e.show(o)})}r.VERSION="3.4.1",r.TRANSITION_DURATION=300,r.BACKDROP_TRANSITION_DURATION=150,r.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},r.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},r.prototype.show=function(n){var i=this,t=s.Event("show.bs.modal",{relatedTarget:n});this.$element.trigger(t),this.isShown||t.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"]',s.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(t){s(t.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var t=s.support.transition&&i.$element.hasClass("fade"),e=(i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),t&&i.$element[0].offsetWidth,i.$element.addClass("in"),i.enforceFocus(),s.Event("shown.bs.modal",{relatedTarget:n}));t?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(e)}).emulateTransitionEnd(r.TRANSITION_DURATION):i.$element.trigger("focus").trigger(e)}))},r.prototype.hide=function(t){t&&t.preventDefault(),t=s.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),s(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"),s.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",s.proxy(this.hideModal,this)).emulateTransitionEnd(r.TRANSITION_DURATION):this.hideModal())},r.prototype.enforceFocus=function(){s(document).off("focusin.bs.modal").on("focusin.bs.modal",s.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},r.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",s.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},r.prototype.resize=function(){this.isShown?s(window).on("resize.bs.modal",s.proxy(this.handleUpdate,this)):s(window).off("resize.bs.modal")},r.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},r.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},r.prototype.backdrop=function(t){var e,n=this,i=this.$element.hasClass("fade")?"fade":"";this.isShown&&this.options.backdrop?(e=s.support.transition&&i,this.$backdrop=s(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",s.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),e&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),t&&(e?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):t())):!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),i=function(){n.removeBackdrop(),t&&t()},s.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(r.BACKDROP_TRANSITION_DURATION):i()):t&&t()},r.prototype.handleUpdate=function(){this.adjustDialog()},r.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},r.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},r.prototype.checkScrollbar=function(){var t,e=window.innerWidth;e||(e=(t=document.documentElement.getBoundingClientRect()).right-Math.abs(t.left)),this.bodyIsOverflowing=document.body.clientWidth<e,this.scrollbarWidth=this.measureScrollbar()},r.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10),o=(this.originalBodyPad=document.body.style.paddingRight||"",this.scrollbarWidth);this.bodyIsOverflowing&&(this.$body.css("padding-right",t+o),s(this.fixedContent).each(function(t,e){var n=e.style.paddingRight,i=s(e).css("padding-right");s(e).data("padding-right",n).css("padding-right",parseFloat(i)+o+"px")}))},r.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),s(this.fixedContent).each(function(t,e){var n=s(e).data("padding-right");s(e).removeData("padding-right"),e.style.paddingRight=n||""})},r.prototype.measureScrollbar=function(){var t=document.createElement("div"),e=(t.className="modal-scrollbar-measure",this.$body.append(t),t.offsetWidth-t.clientWidth);return this.$body[0].removeChild(t),e};var t=s.fn.modal;s.fn.modal=a,s.fn.modal.Constructor=r,s.fn.modal.noConflict=function(){return s.fn.modal=t,this},s(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e=s(this),n=e.attr("href"),i=e.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,""),o=s(document).find(i),i=o.data("bs.modal")?"toggle":s.extend({remote:!/#/.test(n)&&n},o.data(),e.data());e.is("a")&&t.preventDefault(),o.one("show.bs.modal",function(t){t.isDefaultPrevented()||o.one("hidden.bs.modal",function(){e.is(":visible")&&e.trigger("focus")})}),a.call(o,i,this)})}(jQuery),function(p){"use strict";var i=["sanitize","whiteList","sanitizeFn"],f=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],t={"*":["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:[]},g=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,m=/^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 o(t,e,n){if(0===t.length)return t;if(n&&"function"==typeof n)return n(t);if(!document.implementation||!document.implementation.createHTMLDocument)return t;for(var n=document.implementation.createHTMLDocument("sanitization"),i=(n.body.innerHTML=t,p.map(e,function(t,e){return e})),o=p(n.body).find("*"),s=0,r=o.length;s<r;s++){var a=o[s],l=a.nodeName.toLowerCase();if(-1===p.inArray(l,i))a.parentNode.removeChild(a);else for(var d=p.map(a.attributes,function(t){return t}),u=[].concat(e["*"]||[],e[l]||[]),h=0,c=d.length;h<c;h++)!function(t,e){var n=t.nodeName.toLowerCase();if(-1!==p.inArray(n,e))return-1===p.inArray(n,f)||Boolean(t.nodeValue.match(g)||t.nodeValue.match(m));for(var i=p(e).filter(function(t,e){return e instanceof RegExp}),o=0,s=i.length;o<s;o++)if(n.match(i[o]))return 1}(d[h],u)&&a.removeAttribute(d[h].nodeName)}return n.body.innerHTML}function l(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)}l.VERSION="3.4.1",l.TRANSITION_DURATION=150,l.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:t},l.prototype.init=function(t,e,n){if(this.enabled=!0,this.type=t,this.$element=p(e),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&p(document).find(p.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 i=this.options.trigger.split(" "),o=i.length;o--;){var s,r=i[o];"click"==r?this.$element.on("click."+this.type,this.options.selector,p.proxy(this.toggle,this)):"manual"!=r&&(s="hover"==r?"mouseleave":"focusout",this.$element.on(("hover"==r?"mouseenter":"focusin")+"."+this.type,this.options.selector,p.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,p.proxy(this.leave,this)))}this.options.selector?this._options=p.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},l.prototype.getDefaults=function(){return l.DEFAULTS},l.prototype.getOptions=function(t){var e,n=this.$element.data();for(e in n)n.hasOwnProperty(e)&&-1!==p.inArray(e,i)&&delete n[e];return(t=p.extend({},this.getDefaults(),n,t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t.sanitize&&(t.template=o(t.template,t.whiteList,t.sanitizeFn)),t},l.prototype.getDelegateOptions=function(){var n={},i=this.getDefaults();return this._options&&p.each(this._options,function(t,e){i[t]!=e&&(n[t]=e)}),n},l.prototype.enter=function(t){var e=t instanceof this.constructor?t:p(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),p(t.currentTarget).data("bs."+this.type,e)),t instanceof p.Event&&(e.inState["focusin"==t.type?"focus":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState)e.hoverState="in";else{if(clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)}},l.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},l.prototype.leave=function(t){var e=t instanceof this.constructor?t:p(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),p(t.currentTarget).data("bs."+this.type,e)),t instanceof p.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),!e.isInStateTrue()){if(clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)}},l.prototype.show=function(){var e,t,n,i,o,s,r,a=p.Event("show.bs."+this.type);this.hasContent()&&this.enabled&&(this.$element.trigger(a),o=p.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),!a.isDefaultPrevented())&&o&&(a=(e=this).tip(),o=this.getUID(this.type),this.setContent(),a.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&a.addClass("fade"),o="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,(r=(t=/\s?auto?\s?/i).test(o))&&(o=o.replace(t,"")||"top"),a.detach().css({top:0,left:0,display:"block"}).addClass(o).data("bs."+this.type,this),this.options.container?a.appendTo(p(document).find(this.options.container)):a.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type),t=this.getPosition(),n=a[0].offsetWidth,i=a[0].offsetHeight,r&&(r=o,s=this.getPosition(this.$viewport),o="bottom"==o&&t.bottom+i>s.bottom?"top":"top"==o&&t.top-i<s.top?"bottom":"right"==o&&t.right+n>s.width?"left":"left"==o&&t.left-n<s.left?"right":o,a.removeClass(r).addClass(o)),s=this.getCalculatedOffset(o,t,n,i),this.applyPlacement(s,o),r=function(){var t=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==t&&e.leave(e)},p.support.transition&&this.$tip.hasClass("fade")?a.one("bsTransitionEnd",r).emulateTransitionEnd(l.TRANSITION_DURATION):r())},l.prototype.applyPlacement=function(t,e){var n=this.tip(),i=n[0].offsetWidth,o=n[0].offsetHeight,s=parseInt(n.css("margin-top"),10),r=parseInt(n.css("margin-left"),10),s=(isNaN(s)&&(s=0),isNaN(r)&&(r=0),t.top+=s,t.left+=r,p.offset.setOffset(n[0],p.extend({using:function(t){n.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),n.addClass("in"),n[0].offsetWidth),r=n[0].offsetHeight,a=("top"==e&&r!=o&&(t.top=t.top+o-r),this.getViewportAdjustedDelta(e,t,s,r)),e=(a.left?t.left+=a.left:t.top+=a.top,/top|bottom/.test(e)),i=e?2*a.left-i+s:2*a.top-o+r,s=e?"offsetWidth":"offsetHeight";n.offset(t),this.replaceArrow(i,n[0][s],e)},l.prototype.replaceArrow=function(t,e,n){this.arrow().css(n?"left":"top",50*(1-t/e)+"%").css(n?"top":"left","")},l.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=o(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},l.prototype.hide=function(t){var e=this,n=p(this.$tip),i=p.Event("hide.bs."+this.type);function o(){"in"!=e.hoverState&&n.detach(),e.$element&&e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),t&&t()}if(this.$element.trigger(i),!i.isDefaultPrevented())return n.removeClass("in"),p.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",o).emulateTransitionEnd(l.TRANSITION_DURATION):o(),this.hoverState=null,this},l.prototype.fixTitle=function(){var t=this.$element;!t.attr("title")&&"string"==typeof t.attr("data-original-title")||t.attr("data-original-title",t.attr("title")||"").attr("title","")},l.prototype.hasContent=function(){return this.getTitle()},l.prototype.getPosition=function(t){var e=(t=t||this.$element)[0],n="BODY"==e.tagName,i=e.getBoundingClientRect(),e=(null==i.width&&(i=p.extend({},i,{width:i.right-i.left,height:i.bottom-i.top})),window.SVGElement&&e instanceof window.SVGElement),e=n?{top:0,left:0}:e?null:t.offset(),t={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},n=n?{width:p(window).width(),height:p(window).height()}:null;return p.extend({},i,t,n,e)},l.prototype.getCalculatedOffset=function(t,e,n,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-n/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-n/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-n}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},l.prototype.getViewportAdjustedDelta=function(t,e,n,i){var o,s,r={top:0,left:0};return this.$viewport&&(o=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport),/right|left/.test(t)?(t=e.top-o-s.scroll,i=e.top+o-s.scroll+i,t<s.top?r.top=s.top-t:i>s.top+s.height&&(r.top=s.top+s.height-i)):(t=e.left-o,i=e.left+o+n,t<s.left?r.left=s.left-t:i>s.right&&(r.left=s.left+s.width-i))),r},l.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},l.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},l.prototype.tip=function(){if(this.$tip||(this.$tip=p(this.options.template),1==this.$tip.length))return this.$tip;throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!")},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},l.prototype.enable=function(){this.enabled=!0},l.prototype.disable=function(){this.enabled=!1},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled},l.prototype.toggle=function(t){var e=this;t&&!(e=p(t.currentTarget).data("bs."+this.type))&&(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),p(t.currentTarget).data("bs."+this.type,e)),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},l.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})},l.prototype.sanitizeHtml=function(t){return o(t,this.options.whiteList,this.options.sanitizeFn)};var e=p.fn.tooltip;p.fn.tooltip=function(i){return this.each(function(){var t=p(this),e=t.data("bs.tooltip"),n="object"==typeof i&&i;!e&&/destroy|hide/.test(i)||(e||t.data("bs.tooltip",e=new l(this,n)),"string"==typeof i&&e[i]())})},p.fn.tooltip.Constructor=l,p.fn.tooltip.noConflict=function(){return p.fn.tooltip=e,this}}(jQuery),function(o){"use strict";function s(t,e){this.init("popover",t,e)}if(!o.fn.tooltip)throw new Error("Popover requires tooltip.js");s.VERSION="3.4.1",s.DEFAULTS=o.extend({},o.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>'}),((s.prototype=o.extend({},o.fn.tooltip.Constructor.prototype)).constructor=s).prototype.getDefaults=function(){return s.DEFAULTS},s.prototype.setContent=function(){var t,e=this.tip(),n=this.getTitle(),i=this.getContent();this.options.html?(t=typeof i,this.options.sanitize&&(n=this.sanitizeHtml(n),"string"==t)&&(i=this.sanitizeHtml(i)),e.find(".popover-title").html(n),e.find(".popover-content").children().detach().end()["string"==t?"html":"append"](i)):(e.find(".popover-title").text(n),e.find(".popover-content").children().detach().end().text(i)),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide()},s.prototype.hasContent=function(){return this.getTitle()||this.getContent()},s.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},s.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var t=o.fn.popover;o.fn.popover=function(i){return this.each(function(){var t=o(this),e=t.data("bs.popover"),n="object"==typeof i&&i;!e&&/destroy|hide/.test(i)||(e||t.data("bs.popover",e=new s(this,n)),"string"==typeof i&&e[i]())})},o.fn.popover.Constructor=s,o.fn.popover.noConflict=function(){return o.fn.popover=t,this}}(jQuery),function(o){"use strict";function i(t,e){this.$body=o(document.body),this.$scrollElement=o(t).is(document.body)?o(window):o(t),this.options=o.extend({},i.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",o.proxy(this.process,this)),this.refresh(),this.process()}function e(n){return this.each(function(){var t=o(this),e=t.data("bs.scrollspy");e||t.data("bs.scrollspy",e=new i(this,"object"==typeof n&&n)),"string"==typeof n&&e[n]()})}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 t=this,n="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),o.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=o(this),t=t.data("target")||t.attr("href"),e=/^#./.test(t)&&o(t);return e&&e.length&&e.is(":visible")?[[e[n]().top+i,t]]:null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},i.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,n=this.getScrollHeight(),i=this.options.offset+n-this.$scrollElement.height(),o=this.offsets,s=this.targets,r=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),i<=e)return r!=(t=s[s.length-1])&&this.activate(t);if(r&&e<o[0])return this.activeTarget=null,this.clear();for(t=o.length;t--;)r!=s[t]&&e>=o[t]&&(void 0===o[t+1]||e<o[t+1])&&this.activate(s[t])},i.prototype.activate=function(t){this.activeTarget=t,this.clear();t=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',t=o(t).parents("li").addClass("active");(t=t.parent(".dropdown-menu").length?t.closest("li.dropdown").addClass("active"):t).trigger("activate.bs.scrollspy")},i.prototype.clear=function(){o(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var t=o.fn.scrollspy;o.fn.scrollspy=e,o.fn.scrollspy.Constructor=i,o.fn.scrollspy.noConflict=function(){return o.fn.scrollspy=t,this},o(window).on("load.bs.scrollspy.data-api",function(){o('[data-spy="scroll"]').each(function(){var t=o(this);e.call(t,t.data())})})}(jQuery),function(r){"use strict";function a(t){this.element=r(t)}function e(n){return this.each(function(){var t=r(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new a(this)),"string"==typeof n&&e[n]()})}a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.prototype.show=function(){var t,e,n,i=this.element,o=i.closest("ul:not(.dropdown-menu)"),s=(s=i.data("target"))||(s=i.attr("href"))&&s.replace(/.*(?=#[^\s]*$)/,"");i.parent("li").hasClass("active")||(t=o.find(".active:last a"),e=r.Event("hide.bs.tab",{relatedTarget:i[0]}),n=r.Event("show.bs.tab",{relatedTarget:t[0]}),t.trigger(e),i.trigger(n),n.isDefaultPrevented())||e.isDefaultPrevented()||(n=r(document).find(s),this.activate(i.closest("li"),o),this.activate(n,n.parent(),function(){t.trigger({type:"hidden.bs.tab",relatedTarget:i[0]}),i.trigger({type:"shown.bs.tab",relatedTarget:t[0]})}))},a.prototype.activate=function(t,e,n){var i=e.find("> .active"),o=n&&r.support.transition&&(i.length&&i.hasClass("fade")||!!e.find("> .fade").length);function s(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),o?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}i.length&&o?i.one("bsTransitionEnd",s).emulateTransitionEnd(a.TRANSITION_DURATION):s(),i.removeClass("in")};function t(t){t.preventDefault(),e.call(r(this),"show")}var n=r.fn.tab;r.fn.tab=e,r.fn.tab.Constructor=a,r.fn.tab.noConflict=function(){return r.fn.tab=n,this};r(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',t).on("click.bs.tab.data-api",'[data-toggle="pill"]',t)}(jQuery),function(r){"use strict";function a(t,e){this.options=r.extend({},a.DEFAULTS,e),e=this.options.target===a.DEFAULTS.target?r(this.options.target):r(document).find(this.options.target),this.$target=e.on("scroll.bs.affix.data-api",r.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",r.proxy(this.checkPositionWithEventLoop,this)),this.$element=r(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()}function n(n){return this.each(function(){var t=r(this),e=t.data("bs.affix");e||t.data("bs.affix",e=new a(this,"object"==typeof n&&n)),"string"==typeof n&&e[n]()})}a.VERSION="3.4.1",a.RESET="affix affix-top affix-bottom",a.DEFAULTS={offset:0,target:window},a.prototype.getState=function(t,e,n,i){var o,s=this.$target.scrollTop(),r=this.$element.offset(),a=this.$target.height();return null!=n&&"top"==this.affixed?s<n&&"top":"bottom"==this.affixed?null!=n?!(s+this.unpin<=r.top)&&"bottom":!(s+a<=t-i)&&"bottom":(r=(o=null==this.affixed)?s:r.top,null!=n&&s<=n?"top":null!=i&&t-i<=r+(o?a:e)&&"bottom")},a.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(a.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},a.prototype.checkPositionWithEventLoop=function(){setTimeout(r.proxy(this.checkPosition,this),1)},a.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),e=this.options.offset,n=e.top,i=e.bottom,o=Math.max(r(document).height(),r(document.body).height()),e=("object"!=typeof e&&(i=n=e),"function"==typeof n&&(n=e.top(this.$element)),"function"==typeof i&&(i=e.bottom(this.$element)),this.getState(o,t,n,i));if(this.affixed!=e){null!=this.unpin&&this.$element.css("top","");var n="affix"+(e?"-"+e:""),s=r.Event(n+".bs.affix");if(this.$element.trigger(s),s.isDefaultPrevented())return;this.affixed=e,this.unpin="bottom"==e?this.getPinnedOffset():null,this.$element.removeClass(a.RESET).addClass(n).trigger(n.replace("affix","affixed")+".bs.affix")}"bottom"==e&&this.$element.offset({top:o-t-i})}};var t=r.fn.affix;r.fn.affix=n,r.fn.affix.Constructor=a,r.fn.affix.noConflict=function(){return r.fn.affix=t,this},r(window).on("load",function(){r('[data-spy="affix"]').each(function(){var t=r(this),e=t.data();e.offset=e.offset||{},null!=e.offsetBottom&&(e.offset.bottom=e.offsetBottom),null!=e.offsetTop&&(e.offset.top=e.offsetTop),n.call(t,e)})})}(jQuery),function(s){"use strict";var r;if(!s.fn.popover)throw new Error("Confirmation requires popover.js");function o(t,e){this.init(t,e)}function t(t){for(var e=window,n=t.split("."),i=n.pop(),o=0,s=n.length;o<s;o++)e=e[n[o]];return function(){e[i].call(this)}}o.VERSION="2.4.3",o.KEYMAP={13:"Enter",27:"Escape",39:"ArrowRight",40:"ArrowDown"},(o.DEFAULTS=s.extend({},s.fn.popover.Constructor.DEFAULTS,{placement:"top",title:"Are you sure?",trigger:"click",confirmationEvent:void 0,popout:!1,singleton:!1,copyAttributes:"href target",buttons:null,onConfirm:s.noop,onCancel:s.noop,btnOkClass:"btn-xs btn-primary",btnOkIcon:"glyphicon glyphicon-ok",btnOkLabel:"Yes",btnCancelClass:"btn-xs btn-default",btnCancelIcon:"glyphicon glyphicon-remove",btnCancelLabel:"No",template:'<div class="popover confirmation"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"><p class="confirmation-content"></p><div class="confirmation-buttons text-center"><div class="btn-group"><a href="#" class="btn" data-apply="confirmation"></a><a href="#" class="btn" data-dismiss="confirmation"></a></div></div></div></div>'})).whiteList&&o.DEFAULTS.whiteList["*"].push("data-apply","data-dismiss"),((o.prototype=s.extend({},s.fn.popover.Constructor.prototype)).constructor=o).prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.init=function(t,e){if(s.fn.popover.Constructor.prototype.init.call(this,"confirmation",t,e),(this.options.popout||this.options.singleton)&&!e.rootSelector)throw new Error("The rootSelector option is required to use popout and singleton features since jQuery 3.");this.options._isDelegate=!1,e.selector?this.options._selector=this._options._selector=e.rootSelector+" "+e.selector:e._selector?(this.options._selector=e._selector,this.options._isDelegate=!0):this.options._selector=e.rootSelector,void 0===this.options.confirmationEvent&&(this.options.confirmationEvent=this.options.trigger);var n=this;this.options.selector?this.$element.on(this.options.trigger,this.options.selector,function(t,e){e||(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}):(this.options._attributes={},this.options.copyAttributes?"string"==typeof this.options.copyAttributes&&(this.options.copyAttributes=this.options.copyAttributes.split(" ")):this.options.copyAttributes=[],this.options.copyAttributes.forEach(function(t){this.options._attributes[t]=this.$element.attr(t)},this),this.$element.on(this.options.trigger,function(t,e){e||(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation())}),this.$element.on("show.bs.confirmation",function(t){n.options.singleton&&s(n.options._selector).not(s(this)).filter(function(){return void 0!==s(this).data("bs.confirmation")}).confirmation("hide")})),this.options._isDelegate||(this.eventBody=!1,this.uid=this.$element[0].id||this.getUID("group_"),this.$element.on("shown.bs.confirmation",function(t){n.options.popout&&!n.eventBody&&(n.eventBody=s("body").on("click.bs.confirmation."+n.uid,function(t){s(n.options._selector).is(t.target)||(s(n.options._selector).filter(function(){return void 0!==s(this).data("bs.confirmation")}).confirmation("hide"),s("body").off("click.bs."+n.uid),n.eventBody=!1)}))}))},o.prototype.hasContent=function(){return!0},o.prototype.setContent=function(){var t,n=this,e=this.tip(),i=this.getTitle(),o=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](i),e.find(".confirmation-content").toggle(!!o).children().detach().end()[this.options.html?"string"==typeof o?"html":"append":"text"](o),e.on("click",function(t){t.stopPropagation()}),this.options.buttons?(t=e.find(".confirmation-buttons .btn-group").empty(),this.options.buttons.forEach(function(e){t.append(s('<a href="#"></a>').addClass(e.class||"btn btn-xs btn-default").html(e.label||"").attr(e.attr||{}).prepend(s("<i></i>").addClass(e.icon)," ").one("click",function(t){"#"===s(this).attr("href")&&t.preventDefault(),e.onClick&&e.onClick.call(n.$element),e.cancel?(n.getOnCancel().call(n.$element,e.value),n.$element.trigger("canceled.bs.confirmation",[e.value])):(n.getOnConfirm().call(n.$element,e.value),n.$element.trigger("confirmed.bs.confirmation",[e.value])),n.inState&&(n.inState.click=!1),n.hide()}))},this)):(e.find('[data-apply="confirmation"]').addClass(this.options.btnOkClass).html(this.options.btnOkLabel).attr(this.options._attributes).prepend(s("<i></i>").addClass(this.options.btnOkIcon)," ").off("click").one("click",function(t){"#"===s(this).attr("href")&&t.preventDefault(),n.getOnConfirm().call(n.$element),n.$element.trigger("confirmed.bs.confirmation"),n.$element.trigger(n.options.confirmationEvent,[!0]),n.hide()}),e.find('[data-dismiss="confirmation"]').addClass(this.options.btnCancelClass).html(this.options.btnCancelLabel).prepend(s("<i></i>").addClass(this.options.btnCancelIcon)," ").off("click").one("click",function(t){t.preventDefault(),n.getOnCancel().call(n.$element),n.$element.trigger("canceled.bs.confirmation"),n.inState&&(n.inState.click=!1),n.hide()})),e.removeClass("fade top bottom left right in"),e.find(".popover-title").html()||e.find(".popover-title").hide(),r=this,s(window).off("keyup.bs.confirmation").on("keyup.bs.confirmation",this._onKeyup.bind(this))},o.prototype.destroy=function(){r===this&&(r=void 0,s(window).off("keyup.bs.confirmation")),s.fn.popover.Constructor.prototype.destroy.call(this)},o.prototype.hide=function(){r===this&&(r=void 0,s(window).off("keyup.bs.confirmation")),s.fn.popover.Constructor.prototype.hide.call(this)},o.prototype._onKeyup=function(t){if(this.$tip){var e,t=t.key||o.KEYMAP[t.keyCode||t.which],n=this.$tip.find(".confirmation-buttons .btn-group"),i=n.find(".active");switch(t){case"Escape":this.hide();break;case"ArrowRight":e=i.length&&i.next().length?i.next():n.children().first(),i.removeClass("active"),e.addClass("active").focus();break;case"ArrowLeft":e=i.length&&i.prev().length?i.prev():n.children().last(),i.removeClass("active"),e.addClass("active").focus()}}else r=void 0,s(window).off("keyup.bs.confirmation")},o.prototype.getOnConfirm=function(){return this.$element.attr("data-on-confirm")?t(this.$element.attr("data-on-confirm")):this.options.onConfirm},o.prototype.getOnCancel=function(){return this.$element.attr("data-on-cancel")?t(this.$element.attr("data-on-cancel")):this.options.onCancel};var e=s.fn.confirmation;s.fn.confirmation=function(n){var i="object"==typeof n&&n||{};return i.rootSelector=this.selector||i.rootSelector,this.each(function(){var t=s(this),e=t.data("bs.confirmation");(e||"destroy"!=n)&&(e||t.data("bs.confirmation",e=new o(this,i)),"string"==typeof n)&&(e[n](),"hide"==n)&&e.inState&&(e.inState.click=!1)})},s.fn.confirmation.Constructor=o,s.fn.confirmation.noConflict=function(){return s.fn.confirmation=e,this}}(jQuery),function(e,n){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return n(e,t)}):"object"==typeof module&&module.exports?module.exports=n(e,require("jquery")):e.jQueryBridget=n(e,e.jQuery)}(window,function(t,e){"use strict";function n(l,d,u){(u=u||e||t.jQuery)&&(d.prototype.option||(d.prototype.option=function(t){u.isPlainObject(t)&&(this.options=u.extend(!0,this.options,t))}),u.fn[l]=function(t){var e,i,o,s,r,a;return"string"==typeof t?(e=h.call(arguments,1),o=e,r="$()."+l+'("'+(i=t)+'")',(e=this).each(function(t,e){var n,e=u.data(e,l);e?(n=e[i])&&"_"!=i.charAt(0)?(n=n.apply(e,o),s=void 0===s?n:s):c(r+" is not a valid method"):c(l+" not initialized. Cannot call methods, i.e. "+r)}),void 0!==s?s:e):(a=t,this.each(function(t,e){var n=u.data(e,l);n?(n.option(a),n._init()):(n=new d(e,a),u.data(e,l,n))}),this)},i(u))}function i(t){t&&!t.bridget&&(t.bridget=n)}var h=Array.prototype.slice,o=t.console,c=void 0===o?function(){}:function(t){o.error(t)};return i(e||t.jQuery),n}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){var n;if(t&&e)return-1==(n=(n=this._events=this._events||{})[t]=n[t]||[]).indexOf(e)&&n.push(e),this},e.once=function(t,e){var n;if(t&&e)return this.on(t,e),((n=this._onceEvents=this._onceEvents||{})[t]=n[t]||{})[e]=!0,this},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length)return-1!=(e=t.indexOf(e))&&t.splice(e,1),this},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var i=this._onceEvents&&this._onceEvents[t],o=0;o<n.length;o++){var s=n[o];i&&i[s]&&(this.off(t,s),delete i[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function m(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function v(t){t=getComputedStyle(t);return t||e("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),t}function y(t){if(x||(x=!0,(u=document.createElement("div")).style.width="200px",u.style.padding="1px 2px 3px 4px",u.style.borderStyle="solid",u.style.borderWidth="1px 2px 3px 4px",u.style.boxSizing="border-box",(d=document.body||document.documentElement).appendChild(u),s=v(u),b=200==Math.round(m(s.width)),y.isBoxSizeOuter=b,d.removeChild(u)),(t="string"==typeof t?document.querySelector(t):t)&&"object"==typeof t&&t.nodeType){var e=v(t);if("none"==e.display){for(var n={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},i=0;i<w;i++)n[$[i]]=0;return n}var o={};o.width=t.offsetWidth,o.height=t.offsetHeight;for(var s=o.isBorderBox="border-box"==e.boxSizing,r=0;r<w;r++){var a=$[r],l=e[a],l=parseFloat(l);o[a]=isNaN(l)?0:l}var d=o.paddingLeft+o.paddingRight,u=o.paddingTop+o.paddingBottom,t=o.marginLeft+o.marginRight,h=o.marginTop+o.marginBottom,c=o.borderLeftWidth+o.borderRightWidth,p=o.borderTopWidth+o.borderBottomWidth,f=s&&b,g=m(e.width),g=(!1!==g&&(o.width=g+(f?0:d+c)),m(e.height));return!1!==g&&(o.height=g+(f?0:u+p)),o.innerWidth=o.width-(d+c),o.innerHeight=o.height-(u+p),o.outerWidth=o.width+t,o.outerHeight=o.height+h,o}var u,d,s}var b,e="undefined"==typeof console?function(){}:function(t){console.error(t)},$=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],w=$.length,x=!1;return y}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var n=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],n=0;n<e.length;n++){var i=e[n]+"MatchesSelector";if(t[i])return i}}();return function(t,e){return t[n](e)}}),function(e,n){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(t){return n(e,t)}):"object"==typeof module&&module.exports?module.exports=n(e,require("desandro-matches-selector")):e.fizzyUIUtils=n(e,e.matchesSelector)}(window,function(n,s){var l={extend:function(t,e){for(var n in e)t[n]=e[n];return t},modulo:function(t,e){return(t%e+e)%e}},e=Array.prototype.slice,d=(l.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?e.call(t):[t]},l.removeFrom=function(t,e){e=t.indexOf(e);-1!=e&&t.splice(e,1)},l.getParent=function(t,e){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,s(t,e))return t},l.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.filterFindElements=function(t,i){t=l.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(i){s(t,i)&&o.push(t);for(var e=t.querySelectorAll(i),n=0;n<e.length;n++)o.push(e[n])}else o.push(t)}),o},l.debounceMethod=function(t,e,i){i=i||100;var o=t.prototype[e],s=e+"Timeout";t.prototype[e]=function(){var t=this[s],e=(clearTimeout(t),arguments),n=this;this[s]=setTimeout(function(){o.apply(n,e),delete n[s]},i)}},l.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},l.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,n){return e+"-"+n}).toLowerCase()},n.console);return l.htmlInit=function(r,a){l.docReady(function(){var t=l.toDashed(a),i="data-"+t,e=document.querySelectorAll("["+i+"]"),t=document.querySelectorAll(".js-"+t),e=l.makeArray(e).concat(l.makeArray(t)),o=i+"-options",s=n.jQuery;e.forEach(function(e){var t,n=e.getAttribute(i)||e.getAttribute(o);try{t=n&&JSON.parse(n)}catch(t){return void(d&&d.error("Error parsing "+i+" on "+e.className+": "+t))}n=new r(e,t);s&&s.data(e,a,n)})})},l}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";function n(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var i=document.documentElement.style,o="string"==typeof i.transition?"transition":"WebkitTransition",i="string"==typeof i.transform?"transform":"WebkitTransform",s={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],r={transform:i,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"},t=n.prototype=Object.create(t.prototype),a=(t.constructor=n,t._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},t.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},t.getSize=function(){this.size=e(this.element)},t.css=function(t){var e,n=this.element.style;for(e in t)n[r[e]||e]=t[e]},t.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),i=t[e?"left":"right"],t=t[n?"top":"bottom"],o=parseFloat(i),s=parseFloat(t),r=this.layout.size;-1!=i.indexOf("%")&&(o=o/100*r.width),-1!=t.indexOf("%")&&(s=s/100*r.height),o=isNaN(o)?0:o,s=isNaN(s)?0:s,o-=e?r.paddingLeft:r.paddingRight,s-=n?r.paddingTop:r.paddingBottom,this.position.x=o,this.position.y=s},t.layoutPosition=function(){var t=this.layout.size,e={},n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=n?"right":"left",s=this.position.x+t[n?"paddingLeft":"paddingRight"],n=(e[n?"left":"right"]=this.getXValue(s),e[o]="",i?"paddingTop":"paddingBottom"),s=i?"bottom":"top",o=this.position.y+t[n];e[i?"top":"bottom"]=this.getYValue(o),e[s]="",this.css(e),this.emitEvent("layout",[this])},t.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},t.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},t._transitionTo=function(t,e){this.getPosition();var n=this.position.x,i=this.position.y,o=t==this.position.x&&e==this.position.y;this.setPosition(t,e),o&&!this.isTransitioning?this.layoutPosition():((o={}).transform=this.getTranslate(t-n,e-i),this.transition({to:o,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0}))},t.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},t.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},t.moveTo=t._transitionTo,t.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},t._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},t.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e,n=this._transn;for(e in t.onTransitionEnd)n.onEnd[e]=t.onTransitionEnd[e];for(e in t.to)n.ingProperties[e]=!0,t.isCleaning&&(n.clean[e]=!0);t.from&&(this.css(t.from),this.element.offsetHeight,0),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)},"opacity,"+i.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})),l=(t.enableTransition=function(){var t;this.isTransitioning||(t=this.layout.options.transitionDuration,this.css({transitionProperty:a,transitionDuration:t="number"==typeof t?t+"ms":t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(s,this,!1))},t.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},t.onotransitionend=function(t){this.ontransitionend(t)},{"-webkit-transform":"transform"}),d=(t.ontransitionend=function(t){var e,n;t.target===this.element&&(e=this._transn,n=l[t.propertyName]||t.propertyName,delete e.ingProperties[n],function(t){for(var e in t)return;return 1}(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd&&(e.onEnd[n].call(this),delete e.onEnd[n]),this.emitEvent("transitionEnd",[this]))},t.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(s,this,!1),this.isTransitioning=!1},t._removeStyles=function(t){var e,n={};for(e in t)n[e]="";this.css(n)},{transitionProperty:"",transitionDuration:"",transitionDelay:""});return t.removeTransitionStyles=function(){this.css(d)},t.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},t.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},t.remove=function(){return o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},t.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},t.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},t.getHideRevealTransitionEndProperty=function(t){var e,t=this.layout.options[t];if(t.opacity)return"opacity";for(e in t)return e},t.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},t.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},t.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}),function(o,s){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,n,i){return s(o,t,e,n,i)}):"object"==typeof module&&module.exports?module.exports=s(o,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):o.Outlayer=s(o,o.EvEmitter,o.getSize,o.fizzyUIUtils,o.Outlayer.Item)}(window,function(t,e,o,i,s){"use strict";function r(t,e){var n=i.getQueryElement(t);n?(this.element=n,d&&(this.$element=d(this.element)),this.options=i.extend({},this.constructor.defaults),this.option(e),e=++u,this.element.outlayerGUID=e,(h[e]=this)._create(),this._getOption("initLayout")&&this.layout()):l&&l.error("Bad element for "+this.constructor.namespace+": "+(n||t))}function a(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e}function n(){}var l=t.console,d=t.jQuery,u=0,h={},c=(r.namespace="outlayer",r.Item=s,r.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},r.prototype),p=(i.extend(c,e.prototype),c.option=function(t){i.extend(this.options,t)},c._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},r.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},c._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),i.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},c.reloadItems=function(){this.items=this._itemize(this.element.children)},c._itemize=function(t){for(var e=this._filterFindItemElements(t),n=this.constructor.Item,i=[],o=0;o<e.length;o++){var s=new n(e[o],this);i.push(s)}return i},c._filterFindItemElements=function(t){return i.filterFindElements(t,this.options.itemSelector)},c.getItemElements=function(){return this.items.map(function(t){return t.element})},c.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),t=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},c._init=c.layout,c._resetLayout=function(){this.getSize()},c.getSize=function(){this.size=o(this.element)},c._getMeasurement=function(t,e){var n,i=this.options[t];i?("string"==typeof i?n=this.element.querySelector(i):i instanceof HTMLElement&&(n=i),this[t]=n?o(n)[e]:i):this[t]=0},c.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},c._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},c._layoutItems=function(t,n){var i;this._emitCompleteOnItems("layout",t),t&&t.length&&(i=[],t.forEach(function(t){var e=this._getItemLayoutPosition(t);e.item=t,e.isInstant=n||t.isLayoutInstant,i.push(e)},this),this._processLayoutQueue(i))},c._getItemLayoutPosition=function(){return{x:0,y:0}},c._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},c.updateStagger=function(){var t,e=this.options.stagger;return null==e?void(this.stagger=0):(this.stagger="number"==typeof(e=e)?e:(t=(e=e.match(/(^\d*\.?\d*)(\w*)/))&&e[1],e=e&&e[2],t.length?(t=parseFloat(t))*(p[e]||1):0),this.stagger)},c._positionItem=function(t,e,n,i,o){i?t.goTo(e,n):(t.stagger(o*this.stagger),t.moveTo(e,n))},c._postLayout=function(){this.resizeContainer()},c.resizeContainer=function(){var t;this._getOption("resizeContainer")&&(t=this._getContainerSize())&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))},c._getContainerSize=n,c._setContainerMeasure=function(t,e){var n;void 0!==t&&((n=this.size).isBorderBox&&(t+=e?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px")},c._emitCompleteOnItems=function(e,t){function n(){s.dispatchEvent(e+"Complete",null,[t])}function i(){++o==r&&n()}var o,s=this,r=t.length;t&&r?(o=0,t.forEach(function(t){t.once(e,i)})):n()},c.dispatchEvent=function(t,e,n){var i=e?[e].concat(n):n;this.emitEvent(t,i),d&&(this.$element=this.$element||d(this.element),e?((i=d.Event(e)).type=t,this.$element.trigger(i,n)):this.$element.trigger(t,n))},c.ignore=function(t){t=this.getItem(t);t&&(t.isIgnored=!0)},c.unignore=function(t){t=this.getItem(t);t&&delete t.isIgnored},c.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},c.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){i.removeFrom(this.stamps,t),this.unignore(t)},this)},c._find=function(t){return t?("string"==typeof t&&(t=this.element.querySelectorAll(t)),i.makeArray(t)):void 0},c._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},c._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},c._manageStamp=n,c._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,t=o(t);return{left:e.left-n.left-t.marginLeft,top:e.top-n.top-t.marginTop,right:n.right-e.right-t.marginRight,bottom:n.bottom-e.bottom-t.marginBottom}},c.handleEvent=i.handleEvent,c.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},c.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},c.onresize=function(){this.resize()},i.debounceMethod(r,"onresize",100),c.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},c.needsResizeLayout=function(){var t=o(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},c.addItems=function(t){t=this._itemize(t);return t.length&&(this.items=this.items.concat(t)),t},c.appended=function(t){t=this.addItems(t);t.length&&(this.layoutItems(t,!0),this.reveal(t))},c.prepended=function(t){var e,t=this._itemize(t);t.length&&(e=this.items.slice(0),this.items=t.concat(e),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(e))},c.reveal=function(t){var n;this._emitCompleteOnItems("reveal",t),t&&t.length&&(n=this.updateStagger(),t.forEach(function(t,e){t.stagger(e*n),t.reveal()}))},c.hide=function(t){var n;this._emitCompleteOnItems("hide",t),t&&t.length&&(n=this.updateStagger(),t.forEach(function(t,e){t.stagger(e*n),t.hide()}))},c.revealItemElements=function(t){t=this.getItems(t);this.reveal(t)},c.hideItemElements=function(t){t=this.getItems(t);this.hide(t)},c.getItem=function(t){for(var e=0;e<this.items.length;e++){var n=this.items[e];if(n.element==t)return n}},c.getItems=function(t){t=i.makeArray(t);var e=[];return t.forEach(function(t){t=this.getItem(t);t&&e.push(t)},this),e},c.remove=function(t){t=this.getItems(t);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(t){t.remove(),i.removeFrom(this.items,t)},this)},c.destroy=function(){var t=this.element.style,t=(t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize(),this.element.outlayerGUID);delete h[t],delete this.element.outlayerGUID,d&&d.removeData(this.element,this.constructor.namespace)},r.data=function(t){t=(t=i.getQueryElement(t))&&t.outlayerGUID;return t&&h[t]},r.create=function(t,e){var n=a(r);return n.defaults=i.extend({},r.defaults),i.extend(n.defaults,e),n.compatOptions=i.extend({},r.compatOptions),n.namespace=t,n.data=r.data,n.Item=a(s),i.htmlInit(n,t),d&&d.bridget&&d.bridget(t,n),n},{ms:1,s:1e3});return r.Item=s,r}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,a){var t=t.create("masonry"),e=(t.compatOptions.fitWidth="isFitWidth",t.prototype);return e._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},e.measureColumns=function(){this.getContainerWidth(),this.columnWidth||(t=(t=this.items[0])&&t.element,this.columnWidth=t&&a(t).outerWidth||this.containerWidth);var t=this.columnWidth+=this.gutter,e=this.containerWidth+this.gutter,n=e/t,e=t-e%t,n=Math[e&&e<1?"round":"floor"](n);this.cols=Math.max(n,1)},e.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,t=a(t);this.containerWidth=t&&t.innerWidth},e._getItemLayoutPosition=function(t){t.getSize();for(var e=t.size.outerWidth%this.columnWidth,e=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth),e=Math.min(e,this.cols),n=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](e,t),i={x:this.columnWidth*n.col,y:n.y},o=n.y+t.size.outerHeight,s=e+n.col,r=n.col;r<s;r++)this.colYs[r]=o;return i},e._getTopColPosition=function(t){var t=this._getTopColGroup(t),e=Math.min.apply(Math,t);return{col:t.indexOf(e),y:e}},e._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],n=this.cols+1-t,i=0;i<n;i++)e[i]=this._getColGroupY(i,t);return e},e._getColGroupY=function(t,e){return e<2?this.colYs[t]:(t=this.colYs.slice(t,t+e),Math.max.apply(Math,t))},e._getHorizontalColPosition=function(t,e){var n=this.horizontalColIndex%this.cols,n=1<t&&n+t>this.cols?0:n,e=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=e?n+t:this.horizontalColIndex,{col:n,y:this._getColGroupY(n,t)}},e._manageStamp=function(t){var e=a(t),t=this._getElementOffset(t),n=this._getOption("originLeft")?t.left:t.right,i=n+e.outerWidth,n=Math.floor(n/this.columnWidth),n=Math.max(0,n),o=Math.floor(i/this.columnWidth);o-=i%this.columnWidth?0:1;for(var o=Math.min(this.cols-1,o),s=(this._getOption("originTop")?t.top:t.bottom)+e.outerHeight,r=n;r<=o;r++)this.colYs[r]=Math.max(s,this.colYs[r])},e._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},e._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},e.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},t}),function(e,n){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return n(e,t)}):"object"==typeof module&&module.exports?module.exports=n(e,require("jquery")):e.jQueryBridget=n(e,e.jQuery)}(window,function(t,e){"use strict";var n=Array.prototype.slice,i=t.console,h=void 0===i?function(){}:function(t){i.error(t)};function o(l,d,u){(u=u||e||t.jQuery)&&(d.prototype.option||(d.prototype.option=function(t){u.isPlainObject(t)&&(this.options=u.extend(!0,this.options,t))}),u.fn[l]=function(t){var e,i,o,s,r,a;return"string"==typeof t?(e=n.call(arguments,1),o=e,r="$()."+l+'("'+(i=t)+'")',(e=this).each(function(t,e){var n,e=u.data(e,l);e?(n=e[i])&&"_"!=i.charAt(0)?(n=n.apply(e,o),s=void 0===s?n:s):h(r+" is not a valid method"):h(l+" not initialized. Cannot call methods, i.e. "+r)}),void 0!==s?s:e):(a=t,this.each(function(t,e){var n=u.data(e,l);n?(n.option(a),n._init()):(n=new d(e,a),u.data(e,l,n))}),this)},s(u))}function s(t){t&&!t.bridget&&(t.bridget=o)}return s(e||t.jQuery),o}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function m(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){console.error(t)},v=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],y=v.length;function b(t){t=getComputedStyle(t);return t||e("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),t}var $,w=!1;function x(t){if(w||(w=!0,(u=document.createElement("div")).style.width="200px",u.style.padding="1px 2px 3px 4px",u.style.borderStyle="solid",u.style.borderWidth="1px 2px 3px 4px",u.style.boxSizing="border-box",(d=document.body||document.documentElement).appendChild(u),s=b(u),$=200==Math.round(m(s.width)),x.isBoxSizeOuter=$,d.removeChild(u)),(t="string"==typeof t?document.querySelector(t):t)&&"object"==typeof t&&t.nodeType){var e=b(t);if("none"==e.display){for(var n={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},i=0;i<y;i++)n[v[i]]=0;return n}for(var o={},s=(o.width=t.offsetWidth,o.height=t.offsetHeight,o.isBorderBox="border-box"==e.boxSizing),r=0;r<y;r++){var a=v[r],l=e[a],l=parseFloat(l);o[a]=isNaN(l)?0:l}var d=o.paddingLeft+o.paddingRight,u=o.paddingTop+o.paddingBottom,t=o.marginLeft+o.marginRight,h=o.marginTop+o.marginBottom,c=o.borderLeftWidth+o.borderRightWidth,p=o.borderTopWidth+o.borderBottomWidth,f=s&&$,g=m(e.width),g=(!1!==g&&(o.width=g+(f?0:d+c)),m(e.height));return!1!==g&&(o.height=g+(f?0:u+p)),o.innerWidth=o.width-(d+c),o.innerHeight=o.height-(u+p),o.outerWidth=o.width+t,o.outerHeight=o.height+h,o}}return x}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){var n;if(t&&e)return-1==(n=(n=this._events=this._events||{})[t]=n[t]||[]).indexOf(e)&&n.push(e),this},e.once=function(t,e){var n;if(t&&e)return this.on(t,e),((n=this._onceEvents=this._onceEvents||{})[t]=n[t]||{})[e]=!0,this},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length)return-1!=(e=t.indexOf(e))&&t.splice(e,1),this},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var i=this._onceEvents&&this._onceEvents[t],o=0;o<n.length;o++){var s=n[o];i&&i[s]&&(this.off(t,s),delete i[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var n=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],n=0;n<e.length;n++){var i=e[n]+"MatchesSelector";if(t[i])return i}}();return function(t,e){return t[n](e)}}),function(e,n){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-matches-selector/matches-selector"],function(t){return n(e,t)}):"object"==typeof module&&module.exports?module.exports=n(e,require("desandro-matches-selector")):e.fizzyUIUtils=n(e,e.matchesSelector)}(window,function(n,s){var l={extend:function(t,e){for(var n in e)t[n]=e[n];return t},modulo:function(t,e){return(t%e+e)%e}},e=Array.prototype.slice,d=(l.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?e.call(t):[t]},l.removeFrom=function(t,e){e=t.indexOf(e);-1!=e&&t.splice(e,1)},l.getParent=function(t,e){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,s(t,e))return t},l.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},l.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.filterFindElements=function(t,i){t=l.makeArray(t);var o=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(i){s(t,i)&&o.push(t);for(var e=t.querySelectorAll(i),n=0;n<e.length;n++)o.push(e[n])}else o.push(t)}),o},l.debounceMethod=function(t,e,i){i=i||100;var o=t.prototype[e],s=e+"Timeout";t.prototype[e]=function(){var t=this[s],e=(clearTimeout(t),arguments),n=this;this[s]=setTimeout(function(){o.apply(n,e),delete n[s]},i)}},l.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},l.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,n){return e+"-"+n}).toLowerCase()},n.console);return l.htmlInit=function(r,a){l.docReady(function(){var t=l.toDashed(a),i="data-"+t,e=document.querySelectorAll("["+i+"]"),t=document.querySelectorAll(".js-"+t),e=l.makeArray(e).concat(l.makeArray(t)),o=i+"-options",s=n.jQuery;e.forEach(function(e){var t,n=e.getAttribute(i)||e.getAttribute(o);try{t=n&&JSON.parse(n)}catch(t){return void(d&&d.error("Error parsing "+i+" on "+e.className+": "+t))}n=new r(e,t);s&&s.data(e,a,n)})})},l}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){"use strict";var n=document.documentElement.style,i="string"==typeof n.transition?"transition":"WebkitTransition",n="string"==typeof n.transform?"transform":"WebkitTransform",o={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[i],s={transform:n,transition:i,transitionDuration:i+"Duration",transitionProperty:i+"Property",transitionDelay:i+"Delay"};function r(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}t=r.prototype=Object.create(t.prototype);t.constructor=r,t._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},t.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},t.getSize=function(){this.size=e(this.element)},t.css=function(t){var e,n=this.element.style;for(e in t)n[s[e]||e]=t[e]},t.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),i=t[e?"left":"right"],t=t[n?"top":"bottom"],o=parseFloat(i),s=parseFloat(t),r=this.layout.size;-1!=i.indexOf("%")&&(o=o/100*r.width),-1!=t.indexOf("%")&&(s=s/100*r.height),o=isNaN(o)?0:o,s=isNaN(s)?0:s,o-=e?r.paddingLeft:r.paddingRight,s-=n?r.paddingTop:r.paddingBottom,this.position.x=o,this.position.y=s},t.layoutPosition=function(){var t=this.layout.size,e={},n=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=n?"right":"left",s=this.position.x+t[n?"paddingLeft":"paddingRight"],n=(e[n?"left":"right"]=this.getXValue(s),e[o]="",i?"paddingTop":"paddingBottom"),s=i?"bottom":"top",o=this.position.y+t[n];e[i?"top":"bottom"]=this.getYValue(o),e[s]="",this.css(e),this.emitEvent("layout",[this])},t.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},t.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},t._transitionTo=function(t,e){this.getPosition();var n=this.position.x,i=this.position.y,o=t==this.position.x&&e==this.position.y;this.setPosition(t,e),o&&!this.isTransitioning?this.layoutPosition():((o={}).transform=this.getTranslate(t-n,e-i),this.transition({to:o,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0}))},t.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},t.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},t.moveTo=t._transitionTo,t.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},t._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},t.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e,n=this._transn;for(e in t.onTransitionEnd)n.onEnd[e]=t.onTransitionEnd[e];for(e in t.to)n.ingProperties[e]=!0,t.isCleaning&&(n.clean[e]=!0);t.from&&(this.css(t.from),this.element.offsetHeight,0),this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var a="opacity,"+n.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()}),l=(t.enableTransition=function(){var t;this.isTransitioning||(t=this.layout.options.transitionDuration,this.css({transitionProperty:a,transitionDuration:t="number"==typeof t?t+"ms":t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(o,this,!1))},t.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},t.onotransitionend=function(t){this.ontransitionend(t)},{"-webkit-transform":"transform"}),d=(t.ontransitionend=function(t){var e,n;t.target===this.element&&(e=this._transn,n=l[t.propertyName]||t.propertyName,delete e.ingProperties[n],function(t){for(var e in t)return;return 1}(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd&&(e.onEnd[n].call(this),delete e.onEnd[n]),this.emitEvent("transitionEnd",[this]))},t.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(o,this,!1),this.isTransitioning=!1},t._removeStyles=function(t){var e,n={};for(e in t)n[e]="";this.css(n)},{transitionProperty:"",transitionDuration:"",transitionDelay:""});return t.removeTransitionStyles=function(){this.css(d)},t.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},t.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},t.remove=function(){i&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},t.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},t.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},t.getHideRevealTransitionEndProperty=function(t){var e,t=this.layout.options[t];if(t.opacity)return"opacity";for(e in t)return e},t.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},t.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},t.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},r}),function(o,s){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(t,e,n,i){return s(o,t,e,n,i)}):"object"==typeof module&&module.exports?module.exports=s(o,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):o.Outlayer=s(o,o.EvEmitter,o.getSize,o.fizzyUIUtils,o.Outlayer.Item)}(window,function(t,e,o,i,s){"use strict";function n(){}var r=t.console,a=t.jQuery,l=0,d={};function u(t,e){var n=i.getQueryElement(t);n?(this.element=n,a&&(this.$element=a(this.element)),this.options=i.extend({},this.constructor.defaults),this.option(e),e=++l,this.element.outlayerGUID=e,(d[e]=this)._create(),this._getOption("initLayout")&&this.layout()):r&&r.error("Bad element for "+this.constructor.namespace+": "+(n||t))}u.namespace="outlayer",u.Item=s,u.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var h=u.prototype;function c(t){function e(){t.apply(this,arguments)}return(e.prototype=Object.create(t.prototype)).constructor=e}i.extend(h,e.prototype),h.option=function(t){i.extend(this.options,t)},h._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},u.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},h._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),i.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},h.reloadItems=function(){this.items=this._itemize(this.element.children)},h._itemize=function(t){for(var e=this._filterFindItemElements(t),n=this.constructor.Item,i=[],o=0;o<e.length;o++){var s=new n(e[o],this);i.push(s)}return i},h._filterFindItemElements=function(t){return i.filterFindElements(t,this.options.itemSelector)},h.getItemElements=function(){return this.items.map(function(t){return t.element})},h.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),t=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},h._init=h.layout,h._resetLayout=function(){this.getSize()},h.getSize=function(){this.size=o(this.element)},h._getMeasurement=function(t,e){var n,i=this.options[t];i?("string"==typeof i?n=this.element.querySelector(i):i instanceof HTMLElement&&(n=i),this[t]=n?o(n)[e]:i):this[t]=0},h.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},h._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},h._layoutItems=function(t,n){var i;this._emitCompleteOnItems("layout",t),t&&t.length&&(i=[],t.forEach(function(t){var e=this._getItemLayoutPosition(t);e.item=t,e.isInstant=n||t.isLayoutInstant,i.push(e)},this),this._processLayoutQueue(i))},h._getItemLayoutPosition=function(){return{x:0,y:0}},h._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},h.updateStagger=function(){var t=this.options.stagger;if(null!=t)return this.stagger=function(t){if("number"==typeof t)return t;var t=t.match(/(^\d*\.?\d*)(\w*)/),e=t&&t[1],t=t&&t[2];if(!e.length)return 0;e=parseFloat(e);t=p[t]||1;return e*t}(t),this.stagger;this.stagger=0},h._positionItem=function(t,e,n,i,o){i?t.goTo(e,n):(t.stagger(o*this.stagger),t.moveTo(e,n))},h._postLayout=function(){this.resizeContainer()},h.resizeContainer=function(){var t;this._getOption("resizeContainer")&&(t=this._getContainerSize())&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))},h._getContainerSize=n,h._setContainerMeasure=function(t,e){var n;void 0!==t&&((n=this.size).isBorderBox&&(t+=e?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px")},h._emitCompleteOnItems=function(e,t){var n=this;function i(){n.dispatchEvent(e+"Complete",null,[t])}var o,s=t.length;function r(){++o==s&&i()}t&&s?(o=0,t.forEach(function(t){t.once(e,r)})):i()},h.dispatchEvent=function(t,e,n){var i=e?[e].concat(n):n;this.emitEvent(t,i),a&&(this.$element=this.$element||a(this.element),e?((i=a.Event(e)).type=t,this.$element.trigger(i,n)):this.$element.trigger(t,n))},h.ignore=function(t){t=this.getItem(t);t&&(t.isIgnored=!0)},h.unignore=function(t){t=this.getItem(t);t&&delete t.isIgnored},h.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},h.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){i.removeFrom(this.stamps,t),this.unignore(t)},this)},h._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=i.makeArray(t)},h._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},h._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},h._manageStamp=n,h._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,t=o(t);return{left:e.left-n.left-t.marginLeft,top:e.top-n.top-t.marginTop,right:n.right-e.right-t.marginRight,bottom:n.bottom-e.bottom-t.marginBottom}},h.handleEvent=i.handleEvent,h.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},h.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},h.onresize=function(){this.resize()},i.debounceMethod(u,"onresize",100),h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.needsResizeLayout=function(){var t=o(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},h.addItems=function(t){t=this._itemize(t);return t.length&&(this.items=this.items.concat(t)),t},h.appended=function(t){t=this.addItems(t);t.length&&(this.layoutItems(t,!0),this.reveal(t))},h.prepended=function(t){var e,t=this._itemize(t);t.length&&(e=this.items.slice(0),this.items=t.concat(e),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(e))},h.reveal=function(t){var n;this._emitCompleteOnItems("reveal",t),t&&t.length&&(n=this.updateStagger(),t.forEach(function(t,e){t.stagger(e*n),t.reveal()}))},h.hide=function(t){var n;this._emitCompleteOnItems("hide",t),t&&t.length&&(n=this.updateStagger(),t.forEach(function(t,e){t.stagger(e*n),t.hide()}))},h.revealItemElements=function(t){t=this.getItems(t);this.reveal(t)},h.hideItemElements=function(t){t=this.getItems(t);this.hide(t)},h.getItem=function(t){for(var e=0;e<this.items.length;e++){var n=this.items[e];if(n.element==t)return n}},h.getItems=function(t){t=i.makeArray(t);var e=[];return t.forEach(function(t){t=this.getItem(t);t&&e.push(t)},this),e},h.remove=function(t){t=this.getItems(t);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(t){t.remove(),i.removeFrom(this.items,t)},this)},h.destroy=function(){var t=this.element.style,t=(t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize(),this.element.outlayerGUID);delete d[t],delete this.element.outlayerGUID,a&&a.removeData(this.element,this.constructor.namespace)},u.data=function(t){t=(t=i.getQueryElement(t))&&t.outlayerGUID;return t&&d[t]},u.create=function(t,e){var n=c(u);return n.defaults=i.extend({},u.defaults),i.extend(n.defaults,e),n.compatOptions=i.extend({},u.compatOptions),n.namespace=t,n.data=u.data,n.Item=c(s),i.htmlInit(n,t),a&&a.bridget&&a.bridget(t,n),n};var p={ms:1,s:1e3};return u.Item=s,u}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/rect",e):"object"==typeof module&&module.exports?module.exports=e():(t.Packery=t.Packery||{},t.Packery.Rect=e())}(window,function(){"use strict";function a(t){for(var e in a.defaults)this[e]=a.defaults[e];for(e in t)this[e]=t[e]}a.defaults={x:0,y:0,width:0,height:0};var t=a.prototype;return t.contains=function(t){var e=t.width||0,n=t.height||0;return this.x<=t.x&&this.y<=t.y&&this.x+this.width>=t.x+e&&this.y+this.height>=t.y+n},t.overlaps=function(t){var e=this.x+this.width,n=this.y+this.height,i=t.x+t.width,o=t.y+t.height;return this.x<i&&e>t.x&&this.y<o&&n>t.y},t.getMaximalFreeRects=function(t){var e,n,i,o,s,r;return!!this.overlaps(t)&&(e=[],i=this.x+this.width,o=this.y+this.height,s=t.x+t.width,r=t.y+t.height,this.y<t.y&&(n=new a({x:this.x,y:this.y,width:this.width,height:t.y-this.y}),e.push(n)),s<i&&(n=new a({x:s,y:this.y,width:i-s,height:this.height}),e.push(n)),r<o&&(n=new a({x:this.x,y:r,width:this.width,height:o-r}),e.push(n)),this.x<t.x&&(n=new a({x:this.x,y:this.y,width:t.x-this.x,height:this.height}),e.push(n)),e)},t.canFit=function(t){return this.width>=t.width&&this.height>=t.height},a}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/packer",["./rect"],e):"object"==typeof module&&module.exports?module.exports=e(require("./rect")):(t=t.Packery=t.Packery||{}).Packer=e(t.Rect)}(window,function(e){"use strict";function t(t,e,n){this.width=t||0,this.height=e||0,this.sortDirection=n||"downwardLeftToRight",this.reset()}var n=t.prototype,i=(n.reset=function(){this.spaces=[];var t=new e({x:0,y:0,width:this.width,height:this.height});this.spaces.push(t),this.sorter=i[this.sortDirection]||i.downwardLeftToRight},n.pack=function(t){for(var e=0;e<this.spaces.length;e++){var n=this.spaces[e];if(n.canFit(t)){this.placeInSpace(t,n);break}}},n.columnPack=function(t){for(var e=0;e<this.spaces.length;e++){var n=this.spaces[e];if(n.x<=t.x&&n.x+n.width>=t.x+t.width&&n.height>=t.height-.01){t.y=n.y,this.placed(t);break}}},n.rowPack=function(t){for(var e=0;e<this.spaces.length;e++){var n=this.spaces[e];if(n.y<=t.y&&n.y+n.height>=t.y+t.height&&n.width>=t.width-.01){t.x=n.x,this.placed(t);break}}},n.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},n.placed=function(t){for(var e=[],n=0;n<this.spaces.length;n++){var i=this.spaces[n],o=i.getMaximalFreeRects(t);o?e.push.apply(e,o):e.push(i)}this.spaces=e,this.mergeSortSpaces()},n.mergeSortSpaces=function(){t.mergeRects(this.spaces),this.spaces.sort(this.sorter)},n.addSpace=function(t){this.spaces.push(t),this.mergeSortSpaces()},t.mergeRects=function(t){var e=0,n=t[e];t:for(;n;){for(var i=0,o=t[e+i];o;){if(o==n)i++;else{if(o.contains(n)){t.splice(e,1),n=t[e];continue t}n.contains(o)?t.splice(e+i,1):i++}o=t[e+i]}n=t[++e]}return t},{downwardLeftToRight:function(t,e){return t.y-e.y||t.x-e.x},rightwardTopToBottom:function(t,e){return t.x-e.x||t.y-e.y}});return t}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/item",["outlayer/outlayer","./rect"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("./rect")):t.Packery.Item=e(t.Outlayer,t.Packery.Rect)}(window,function(t,e){"use strict";function n(){t.Item.apply(this,arguments)}var i="string"==typeof document.documentElement.style.transform?"transform":"WebkitTransform",o=n.prototype=Object.create(t.Item.prototype),s=o._create,r=(o._create=function(){s.call(this),this.rect=new e},o.moveTo);return o.moveTo=function(t,e){var n=Math.abs(this.position.x-t),i=Math.abs(this.position.y-e);this.layout.dragItemCount&&!this.isPlacing&&!this.isTransitioning&&n<1&&i<1?this.goTo(t,e):r.apply(this,arguments)},o.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&i&&(this.element.style[i]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},o.disablePlacing=function(){this.isPlacing=!1},o.removeElem=function(){var t=this.element.parentNode;t&&t.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},o.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||((t=this.dropPlaceholder=document.createElement("div")).className="packery-drop-placeholder",t.style.position="absolute"),t.style.width=this.size.width+"px",t.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(t)},o.positionDropPlaceholder=function(){this.dropPlaceholder.style[i]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},o.hideDropPlaceholder=function(){var t=this.dropPlaceholder.parentNode;t&&t.removeChild(this.dropPlaceholder)},n}),function(t,e){"function"==typeof define&&define.amd?define(["get-size/get-size","outlayer/outlayer","packery/js/rect","packery/js/packer","packery/js/item"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(d,t,r,e,n){"use strict";r.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var i=t.create("packery"),n=(i.Item=n,i.prototype);function o(t,e){return t.position.y-e.position.y||t.position.x-e.position.x}function s(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}n._create=function(){t.prototype._create.call(this),this.packer=new e,this.shiftPacker=new e,this.isEnabled=!0,this.dragItemCount=0;var n=this;this.handleDraggabilly={dragStart:function(){n.itemDragStart(this.element)},dragMove:function(){n.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){n.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(t,e){e&&n.itemDragStart(t.currentTarget)},drag:function(t,e){e&&n.itemDragMove(t.currentTarget,e.position.left,e.position.top)},stop:function(t,e){e&&n.itemDragEnd(t.currentTarget)}}},n._resetLayout=function(){var t,e,n;this.getSize(),this._getMeasurements(),n=this._getOption("horizontal")?(t=1/0,e=this.size.innerHeight+this.gutter,"rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=1/0,"downwardLeftToRight"),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=n,this.packer.reset(),this.maxY=0,this.maxX=0},n._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},n._getItemLayoutPosition=function(t){var e;return this._setRectSize(t.element,t.rect),this.isShifting||0<this.dragItemCount?(e=this._getPackMethod(),this.packer[e](t.rect)):this.packer.pack(t.rect),this._setMaxXY(t.rect),t.rect},n.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},n._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},n._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},n._setRectSize=function(t,e){var t=d(t),n=t.outerWidth,t=t.outerHeight;(n||t)&&(n=this._applyGridGutter(n,this.columnWidth),t=this._applyGridGutter(t,this.rowHeight)),e.width=Math.min(n,this.packer.width),e.height=Math.min(t,this.packer.height)},n._applyGridGutter=function(t,e){var n;return e?(n=t%(e+=this.gutter),Math[n&&n<1?"round":"ceil"](t/e)*e):t+this.gutter},n._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},n._manageStamp=function(t){var e=this.getItem(t);e=e&&e.isPlacing?e.rect:(e=this._getElementOffset(t),new r({x:this._getOption("originLeft")?e.left:e.right,y:this._getOption("originTop")?e.top:e.bottom})),this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},n.sortItemsByPosition=function(){var t=this._getOption("horizontal")?s:o;this.items.sort(t)},n.fit=function(t,e,n){t=this.getItem(t);t&&(this.stamp(t.element),t.enablePlacing(),this.updateShiftTargets(t),e=void 0===e?t.rect.x:e,n=void 0===n?t.rect.y:n,this.shift(t,e,n),this._bindFitEvents(t),t.moveTo(t.rect.x,t.rect.y),this.shiftLayout(),this.unstamp(t.element),this.sortItemsByPosition(),t.disablePlacing())},n._bindFitEvents=function(t){var e=this,n=0;function i(){2==++n&&e.dispatchEvent("fitComplete",null,[t])}t.once("layout",i),this.once("layoutComplete",i)},n.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},n.needsResizeLayout=function(){var t=d(this.element),e=this._getOption("horizontal")?"innerHeight":"innerWidth";return t[e]!=this.size[e]},n.resizeShiftPercentLayout=function(){var n,e,i,t=this._getItemsForLayout(this.items),o=this._getOption("horizontal"),s=o?"y":"x",r=o?"height":"width",a=o?"rowHeight":"columnWidth",o=o?"innerHeight":"innerWidth",l=this[a];(l=l&&l+this.gutter)?(this._getMeasurements(),n=this[a]+this.gutter,t.forEach(function(t){var e=Math.round(t.rect[s]/l);t.rect[s]=e*n})):(e=d(this.element)[o]+this.gutter,i=this.packer[r],t.forEach(function(t){t.rect[s]=t.rect[s]/i*e})),this.shiftLayout()},n.itemDragStart=function(t){this.isEnabled&&(this.stamp(t),t=this.getItem(t))&&(t.enablePlacing(),t.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(t))},n.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var n=this._getOption("originLeft"),i=this._getOption("originTop"),l=(this.stamps.forEach(function(t){var e=this.getItem(t);e&&e.isPlacing||(e=this._getElementOffset(t),e=new r({x:n?e.left:e.right,y:i?e.top:e.bottom}),this._setRectSize(t,e),this.shiftPacker.placed(e))},this),this._getOption("horizontal")),e=l?"rowHeight":"columnWidth",d=l?"height":"width",u=(this.shiftTargetKeys=[],this.shiftTargets=[],this[e]);if(u=u&&u+this.gutter)for(var e=Math.ceil(t.rect[d]/u),o=Math.floor((this.shiftPacker[d]+this.gutter)/u),h=(o-e)*u,s=0;s<o;s++)this._addShiftTarget(l?0:s*u,l?s*u:0,h);else h=this.shiftPacker[d]+this.gutter-t.rect[d],this._addShiftTarget(0,0,h);var e=this._getItemsForLayout(this.items),c=this._getPackMethod();e.forEach(function(t){var e=t.rect,n=(this._setRectSize(t.element,e),this.shiftPacker[c](e),this._addShiftTarget(e.x,e.y,h),l?e.x+e.width:e.x),i=l?e.y:e.y+e.height;if(this._addShiftTarget(n,i,h),u)for(var o=Math.round(e[d]/u),s=1;s<o;s++){var r=l?n:e.x+u*s,a=l?e.y+u*s:i;this._addShiftTarget(r,a,h)}},this)},n._addShiftTarget=function(t,e,n){var i=this._getOption("horizontal")?e:t;0!==i&&n<i||-1!=this.shiftTargetKeys.indexOf(n=t+","+e)||(this.shiftTargetKeys.push(n),this.shiftTargets.push({x:t,y:e}))},n.shift=function(t,e,n){var i,o=1/0,s={x:e,y:n};this.shiftTargets.forEach(function(t){n=(e=s).x-t.x,e=e.y-t.y;var e,n=Math.sqrt(n*n+e*e);n<o&&(i=t,o=n)}),t.rect.x=i.x,t.rect.y=i.y};n.itemDragMove=function(t,e,n){var i,o=this.isEnabled&&this.getItem(t);function s(){i.shift(o,e,n),o.positionDropPlaceholder(),i.layout()}o&&(e-=this.size.paddingLeft,n-=this.size.paddingTop,i=this,t=new Date,this._itemDragTime&&t-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(s,120)):(s(),this._itemDragTime=t))},n.itemDragEnd=function(t){var e,n,i=this.isEnabled&&this.getItem(t);function o(){2==++e&&(i.element.classList.remove("is-positioning-post-drag"),i.hideDropPlaceholder(),n.dispatchEvent("dragItemPositioned",null,[i]))}i&&(clearTimeout(this.dragTimeout),i.element.classList.add("is-positioning-post-drag"),e=0,n=this,i.once("layout",o),this.once("layoutComplete",o),i.moveTo(i.rect.x,i.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),i.disablePlacing(),this.unstamp(i.element))},n.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},n.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},n._bindDraggabillyEvents=function(t,e){var n=this.handleDraggabilly;t[e]("dragStart",n.dragStart),t[e]("dragMove",n.dragMove),t[e]("dragEnd",n.dragEnd)},n.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},n.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},n._bindUIDraggableEvents=function(t,e){var n=this.handleUIDraggable;t[e]("dragstart",n.start)[e]("drag",n.drag)[e]("dragstop",n.stop)};var a=n.destroy;return n.destroy=function(){a.apply(this,arguments),this.isEnabled=!1},i.Rect=r,i.Packer=e,i}),function(e,n){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(t){return n(e,t)}):"object"==typeof module&&module.exports?module.exports=n(e,require("jquery")):e.jQueryBridget=n(e,e.jQuery)}(window,function(t,e){"use strict";var n=Array.prototype.slice,i=t.console,h=void 0===i?function(){}:function(t){i.error(t)};function o(l,d,u){(u=u||e||t.jQuery)&&(d.prototype.option||(d.prototype.option=function(t){u.isPlainObject(t)&&(this.options=u.extend(!0,this.options,t))}),u.fn[l]=function(t){var e,i,o,s,r,a;return"string"==typeof t?(e=n.call(arguments,1),o=e,r="$()."+l+'("'+(i=t)+'")',(e=this).each(function(t,e){var n,e=u.data(e,l);e?(n=e[i])&&"_"!=i.charAt(0)?(n=n.apply(e,o),s=void 0===s?n:s):h(r+" is not a valid method"):h(l+" not initialized. Cannot call methods, i.e. "+r)}),void 0!==s?s:e):(a=t,this.each(function(t,e){var n=u.data(e,l);n?(n.option(a),n._init()):(n=new d(e,a),u.data(e,l,n))}),this)},s(u))}function s(t){t&&!t.bridget&&(t.bridget=o)}return s(e||t.jQuery),o}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("get-size/get-size",[],e):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){"use strict";function m(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){console.error(t)},v=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],y=v.length;function b(t){t=getComputedStyle(t);return t||e("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),t}var $,w=!1;function x(t){if(w||(w=!0,(u=document.createElement("div")).style.width="200px",u.style.padding="1px 2px 3px 4px",u.style.borderStyle="solid",u.style.borderWidth="1px 2px 3px 4px",u.style.boxSizing="border-box",(d=document.body||document.documentElement).appendChild(u),s=b(u),x.isBoxSizeOuter=$=200==m(s.width),d.removeChild(u)),(t="string"==typeof t?document.querySelector(t):t)&&"object"==typeof t&&t.nodeType){var e=b(t);if("none"==e.display){for(var n={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},i=0;i<y;i++)n[v[i]]=0;return n}for(var o={},s=(o.width=t.offsetWidth,o.height=t.offsetHeight,o.isBorderBox="border-box"==e.boxSizing),r=0;r<y;r++){var a=v[r],l=e[a],l=parseFloat(l);o[a]=isNaN(l)?0:l}var d=o.paddingLeft+o.paddingRight,u=o.paddingTop+o.paddingBottom,t=o.marginLeft+o.marginRight,h=o.marginTop+o.marginBottom,c=o.borderLeftWidth+o.borderRightWidth,p=o.borderTopWidth+o.borderBottomWidth,f=s&&$,g=m(e.width),g=(!1!==g&&(o.width=g+(f?0:d+c)),m(e.height));return!1!==g&&(o.height=g+(f?0:u+p)),o.innerWidth=o.width-(d+c),o.innerHeight=o.height-(u+p),o.outerWidth=o.width+t,o.outerHeight=o.height+h,o}}return x}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){var n;if(t&&e)return-1==(n=(n=this._events=this._events||{})[t]=n[t]||[]).indexOf(e)&&n.push(e),this},e.once=function(t,e){var n;if(t&&e)return this.on(t,e),((n=this._onceEvents=this._onceEvents||{})[t]=n[t]||{})[e]=!0,this},e.off=function(t,e){t=this._events&&this._events[t];if(t&&t.length)return-1!=(e=t.indexOf(e))&&t.splice(e,1),this},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var i=this._onceEvents&&this._onceEvents[t],o=0;o<n.length;o++){var s=n[o];i&&i[s]&&(this.off(t,s),delete i[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(e,n){"function"==typeof define&&define.amd?define("unipointer/unipointer",["ev-emitter/ev-emitter"],function(t){return n(e,t)}):"object"==typeof module&&module.exports?module.exports=n(e,require("ev-emitter")):e.Unipointer=n(e,e.EvEmitter)}(window,function(i,t){function e(){}var t=e.prototype=Object.create(t.prototype),n=(t.bindStartEvent=function(t){this._bindStartEvent(t,!0)},t.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},t._bindStartEvent=function(t,e){var e=(e=void 0===e||e)?"addEventListener":"removeEventListener",n="mousedown";"ontouchstart"in i?n="touchstart":i.PointerEvent&&(n="pointerdown"),t[e](n,this)},t.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},t.getTouch=function(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.identifier==this.pointerIdentifier)return n}},t.onmousedown=function(t){var e=t.button;e&&0!==e&&1!==e||this._pointerDown(t,t)},t.ontouchstart=function(t){this._pointerDown(t,t.changedTouches[0])},t.onpointerdown=function(t){this._pointerDown(t,t)},t._pointerDown=function(t,e){t.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==e.pointerId?e.pointerId:e.identifier,this.pointerDown(t,e))},t.pointerDown=function(t,e){this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e])},{mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]});return t._bindPostStartEvents=function(t){t&&((t=n[t.type]).forEach(function(t){i.addEventListener(t,this)},this),this._boundPointerEvents=t)},t._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach(function(t){i.removeEventListener(t,this)},this),delete this._boundPointerEvents)},t.onmousemove=function(t){this._pointerMove(t,t)},t.onpointermove=function(t){t.pointerId==this.pointerIdentifier&&this._pointerMove(t,t)},t.ontouchmove=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerMove(t,e)},t._pointerMove=function(t,e){this.pointerMove(t,e)},t.pointerMove=function(t,e){this.emitEvent("pointerMove",[t,e])},t.onmouseup=function(t){this._pointerUp(t,t)},t.onpointerup=function(t){t.pointerId==this.pointerIdentifier&&this._pointerUp(t,t)},t.ontouchend=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerUp(t,e)},t._pointerUp=function(t,e){this._pointerDone(),this.pointerUp(t,e)},t.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e])},t._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},t._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},t.pointerDone=function(){},t.onpointercancel=function(t){t.pointerId==this.pointerIdentifier&&this._pointerCancel(t,t)},t.ontouchcancel=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerCancel(t,e)},t._pointerCancel=function(t,e){this._pointerDone(),this.pointerCancel(t,e)},t.pointerCancel=function(t,e){this.emitEvent("pointerCancel",[t,e])},e.getPointerPoint=function(t){return{x:t.pageX,y:t.pageY}},e}),function(e,n){"function"==typeof define&&define.amd?define("unidragger/unidragger",["unipointer/unipointer"],function(t){return n(e,t)}):"object"==typeof module&&module.exports?module.exports=n(e,require("unipointer")):e.Unidragger=n(e,e.Unipointer)}(window,function(s,t){function e(){}var n=e.prototype=Object.create(t.prototype),i=(n.bindHandles=function(){this._bindHandles(!0)},n.unbindHandles=function(){this._bindHandles(!1)},n._bindHandles=function(t){for(var e=(t=void 0===t||t)?"addEventListener":"removeEventListener",n=t?this._touchActionValue:"",i=0;i<this.handles.length;i++){var o=this.handles[i];this._bindStartEvent(o,t),o[e]("click",this),s.PointerEvent&&(o.style.touchAction=n)}},n._touchActionValue="none",n.pointerDown=function(t,e){this.okayPointerDown(t)&&(this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},t.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e]))},{TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0}),o={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return n.okayPointerDown=function(t){var e=i[t.target.nodeName],t=o[t.target.type],e=!e||t;return e||this._pointerReset(),e},n.pointerDownBlur=function(){var t=document.activeElement;t&&t.blur&&t!=document.body&&t.blur()},n.pointerMove=function(t,e){var n=this._dragPointerMove(t,e);this.emitEvent("pointerMove",[t,e,n]),this._dragMove(t,e,n)},n._dragPointerMove=function(t,e){var n={x:e.pageX-this.pointerDownPointer.pageX,y:e.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(n)&&this._dragStart(t,e),n},n.hasDragStarted=function(t){return 3<Math.abs(t.x)||3<Math.abs(t.y)},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},n._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},n._dragStart=function(t,e){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(t,e)},n.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},n._dragMove=function(t,e,n){this.isDragging&&this.dragMove(t,e,n)},n.dragMove=function(t,e,n){t.preventDefault(),this.emitEvent("dragMove",[t,e,n])},n._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(t,e)},n.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},n.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},n._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},e.getPointerPoint=t.getPointerPoint,e}),function(n,i){"function"==typeof define&&define.amd?define(["get-size/get-size","unidragger/unidragger"],function(t,e){return i(n,t,e)}):"object"==typeof module&&module.exports?module.exports=i(n,require("get-size"),require("unidragger")):n.Draggabilly=i(n,n.getSize,n.Unidragger)}(window,function(o,r,t){function n(t,e){for(var n in e)t[n]=e[n];return t}var i=o.jQuery;function e(t,e){this.element="string"==typeof t?document.querySelector(t):t,i&&(this.$element=i(this.element)),this.options=n({},this.constructor.defaults),this.option(e),this._create()}var t=e.prototype=Object.create(t.prototype),s=(e.defaults={},t.option=function(t){n(this.options,t)},{relative:!0,absolute:!0,fixed:!0});function a(t,e,n){return n=n||"round",e?Math[n](t/e)*e:t}return t._create=function(){this.position={},this._getPosition(),this.startPoint={x:0,y:0},this.dragPoint={x:0,y:0},this.startPosition=n({},this.position);var t=getComputedStyle(this.element);s[t.position]||(this.element.style.position="relative"),this.on("pointerMove",this.onPointerMove),this.on("pointerUp",this.onPointerUp),this.enable(),this.setHandles()},t.setHandles=function(){this.handles=this.options.handle?this.element.querySelectorAll(this.options.handle):[this.element],this.bindHandles()},t.dispatchEvent=function(t,e,n){var i=[e].concat(n);this.emitEvent(t,i),this.dispatchJQueryEvent(t,e,n)},t.dispatchJQueryEvent=function(t,e,n){var i=o.jQuery;i&&this.$element&&((i=i.Event(e)).type=t,this.$element.trigger(i,n))},t._getPosition=function(){var t=getComputedStyle(this.element),e=this._getPositionCoord(t.left,"width"),n=this._getPositionCoord(t.top,"height");this.position.x=isNaN(e)?0:e,this.position.y=isNaN(n)?0:n,this._addTransformPosition(t)},t._getPositionCoord=function(t,e){var n;return-1!=t.indexOf("%")?(n=r(this.element.parentNode))?parseFloat(t)/100*n[e]:0:parseInt(t,10)},t._addTransformPosition=function(t){var e,n,t=t.transform;0===t.indexOf("matrix")&&(n=t.split(","),t=0===t.indexOf("matrix3d")?12:4,e=parseInt(n[t],10),n=parseInt(n[1+t],10),this.position.x+=e,this.position.y+=n)},t.onPointerDown=function(t,e){this.element.classList.add("is-pointer-down"),this.dispatchJQueryEvent("pointerDown",t,[e])},t.pointerDown=function(t,e){this.okayPointerDown(t)&&this.isEnabled?(this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},t.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(t),this.element.classList.add("is-pointer-down"),this.dispatchEvent("pointerDown",t,[e])):this._pointerReset()},t.dragStart=function(t,e){this.isEnabled&&(this._getPosition(),this.measureContainment(),this.startPosition.x=this.position.x,this.startPosition.y=this.position.y,this.setLeftTop(),this.dragPoint.x=0,this.dragPoint.y=0,this.element.classList.add("is-dragging"),this.dispatchEvent("dragStart",t,[e]),this.animate())},t.measureContainment=function(){var t,e,n,i,o,s=this.getContainer();s&&(t=r(this.element),e=r(s),o=this.element.getBoundingClientRect(),s=s.getBoundingClientRect(),n=e.borderLeftWidth+e.borderRightWidth,i=e.borderTopWidth+e.borderBottomWidth,o=this.relativeStartPosition={x:o.left-(s.left+e.borderLeftWidth),y:o.top-(s.top+e.borderTopWidth)},this.containSize={width:e.width-n-o.x-t.width,height:e.height-i-o.y-t.height})},t.getContainer=function(){var t=this.options.containment;if(t)return t instanceof HTMLElement?t:"string"==typeof t?document.querySelector(t):this.element.parentNode},t.onPointerMove=function(t,e,n){this.dispatchJQueryEvent("pointerMove",t,[e,n])},t.dragMove=function(t,e,n){var i,o,s,r;this.isEnabled&&(s=n.x,r=n.y,i=(o=this.options.grid)&&o[0],o=o&&o[1],s=a(s,i),r=a(r,o),s=this.containDrag("x",s,i),r=this.containDrag("y",r,o),s="y"==this.options.axis?0:s,r="x"==this.options.axis?0:r,this.position.x=this.startPosition.x+s,this.position.y=this.startPosition.y+r,this.dragPoint.x=s,this.dragPoint.y=r,this.dispatchEvent("dragMove",t,[e,n]))},t.containDrag=function(t,e,n){var i;return this.options.containment?(i="x"==t?"width":"height",t=a(-this.relativeStartPosition[t],n,"ceil"),i=a(i=this.containSize[i],n,"floor"),Math.max(t,Math.min(i,e))):e},t.onPointerUp=function(t,e){this.element.classList.remove("is-pointer-down"),this.dispatchJQueryEvent("pointerUp",t,[e])},t.dragEnd=function(t,e){this.isEnabled&&(this.element.style.transform="",this.setLeftTop(),this.element.classList.remove("is-dragging"),this.dispatchEvent("dragEnd",t,[e]))},t.animate=function(){var t;this.isDragging&&(this.positionDrag(),t=this,requestAnimationFrame(function(){t.animate()}))},t.setLeftTop=function(){this.element.style.left=this.position.x+"px",this.element.style.top=this.position.y+"px"},t.positionDrag=function(){this.element.style.transform="translate3d( "+this.dragPoint.x+"px, "+this.dragPoint.y+"px, 0)"},t.staticClick=function(t,e){this.dispatchEvent("staticClick",t,[e])},t.setPosition=function(t,e){this.position.x=t,this.position.y=e,this.setLeftTop()},t.enable=function(){this.isEnabled=!0},t.disable=function(){this.isEnabled=!1,this.isDragging&&this.dragEnd()},t.destroy=function(){this.disable(),this.element.style.transform="",this.element.style.left="",this.element.style.top="",this.element.style.position="",this.unbindHandles(),this.$element&&this.$element.removeData("draggabilly")},t._init=function(){},i&&i.bridget&&i.bridget("draggabilly",e),e}),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.MicroPlugin=e()}(this,function(){var t={mixin:function(i){i.plugins={},i.prototype.initializePlugins=function(t){var e,n,i,o=[];if(this.plugins={names:[],settings:{},requested:{},loaded:{}},s.isArray(t))for(e=0,n=t.length;e<n;e++)"string"==typeof t[e]?o.push(t[e]):(this.plugins.settings[t[e].name]=t[e].options,o.push(t[e].name));else if(t)for(i in t)t.hasOwnProperty(i)&&(this.plugins.settings[i]=t[i],o.push(i));for(;o.length;)this.require(o.shift())},i.prototype.loadPlugin=function(t){var e=this.plugins,n=i.plugins[t];if(!i.plugins.hasOwnProperty(t))throw new Error('Unable to find "'+t+'" plugin');e.requested[t]=!0,e.loaded[t]=n.fn.apply(this,[this.plugins.settings[t]||{}]),e.names.push(t)},i.prototype.require=function(t){var e=this.plugins;if(!this.plugins.loaded.hasOwnProperty(t)){if(e.requested[t])throw new Error('Plugin has circular dependency ("'+t+'")');this.loadPlugin(t)}return e.loaded[t]},i.define=function(t,e){i.plugins[t]={name:t,fn:e}}}},s={isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}};return t}),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.Sifter=e()}(this,function(){function t(t,e){this.items=t,this.settings=e||{diacritics:!0}}t.prototype.tokenize=function(t){if(!(t=a(String(t||"").toLowerCase()))||!t.length)return[];for(var e,n,i=[],o=t.split(/ +/),s=0,r=o.length;s<r;s++){if(e=l(o[s]),this.settings.diacritics)for(n in d)d.hasOwnProperty(n)&&(e=e.replace(new RegExp(n,"g"),d[n]));i.push({string:o[s],regex:new RegExp(e,"i")})}return i},t.prototype.iterator=function(t,e){var n=r(t)?Array.prototype.forEach||function(t){for(var e=0,n=this.length;e<n;e++)t(this[e],e,this)}:function(t){for(var e in this)this.hasOwnProperty(e)&&t(this[e],e,this)};n.apply(t,[e])},t.prototype.getScoreFunction=function(t,e){function o(t,e){var n;return!t||-1===(n=(t=String(t||"")).search(e.regex))?0:(e=e.string.length/t.length,0===n&&(e+=.5),e)}var s,r=(t=this.prepareSearch(t,e)).tokens,a=t.options.fields,l=r.length,d=t.options.nesting,u=(s=a.length)?1===s?function(t,e){return o(f(e,a[0],d),t)}:function(t,e){for(var n=0,i=0;n<s;n++)i+=o(f(e,a[n],d),t);return i/s}:function(){return 0};return l?1===l?function(t){return u(r[0],t)}:"and"===t.options.conjunction?function(t){for(var e,n=0,i=0;n<l;n++){if((e=u(r[n],t))<=0)return 0;i+=e}return i/l}:function(t){for(var e=0,n=0;e<l;e++)n+=u(r[e],t);return n/l}:function(){return 0}},t.prototype.getSortFunction=function(t,n){var e,i,o,s,r,a,l,d=this,u=!(t=d.prepareSearch(t,n)).query&&n.sort_empty||n.sort,h=function(t,e){return"$score"===t?e.score:f(d.items[e.id],t,n.nesting)},c=[];if(u)for(e=0,i=u.length;e<i;e++)!t.query&&"$score"===u[e].field||c.push(u[e]);if(t.query){for(l=!0,e=0,i=c.length;e<i;e++)if("$score"===c[e].field){l=!1;break}l&&c.unshift({field:"$score",direction:"desc"})}else for(e=0,i=c.length;e<i;e++)if("$score"===c[e].field){c.splice(e,1);break}for(a=[],e=0,i=c.length;e<i;e++)a.push("desc"===c[e].direction?-1:1);return(s=c.length)?1===s?(o=c[0].field,r=a[0],function(t,e){return r*p(h(o,t),h(o,e))}):function(t,e){for(var n,i=0;i<s;i++)if(n=c[i].field,n=a[i]*p(h(n,t),h(n,e)))return n;return 0}:null},t.prototype.prepareSearch=function(t,e){var n,i,o;return"object"==typeof t?t:(n=(e=s({},e)).fields,i=e.sort,o=e.sort_empty,n&&!r(n)&&(e.fields=[n]),i&&!r(i)&&(e.sort=[i]),o&&!r(o)&&(e.sort_empty=[o]),{options:e,query:String(t||"").toLowerCase(),tokens:this.tokenize(t),total:0,items:[]})},t.prototype.search=function(t,n){var i,o,s=this.prepareSearch(t,n);return n=s.options,t=s.query,o=n.score||this.getScoreFunction(s),t.length?this.iterator(this.items,function(t,e){i=o(t),(!1===n.filter||0<i)&&s.items.push({score:i,id:e})}):this.iterator(this.items,function(t,e){s.items.push({score:1,id:e})}),(t=this.getSortFunction(s,n))&&s.items.sort(t),s.total=s.items.length,"number"==typeof n.limit&&(s.items=s.items.slice(0,n.limit)),s};var p=function(t,e){return"number"==typeof t&&"number"==typeof e?e<t?1:t<e?-1:0:(t=n(String(t||"")),(e=n(String(e||"")))<t?1:t<e?-1:0)},s=function(t,e){for(var n,i,o=1,s=arguments.length;o<s;o++)if(i=arguments[o])for(n in i)i.hasOwnProperty(n)&&(t[n]=i[n]);return t},f=function(t,e,n){if(t&&e){if(!n)return t[e];for(var i=e.split(".");i.length&&(t=t[i.shift()]););return t}},a=function(t){return(t+"").replace(/^\s+|\s+$|/g,"")},l=function(t){return(t+"").replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")},r=Array.isArray||"undefined"!=typeof $&&$.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},d={a:"[aḀḁĂăÂâǍǎȺⱥȦȧẠạÄäÀàÁáĀāÃãÅåąĄÃąĄ]",b:"[b␢βΒB฿𐌁ᛒ]",c:"[cĆćĈĉČčĊċC̄c̄ÇçḈḉȻȼƇƈɕᴄCc]",d:"[dĎďḊḋḐḑḌḍḒḓḎḏĐđD̦d̦ƉɖƊɗƋƌᵭᶁᶑȡᴅDdð]",e:"[eÉéÈèÊêḘḙĚěĔĕẼẽḚḛẺẻĖėËëĒēȨȩĘęᶒɆɇȄȅẾếỀềỄễỂểḜḝḖḗḔḕȆȇẸẹỆệⱸᴇEeɘǝƏƐε]",f:"[fƑƒḞḟ]",g:"[gɢ₲ǤǥĜĝĞğĢģƓɠĠġ]",h:"[hĤĥĦħḨḩẖẖḤḥḢḣɦʰǶƕ]",i:"[iÍíÌìĬĭÎîǏǐÏïḮḯĨĩĮįĪīỈỉȈȉȊȋỊịḬḭƗɨɨ̆ᵻᶖİiIıɪIi]",j:"[jȷĴĵɈɉʝɟʲ]",k:"[kƘƙꝀꝁḰḱǨǩḲḳḴḵκϰ₭]",l:"[lŁłĽľĻļĹĺḶḷḸḹḼḽḺḻĿŀȽƚⱠⱡⱢɫɬᶅɭȴʟLl]",n:"[nŃńǸǹŇňÑñṄṅŅņṆṇṊṋṈṉN̈n̈ƝɲȠƞᵰᶇɳȵɴNnŊŋ]",o:"[oØøÖöÓóÒòÔôǑǒŐőŎŏȮȯỌọƟɵƠơỎỏŌōÕõǪǫȌȍՕօ]",p:"[pṔṕṖṗⱣᵽƤƥᵱ]",q:"[qꝖꝗʠɊɋꝘꝙq̃]",r:"[rŔŕɌɍŘřŖŗṘṙȐȑȒȓṚṛⱤɽ]",s:"[sŚśṠṡṢṣꞨꞩŜŝŠšŞşȘșS̈s̈]",t:"[tŤťṪṫŢţṬṭƮʈȚțṰṱṮṯƬƭ]",u:"[uŬŭɄʉỤụÜüÚúÙùÛûǓǔŰűŬŭƯưỦủŪūŨũŲųȔȕ∪]",v:"[vṼṽṾṿƲʋꝞꝟⱱʋ]",w:"[wẂẃẀẁŴŵẄẅẆẇẈẉ]",x:"[xẌẍẊẋχ]",y:"[yÝýỲỳŶŷŸÿỸỹẎẏỴỵɎɏƳƴ]",z:"[zŹźẐẑŽžŻżẒẓẔẕƵƶ]"},n=function(){var t,e,n,i,o="",s={};for(n in d)if(d.hasOwnProperty(n))for(o+=i=d[n].substring(2,d[n].length-1),t=0,e=i.length;t<e;t++)s[i.charAt(t)]=n;var r=new RegExp("["+o+"]","g");return function(t){return t.replace(r,function(t){return s[t]}).toLowerCase()}}();return t}),function(t,e){"function"==typeof define&&define.amd?define(["jquery","sifter","microplugin"],e):"object"==typeof exports?module.exports=e(require("jquery"),require("sifter"),require("microplugin")):t.Selectize=e(t.jQuery,t.Sifter,t.MicroPlugin)}(this,function(_,u,t){"use strict";function i(){}_.fn.removeHighlight=function(){return this.find("span.highlight").each(function(){this.parentNode.firstChild.nodeName;var t=this.parentNode;t.replaceChild(this.firstChild,this),t.normalize()}).end()};function l(t){return void 0!==t}function C(t){return null==t?null:"boolean"==typeof t?t?"1":"0":t+""}function a(t){return(t+"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")}function n(e,n,t){var i,o=e.trigger,s={};for(i in e.trigger=function(){var t=arguments[0];if(-1===n.indexOf(t))return o.apply(e,arguments);s[t]=arguments},t.apply(e,[]),e.trigger=o,s)s.hasOwnProperty(i)&&o.apply(e,s[i])}function d(t){var e,n,i={};return"selectionStart"in t?(i.start=t.selectionStart,i.length=t.selectionEnd-i.start):document.selection&&(t.focus(),e=document.selection.createRange(),n=document.selection.createRange().text.length,e.moveStart("character",-t.value.length),i.start=e.text.length-n,i.length=n),i}function g(s){function t(t,e){var n,i,o;e=e||{},(t=t||window.event||{}).metaKey||t.altKey||!e.force&&!1===s.data("grow")||(e=s.val(),t.type&&"keydown"===t.type.toLowerCase()&&(n=97<=(o=t.keyCode)&&o<=122||65<=o&&o<=90||48<=o&&o<=57||32===o,46===o||8===o?(i=d(s[0])).length?e=e.substring(0,i.start)+e.substring(i.start+i.length):8===o&&i.start?e=e.substring(0,i.start-1)+e.substring(i.start+1):46===o&&void 0!==i.start&&(e=e.substring(0,i.start)+e.substring(i.start+1)):n&&(o=t.shiftKey,i=String.fromCharCode(t.keyCode),e+=i=o?i.toUpperCase():i.toLowerCase())),n=s.attr("placeholder"),t=s,(i=((o=e=!e&&n?n:e)?(o=_("<test>").css({position:"absolute",top:-99999,left:-99999,width:"auto",padding:0,whiteSpace:"pre"}).text(o).appendTo("body"),h(t,o,["letterSpacing","fontSize","fontFamily","fontWeight","textTransform"]),t=o.width(),o.remove(),t):0)+4)===r)||(r=i,s.width(i),s.triggerHandler("resize"))}var r=null;s.on("keydown keyup update blur",t),t()}function c(t,e){var n,i,o,s,r,a=this,l=t[0],d=(l.selectize=a,window.getComputedStyle&&window.getComputedStyle(l,null));if(d=(d?d.getPropertyValue("direction"):l.currentStyle&&l.currentStyle.direction)||t.parents("[dir]:first").attr("dir")||"",_.extend(a,{order:0,settings:e,$input:t,tabIndex:t.attr("tabindex")||"",tagType:"select"===l.tagName.toLowerCase()?1:2,rtl:/rtl/i.test(d),eventNS:".selectize"+ ++c.count,highlightedValue:null,isOpen:!1,isDisabled:!1,isRequired:t.is("[required]"),isInvalid:!1,isLocked:!1,isFocused:!1,isInputHidden:!1,isSetup:!1,isShiftDown:!1,isCmdDown:!1,isCtrlDown:!1,ignoreFocus:!1,ignoreBlur:!1,ignoreHover:!1,hasOptions:!1,currentResults:null,lastValue:"",caretPos:0,loading:0,loadedSearches:{},$activeOption:null,$activeItems:[],optgroups:{},options:{},userOptions:{},items:[],renderCache:{},onSearchChange:null===e.loadThrottle?a.onSearchChange:(o=a.onSearchChange,s=e.loadThrottle,function(){var t=this,e=arguments;window.clearTimeout(r),r=window.setTimeout(function(){o.apply(t,e)},s)})}),a.sifter=new u(this.options,{diacritics:e.diacritics}),a.settings.options){for(n=0,i=a.settings.options.length;n<i;n++)a.registerOption(a.settings.options[n]);delete a.settings.options}if(a.settings.optgroups){for(n=0,i=a.settings.optgroups.length;n<i;n++)a.registerOptionGroup(a.settings.optgroups[n]);delete a.settings.optgroups}a.settings.mode=a.settings.mode||(1===a.settings.maxItems?"single":"multi"),"boolean"!=typeof a.settings.hideSelected&&(a.settings.hideSelected="multi"===a.settings.mode),a.initializePlugins(a.settings.plugins),a.setupCallbacks(),a.setupTemplates(),a.setup()}i.prototype={on:function(t,e){this._events=this._events||{},this._events[t]=this._events[t]||[],this._events[t].push(e)},off:function(t,e){var n=arguments.length;return 0===n?delete this._events:1===n?delete this._events[t]:(this._events=this._events||{},void(t in this._events!=!1&&this._events[t].splice(this._events[t].indexOf(e),1)))},trigger:function(t){if(this._events=this._events||{},t in this._events!=!1)for(var e=0;e<this._events[t].length;e++)this._events[t][e].apply(this,Array.prototype.slice.call(arguments,1))}},i.mixin=function(t){for(var e=["on","off","trigger"],n=0;n<e.length;n++)t.prototype[e[n]]=i.prototype[e[n]]};var e,m=/Mac/.test(navigator.userAgent),v=m?91:17,y=m?18:17,b=!/android/i.test(window.navigator.userAgent)&&!!document.createElement("input").validity,o={before:function(t,e,n){var i=t[e];t[e]=function(){return n.apply(t,arguments),i.apply(t,arguments)}},after:function(e,t,n){var i=e[t];e[t]=function(){var t=i.apply(e,arguments);return n.apply(e,arguments),t}}},h=function(t,e,n){var i,o,s={};if(n)for(i=0,o=n.length;i<o;i++)s[n[i]]=t.css(n[i]);else s=t.css();e.css(s)};return i.mixin(c),void 0!==t?t.mixin(c):(t="Dependency MicroPlugin is missing",e=(e={explanation:'Make sure you either: (1) are using the "standalone" version of Selectize, or (2) require MicroPlugin before you load Selectize.'})||{},console.error("Selectize: "+t),e.explanation&&(console.group&&console.group(),console.error(e.explanation),console.group)&&console.groupEnd()),_.extend(c.prototype,{setup:function(){var n,t,i,e=this,o=e.settings,s=e.eventNS,r=_(window),a=_(document),l=e.$input,d=e.settings.mode,u=l.attr("class")||"",h=_("<div>").addClass(o.wrapperClass).addClass(u).addClass(d),c=_("<div>").addClass(o.inputClass).addClass("items").appendTo(h),p=_('<input type="text" autocomplete="off" />').appendTo(c).attr("tabindex",l.is(":disabled")?"-1":e.tabIndex),f=_(o.dropdownParent||h),d=_("<div>").addClass(o.dropdownClass).addClass(d).hide().appendTo(f),f=_("<div>").addClass(o.dropdownContentClass).appendTo(d);(t=l.attr("id"))&&(p.attr("id",t+"-selectized"),_("label[for='"+t+"']").attr("for",t+"-selectized")),e.settings.copyClassesToDropdown&&d.addClass(u),h.css({width:l[0].style.width}),e.plugins.names.length&&(t="plugin-"+e.plugins.names.join(" plugin-"),h.addClass(t),d.addClass(t)),(null===o.maxItems||1<o.maxItems)&&1===e.tagType&&l.attr("multiple","multiple"),e.settings.placeholder&&p.attr("placeholder",o.placeholder),!e.settings.splitOn&&e.settings.delimiter&&(u=e.settings.delimiter.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),e.settings.splitOn=new RegExp("\\s*"+u+"+\\s*")),l.attr("autocorrect")&&p.attr("autocorrect",l.attr("autocorrect")),l.attr("autocapitalize")&&p.attr("autocapitalize",l.attr("autocapitalize")),e.$wrapper=h,e.$control=c,e.$control_input=p,e.$dropdown=d,e.$dropdown_content=f,d.on("mouseenter","[data-selectable]",function(){return e.onOptionHover.apply(e,arguments)}),d.on("mousedown click","[data-selectable]",function(){return e.onOptionSelect.apply(e,arguments)}),t="mousedown",u="*:not(input)",i=function(){return e.onItemSelect.apply(e,arguments)},(n=c).on(t,u,function(t){for(var e=t.target;e&&e.parentNode!==n[0];)e=e.parentNode;return t.currentTarget=e,i.apply(this,[t])}),g(p),c.on({mousedown:function(){return e.onMouseDown.apply(e,arguments)},click:function(){return e.onClick.apply(e,arguments)}}),p.on({mousedown:function(t){t.stopPropagation()},keydown:function(){return e.onKeyDown.apply(e,arguments)},keyup:function(){return e.onKeyUp.apply(e,arguments)},keypress:function(){return e.onKeyPress.apply(e,arguments)},resize:function(){e.positionDropdown.apply(e,[])},blur:function(){return e.onBlur.apply(e,arguments)},focus:function(){return e.ignoreBlur=!1,e.onFocus.apply(e,arguments)},paste:function(){return e.onPaste.apply(e,arguments)}}),a.on("keydown"+s,function(t){e.isCmdDown=t[m?"metaKey":"ctrlKey"],e.isCtrlDown=t[m?"altKey":"ctrlKey"],e.isShiftDown=t.shiftKey}),a.on("keyup"+s,function(t){t.keyCode===y&&(e.isCtrlDown=!1),16===t.keyCode&&(e.isShiftDown=!1),t.keyCode===v&&(e.isCmdDown=!1)}),a.on("mousedown"+s,function(t){if(e.isFocused){if(t.target===e.$dropdown[0]||t.target.parentNode===e.$dropdown[0])return!1;e.$control.has(t.target).length||t.target===e.$control[0]||e.blur(t.target)}}),r.on(["scroll"+s,"resize"+s].join(" "),function(){e.isOpen&&e.positionDropdown.apply(e,arguments)}),r.on("mousemove"+s,function(){e.ignoreHover=!1}),this.revertSettings={$children:l.children().detach(),tabindex:l.attr("tabindex")},l.attr("tabindex",-1).hide().after(e.$wrapper),_.isArray(o.items)&&(e.setValue(o.items),delete o.items),b&&l.on("invalid"+s,function(t){t.preventDefault(),e.isInvalid=!0,e.refreshState()}),e.updateOriginalInput(),e.refreshItems(),e.refreshState(),e.updatePlaceholder(),e.isSetup=!0,l.is(":disabled")&&e.disable(),e.on("change",this.onChange),l.data("selectize",e),l.addClass("selectized"),e.trigger("initialize"),!0===o.preload&&e.onSearchChange("")},setupTemplates:function(){var n=this.settings.labelField,i=this.settings.optgroupLabelField;this.settings.render=_.extend({},{optgroup:function(t){return'<div class="optgroup">'+t.html+"</div>"},optgroup_header:function(t,e){return'<div class="optgroup-header">'+e(t[i])+"</div>"},option:function(t,e){return'<div class="option">'+e(t[n])+"</div>"},item:function(t,e){return'<div class="item">'+e(t[n])+"</div>"},option_create:function(t,e){return'<div class="create">Add <strong>'+e(t.input)+"</strong>…</div>"}},this.settings.render)},setupCallbacks:function(){var t,e,n={initialize:"onInitialize",change:"onChange",item_add:"onItemAdd",item_remove:"onItemRemove",clear:"onClear",option_add:"onOptionAdd",option_remove:"onOptionRemove",option_clear:"onOptionClear",optgroup_add:"onOptionGroupAdd",optgroup_remove:"onOptionGroupRemove",optgroup_clear:"onOptionGroupClear",dropdown_open:"onDropdownOpen",dropdown_close:"onDropdownClose",type:"onType",load:"onLoad",focus:"onFocus",blur:"onBlur"};for(t in n)n.hasOwnProperty(t)&&(e=this.settings[n[t]])&&this.on(t,e)},onClick:function(t){this.isFocused||(this.focus(),t.preventDefault())},onMouseDown:function(t){var e=this,n=t.isDefaultPrevented();_(t.target);if(e.isFocused){if(t.target!==e.$control_input[0])return"single"===e.settings.mode?e.isOpen?e.close():e.open():n||e.setActiveItem(null),!1}else n||window.setTimeout(function(){e.focus()},0)},onChange:function(){this.$input.trigger("change")},onPaste:function(t){var o=this;o.isFull()||o.isInputHidden||o.isLocked?t.preventDefault():o.settings.splitOn&&setTimeout(function(){var t=o.$control_input.val();if(t.match(o.settings.splitOn))for(var e=_.trim(t).split(o.settings.splitOn),n=0,i=e.length;n<i;n++)o.createItem(e[n])},0)},onKeyPress:function(t){var e;return this.isLocked?t&&t.preventDefault():(e=String.fromCharCode(t.keyCode||t.which),this.settings.create&&"multi"===this.settings.mode&&e===this.settings.delimiter?(this.createItem(),t.preventDefault(),!1):void 0)},onKeyDown:function(t){t.target,this.$control_input[0];var e,n=this;if(n.isLocked)9!==t.keyCode&&t.preventDefault();else{switch(t.keyCode){case 65:if(n.isCmdDown)return void n.selectAll();break;case 27:return void(n.isOpen&&(t.preventDefault(),t.stopPropagation(),n.close()));case 78:if(!t.ctrlKey||t.altKey)break;case 40:return!n.isOpen&&n.hasOptions?n.open():n.$activeOption&&(n.ignoreHover=!0,(e=n.getAdjacentOption(n.$activeOption,1)).length)&&n.setActiveOption(e,!0,!0),void t.preventDefault();case 80:if(!t.ctrlKey||t.altKey)break;case 38:return n.$activeOption&&(n.ignoreHover=!0,(e=n.getAdjacentOption(n.$activeOption,-1)).length)&&n.setActiveOption(e,!0,!0),void t.preventDefault();case 13:return void(n.isOpen&&n.$activeOption&&(n.onOptionSelect({currentTarget:n.$activeOption}),t.preventDefault()));case 37:return void n.advanceSelection(-1,t);case 39:return void n.advanceSelection(1,t);case 9:return n.settings.selectOnTab&&n.isOpen&&n.$activeOption&&(n.onOptionSelect({currentTarget:n.$activeOption}),n.isFull()||t.preventDefault()),void(n.settings.create&&n.createItem()&&t.preventDefault());case 8:case 46:return void n.deleteSelection(t)}!n.isFull()&&!n.isInputHidden||(m?t.metaKey:t.ctrlKey)||t.preventDefault()}},onKeyUp:function(t){if(this.isLocked)return t&&t.preventDefault();t=this.$control_input.val()||"";this.lastValue!==t&&(this.lastValue=t,this.onSearchChange(t),this.refreshOptions(),this.trigger("type",t))},onSearchChange:function(e){var n=this,i=n.settings.load;i&&!n.loadedSearches.hasOwnProperty(e)&&(n.loadedSearches[e]=!0,n.load(function(t){i.apply(n,[e,t])}))},onFocus:function(t){var e=this,n=e.isFocused;if(e.isDisabled)return e.blur(),t&&t.preventDefault(),!1;e.ignoreFocus||(e.isFocused=!0,"focus"===e.settings.preload&&e.onSearchChange(""),n||e.trigger("focus"),e.$activeItems.length||(e.showInput(),e.setActiveItem(null),e.refreshOptions(!!e.settings.openOnFocus)),e.refreshState())},onBlur:function(t,e){var n,i=this;i.isFocused&&(i.isFocused=!1,i.ignoreFocus||(i.ignoreBlur||document.activeElement!==i.$dropdown_content[0]?(n=function(){i.close(),i.setTextboxValue(""),i.setActiveItem(null),i.setActiveOption(null),i.setCaret(i.items.length),i.refreshState(),e&&e.focus&&e.focus(),i.ignoreFocus=!1,i.trigger("blur")},i.ignoreFocus=!0,i.settings.create&&i.settings.createOnBlur?i.createItem(null,!1,n):n()):(i.ignoreBlur=!0,i.onFocus(t))))},onOptionHover:function(t){this.ignoreHover||this.setActiveOption(t.currentTarget,!1)},onOptionSelect:function(t){var e,n=this;t.preventDefault&&(t.preventDefault(),t.stopPropagation()),(e=_(t.currentTarget)).hasClass("create")?n.createItem(null,function(){n.settings.closeAfterSelect&&n.close()}):void 0!==(e=e.attr("data-value"))&&(n.lastQuery=null,n.setTextboxValue(""),n.addItem(e),n.settings.closeAfterSelect?n.close():!n.settings.hideSelected&&t.type&&/mouse/.test(t.type)&&n.setActiveOption(n.getOption(e)))},onItemSelect:function(t){this.isLocked||"multi"===this.settings.mode&&(t.preventDefault(),this.setActiveItem(t.currentTarget,t))},load:function(t){var e=this,n=e.$wrapper.addClass(e.settings.loadingClass);e.loading++,t.apply(e,[function(t){e.loading=Math.max(e.loading-1,0),t&&t.length&&(e.addOption(t),e.refreshOptions(e.isFocused&&!e.isInputHidden)),e.loading||n.removeClass(e.settings.loadingClass),e.trigger("load",t)}])},setTextboxValue:function(t){var e=this.$control_input;e.val()!==t&&(e.val(t).triggerHandler("update"),this.lastValue=t)},getValue:function(){return 1===this.tagType&&this.$input.attr("multiple")?this.items:this.items.join(this.settings.delimiter)},setValue:function(t,e){n(this,e?[]:["change"],function(){this.clear(e),this.addItems(t,e)})},setActiveItem:function(t,e){var n,i,o,s,r,a,l=this;if("single"!==l.settings.mode)if((t=_(t)).length){if("mousedown"===(n=e&&e.type.toLowerCase())&&l.isShiftDown&&l.$activeItems.length){for(a=l.$control.children(".active:last"),a=Array.prototype.indexOf.apply(l.$control[0].childNodes,[a[0]]),(o=Array.prototype.indexOf.apply(l.$control[0].childNodes,[t[0]]))<a&&(r=a,a=o,o=r),i=a;i<=o;i++)s=l.$control[0].childNodes[i],-1===l.$activeItems.indexOf(s)&&(_(s).addClass("active"),l.$activeItems.push(s));e.preventDefault()}else"mousedown"===n&&l.isCtrlDown||"keydown"===n&&this.isShiftDown?t.hasClass("active")?(r=l.$activeItems.indexOf(t[0]),l.$activeItems.splice(r,1),t.removeClass("active")):l.$activeItems.push(t.addClass("active")[0]):(_(l.$activeItems).removeClass("active"),l.$activeItems=[t.addClass("active")[0]]);l.hideInput(),this.isFocused||l.focus()}else _(l.$activeItems).removeClass("active"),l.$activeItems=[],l.isFocused&&l.showInput()},setActiveOption:function(t,e,n){var i,o,s,r,a=this;a.$activeOption&&a.$activeOption.removeClass("active"),a.$activeOption=null,(t=_(t)).length&&(a.$activeOption=t.addClass("active"),!e&&l(e)||(t=a.$dropdown_content.height(),i=a.$activeOption.outerHeight(!0),e=a.$dropdown_content.scrollTop()||0,r=(s=o=a.$activeOption.offset().top-a.$dropdown_content.offset().top+e)-t+i,t+e<o+i?a.$dropdown_content.stop().animate({scrollTop:r},n?a.settings.scrollDuration:0):o<e&&a.$dropdown_content.stop().animate({scrollTop:s},n?a.settings.scrollDuration:0)))},selectAll:function(){"single"!==this.settings.mode&&(this.$activeItems=Array.prototype.slice.apply(this.$control.children(":not(input)").addClass("active")),this.$activeItems.length&&(this.hideInput(),this.close()),this.focus())},hideInput:function(){this.setTextboxValue(""),this.$control_input.css({opacity:0,position:"absolute",left:this.rtl?1e4:-1e4}),this.isInputHidden=!0},showInput:function(){this.$control_input.css({opacity:1,position:"relative",left:0}),this.isInputHidden=!1},focus:function(){var t=this;t.isDisabled||(t.ignoreFocus=!0,t.$control_input[0].focus(),window.setTimeout(function(){t.ignoreFocus=!1,t.onFocus()},0))},blur:function(t){this.$control_input[0].blur(),this.onBlur(null,t)},getScoreFunction:function(t){return this.sifter.getScoreFunction(t,this.getSearchOptions())},getSearchOptions:function(){var t=this.settings,e=t.sortField;return{fields:t.searchField,conjunction:t.searchConjunction,sort:e="string"==typeof e?[{field:e}]:e}},search:function(t){var e,n,i,o=this.settings,s=this.getSearchOptions();if(o.score&&"function"!=typeof(i=this.settings.score.apply(this,[t])))throw new Error('Selectize "score" setting must be a function that returns a function');if(t!==this.lastQuery?(this.lastQuery=t,n=this.sifter.search(t,_.extend(s,{score:i})),this.currentResults=n):n=_.extend(!0,{},this.currentResults),o.hideSelected)for(e=n.items.length-1;0<=e;e--)-1!==this.items.indexOf(C(n.items[e].id))&&n.items.splice(e,1);return n},refreshOptions:function(t){void 0===t&&(t=!0);var e,n,i,o,s,r,a,l,d,u,h,c,p,f,g,m,v=this,y=_.trim(v.$control_input.val()),b=v.search(y),$=v.$dropdown_content,w=v.$activeOption&&C(v.$activeOption.attr("data-value")),x=b.items.length;for("number"==typeof v.settings.maxOptions&&(x=Math.min(x,v.settings.maxOptions)),o={},s=[],e=0;e<x;e++)for(r=v.options[b.items[e].id],a=v.render("option",r),l=r[v.settings.optgroupField]||"",n=0,i=(d=_.isArray(l)?l:[l])&&d.length;n<i;n++)l=d[n],v.optgroups.hasOwnProperty(l)||(l=""),o.hasOwnProperty(l)||(o[l]=document.createDocumentFragment(),s.push(l)),o[l].appendChild(a);for(this.settings.lockOptgroupOrder&&s.sort(function(t,e){return(v.optgroups[t].$order||0)-(v.optgroups[e].$order||0)}),u=document.createDocumentFragment(),e=0,x=s.length;e<x;e++)v.optgroups.hasOwnProperty(l=s[e])&&o[l].childNodes.length?((h=document.createDocumentFragment()).appendChild(v.render("optgroup_header",v.optgroups[l])),h.appendChild(o[l]),u.appendChild(v.render("optgroup",_.extend({},v.optgroups[l],{html:(g=h,m=void 0,(m=document.createElement("div")).appendChild(g.cloneNode(!0)),m.innerHTML),dom:h})))):u.appendChild(o[l]);if($.html(u),v.settings.highlight&&b.query.length&&b.tokens.length)for($.removeHighlight(),e=0,x=b.tokens.length;e<x;e++)!function(t,e){var r,a;if("string"!=typeof e||e.length)r="string"==typeof e?new RegExp(e,"i"):e,a=function(t){var e=0;if(3===t.nodeType){var n,i,o=t.data.search(r);0<=o&&0<t.data.length&&(i=t.data.match(r),(n=document.createElement("span")).className="highlight",(o=t.splitText(o)).splitText(i[0].length),i=o.cloneNode(!0),n.appendChild(i),o.parentNode.replaceChild(n,o),e=1)}else if(1===t.nodeType&&t.childNodes&&!/(script|style)/i.test(t.tagName))for(var s=0;s<t.childNodes.length;++s)s+=a(t.childNodes[s]);return e},t.each(function(){a(this)})}($,b.tokens[e].regex);if(!v.settings.hideSelected)for(e=0,x=v.items.length;e<x;e++)v.getOption(v.items[e]).addClass("selected");(c=v.canCreate(y))&&($.prepend(v.render("option_create",{input:y})),f=_($[0].childNodes[0])),v.hasOptions=0<b.items.length||c,v.hasOptions?(0<b.items.length?((y=w&&v.getOption(w))&&y.length?p=y:"single"===v.settings.mode&&v.items.length&&(p=v.getOption(v.items[0])),p&&p.length||(p=f&&!v.settings.addPrecedence?v.getAdjacentOption(f,1):$.find("[data-selectable]:first"))):p=f,v.setActiveOption(p),t&&!v.isOpen&&v.open()):(v.setActiveOption(null),t&&v.isOpen&&v.close())},addOption:function(t){var e,n,i;if(_.isArray(t))for(e=0,n=t.length;e<n;e++)this.addOption(t[e]);else(i=this.registerOption(t))&&(this.userOptions[i]=!0,this.lastQuery=null,this.trigger("option_add",i,t))},registerOption:function(t){var e=C(t[this.settings.valueField]);return null!=e&&!this.options.hasOwnProperty(e)&&(t.$order=t.$order||++this.order,this.options[e]=t,e)},registerOptionGroup:function(t){var e=C(t[this.settings.optgroupValueField]);return!!e&&(t.$order=t.$order||++this.order,this.optgroups[e]=t,e)},addOptionGroup:function(t,e){e[this.settings.optgroupValueField]=t,(t=this.registerOptionGroup(e))&&this.trigger("optgroup_add",t,e)},removeOptionGroup:function(t){this.optgroups.hasOwnProperty(t)&&(delete this.optgroups[t],this.renderCache={},this.trigger("optgroup_remove",t))},clearOptionGroups:function(){this.optgroups={},this.renderCache={},this.trigger("optgroup_clear")},updateOption:function(t,e){var n,i,o,s=this;if(t=C(t),n=C(e[s.settings.valueField]),null!==t&&s.options.hasOwnProperty(t)){if("string"!=typeof n)throw new Error("Value must be set in option data");o=s.options[t].$order,n!==t&&(delete s.options[t],-1!==(i=s.items.indexOf(t)))&&s.items.splice(i,1,n),e.$order=e.$order||o,s.options[n]=e,i=s.renderCache.item,o=s.renderCache.option,i&&(delete i[t],delete i[n]),o&&(delete o[t],delete o[n]),-1!==s.items.indexOf(n)&&(i=s.getItem(t),o=_(s.render("item",e)),i.hasClass("active")&&o.addClass("active"),i.replaceWith(o)),s.lastQuery=null,s.isOpen&&s.refreshOptions(!1)}},removeOption:function(t,e){t=C(t);var n=this.renderCache.item,i=this.renderCache.option;n&&delete n[t],i&&delete i[t],delete this.userOptions[t],delete this.options[t],this.lastQuery=null,this.trigger("option_remove",t),this.removeItem(t,e)},clearOptions:function(){this.loadedSearches={},this.userOptions={},this.renderCache={},this.options=this.sifter.items={},this.lastQuery=null,this.trigger("option_clear"),this.clear()},getOption:function(t){return this.getElementWithValue(t,this.$dropdown_content.find("[data-selectable]"))},getAdjacentOption:function(t,e){var n=this.$dropdown.find("[data-selectable]"),t=n.index(t)+e;return 0<=t&&t<n.length?n.eq(t):_()},getElementWithValue:function(t,e){if(null!=(t=C(t)))for(var n=0,i=e.length;n<i;n++)if(e[n].getAttribute("data-value")===t)return _(e[n]);return _()},getItem:function(t){return this.getElementWithValue(t,this.$control.children())},addItems:function(t,e){for(var n=_.isArray(t)?t:[t],i=0,o=n.length;i<o;i++)this.isPending=i<o-1,this.addItem(n[i],e)},addItem:function(s,r){n(this,r?[]:["change"],function(){var t,e,n,i=this,o=i.settings.mode;s=C(s),-1!==i.items.indexOf(s)?"single"===o&&i.close():i.options.hasOwnProperty(s)&&("single"===o&&i.clear(r),"multi"===o&&i.isFull()||(t=_(i.render("item",i.options[s])),n=i.isFull(),i.items.splice(i.caretPos,0,s),i.insertAtCaret(t),i.isPending&&(n||!i.isFull())||i.refreshState(),i.isSetup&&(n=i.$dropdown_content.find("[data-selectable]"),i.isPending||(e=i.getOption(s),e=i.getAdjacentOption(e,1).attr("data-value"),i.refreshOptions(i.isFocused&&"single"!==o),e&&i.setActiveOption(i.getOption(e))),!n.length||i.isFull()?i.close():i.positionDropdown(),i.updatePlaceholder(),i.trigger("item_add",s,t),i.updateOriginalInput({silent:r}))))})},removeItem:function(t,e){var n,i,o=this,s=t instanceof _?t:o.getItem(t);t=C(s.attr("data-value")),-1!==(n=o.items.indexOf(t))&&(s.remove(),s.hasClass("active")&&(i=o.$activeItems.indexOf(s[0]),o.$activeItems.splice(i,1)),o.items.splice(n,1),o.lastQuery=null,!o.settings.persist&&o.userOptions.hasOwnProperty(t)&&o.removeOption(t,e),n<o.caretPos&&o.setCaret(o.caretPos-1),o.refreshState(),o.updatePlaceholder(),o.updateOriginalInput({silent:e}),o.positionDropdown(),o.trigger("item_remove",t,s))},createItem:function(t,n){var i=this,o=i.caretPos,s=(t=t||_.trim(i.$control_input.val()||""),arguments[arguments.length-1]);if("function"!=typeof s&&(s=function(){}),"boolean"!=typeof n&&(n=!0),!i.canCreate(t))return s(),!1;i.lock();var e,r,a="function"==typeof i.settings.create?this.settings.create:function(t){var e={};return e[i.settings.labelField]=t,e[i.settings.valueField]=t,e},l=(r=!(e=function(t){var e;return i.unlock(),!t||"object"!=typeof t||"string"!=typeof(e=C(t[i.settings.valueField]))?s():(i.setTextboxValue(""),i.addOption(t),i.setCaret(o),i.addItem(e),i.refreshOptions(n&&"single"!==i.settings.mode),void s(t))}),function(){r||(r=!0,e.apply(this,arguments))}),a=a.apply(this,[t,l]);return void 0!==a&&l(a),!0},refreshItems:function(){this.lastQuery=null,this.isSetup&&this.addItem(this.items),this.refreshState(),this.updateOriginalInput()},refreshState:function(){this.refreshValidityState(),this.refreshClasses()},refreshValidityState:function(){if(!this.isRequired)return!1;var t=!this.items.length;this.isInvalid=t,this.$control_input.prop("required",t),this.$input.prop("required",!t)},refreshClasses:function(){var t=this,e=t.isFull(),n=t.isLocked;t.$wrapper.toggleClass("rtl",t.rtl),t.$control.toggleClass("focus",t.isFocused).toggleClass("disabled",t.isDisabled).toggleClass("required",t.isRequired).toggleClass("invalid",t.isInvalid).toggleClass("locked",n).toggleClass("full",e).toggleClass("not-full",!e).toggleClass("input-active",t.isFocused&&!t.isInputHidden).toggleClass("dropdown-active",t.isOpen).toggleClass("has-options",!_.isEmptyObject(t.options)).toggleClass("has-items",0<t.items.length),t.$control_input.data("grow",!e&&!n)},isFull:function(){return null!==this.settings.maxItems&&this.items.length>=this.settings.maxItems},updateOriginalInput:function(t){var e,n,i,o,s=this;if(t=t||{},1===s.tagType){for(i=[],e=0,n=s.items.length;e<n;e++)o=s.options[s.items[e]][s.settings.labelField]||"",i.push('<option value="'+a(s.items[e])+'" selected="selected">'+a(o)+"</option>");i.length||this.$input.attr("multiple")||i.push('<option value="" selected="selected"></option>'),s.$input.html(i.join(""))}else s.$input.val(s.getValue()),s.$input.attr("value",s.$input.val());s.isSetup&&!t.silent&&s.trigger("change",s.$input.val())},updatePlaceholder:function(){var t;this.settings.placeholder&&(t=this.$control_input,this.items.length?t.removeAttr("placeholder"):t.attr("placeholder",this.settings.placeholder),t.triggerHandler("update",{force:!0}))},open:function(){var t=this;t.isLocked||t.isOpen||"multi"===t.settings.mode&&t.isFull()||(t.focus(),t.isOpen=!0,t.refreshState(),t.$dropdown.css({visibility:"hidden",display:"block"}),t.positionDropdown(),t.$dropdown.css({visibility:"visible"}),t.trigger("dropdown_open",t.$dropdown))},close:function(){var t=this,e=t.isOpen;"single"===t.settings.mode&&t.items.length&&(t.hideInput(),t.$control_input.blur()),t.isOpen=!1,t.$dropdown.hide(),t.setActiveOption(null),t.refreshState(),e&&t.trigger("dropdown_close",t.$dropdown)},positionDropdown:function(){var t=this.$control,e="body"===this.settings.dropdownParent?t.offset():t.position();e.top+=t.outerHeight(!0),this.$dropdown.css({width:t.outerWidth(),top:e.top,left:e.left})},clear:function(t){var e=this;e.items.length&&(e.$control.children(":not(input)").remove(),e.items=[],e.lastQuery=null,e.setCaret(0),e.setActiveItem(null),e.updatePlaceholder(),e.updateOriginalInput({silent:t}),e.refreshState(),e.showInput(),e.trigger("clear"))},insertAtCaret:function(t){var e=Math.min(this.caretPos,this.items.length);0===e?this.$control.prepend(t):_(this.$control[0].childNodes[e]).before(t),this.setCaret(e+1)},deleteSelection:function(t){var e,n,i,o,s,r=this,a=t&&8===t.keyCode?-1:1,l=d(r.$control_input[0]);if(r.$activeOption&&!r.settings.hideSelected&&(o=r.getAdjacentOption(r.$activeOption,-1).attr("data-value")),i=[],r.$activeItems.length){for(s=r.$control.children(".active:"+(0<a?"last":"first")),s=r.$control.children(":not(input)").index(s),0<a&&s++,e=0,n=r.$activeItems.length;e<n;e++)i.push(_(r.$activeItems[e]).attr("data-value"));t&&(t.preventDefault(),t.stopPropagation())}else(r.isFocused||"single"===r.settings.mode)&&r.items.length&&(a<0&&0===l.start&&0===l.length?i.push(r.items[r.caretPos-1]):0<a&&l.start===r.$control_input.val().length&&i.push(r.items[r.caretPos]));if(!i.length||"function"==typeof r.settings.onDelete&&!1===r.settings.onDelete.apply(r,[i]))return!1;for(void 0!==s&&r.setCaret(s);i.length;)r.removeItem(i.pop());return r.showInput(),r.positionDropdown(),r.refreshOptions(!0),o&&(t=r.getOption(o)).length&&r.setActiveOption(t),!0},advanceSelection:function(t,e){var n,i,o,s=this;0!==t&&(s.rtl&&(t*=-1),n=0<t?"last":"first",o=d(s.$control_input[0]),s.isFocused&&!s.isInputHidden?(i=s.$control_input.val().length,(t<0?0!==o.start||0!==o.length:o.start!==i)||i||s.advanceCaret(t,e)):(o=s.$control.children(".active:"+n)).length&&(i=s.$control.children(":not(input)").index(o),s.setActiveItem(null),s.setCaret(0<t?i+1:i)))},advanceCaret:function(t,e){var n;0!==t&&(this.isShiftDown?(n=this.$control_input[0<t?"next":"prev"]()).length&&(this.hideInput(),this.setActiveItem(n),e)&&e.preventDefault():this.setCaret(this.caretPos+t))},setCaret:function(t){if(t="single"===this.settings.mode?this.items.length:Math.max(0,Math.min(this.items.length,t)),!this.isPending)for(var e,n=this.$control.children(":not(input)"),i=0,o=n.length;i<o;i++)e=_(n[i]).detach(),i<t?this.$control_input.before(e):this.$control.append(e);this.caretPos=t},lock:function(){this.close(),this.isLocked=!0,this.refreshState()},unlock:function(){this.isLocked=!1,this.refreshState()},disable:function(){this.$input.prop("disabled",!0),this.$control_input.prop("disabled",!0).prop("tabindex",-1),this.isDisabled=!0,this.lock()},enable:function(){this.$input.prop("disabled",!1),this.$control_input.prop("disabled",!1).prop("tabindex",this.tabIndex),this.isDisabled=!1,this.unlock()},destroy:function(){var t=this,e=t.eventNS,n=t.revertSettings;t.trigger("destroy"),t.off(),t.$wrapper.remove(),t.$dropdown.remove(),t.$input.html("").append(n.$children).removeAttr("tabindex").removeClass("selectized").attr({tabindex:n.tabindex}).show(),t.$control_input.removeData("grow"),t.$input.removeData("selectize"),_(window).off(e),_(document).off(e),_(document.body).off(e),delete t.$input[0].selectize},render:function(t,e){var n,i="",o=!1;return(o="option"!==t&&"item"!==t?o:!!(n=C(e[this.settings.valueField])))&&(l(this.renderCache[t])||(this.renderCache[t]={}),this.renderCache[t].hasOwnProperty(n))?this.renderCache[t][n]:(i=_(this.settings.render[t].apply(this,[e,a])),"option"===t||"option_create"===t?i.attr("data-selectable",""):"optgroup"===t&&(e=e[this.settings.optgroupValueField]||"",i.attr("data-group",e)),"option"!==t&&"item"!==t||i.attr("data-value",n||""),o&&(this.renderCache[t][n]=i[0]),i[0])},clearCache:function(t){void 0===t?this.renderCache={}:delete this.renderCache[t]},canCreate:function(t){var e;return!!this.settings.create&&(e=this.settings.createFilter,t.length)&&("function"!=typeof e||e.apply(this,[t]))&&("string"!=typeof e||new RegExp(e).test(t))&&(!(e instanceof RegExp)||e.test(t))}}),c.count=0,c.defaults={options:[],optgroups:[],plugins:[],delimiter:",",splitOn:null,persist:!0,diacritics:!0,create:!1,createOnBlur:!1,createFilter:null,highlight:!0,openOnFocus:!0,maxOptions:1e3,maxItems:null,hideSelected:null,addPrecedence:!1,selectOnTab:!1,preload:!1,allowEmptyOption:!1,closeAfterSelect:!1,scrollDuration:60,loadThrottle:300,loadingClass:"loading",dataAttr:"data-data",optgroupField:"optgroup",valueField:"value",labelField:"text",optgroupLabelField:"label",optgroupValueField:"value",lockOptgroupOrder:!1,sortField:"$order",searchField:["text"],searchConjunction:"and",mode:null,wrapperClass:"selectize-control",inputClass:"selectize-input",dropdownClass:"selectize-dropdown",dropdownContentClass:"selectize-dropdown-content",dropdownParent:null,copyClassesToDropdown:!0,render:{}},_.fn.selectize=function(d){function u(t,o){function e(t,e){t=_(t);var n,i=C(t.val());(i||m.allowEmptyOption)&&(l.hasOwnProperty(i)?e&&((n=l[i][$])?_.isArray(n)?n.push(e):l[i][$]=[n,e]:l[i][$]=e):((n=d(t)||{})[y]=n[y]||t.text(),n[b]=n[b]||i,n[$]=n[$]||e,l[i]=n,a.push(n),t.is(":selected")&&o.items.push(i)))}var n,i,s,r,a=o.options,l={},d=function(t){t=v&&t.attr(v);return"string"==typeof t&&t.length?JSON.parse(t):null};for(o.maxItems=t.attr("multiple")?null:1,n=0,i=(r=t.children()).length;n<i;n++)if("optgroup"===(s=r[n].tagName.toLowerCase())){f=p=c=h=u=void 0;var u,h,c,p,f,g=r[n];for((c=(g=_(g)).attr("label"))&&((p=d(g)||{})[w]=c,p[x]=c,o.optgroups.push(p)),u=0,h=(f=_("option",g)).length;u<h;u++)e(f[u],c)}else"option"===s&&e(r[n])}var h=_.fn.selectize.defaults,m=_.extend({},h,d),v=m.dataAttr,y=m.labelField,b=m.valueField,$=m.optgroupField,w=m.optgroupLabelField,x=m.optgroupValueField;return this.each(function(){if(!this.selectize){var t=_(this),e=this.tagName.toLowerCase(),n=t.attr("placeholder")||t.attr("data-placeholder"),n={placeholder:n=n||m.allowEmptyOption?n:t.children('option[value=""]').text(),options:[],optgroups:[],items:[]};if("select"===e)u(t,n);else{var i,o,s,r,e=t,a=n,l=e.attr(v);if(l)for(a.options=JSON.parse(l),i=0,o=a.options.length;i<o;i++)a.items.push(a.options[i][b]);else{l=_.trim(e.val()||"");if(m.allowEmptyOption||l.length){for(i=0,o=(s=l.split(m.delimiter)).length;i<o;i++)(r={})[y]=s[i],r[b]=s[i],a.options.push(r);a.items=s}}}new c(t,_.extend(!0,{},h,n,d))}})},_.fn.selectize.defaults=c.defaults,_.fn.selectize.support={validity:b},c.define("drag_drop",function(t){if(!_.fn.sortable)throw new Error('The "drag_drop" plugin requires jQuery UI "sortable".');var i,e,n,o;"multi"===this.settings.mode&&((i=this).lock=(e=i.lock,function(){var t=i.$control.data("sortable");return t&&t.disable(),e.apply(i,arguments)}),i.unlock=(n=i.unlock,function(){var t=i.$control.data("sortable");return t&&t.enable(),n.apply(i,arguments)}),i.setup=(o=i.setup,function(){o.apply(this,arguments);var n=i.$control.sortable({items:"[data-value]",forcePlaceholderSize:!0,disabled:i.isLocked,start:function(t,e){e.placeholder.css("width",e.helper.css("width")),n.css({overflow:"visible"})},stop:function(){n.css({overflow:"hidden"});var t=i.$activeItems?i.$activeItems.slice():null,e=[];n.children("[data-value]").each(function(){e.push(_(this).attr("data-value"))}),i.setValue(e),i.setActiveItem(t)}})}))}),c.define("dropdown_header",function(t){var e,n=this;t=_.extend({title:"Untitled",headerClass:"selectize-dropdown-header",titleRowClass:"selectize-dropdown-header-title",labelClass:"selectize-dropdown-header-label",closeClass:"selectize-dropdown-header-close",html:function(t){return'<div class="'+t.headerClass+'"><div class="'+t.titleRowClass+'"><span class="'+t.labelClass+'">'+t.title+'</span><a href="javascript:void(0)" class="'+t.closeClass+'">×</a></div></div>'}},t),n.setup=(e=n.setup,function(){e.apply(n,arguments),n.$dropdown_header=_(t.html(t)),n.$dropdown.prepend(n.$dropdown_header)})}),c.define("optgroup_columns",function(r){function t(){var t,e,n,i,o=_("[data-group]",a.$dropdown_content),s=o.length;if(s&&a.$dropdown_content.width()){if(r.equalizeHeight){for(t=e=0;t<s;t++)e=Math.max(e,o.eq(t).height());o.css({height:e})}r.equalizeWidth&&(i=a.$dropdown_content.innerWidth()-l(),n=Math.round(i/s),o.css({width:n}),1<s)&&(i=i-n*(s-1),o.eq(s-1).css({width:i}))}}var i,a=this,l=(r=_.extend({equalizeWidth:!0,equalizeHeight:!0},r),this.getAdjacentOption=function(t,e){var n=t.closest("[data-group]").find("[data-selectable]"),t=n.index(t)+e;return 0<=t&&t<n.length?n.eq(t):_()},this.onKeyDown=(i=a.onKeyDown,function(t){var e,n;if(!this.isOpen||37!==t.keyCode&&39!==t.keyCode)return i.apply(this,arguments);a.ignoreHover=!0,e=(n=this.$activeOption.closest("[data-group]")).find("[data-selectable]").index(this.$activeOption),(n=(t=(n=37===t.keyCode?n.prev("[data-group]"):n.next("[data-group]")).find("[data-selectable]")).eq(Math.min(t.length-1,e))).length&&this.setActiveOption(n)}),function(){var t,e=l.width,n=document;return void 0===e&&((t=n.createElement("div")).innerHTML='<div style="width:50px;height:50px;position:absolute;left:-50px;top:-50px;overflow:auto;"><div style="width:1px;height:100px;"></div></div>',t=t.firstChild,n.body.appendChild(t),e=l.width=t.offsetWidth-t.clientWidth,n.body.removeChild(t)),e});(r.equalizeHeight||r.equalizeWidth)&&(o.after(this,"positionDropdown",t),o.after(this,"refreshOptions",t))}),c.define("remove_button",function(t){t=_.extend({label:"×",title:"Remove",className:"remove",append:!0},t);function e(s,t){var e,n=s,r='<a href="javascript:void(0)" class="'+t.className+'" tabindex="-1" title="'+a(t.title)+'">'+t.label+"</a>";s.setup=(e=n.setup,function(){var o;t.append&&(o=n.settings.render.item,n.settings.render.item=function(t){return e=o.apply(s,arguments),n=r,i=e.search(/(<\/[^>]+>\s*)$/),e.substring(0,i)+n+e.substring(i);var e,n,i}),e.apply(s,arguments),s.$control.on("click","."+t.className,function(t){t.preventDefault(),n.isLocked||(t=_(t.currentTarget).parent(),n.setActiveItem(t),n.deleteSelection()&&n.setCaret(n.items.length))})})}var n,i,o,s,r;"single"===this.settings.mode?(n=this,(i=t).className="remove-single",s=n,r='<a href="javascript:void(0)" class="'+i.className+'" tabindex="-1" title="'+a(i.title)+'">'+i.label+"</a>",n.setup=(o=s.setup,function(){var t,e;i.append&&(t=_(s.$input.context).attr("id"),_("#"+t),e=s.settings.render.item,s.settings.render.item=function(t){return e.apply(n,arguments)+r}),o.apply(n,arguments),n.$control.on("click","."+i.className,function(t){t.preventDefault(),s.isLocked||s.clear()})})):e(this,t)}),c.define("restore_on_backspace",function(n){var i,t=this;n.text=n.text||function(t){return t[this.settings.labelField]},this.onKeyDown=(i=t.onKeyDown,function(t){var e;if(!(8===t.keyCode&&""===this.$control_input.val()&&!this.$activeItems.length&&0<=(e=this.caretPos-1)&&e<this.items.length))return i.apply(this,arguments);e=this.options[this.items[e]],this.deleteSelection(t)&&(this.setTextboxValue(n.text.apply(this,[e])),this.refreshOptions(!0)),t.preventDefault()})}),c}),function(){"use strict";function e(t,e){return function(){return t.apply(e,arguments)}}var n,s,i;function t(){}function o(t){null==t&&(t={}),this.container=e(this.container,this),this.content=e(this.content,this),this.html=e(this.html,this),this.$growl=e(this.$growl,this),this.$growls=e(this.$growls,this),this.animate=e(this.animate,this),this.remove=e(this.remove,this),this.dismiss=e(this.dismiss,this),this.present=e(this.present,this),this.waitAndDismiss=e(this.waitAndDismiss,this),this.cycle=e(this.cycle,this),this.close=e(this.close,this),this.click=e(this.click,this),this.mouseLeave=e(this.mouseLeave,this),this.mouseEnter=e(this.mouseEnter,this),this.unbind=e(this.unbind,this),this.bind=e(this.bind,this),this.render=e(this.render,this),this.settings=n.extend({},o.settings,t),this.$growls().attr("class",this.settings.location),this.render()}n=jQuery,t.transitions={webkitTransition:"webkitTransitionEnd",mozTransition:"mozTransitionEnd",oTransition:"oTransitionEnd",transition:"transitionend"},t.transition=function(t){var e,n,i=t[0],o=this.transitions;for(n in o)if(e=o[n],null!=i.style[n])return e},s=t,o.settings={namespace:"growl",duration:3200,close:"×",location:"default",style:"default",size:"medium",delayOnHover:!0},o.growl=function(t){return null==t&&(t={}),this.initialize(),new o(t)},o.initialize=function(){return n("body:not(:has(#growls))").append('<div id="growls" />')},o.prototype.render=function(){var t=this.$growl();this.$growls().append(t),this.settings.fixed?this.present():this.cycle()},o.prototype.bind=function(t){return(t=null==t?this.$growl():t).on("click",this.click),this.settings.delayOnHover&&(t.on("mouseenter",this.mouseEnter),t.on("mouseleave",this.mouseLeave)),t.on("contextmenu",this.close).find("."+this.settings.namespace+"-close").on("click",this.close)},o.prototype.unbind=function(t){return(t=null==t?this.$growl():t).off("click",this.click),this.settings.delayOnHover&&(t.off("mouseenter",this.mouseEnter),t.off("mouseleave",this.mouseLeave)),t.off("contextmenu",this.close).find("."+this.settings.namespace+"-close").off("click",this.close)},o.prototype.mouseEnter=function(t){return this.$growl().stop(!0,!0)},o.prototype.mouseLeave=function(t){return this.waitAndDismiss()},o.prototype.click=function(t){if(null!=this.settings.url)return t.preventDefault(),t.stopPropagation(),window.open(this.settings.url)},o.prototype.close=function(t){return t.preventDefault(),t.stopPropagation(),this.$growl().stop().queue(this.dismiss).queue(this.remove)},o.prototype.cycle=function(){return this.$growl().queue(this.present).queue(this.waitAndDismiss())},o.prototype.waitAndDismiss=function(){return this.$growl().delay(this.settings.duration).queue(this.dismiss).queue(this.remove)},o.prototype.present=function(t){var e=this.$growl();return this.bind(e),this.animate(e,this.settings.namespace+"-incoming","out",t)},o.prototype.dismiss=function(t){var e=this.$growl();return this.unbind(e),this.animate(e,this.settings.namespace+"-outgoing","in",t)},o.prototype.remove=function(t){return this.$growl().remove(),t()},o.prototype.animate=function(t,e,n,i){var o;null==n&&(n="in"),o=s.transition(t),t["in"===n?"removeClass":"addClass"](e),t.offset().position,t["in"===n?"addClass":"removeClass"](e),null!=i&&(null!=o?t.one(o,i):i())},o.prototype.$growls=function(){return null!=this.$_growls?this.$_growls:this.$_growls=n("#growls")},o.prototype.$growl=function(){return null!=this.$_growl?this.$_growl:this.$_growl=n(this.html())},o.prototype.html=function(){return this.container(this.content())},o.prototype.content=function(){return"<div class='"+this.settings.namespace+"-close'>"+this.settings.close+"</div>\n<div class='"+this.settings.namespace+"-title'>"+this.settings.title+"</div>\n<div class='"+this.settings.namespace+"-message'>"+this.settings.message+"</div>"},o.prototype.container=function(t){return"<div class='"+this.settings.namespace+" "+this.settings.namespace+"-"+this.settings.style+" "+this.settings.namespace+"-"+this.settings.size+"'>\n "+t+"\n</div>"},i=o,this.Growl=i,n.growl=function(t){return i.growl(t=null==t?{}:t)},n.growl.error=function(t){return n.growl(n.extend({title:"Error!",style:"error"},t=null==t?{}:t))},n.growl.notice=function(t){return n.growl(n.extend({title:"Notice!",style:"notice"},t=null==t?{}:t))},n.growl.warning=function(t){return n.growl(n.extend({title:"Warning!",style:"warning"},t=null==t?{}:t))}}.call(this),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?e(require("jquery")):(e(t.jquery),t.bootstrapSwitch={})}(this,function(t){"use strict";t=(t=t)&&t.__esModule?t:{default:t};var e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,i=arguments[e];for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t};var n=function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t};function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var r=t.default||window.jQuery||window.$,a=(n(s,[{key:"setPrevOptions",value:function(){this.prevOptions=e({},this.options)}},{key:"state",value:function(t,e){return void 0===t?this.options.state:(this.options.disabled||this.options.readonly||this.options.state&&!this.options.radioAllOff&&this.$element.is(":radio")||((this.$element.is(":radio")?r('[name="'+this.$element.attr("name")+'"]'):this.$element).trigger("setPreviousOptions.bootstrapSwitch"),this.options.indeterminate&&this.indeterminate(!1),this.$element.prop("checked",Boolean(t)).trigger("change.bootstrapSwitch",e)),this.$element)}},{key:"toggleState",value:function(t){return this.options.disabled||this.options.readonly?this.$element:this.options.indeterminate?(this.indeterminate(!1),this.state(!0)):this.$element.prop("checked",!this.options.state).trigger("change.bootstrapSwitch",t)}},{key:"size",value:function(t){return void 0===t?this.options.size:(null!=this.options.size&&this.$wrapper.removeClass(this._getClass(this.options.size)),t&&this.$wrapper.addClass(this._getClass(t)),this._width(),this._containerPosition(),this.options.size=t,this.$element)}},{key:"animate",value:function(t){return void 0===t?this.options.animate:this.options.animate===Boolean(t)?this.$element:this.toggleAnimate()}},{key:"toggleAnimate",value:function(){return this.options.animate=!this.options.animate,this.$wrapper.toggleClass(this._getClass("animate")),this.$element}},{key:"disabled",value:function(t){return void 0===t?this.options.disabled:this.options.disabled===Boolean(t)?this.$element:this.toggleDisabled()}},{key:"toggleDisabled",value:function(){return this.options.disabled=!this.options.disabled,this.$element.prop("disabled",this.options.disabled),this.$wrapper.toggleClass(this._getClass("disabled")),this.$element}},{key:"readonly",value:function(t){return void 0===t?this.options.readonly:this.options.readonly===Boolean(t)?this.$element:this.toggleReadonly()}},{key:"toggleReadonly",value:function(){return this.options.readonly=!this.options.readonly,this.$element.prop("readonly",this.options.readonly),this.$wrapper.toggleClass(this._getClass("readonly")),this.$element}},{key:"indeterminate",value:function(t){return void 0===t?this.options.indeterminate:this.options.indeterminate===Boolean(t)?this.$element:this.toggleIndeterminate()}},{key:"toggleIndeterminate",value:function(){return this.options.indeterminate=!this.options.indeterminate,this.$element.prop("indeterminate",this.options.indeterminate),this.$wrapper.toggleClass(this._getClass("indeterminate")),this._containerPosition(),this.$element}},{key:"inverse",value:function(t){return void 0===t?this.options.inverse:this.options.inverse===Boolean(t)?this.$element:this.toggleInverse()}},{key:"toggleInverse",value:function(){this.$wrapper.toggleClass(this._getClass("inverse"));var t=this.$on.clone(!0),e=this.$off.clone(!0);return this.$on.replaceWith(e),this.$off.replaceWith(t),this.$on=e,this.$off=t,this.options.inverse=!this.options.inverse,this.$element}},{key:"onColor",value:function(t){return void 0===t?this.options.onColor:(this.options.onColor&&this.$on.removeClass(this._getClass(this.options.onColor)),this.$on.addClass(this._getClass(t)),this.options.onColor=t,this.$element)}},{key:"offColor",value:function(t){return void 0===t?this.options.offColor:(this.options.offColor&&this.$off.removeClass(this._getClass(this.options.offColor)),this.$off.addClass(this._getClass(t)),this.options.offColor=t,this.$element)}},{key:"onText",value:function(t){return void 0===t?this.options.onText:(this.$on.html(t),this._width(),this._containerPosition(),this.options.onText=t,this.$element)}},{key:"offText",value:function(t){return void 0===t?this.options.offText:(this.$off.html(t),this._width(),this._containerPosition(),this.options.offText=t,this.$element)}},{key:"labelText",value:function(t){return void 0===t?this.options.labelText:(this.$label.html(t),this._width(),this.options.labelText=t,this.$element)}},{key:"handleWidth",value:function(t){return void 0===t?this.options.handleWidth:(this.options.handleWidth=t,this._width(),this._containerPosition(),this.$element)}},{key:"labelWidth",value:function(t){return void 0===t?this.options.labelWidth:(this.options.labelWidth=t,this._width(),this._containerPosition(),this.$element)}},{key:"baseClass",value:function(t){return this.options.baseClass}},{key:"wrapperClass",value:function(t){return void 0===t?this.options.wrapperClass:(t=t||r.fn.bootstrapSwitch.defaults.wrapperClass,this.$wrapper.removeClass(this._getClasses(this.options.wrapperClass).join(" ")),this.$wrapper.addClass(this._getClasses(t).join(" ")),this.options.wrapperClass=t,this.$element)}},{key:"radioAllOff",value:function(t){return void 0===t?this.options.radioAllOff:(t=Boolean(t),this.options.radioAllOff!==t&&(this.options.radioAllOff=t),this.$element)}},{key:"onInit",value:function(t){return void 0===t?this.options.onInit:(t=t||r.fn.bootstrapSwitch.defaults.onInit,this.options.onInit=t,this.$element)}},{key:"onSwitchChange",value:function(t){return void 0===t?this.options.onSwitchChange:(t=t||r.fn.bootstrapSwitch.defaults.onSwitchChange,this.options.onSwitchChange=t,this.$element)}},{key:"destroy",value:function(){var t=this.$element.closest("form");return t.length&&t.off("reset.bootstrapSwitch").removeData("bootstrap-switch"),this.$container.children().not(this.$element).remove(),this.$element.unwrap().unwrap().off(".bootstrapSwitch").removeData("bootstrap-switch"),this.$element}},{key:"_getElementOptions",value:function(){return{state:this.$element.is(":checked"),size:this.$element.data("size"),animate:this.$element.data("animate"),disabled:this.$element.is(":disabled"),readonly:this.$element.is("[readonly]"),indeterminate:this.$element.data("indeterminate"),inverse:this.$element.data("inverse"),radioAllOff:this.$element.data("radio-all-off"),onColor:this.$element.data("on-color"),offColor:this.$element.data("off-color"),onText:this.$element.data("on-text"),offText:this.$element.data("off-text"),labelText:this.$element.data("label-text"),handleWidth:this.$element.data("handle-width"),labelWidth:this.$element.data("label-width"),baseClass:this.$element.data("base-class"),wrapperClass:this.$element.data("wrapper-class")}}},{key:"_width",value:function(){var n=this,t=this.$on.add(this.$off).add(this.$label).css("width",""),i="auto"===this.options.handleWidth?Math.round(Math.max(this.$on.width(),this.$off.width())):this.options.handleWidth;return t.width(i),this.$label.width(function(t,e){return"auto"!==n.options.labelWidth?n.options.labelWidth:e<i?i:e}),this._handleWidth=this.$on.outerWidth(),this._labelWidth=this.$label.outerWidth(),this.$container.width(2*this._handleWidth+this._labelWidth),this.$wrapper.width(this._handleWidth+this._labelWidth)}},{key:"_containerPosition",value:function(){var e=this,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.options.state;this.$container.css("margin-left",function(){var t=[0,"-"+e._handleWidth+"px"];return e.options.indeterminate?"-"+e._handleWidth/2+"px":n?e.options.inverse?t[1]:t[0]:e.options.inverse?t[0]:t[1]})}},{key:"_init",value:function(){function t(){n.setPrevOptions(),n._width(),n._containerPosition(),setTimeout(function(){if(n.options.animate)return n.$wrapper.addClass(n._getClass("animate"))},50)}var e,n=this;this.$wrapper.is(":visible")?t():e=window.setInterval(function(){if(n.$wrapper.is(":visible"))return t(),window.clearInterval(e)},50)}},{key:"_elementHandlers",value:function(){var n=this;return this.$element.on({"setPreviousOptions.bootstrapSwitch":this.setPrevOptions.bind(this),"previousState.bootstrapSwitch":function(){n.options=n.prevOptions,n.options.indeterminate&&n.$wrapper.addClass(n._getClass("indeterminate")),n.$element.prop("checked",n.options.state).trigger("change.bootstrapSwitch",!0)},"change.bootstrapSwitch":function(t,e){t.preventDefault(),t.stopImmediatePropagation();t=n.$element.is(":checked");n._containerPosition(t),t===n.options.state||(n.options.state=t,n.$wrapper.toggleClass(n._getClass("off")).toggleClass(n._getClass("on")),e)||(n.$element.is(":radio")&&r('[name="'+n.$element.attr("name")+'"]').not(n.$element).prop("checked",!1).trigger("change.bootstrapSwitch",!0),n.$element.trigger("switchChange.bootstrapSwitch",[t]))},"focus.bootstrapSwitch":function(t){t.preventDefault(),n.$wrapper.addClass(n._getClass("focused"))},"blur.bootstrapSwitch":function(t){t.preventDefault(),n.$wrapper.removeClass(n._getClass("focused"))},"keydown.bootstrapSwitch":function(t){!t.which||n.options.disabled||n.options.readonly||37!==t.which&&39!==t.which||(t.preventDefault(),t.stopImmediatePropagation(),n.state(39===t.which))}})}},{key:"_handleHandlers",value:function(){var e=this;return this.$on.on("click.bootstrapSwitch",function(t){return t.preventDefault(),t.stopPropagation(),e.state(!1),e.$element.trigger("focus.bootstrapSwitch")}),this.$off.on("click.bootstrapSwitch",function(t){return t.preventDefault(),t.stopPropagation(),e.state(!0),e.$element.trigger("focus.bootstrapSwitch")})}},{key:"_labelHandlers",value:function(){var n=this;this.$label.on({click:function(t){t.stopPropagation()},"mousedown.bootstrapSwitch touchstart.bootstrapSwitch":function(t){n._dragStart||n.options.disabled||n.options.readonly||(t.preventDefault(),t.stopPropagation(),n._dragStart=(t.pageX||t.originalEvent.touches[0].pageX)-parseInt(n.$container.css("margin-left"),10),n.options.animate&&n.$wrapper.removeClass(n._getClass("animate")),n.$element.trigger("focus.bootstrapSwitch"))},"mousemove.bootstrapSwitch touchmove.bootstrapSwitch":function(t){var e;null==n._dragStart||(e=(t.pageX||t.originalEvent.touches[0].pageX)-n._dragStart,t.preventDefault(),e<-n._handleWidth)||0<e||(n._dragEnd=e,n.$container.css("margin-left",n._dragEnd+"px"))},"mouseup.bootstrapSwitch touchend.bootstrapSwitch":function(t){n._dragStart&&(t.preventDefault(),n.options.animate&&n.$wrapper.addClass(n._getClass("animate")),n._dragEnd?(t=n._dragEnd>-n._handleWidth/2,n._dragEnd=!1,n.state(n.options.inverse?!t:t)):n.state(!n.options.state),n._dragStart=!1)},"mouseleave.bootstrapSwitch":function(){n.$label.trigger("mouseup.bootstrapSwitch")}})}},{key:"_externalLabelHandler",value:function(){var e=this,n=this.$element.closest("label");n.on("click",function(t){t.preventDefault(),t.stopImmediatePropagation(),t.target===n[0]&&e.toggleState()})}},{key:"_formHandler",value:function(){var t=this.$element.closest("form");t.data("bootstrap-switch")||t.on("reset.bootstrapSwitch",function(){window.setTimeout(function(){t.find("input").filter(function(){return r(this).data("bootstrap-switch")}).each(function(){return r(this).bootstrapSwitch("state",this.checked)})},1)}).data("bootstrap-switch",!0)}},{key:"_getClass",value:function(t){return this.options.baseClass+"-"+t}},{key:"_getClasses",value:function(t){return r.isArray(t)?t.map(this._getClass.bind(this)):[this._getClass(t)]}}]),s);function s(i){var o=this,t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},e=this,n=s;if(!(e instanceof n))throw new TypeError("Cannot call a class as a function");this.$element=r(i),this.options=r.extend({},r.fn.bootstrapSwitch.defaults,this._getElementOptions(),t),this.prevOptions={},this.$wrapper=r("<div>",{class:function(){var t=[];return t.push(o.options.state?"on":"off"),o.options.size&&t.push(o.options.size),o.options.disabled&&t.push("disabled"),o.options.readonly&&t.push("readonly"),o.options.indeterminate&&t.push("indeterminate"),o.options.inverse&&t.push("inverse"),o.$element.attr("id")&&t.push("id-"+o.$element.attr("id")),t.map(o._getClass.bind(o)).concat([o.options.baseClass],o._getClasses(o.options.wrapperClass)).join(" ")}}),this.$container=r("<div>",{class:this._getClass("container")}),this.$on=r("<span>",{html:this.options.onText,class:this._getClass("handle-on")+" "+this._getClass(this.options.onColor)}),this.$off=r("<span>",{html:this.options.offText,class:this._getClass("handle-off")+" "+this._getClass(this.options.offColor)}),this.$label=r("<span>",{html:this.options.labelText,class:this._getClass("label")}),this.$element.on("init.bootstrapSwitch",this.options.onInit.bind(this,i)),this.$element.on("switchChange.bootstrapSwitch",function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];!1===o.options.onSwitchChange.apply(i,e)&&(o.$element.is(":radio")?r('[name="'+o.$element.attr("name")+'"]'):o.$element).trigger("previousState.bootstrapSwitch",!0)}),this.$container=this.$element.wrap(this.$container).parent(),this.$wrapper=this.$container.wrap(this.$wrapper).parent(),this.$element.before(this.options.inverse?this.$off:this.$on).before(this.$label).before(this.options.inverse?this.$on:this.$off),this.options.indeterminate&&this.$element.prop("indeterminate",!0),this._init(),this._elementHandlers(),this._handleHandlers(),this._labelHandlers(),this._formHandler(),this._externalLabelHandler(),this.$element.trigger("init.bootstrapSwitch",this.options.state)}r.fn.bootstrapSwitch=function(o){for(var t=arguments.length,s=Array(1<t?t-1:0),e=1;e<t;e++)s[e-1]=arguments[e];return Array.prototype.reduce.call(this,function(t,e){var n=r(e),i=n.data("bootstrap-switch"),e=i||new a(e,o);return i||n.data("bootstrap-switch",e),"string"==typeof o?e[o].apply(e,s):t},this)},r.fn.bootstrapSwitch.Constructor=a,r.fn.bootstrapSwitch.defaults={state:!0,size:null,animate:!0,disabled:!1,readonly:!1,indeterminate:!1,inverse:!1,radioAllOff:!1,onColor:"primary",offColor:"default",onText:"ON",offText:"OFF",labelText:" ",handleWidth:"auto",labelWidth:"auto",baseClass:"bootstrap-switch",wrapperClass:"wrapper",onInit:function(){},onSwitchChange:function(){}}}),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.moment=e()}(this,function(){"use strict";var R;function p(){return R.apply(null,arguments)}function h(t){return t instanceof Array||"[object Array]"===Object.prototype.toString.call(t)}function N(t){return null!=t&&"[object Object]"===Object.prototype.toString.call(t)}function F(t){return"number"==typeof t||"[object Number]"===Object.prototype.toString.call(t)}function j(t){return t instanceof Date||"[object Date]"===Object.prototype.toString.call(t)}function z(t,e){for(var n=[],i=0;i<t.length;++i)n.push(e(t[i],i));return n}function c(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function f(t,e){for(var n in e)c(e,n)&&(t[n]=e[n]);return c(e,"toString")&&(t.toString=e.toString),c(e,"valueOf")&&(t.valueOf=e.valueOf),t}function d(t,e,n,i){return Se(t,e,n,i,!0).utc()}function g(t){return null==t._pf&&(t._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}),t._pf}var H=Array.prototype.some||function(t){for(var e=Object(this),n=e.length>>>0,i=0;i<n;i++)if(i in e&&t.call(this,e[i],i,e))return!0;return!1};function B(t){if(null==t._isValid){var e=g(t),n=H.call(e.parsedDateParts,function(t){return null!=t}),n=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidMonth&&!e.invalidWeekday&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&n);if(t._strict&&(n=n&&0===e.charsLeftOver&&0===e.unusedTokens.length&&void 0===e.bigHour),null!=Object.isFrozen&&Object.isFrozen(t))return n;t._isValid=n}return t._isValid}function W(t){var e=d(NaN);return null!=t?f(g(e),t):g(e).userInvalidated=!0,e}function s(t){return void 0===t}var U=p.momentProperties=[];function q(t,e){var n,i,o;if(s(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),s(e._i)||(t._i=e._i),s(e._f)||(t._f=e._f),s(e._l)||(t._l=e._l),s(e._strict)||(t._strict=e._strict),s(e._tzm)||(t._tzm=e._tzm),s(e._isUTC)||(t._isUTC=e._isUTC),s(e._offset)||(t._offset=e._offset),s(e._pf)||(t._pf=g(e)),s(e._locale)||(t._locale=e._locale),0<U.length)for(n in U)s(o=e[i=U[n]])||(t[i]=o);return t}var Y=!1;function V(t){q(this,t),this._d=new Date(null!=t._d?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===Y&&(Y=!0,p.updateOffset(this),Y=!1)}function m(t){return t instanceof V||null!=t&&null!=t._isAMomentObject}function a(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function l(t){var t=+t,e=0;return e=0!=t&&isFinite(t)?a(t):e}function G(t,e,n){for(var i=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),s=0,r=0;r<i;r++)(n&&t[r]!==e[r]||!n&&l(t[r])!==l(e[r]))&&s++;return s+o}function Q(t){!1===p.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}function t(o,s){var r=!0;return f(function(){if(null!=p.deprecationHandler&&p.deprecationHandler(null,o),r){for(var t,e=[],n=0;n<arguments.length;n++){if(t="","object"==typeof arguments[n]){for(var i in t+="\n["+n+"] ",arguments[0])t+=i+": "+arguments[0][i]+", ";t=t.slice(0,-2)}else t=arguments[n];e.push(t)}Q(o+"\nArguments: "+Array.prototype.slice.call(e).join("")+"\n"+(new Error).stack),r=!1}return s.apply(this,arguments)},s)}var K={};function J(t,e){null!=p.deprecationHandler&&p.deprecationHandler(t,e),K[t]||(Q(e),K[t]=!0)}function r(t){return t instanceof Function||"[object Function]"===Object.prototype.toString.call(t)}function X(t,e){var n,i=f({},t);for(n in e)c(e,n)&&(N(t[n])&&N(e[n])?(i[n]={},f(i[n],t[n]),f(i[n],e[n])):null!=e[n]?i[n]=e[n]:delete i[n]);for(n in t)c(t,n)&&!c(e,n)&&N(t[n])&&(i[n]=f({},i[n]));return i}function Z(t){null!=t&&this.set(t)}p.suppressDeprecationWarnings=!1,p.deprecationHandler=null;var tt=Object.keys||function(t){var e,n=[];for(e in t)c(t,e)&&n.push(e);return n};var et={};function e(t,e){var n=t.toLowerCase();et[n]=et[n+"s"]=et[e]=t}function u(t){return"string"==typeof t?et[t]||et[t.toLowerCase()]:void 0}function nt(t){var e,n,i={};for(n in t)c(t,n)&&(e=u(n))&&(i[e]=t[n]);return i}var it={};function n(t,e){it[t]=e}function ot(e,n){return function(t){return null!=t?(rt(this,e,t),p.updateOffset(this,n),this):st(this,e)}}function st(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function rt(t,e,n){t.isValid()&&t._d["set"+(t._isUTC?"UTC":"")+e](n)}function v(t,e,n){var i=""+Math.abs(t);return(0<=t?n?"+":"":"-")+Math.pow(10,Math.max(0,e-i.length)).toString().substr(1)+i}var at=/(\[[^\[]*\])|(\\)?([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,lt=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,dt={},ut={};function i(t,e,n,i){var o="string"==typeof i?function(){return this[i]()}:i;t&&(ut[t]=o),e&&(ut[e[0]]=function(){return v(o.apply(this,arguments),e[1],e[2])}),n&&(ut[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),t)})}function ht(t,e){return t.isValid()?(e=ct(e,t.localeData()),dt[e]=dt[e]||function(i){for(var t,o=i.match(at),e=0,s=o.length;e<s;e++)ut[o[e]]?o[e]=ut[o[e]]:o[e]=(t=o[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(t){for(var e="",n=0;n<s;n++)e+=o[n]instanceof Function?o[n].call(t,i):o[n];return e}}(e),dt[e](t)):t.localeData().invalidDate()}function ct(t,e){var n=5;function i(t){return e.longDateFormat(t)||t}for(lt.lastIndex=0;0<=n&<.test(t);)t=t.replace(lt,i),lt.lastIndex=0,--n;return t}var pt=/\d/,o=/\d\d/,ft=/\d{3}/,gt=/\d{4}/,y=/[+-]?\d{6}/,b=/\d\d?/,mt=/\d\d\d\d?/,vt=/\d\d\d\d\d\d?/,yt=/\d{1,3}/,bt=/\d{1,4}/,$=/[+-]?\d{1,6}/,$t=/\d+/,wt=/[+-]?\d+/,xt=/Z|[+-]\d\d:?\d\d/gi,_t=/Z|[+-]\d\d(?::?\d\d)?/gi,w=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Ct={};function x(t,n,i){Ct[t]=r(n)?n:function(t,e){return t&&i?i:n}}function St(t,e){return c(Ct,t)?Ct[t](e._strict,e._locale):new RegExp(kt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,n,i,o){return e||n||i||o})))}function kt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Dt={};function _(t,n){var e,i=n;for("string"==typeof t&&(t=[t]),F(n)&&(i=function(t,e){e[n]=l(t)}),e=0;e<t.length;e++)Dt[t[e]]=i}function Tt(t,o){_(t,function(t,e,n,i){n._w=n._w||{},o(t,n._w,n,i)})}var C=0,S=1,k=2,D=3,T=4,I=5,It=6,At=7,Mt=8,Ot=Array.prototype.indexOf||function(t){for(var e=0;e<this.length;++e)if(this[e]===t)return e;return-1},A=Ot;function Pt(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}i("M",["MM",2],"Mo",function(){return this.month()+1}),i("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),i("MMMM",0,0,function(t){return this.localeData().months(this,t)}),e("month","M"),n("month",8),x("M",b),x("MM",b,o),x("MMM",function(t,e){return e.monthsShortRegex(t)}),x("MMMM",function(t,e){return e.monthsRegex(t)}),_(["M","MM"],function(t,e){e[S]=l(t)-1}),_(["MMM","MMMM"],function(t,e,n,i){i=n._locale.monthsParse(t,i,n._strict);null!=i?e[S]=i:g(n).invalidMonth=t});var Et=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Ot="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var Lt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Rt(t,e){var n;if(t.isValid()){if("string"==typeof e)if(/^\d+$/.test(e))e=l(e);else if(!F(e=t.localeData().monthsParse(e)))return;n=Math.min(t.date(),Pt(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,n)}}function Nt(t){return null!=t?(Rt(this,t),p.updateOffset(this,!0),this):st(this,"Month")}var Ft=w;var jt=w;function zt(){function t(t,e){return e.length-t.length}for(var e,n=[],i=[],o=[],s=0;s<12;s++)e=d([2e3,s]),n.push(this.monthsShort(e,"")),i.push(this.months(e,"")),o.push(this.months(e,"")),o.push(this.monthsShort(e,""));for(n.sort(t),i.sort(t),o.sort(t),s=0;s<12;s++)n[s]=kt(n[s]),i[s]=kt(i[s]);for(s=0;s<24;s++)o[s]=kt(o[s]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function Ht(t){return Bt(t)?366:365}function Bt(t){return t%4==0&&t%100!=0||t%400==0}i("Y",0,0,function(){var t=this.year();return t<=9999?""+t:"+"+t}),i(0,["YY",2],0,function(){return this.year()%100}),i(0,["YYYY",4],0,"year"),i(0,["YYYYY",5],0,"year"),i(0,["YYYYYY",6,!0],0,"year"),e("year","y"),n("year",1),x("Y",wt),x("YY",b,o),x("YYYY",bt,gt),x("YYYYY",$,y),x("YYYYYY",$,y),_(["YYYYY","YYYYYY"],C),_("YYYY",function(t,e){e[C]=2===t.length?p.parseTwoDigitYear(t):l(t)}),_("YY",function(t,e){e[C]=p.parseTwoDigitYear(t)}),_("Y",function(t,e){e[C]=parseInt(t,10)}),p.parseTwoDigitYear=function(t){return l(t)+(68<l(t)?1900:2e3)};var Wt=ot("FullYear",!0);function Ut(t,e,n,i,o,s,r){e=new Date(t,e,n,i,o,s,r);return t<100&&0<=t&&isFinite(e.getFullYear())&&e.setFullYear(t),e}function qt(t){var e=new Date(Date.UTC.apply(null,arguments));return t<100&&0<=t&&isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t),e}function Yt(t,e,n){n=7+e-n;return n-(7+qt(t,0,n).getUTCDay()-e)%7-1}function Vt(t,e,n,i,o){var s,e=1+7*(e-1)+(7+n-i)%7+Yt(t,i,o),n=e<=0?Ht(s=t-1)+e:e>Ht(t)?(s=t+1,e-Ht(t)):(s=t,e);return{year:s,dayOfYear:n}}function Gt(t,e,n){var i,o,s=Yt(t.year(),e,n),s=Math.floor((t.dayOfYear()-s-1)/7)+1;return s<1?i=s+Qt(o=t.year()-1,e,n):s>Qt(t.year(),e,n)?(i=s-Qt(t.year(),e,n),o=t.year()+1):(o=t.year(),i=s),{week:i,year:o}}function Qt(t,e,n){var i=Yt(t,e,n),e=Yt(t+1,e,n);return(Ht(t)-i+e)/7}i("w",["ww",2],"wo","week"),i("W",["WW",2],"Wo","isoWeek"),e("week","w"),e("isoWeek","W"),n("week",5),n("isoWeek",5),x("w",b),x("ww",b,o),x("W",b),x("WW",b,o),Tt(["w","ww","W","WW"],function(t,e,n,i){e[i.substr(0,1)]=l(t)});i("d",0,"do","day"),i("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),i("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),i("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),i("e",0,0,"weekday"),i("E",0,0,"isoWeekday"),e("day","d"),e("weekday","e"),e("isoWeekday","E"),n("day",11),n("weekday",11),n("isoWeekday",11),x("d",b),x("e",b),x("E",b),x("dd",function(t,e){return e.weekdaysMinRegex(t)}),x("ddd",function(t,e){return e.weekdaysShortRegex(t)}),x("dddd",function(t,e){return e.weekdaysRegex(t)}),Tt(["dd","ddd","dddd"],function(t,e,n,i){i=n._locale.weekdaysParse(t,i,n._strict);null!=i?e.d=i:g(n).invalidWeekday=t}),Tt(["d","e","E"],function(t,e,n,i){e[i]=l(t)});var Kt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Jt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var Xt="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Zt=w;var te=w;var ee=w;function ne(){function t(t,e){return e.length-t.length}for(var e,n,i,o=[],s=[],r=[],a=[],l=0;l<7;l++)i=d([2e3,1]).day(l),e=this.weekdaysMin(i,""),n=this.weekdaysShort(i,""),i=this.weekdays(i,""),o.push(e),s.push(n),r.push(i),a.push(e),a.push(n),a.push(i);for(o.sort(t),s.sort(t),r.sort(t),a.sort(t),l=0;l<7;l++)s[l]=kt(s[l]),r[l]=kt(r[l]),a[l]=kt(a[l]);this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function ie(){return this.hours()%12||12}function oe(t,e){i(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}function se(t,e){return e._meridiemParse}i("H",["HH",2],0,"hour"),i("h",["hh",2],0,ie),i("k",["kk",2],0,function(){return this.hours()||24}),i("hmm",0,0,function(){return""+ie.apply(this)+v(this.minutes(),2)}),i("hmmss",0,0,function(){return""+ie.apply(this)+v(this.minutes(),2)+v(this.seconds(),2)}),i("Hmm",0,0,function(){return""+this.hours()+v(this.minutes(),2)}),i("Hmmss",0,0,function(){return""+this.hours()+v(this.minutes(),2)+v(this.seconds(),2)}),oe("a",!0),oe("A",!1),e("hour","h"),n("hour",13),x("a",se),x("A",se),x("H",b),x("h",b),x("HH",b,o),x("hh",b,o),x("hmm",mt),x("hmmss",vt),x("Hmm",mt),x("Hmmss",vt),_(["H","HH"],D),_(["a","A"],function(t,e,n){n._isPm=n._locale.isPM(t),n._meridiem=t}),_(["h","hh"],function(t,e,n){e[D]=l(t),g(n).bigHour=!0}),_("hmm",function(t,e,n){var i=t.length-2;e[D]=l(t.substr(0,i)),e[T]=l(t.substr(i)),g(n).bigHour=!0}),_("hmmss",function(t,e,n){var i=t.length-4,o=t.length-2;e[D]=l(t.substr(0,i)),e[T]=l(t.substr(i,2)),e[I]=l(t.substr(o)),g(n).bigHour=!0}),_("Hmm",function(t,e,n){var i=t.length-2;e[D]=l(t.substr(0,i)),e[T]=l(t.substr(i))}),_("Hmmss",function(t,e,n){var i=t.length-4,o=t.length-2;e[D]=l(t.substr(0,i)),e[T]=l(t.substr(i,2)),e[I]=l(t.substr(o))});var re,w=ot("Hours",!0),ae={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},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"},invalidDate:"Invalid date",ordinal:"%d",ordinalParse:/\d{1,2}/,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"},months:Ot,monthsShort:Lt,week:{dow:0,doy:6},weekdays:Kt,weekdaysMin:Xt,weekdaysShort:Jt,meridiemParse:/[ap]\.?m?\.?/i},M={},le={};function de(t){return t&&t.toLowerCase().replace("_","-")}function ue(t){var e;if(!M[t]&&"undefined"!=typeof module&&module&&module.exports)try{e=re._abbr,require("./locale/"+t),he(e)}catch(t){}return M[t]}function he(t,e){return(re=t&&(t=s(e)?O(t):ce(t,e))?t:re)._abbr}function ce(t,e){if(null===e)return delete M[t],null;var n=ae;if(e.abbr=t,null!=M[t])J("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=M[t]._config;else if(null!=e.parentLocale){if(null==M[e.parentLocale])return le[e.parentLocale]||(le[e.parentLocale]=[]),le[e.parentLocale].push({name:t,config:e}),null;n=M[e.parentLocale]._config}return M[t]=new Z(X(n,e)),le[t]&&le[t].forEach(function(t){ce(t.name,t.config)}),he(t),M[t]}function O(t){var e;if(!(t=t&&t._locale&&t._locale._abbr?t._locale._abbr:t))return re;if(!h(t)){if(e=ue(t))return e;t=[t]}for(var n,i,o,s,r=t,a=0;a<r.length;){for(n=(s=de(r[a]).split("-")).length,i=(i=de(r[a+1]))?i.split("-"):null;0<n;){if(o=ue(s.slice(0,n).join("-")))return o;if(i&&i.length>=n&&G(s,i,!0)>=n-1)break;n--}a++}return null}function pe(t){var e=t._a;return e&&-2===g(t).overflow&&(e=e[S]<0||11<e[S]?S:e[k]<1||e[k]>Pt(e[C],e[S])?k:e[D]<0||24<e[D]||24===e[D]&&(0!==e[T]||0!==e[I]||0!==e[It])?D:e[T]<0||59<e[T]?T:e[I]<0||59<e[I]?I:e[It]<0||999<e[It]?It:-1,g(t)._overflowDayOfYear&&(e<C||k<e)&&(e=k),g(t)._overflowWeeks&&-1===e&&(e=At),g(t)._overflowWeekday&&-1===e&&(e=Mt),g(t).overflow=e),t}var fe=/^\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)?)?$/,ge=/^\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)?)?$/,me=/Z|[+-]\d\d(?::?\d\d)?/,ve=[["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}/]],ye=[["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/]],be=/^\/?Date\((\-?\d+)/i;function $e(t){var e,n,i,o,s,r,a=t._i,l=fe.exec(a)||ge.exec(a);if(l){for(g(t).iso=!0,e=0,n=ve.length;e<n;e++)if(ve[e][1].exec(l[1])){o=ve[e][0],i=!1!==ve[e][2];break}if(null==o)t._isValid=!1;else{if(l[3]){for(e=0,n=ye.length;e<n;e++)if(ye[e][1].exec(l[3])){s=(l[2]||" ")+ye[e][0];break}if(null==s)return void(t._isValid=!1)}if(i||null==s){if(l[4]){if(!me.exec(l[4]))return void(t._isValid=!1);r="Z"}t._f=o+(s||"")+(r||""),_e(t)}else t._isValid=!1}}else t._isValid=!1}function we(t,e,n){return null!=t?t:null!=e?e:n}function xe(t){var e,n,i,o,s,r,a,l,d,u,h,c=[];if(!t._d){for(i=t,o=new Date(p.now()),n=i._useUTC?[o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()]:[o.getFullYear(),o.getMonth(),o.getDate()],t._w&&null==t._a[k]&&null==t._a[S]&&(null!=(o=(i=t)._w).GG||null!=o.W||null!=o.E?(l=1,d=4,s=we(o.GG,i._a[C],Gt(P(),1,4).year),r=we(o.W,1),((a=we(o.E,1))<1||7<a)&&(u=!0)):(l=i._locale._week.dow,d=i._locale._week.doy,h=Gt(P(),l,d),s=we(o.gg,i._a[C],h.year),r=we(o.w,h.week),null!=o.d?((a=o.d)<0||6<a)&&(u=!0):null!=o.e?(a=o.e+l,(o.e<0||6<o.e)&&(u=!0)):a=l),r<1||r>Qt(s,l,d)?g(i)._overflowWeeks=!0:null!=u?g(i)._overflowWeekday=!0:(h=Vt(s,r,a,l,d),i._a[C]=h.year,i._dayOfYear=h.dayOfYear)),t._dayOfYear&&(o=we(t._a[C],n[C]),t._dayOfYear>Ht(o)&&(g(t)._overflowDayOfYear=!0),u=qt(o,0,t._dayOfYear),t._a[S]=u.getUTCMonth(),t._a[k]=u.getUTCDate()),e=0;e<3&&null==t._a[e];++e)t._a[e]=c[e]=n[e];for(;e<7;e++)t._a[e]=c[e]=null==t._a[e]?2===e?1:0:t._a[e];24===t._a[D]&&0===t._a[T]&&0===t._a[I]&&0===t._a[It]&&(t._nextDay=!0,t._a[D]=0),t._d=(t._useUTC?qt:Ut).apply(null,c),null!=t._tzm&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[D]=24)}}function _e(t){if(t._f===p.ISO_8601)$e(t);else{t._a=[],g(t).empty=!0;for(var e,n,i,o,s,r=""+t._i,a=r.length,l=0,d=ct(t._f,t._locale).match(at)||[],u=0;u<d.length;u++)n=d[u],(e=(r.match(St(n,t))||[])[0])&&(0<(i=r.substr(0,r.indexOf(e))).length&&g(t).unusedInput.push(i),r=r.slice(r.indexOf(e)+e.length),l+=e.length),ut[n]?(e?g(t).empty=!1:g(t).unusedTokens.push(n),i=n,s=t,null!=(o=e)&&c(Dt,i)&&Dt[i](o,s._a,s,i)):t._strict&&!e&&g(t).unusedTokens.push(n);g(t).charsLeftOver=a-l,0<r.length&&g(t).unusedInput.push(r),t._a[D]<=12&&!0===g(t).bigHour&&0<t._a[D]&&(g(t).bigHour=void 0),g(t).parsedDateParts=t._a.slice(0),g(t).meridiem=t._meridiem,t._a[D]=function(t,e,n){if(null==n)return e;return null!=t.meridiemHour?t.meridiemHour(e,n):null!=t.isPM?((t=t.isPM(n))&&e<12&&(e+=12),e=t||12!==e?e:0):e}(t._locale,t._a[D],t._meridiem),xe(t),pe(t)}}function Ce(t){var e,n,i=t._i,o=t._f;if(t._locale=t._locale||O(t._l),null===i||void 0===o&&""===i)return W({nullInput:!0});if("string"==typeof i&&(t._i=i=t._locale.preparse(i)),m(i))return new V(pe(i));if(j(i))t._d=i;else if(h(o)){var s,r,a,l,d,u=t;if(0===u._f.length)g(u).invalidFormat=!0,u._d=new Date(NaN);else{for(l=0;l<u._f.length;l++)d=0,s=q({},u),null!=u._useUTC&&(s._useUTC=u._useUTC),s._f=u._f[l],_e(s),B(s)&&(d=(d+=g(s).charsLeftOver)+10*g(s).unusedTokens.length,g(s).score=d,null==a||d<a)&&(a=d,r=s);f(u,r||s)}}else if(o)_e(t);else if(void 0===(o=(i=t)._i))i._d=new Date(p.now());else j(o)?i._d=new Date(o.valueOf()):"string"==typeof o?(n=i,null!==(e=be.exec(n._i))?n._d=new Date(+e[1]):($e(n),!1===n._isValid&&(delete n._isValid,p.createFromInputFallback(n)))):h(o)?(i._a=z(o.slice(0),function(t){return parseInt(t,10)}),xe(i)):"object"==typeof o?(e=i)._d||(n=nt(e._i),e._a=z([n.year,n.month,n.day||n.date,n.hour,n.minute,n.second,n.millisecond],function(t){return t&&parseInt(t,10)}),xe(e)):F(o)?i._d=new Date(o):p.createFromInputFallback(i);return B(t)||(t._d=null),t}function Se(t,e,n,i,o){var s={};return!0!==n&&!1!==n||(i=n,n=void 0),(N(t)&&function(t){for(var e in t)return;return 1}(t)||h(t)&&0===t.length)&&(t=void 0),s._isAMomentObject=!0,s._useUTC=s._isUTC=o,s._l=n,s._i=t,s._f=e,s._strict=i,(o=new V(pe(Ce(o=s))))._nextDay&&(o.add(1,"d"),o._nextDay=void 0),o}function P(t,e,n,i){return Se(t,e,n,i,!1)}p.createFromInputFallback=t("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))}),p.ISO_8601=function(){};mt=t("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=P.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:W()}),vt=t("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=P.apply(null,arguments);return this.isValid()&&t.isValid()?this<t?this:t:W()});function ke(t,e){var n,i;if(!(e=1===e.length&&h(e[0])?e[0]:e).length)return P();for(n=e[0],i=1;i<e.length;++i)e[i].isValid()&&!e[i][t](n)||(n=e[i]);return n}function De(t){var t=nt(t),e=t.year||0,n=t.quarter||0,i=t.month||0,o=t.week||0,s=t.day||0,r=t.hour||0,a=t.minute||0,l=t.second||0,t=t.millisecond||0;this._milliseconds=+t+1e3*l+6e4*a+1e3*r*60*60,this._days=+s+7*o,this._months=+i+3*n+12*e,this._data={},this._locale=O(),this._bubble()}function Te(t){return t instanceof De}function Ie(t){return t<0?-1*Math.round(-1*t):Math.round(t)}function Ae(t,n){i(t,0,0,function(){var t=this.utcOffset(),e="+";return t<0&&(t=-t,e="-"),e+v(~~(t/60),2)+n+v(~~t%60,2)})}Ae("Z",":"),Ae("ZZ",""),x("Z",_t),x("ZZ",_t),_(["Z","ZZ"],function(t,e,n){n._useUTC=!0,n._tzm=Oe(_t,t)});var Me=/([\+\-]|\d\d)/gi;function Oe(t,e){var e=(e||"").match(t);return null===e?null:0===(e=60*(t=((e[e.length-1]||[])+"").match(Me)||["-",0,0])[1]+l(t[2]))?0:"+"===t[0]?e:-e}function Pe(t,e){var n;return e._isUTC?(e=e.clone(),n=(m(t)||j(t)?t:P(t)).valueOf()-e.valueOf(),e._d.setTime(e._d.valueOf()+n),p.updateOffset(e,!1),e):P(t).local()}function Ee(t){return 15*-Math.round(t._d.getTimezoneOffset()/15)}function Le(){return!!this.isValid()&&this._isUTC&&0===this._offset}p.updateOffset=function(){};var Re=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ne=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;function Fe(t,e){var n,i=t;return Te(t)?i={ms:t._milliseconds,d:t._days,M:t._months}:F(t)?(i={},e?i[e]=t:i.milliseconds=t):(e=Re.exec(t))?(n="-"===e[1]?-1:1,i={y:0,d:l(e[k])*n,h:l(e[D])*n,m:l(e[T])*n,s:l(e[I])*n,ms:l(Ie(1e3*e[It]))*n}):(e=Ne.exec(t))?(n="-"===e[1]?-1:1,i={y:je(e[2],n),M:je(e[3],n),w:je(e[4],n),d:je(e[5],n),h:je(e[6],n),m:je(e[7],n),s:je(e[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(e=function(t,e){var n;if(!t.isValid()||!e.isValid())return{milliseconds:0,months:0};e=Pe(e,t),t.isBefore(e)?n=ze(t,e):((n=ze(e,t)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(P(i.from),P(i.to)),(i={}).ms=e.milliseconds,i.M=e.months),n=new De(i),Te(t)&&c(t,"_locale")&&(n._locale=t._locale),n}function je(t,e){t=t&&parseFloat(t.replace(",","."));return(isNaN(t)?0:t)*e}function ze(t,e){var n={milliseconds:0,months:0};return n.months=e.month()-t.month()+12*(e.year()-t.year()),t.clone().add(n.months,"M").isAfter(e)&&--n.months,n.milliseconds=+e-+t.clone().add(n.months,"M"),n}function He(i,o){return function(t,e){var n;return null===e||isNaN(+e)||(J(o,"moment()."+o+"(period, number) is deprecated. Please use moment()."+o+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=t,t=e,e=n),Be(this,Fe(t="string"==typeof t?+t:t,e),i),this}}function Be(t,e,n,i){var o=e._milliseconds,s=Ie(e._days),e=Ie(e._months);t.isValid()&&(i=null==i||i,o&&t._d.setTime(t._d.valueOf()+o*n),s&&rt(t,"Date",st(t,"Date")+s*n),e&&Rt(t,st(t,"Month")+e*n),i)&&p.updateOffset(t,s||e)}Fe.fn=De.prototype;Ot=He(1,"add"),Lt=He(-1,"subtract");function We(t){return void 0===t?this._locale._abbr:(null!=(t=O(t))&&(this._locale=t),this)}p.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",p.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";Kt=t("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return void 0===t?this.localeData():this.locale(t)});function Ue(){return this._locale}function qe(t,e){i(0,[t,t.length],0,e)}function Ye(t,e,n,i,o){var s;return null==t?Gt(this,i,o).year:(s=Qt(t,i,o),function(t,e,n,i,o){t=Vt(t,e,n,i,o),e=qt(t.year,0,t.dayOfYear);return this.year(e.getUTCFullYear()),this.month(e.getUTCMonth()),this.date(e.getUTCDate()),this}.call(this,t,e=s<e?s:e,n,i,o))}i(0,["gg",2],0,function(){return this.weekYear()%100}),i(0,["GG",2],0,function(){return this.isoWeekYear()%100}),qe("gggg","weekYear"),qe("ggggg","weekYear"),qe("GGGG","isoWeekYear"),qe("GGGGG","isoWeekYear"),e("weekYear","gg"),e("isoWeekYear","GG"),n("weekYear",1),n("isoWeekYear",1),x("G",wt),x("g",wt),x("GG",b,o),x("gg",b,o),x("GGGG",bt,gt),x("gggg",bt,gt),x("GGGGG",$,y),x("ggggg",$,y),Tt(["gggg","ggggg","GGGG","GGGGG"],function(t,e,n,i){e[i.substr(0,2)]=l(t)}),Tt(["gg","GG"],function(t,e,n,i){e[i]=p.parseTwoDigitYear(t)}),i("Q",0,"Qo","quarter"),e("quarter","Q"),n("quarter",7),x("Q",pt),_("Q",function(t,e){e[S]=3*(l(t)-1)}),i("D",["DD",2],"Do","date"),e("date","D"),n("date",9),x("D",b),x("DD",b,o),x("Do",function(t,e){return t?e._ordinalParse:e._ordinalParseLenient}),_(["D","DD"],k),_("Do",function(t,e){e[k]=l(t.match(b)[0])});Xt=ot("Date",!0);i("DDD",["DDDD",3],"DDDo","dayOfYear"),e("dayOfYear","DDD"),n("dayOfYear",4),x("DDD",yt),x("DDDD",ft),_(["DDD","DDDD"],function(t,e,n){n._dayOfYear=l(t)}),i("m",["mm",2],0,"minute"),e("minute","m"),n("minute",14),x("m",b),x("mm",b,o),_(["m","mm"],T);var Ve,Jt=ot("Minutes",!1),bt=(i("s",["ss",2],0,"second"),e("second","s"),n("second",15),x("s",b),x("ss",b,o),_(["s","ss"],I),ot("Seconds",!1));for(i("S",0,0,function(){return~~(this.millisecond()/100)}),i(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),i(0,["SSS",3],0,"millisecond"),i(0,["SSSS",4],0,function(){return 10*this.millisecond()}),i(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),i(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),i(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),i(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),i(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),e("millisecond","ms"),n("millisecond",16),x("S",yt,pt),x("SS",yt,o),x("SSS",yt,ft),Ve="SSSS";Ve.length<=9;Ve+="S")x(Ve,$t);function Ge(t,e){e[It]=l(1e3*("0."+t))}for(Ve="S";Ve.length<=9;Ve+="S")_(Ve,Ge);gt=ot("Milliseconds",!1);i("z",0,0,"zoneAbbr"),i("zz",0,0,"zoneName");$=V.prototype;function Qe(t){return t}$.add=Ot,$.calendar=function(t,e){var n=Pe(t=t||P(),this).startOf("day"),n=p.calendarFormat(this,n)||"sameElse",e=e&&(r(e[n])?e[n].call(this,t):e[n]);return this.format(e||this.localeData().calendar(n,this,P(t)))},$.clone=function(){return new V(this)},$.diff=function(t,e,n){var i,o;return this.isValid()&&(t=Pe(t,this)).isValid()?(i=6e4*(t.utcOffset()-this.utcOffset()),"year"===(e=u(e))||"month"===e||"quarter"===e?(o=function(t,e){var n,i=12*(e.year()-t.year())+(e.month()-t.month()),o=t.clone().add(i,"months");t=e-o<0?(n=t.clone().add(i-1,"months"),(e-o)/(o-n)):(n=t.clone().add(1+i,"months"),(e-o)/(n-o));return-(i+t)||0}(this,t),"quarter"===e?o/=3:"year"===e&&(o/=12)):(t=this-t,o="second"===e?t/1e3:"minute"===e?t/6e4:"hour"===e?t/36e5:"day"===e?(t-i)/864e5:"week"===e?(t-i)/6048e5:t),n?o:a(o)):NaN},$.endOf=function(t){return void 0===(t=u(t))||"millisecond"===t?this:this.startOf(t="date"===t?"day":t).add(1,"isoWeek"===t?"week":t).subtract(1,"ms")},$.format=function(t){return t=t||(this.isUtc()?p.defaultFormatUtc:p.defaultFormat),t=ht(this,t),this.localeData().postformat(t)},$.from=function(t,e){return this.isValid()&&(m(t)&&t.isValid()||P(t).isValid())?Fe({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},$.fromNow=function(t){return this.from(P(),t)},$.to=function(t,e){return this.isValid()&&(m(t)&&t.isValid()||P(t).isValid())?Fe({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()},$.toNow=function(t){return this.to(P(),t)},$.get=function(t){return r(this[t=u(t)])?this[t]():this},$.invalidAt=function(){return g(this).overflow},$.isAfter=function(t,e){return t=m(t)?t:P(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=u(s(e)?"millisecond":e))?this.valueOf()>t.valueOf():t.valueOf()<this.clone().startOf(e).valueOf())},$.isBefore=function(t,e){return t=m(t)?t:P(t),!(!this.isValid()||!t.isValid())&&("millisecond"===(e=u(s(e)?"millisecond":e))?this.valueOf()<t.valueOf():this.clone().endOf(e).valueOf()<t.valueOf())},$.isBetween=function(t,e,n,i){return("("===(i=i||"()")[0]?this.isAfter(t,n):!this.isBefore(t,n))&&(")"===i[1]?this.isBefore(e,n):!this.isAfter(e,n))},$.isSame=function(t,e){var t=m(t)?t:P(t);return!(!this.isValid()||!t.isValid())&&("millisecond"===(e=u(e||"millisecond"))?this.valueOf()===t.valueOf():(t=t.valueOf(),this.clone().startOf(e).valueOf()<=t&&t<=this.clone().endOf(e).valueOf()))},$.isSameOrAfter=function(t,e){return this.isSame(t,e)||this.isAfter(t,e)},$.isSameOrBefore=function(t,e){return this.isSame(t,e)||this.isBefore(t,e)},$.isValid=function(){return B(this)},$.lang=Kt,$.locale=We,$.localeData=Ue,$.max=vt,$.min=mt,$.parsingFlags=function(){return f({},g(this))},$.set=function(t,e){if("object"==typeof t)for(var n=function(t){var e,n=[];for(e in t)n.push({unit:e,priority:it[e]});return n.sort(function(t,e){return t.priority-e.priority}),n}(t=nt(t)),i=0;i<n.length;i++)this[n[i].unit](t[n[i].unit]);else if(r(this[t=u(t)]))return this[t](e);return this},$.startOf=function(t){switch(t=u(t)){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"===t&&this.weekday(0),"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},$.subtract=Lt,$.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},$.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},$.toDate=function(){return new Date(this.valueOf())},$.toISOString=function(){var t=this.clone().utc();return 0<t.year()&&t.year()<=9999?r(Date.prototype.toISOString)?this.toDate().toISOString():ht(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):ht(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},$.inspect=function(){var t,e,n;return this.isValid()?(e="moment",t="",this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z"),e="["+e+'("]',n=0<this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(e+n+"-MM-DD[T]HH:mm:ss.SSS"+(t+'[")]'))):"moment.invalid(/* "+this._i+" */)"},$.toJSON=function(){return this.isValid()?this.toISOString():null},$.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},$.unix=function(){return Math.floor(this.valueOf()/1e3)},$.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},$.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},$.year=Wt,$.isLeapYear=function(){return Bt(this.year())},$.weekYear=function(t){return Ye.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},$.isoWeekYear=function(t){return Ye.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)},$.quarter=$.quarters=function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},$.month=Nt,$.daysInMonth=function(){return Pt(this.year(),this.month())},$.week=$.weeks=function(t){var e=this.localeData().week(this);return null==t?e:this.add(7*(t-e),"d")},$.isoWeek=$.isoWeeks=function(t){var e=Gt(this,1,4).week;return null==t?e:this.add(7*(t-e),"d")},$.weeksInYear=function(){var t=this.localeData()._week;return Qt(this.year(),t.dow,t.doy)},$.isoWeeksInYear=function(){return Qt(this.year(),1,4)},$.date=Xt,$.day=$.days=function(t){var e,n,i;return this.isValid()?(e=this._isUTC?this._d.getUTCDay():this._d.getDay(),null!=t?(n=t,i=this.localeData(),t="string"!=typeof n?n:isNaN(n)?"number"==typeof(n=i.weekdaysParse(n))?n:null:parseInt(n,10),this.add(t-e,"d")):e):null!=t?this:NaN},$.weekday=function(t){var e;return this.isValid()?(e=(this.day()+7-this.localeData()._week.dow)%7,null==t?e:this.add(t-e,"d")):null!=t?this:NaN},$.isoWeekday=function(t){var e,n;return this.isValid()?null!=t?(e=t,n=this.localeData(),n="string"==typeof e?n.weekdaysParse(e)%7||7:isNaN(e)?null:e,this.day(this.day()%7?n:n-7)):this.day()||7:null!=t?this:NaN},$.dayOfYear=function(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==t?e:this.add(t-e,"d")},$.hour=$.hours=w,$.minute=$.minutes=Jt,$.second=$.seconds=bt,$.millisecond=$.milliseconds=gt,$.utcOffset=function(t,e){var n,i=this._offset||0;if(!this.isValid())return null!=t?this:NaN;if(null==t)return this._isUTC?i:Ee(this);if("string"==typeof t){if(null===(t=Oe(_t,t)))return this}else Math.abs(t)<16&&(t*=60);return!this._isUTC&&e&&(n=Ee(this)),this._offset=t,this._isUTC=!0,null!=n&&this.add(n,"m"),i!==t&&(!e||this._changeInProgress?Be(this,Fe(t-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,p.updateOffset(this,!0),this._changeInProgress=null)),this},$.utc=function(t){return this.utcOffset(0,t)},$.local=function(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t)&&this.subtract(Ee(this),"m"),this},$.parseZone=function(){var t;return null!=this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&(null!=(t=Oe(xt,this._i))?this.utcOffset(t):this.utcOffset(0,!0)),this},$.hasAlignedHourOffset=function(t){return!!this.isValid()&&(t=t?P(t).utcOffset():0,(this.utcOffset()-t)%60==0)},$.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},$.isLocal=function(){return!!this.isValid()&&!this._isUTC},$.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},$.isUtc=Le,$.isUTC=Le,$.zoneAbbr=function(){return this._isUTC?"UTC":""},$.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},$.dates=t("dates accessor is deprecated. Use date instead.",Xt),$.months=t("months accessor is deprecated. Use month instead",Nt),$.years=t("years accessor is deprecated. Use year instead",Wt),$.zone=t("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(t,e){return null!=t?(this.utcOffset(t="string"!=typeof t?-t:t,e),this):-this.utcOffset()}),$.isDSTShifted=t("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){var t,e;return s(this._isDSTShifted)&&(q(t={},this),(t=Ce(t))._a?(e=(t._isUTC?d:P)(t._a),this._isDSTShifted=this.isValid()&&0<G(t._a,e.toArray())):this._isDSTShifted=!1),this._isDSTShifted});y=Z.prototype;function Ke(t,e,n,i){var o=O(),i=d().set(i,e);return o[n](i,t)}function Je(t,e,n){if(F(t)&&(e=t,t=void 0),t=t||"",null!=e)return Ke(t,e,n,"month");for(var i=[],o=0;o<12;o++)i[o]=Ke(t,o,n,"month");return i}function Xe(t,e,n,i){e=("boolean"==typeof t?F(e)&&(n=e,e=void 0):(e=t,t=!1,F(n=e)&&(n=e,e=void 0)),e||"");var o=O(),s=t?o._week.dow:0;if(null!=n)return Ke(e,(n+s)%7,i,"day");for(var r=[],a=0;a<7;a++)r[a]=Ke(e,(a+s)%7,i,"day");return r}y.calendar=function(t,e,n){return r(t=this._calendar[t]||this._calendar.sameElse)?t.call(e,n):t},y.longDateFormat=function(t){var e=this._longDateFormat[t],n=this._longDateFormat[t.toUpperCase()];return e||!n?e:(this._longDateFormat[t]=n.replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t])},y.invalidDate=function(){return this._invalidDate},y.ordinal=function(t){return this._ordinal.replace("%d",t)},y.preparse=Qe,y.postformat=Qe,y.relativeTime=function(t,e,n,i){var o=this._relativeTime[n];return r(o)?o(t,e,n,i):o.replace(/%d/i,t)},y.pastFuture=function(t,e){return r(t=this._relativeTime[0<t?"future":"past"])?t(e):t.replace(/%s/i,e)},y.set=function(t){var e,n;for(n in t)r(e=t[n])?this[n]=e:this["_"+n]=e;this._config=t,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},y.months=function(t,e){return t?(h(this._months)?this._months:this._months[(this._months.isFormat||Et).test(e)?"format":"standalone"])[t.month()]:this._months},y.monthsShort=function(t,e){return t?(h(this._monthsShort)?this._monthsShort:this._monthsShort[Et.test(e)?"format":"standalone"])[t.month()]:this._monthsShort},y.monthsParse=function(t,e,n){var i,o;if(this._monthsParseExact)return function(t,e,n){var i,o,s,t=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)s=d([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(s,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(s,"").toLocaleLowerCase();return n?"MMM"===e?-1!==(o=A.call(this._shortMonthsParse,t))?o:null:-1!==(o=A.call(this._longMonthsParse,t))?o:null:"MMM"===e?-1!==(o=A.call(this._shortMonthsParse,t))||-1!==(o=A.call(this._longMonthsParse,t))?o:null:-1!==(o=A.call(this._longMonthsParse,t))||-1!==(o=A.call(this._shortMonthsParse,t))?o:null}.call(this,t,e,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(o=d([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(o="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[i]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===e&&this._longMonthsParse[i].test(t))return i;if(n&&"MMM"===e&&this._shortMonthsParse[i].test(t))return i;if(!n&&this._monthsParse[i].test(t))return i}},y.monthsRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||zt.call(this),t?this._monthsStrictRegex:this._monthsRegex):(c(this,"_monthsRegex")||(this._monthsRegex=jt),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)},y.monthsShortRegex=function(t){return this._monthsParseExact?(c(this,"_monthsRegex")||zt.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(c(this,"_monthsShortRegex")||(this._monthsShortRegex=Ft),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)},y.week=function(t){return Gt(t,this._week.dow,this._week.doy).week},y.firstDayOfYear=function(){return this._week.doy},y.firstDayOfWeek=function(){return this._week.dow},y.weekdays=function(t,e){return t?(h(this._weekdays)?this._weekdays:this._weekdays[this._weekdays.isFormat.test(e)?"format":"standalone"])[t.day()]:this._weekdays},y.weekdaysMin=function(t){return t?this._weekdaysMin[t.day()]:this._weekdaysMin},y.weekdaysShort=function(t){return t?this._weekdaysShort[t.day()]:this._weekdaysShort},y.weekdaysParse=function(t,e,n){var i,o;if(this._weekdaysParseExact)return function(t,e,n){var i,o,s,t=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)s=d([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(s,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(s,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(s,"").toLocaleLowerCase();return n?"dddd"===e?-1!==(o=A.call(this._weekdaysParse,t))?o:null:"ddd"===e?-1!==(o=A.call(this._shortWeekdaysParse,t))?o:null:-1!==(o=A.call(this._minWeekdaysParse,t))?o:null:"dddd"===e?-1!==(o=A.call(this._weekdaysParse,t))||-1!==(o=A.call(this._shortWeekdaysParse,t))||-1!==(o=A.call(this._minWeekdaysParse,t))?o:null:"ddd"===e?-1!==(o=A.call(this._shortWeekdaysParse,t))||-1!==(o=A.call(this._weekdaysParse,t))||-1!==(o=A.call(this._minWeekdaysParse,t))?o:null:-1!==(o=A.call(this._minWeekdaysParse,t))||-1!==(o=A.call(this._weekdaysParse,t))||-1!==(o=A.call(this._shortWeekdaysParse,t))?o:null}.call(this,t,e,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(o=d([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(o,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(o,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(o,"").replace(".",".?")+"$","i")),this._weekdaysParse[i]||(o="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[i]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===e&&this._fullWeekdaysParse[i].test(t))return i;if(n&&"ddd"===e&&this._shortWeekdaysParse[i].test(t))return i;if(n&&"dd"===e&&this._minWeekdaysParse[i].test(t))return i;if(!n&&this._weekdaysParse[i].test(t))return i}},y.weekdaysRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=Zt),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)},y.weekdaysShortRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=te),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},y.weekdaysMinRegex=function(t){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||ne.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ee),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},y.isPM=function(t){return"p"===(t+"").toLowerCase().charAt(0)},y.meridiem=function(t,e,n){return 11<t?n?"pm":"PM":n?"am":"AM"},he("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10;return t+(1===l(t%100/10)?"th":1==e?"st":2==e?"nd":3==e?"rd":"th")}}),p.lang=t("moment.lang is deprecated. Use moment.locale instead.",he),p.langData=t("moment.langData is deprecated. Use moment.localeData instead.",O);var E=Math.abs;function Ze(t,e,n,i){e=Fe(e,n);return t._milliseconds+=i*e._milliseconds,t._days+=i*e._days,t._months+=i*e._months,t._bubble()}function tn(t){return t<0?Math.floor(t):Math.ceil(t)}function en(t){return 4800*t/146097}function nn(t){return 146097*t/4800}function on(t){return function(){return this.as(t)}}pt=on("ms"),o=on("s"),yt=on("m"),ft=on("h"),Ot=on("d"),vt=on("w"),mt=on("M"),Lt=on("y");function sn(t){return function(){return this._data[t]}}w=sn("milliseconds"),Jt=sn("seconds"),bt=sn("minutes"),gt=sn("hours"),Xt=sn("days"),Wt=sn("months"),y=sn("years");var rn=Math.round,an={s:45,m:45,h:22,d:26,M:11};function ln(t,e,n){var i=Fe(t).abs(),o=rn(i.as("s")),s=rn(i.as("m")),r=rn(i.as("h")),a=rn(i.as("d")),l=rn(i.as("M")),i=rn(i.as("y")),o=(o<an.s?["s",o]:s<=1&&["m"])||(s<an.m?["mm",s]:r<=1&&["h"])||(r<an.h?["hh",r]:a<=1&&["d"])||(a<an.d?["dd",a]:l<=1&&["M"])||(l<an.M?["MM",l]:i<=1&&["y"])||["yy",i];return o[2]=e,o[3]=0<+t,o[4]=n,function(t,e,n,i,o){return o.relativeTime(e||1,!!n,t,i)}.apply(null,o)}var dn=Math.abs;function un(){var t=dn(this._milliseconds)/1e3,e=dn(this._days),n=dn(this._months),i=a(t/60),o=a(i/60),s=(t%=60,i%=60,a(n/12)),n=n%=12,r=this.asSeconds();return r?(r<0?"-":"")+"P"+(s?s+"Y":"")+(n?n+"M":"")+(e?e+"D":"")+(o||i||t?"T":"")+(o?o+"H":"")+(i?i+"M":"")+(t?t+"S":""):"P0D"}var L=De.prototype;return L.abs=function(){var t=this._data;return this._milliseconds=E(this._milliseconds),this._days=E(this._days),this._months=E(this._months),t.milliseconds=E(t.milliseconds),t.seconds=E(t.seconds),t.minutes=E(t.minutes),t.hours=E(t.hours),t.months=E(t.months),t.years=E(t.years),this},L.add=function(t,e){return Ze(this,t,e,1)},L.subtract=function(t,e){return Ze(this,t,e,-1)},L.as=function(t){var e,n,i=this._milliseconds;if("month"===(t=u(t))||"year"===t)return e=this._days+i/864e5,n=this._months+en(e),"month"===t?n:n/12;switch(e=this._days+Math.round(nn(this._months)),t){case"week":return e/7+i/6048e5;case"day":return e+i/864e5;case"hour":return 24*e+i/36e5;case"minute":return 1440*e+i/6e4;case"second":return 86400*e+i/1e3;case"millisecond":return Math.floor(864e5*e)+i;default:throw new Error("Unknown unit "+t)}},L.asMilliseconds=pt,L.asSeconds=o,L.asMinutes=yt,L.asHours=ft,L.asDays=Ot,L.asWeeks=vt,L.asMonths=mt,L.asYears=Lt,L.valueOf=function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*l(this._months/12)},L._bubble=function(){var t=this._milliseconds,e=this._days,n=this._months,i=this._data;return 0<=t&&0<=e&&0<=n||t<=0&&e<=0&&n<=0||(t+=864e5*tn(nn(n)+e),n=e=0),i.milliseconds=t%1e3,t=a(t/1e3),i.seconds=t%60,t=a(t/60),i.minutes=t%60,t=a(t/60),i.hours=t%24,e+=a(t/24),n+=t=a(en(e)),e-=tn(nn(t)),t=a(n/12),n%=12,i.days=e,i.months=n,i.years=t,this},L.get=function(t){return this[(t=u(t))+"s"]()},L.milliseconds=w,L.seconds=Jt,L.minutes=bt,L.hours=gt,L.days=Xt,L.weeks=function(){return a(this.days()/7)},L.months=Wt,L.years=y,L.humanize=function(t){var e=this.localeData(),n=ln(this,!t,e);return t&&(n=e.pastFuture(+this,n)),e.postformat(n)},L.toISOString=un,L.toString=un,L.toJSON=un,L.locale=We,L.localeData=Ue,L.toIsoString=t("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",un),L.lang=Kt,i("X",0,0,"unix"),i("x",0,0,"valueOf"),x("x",wt),x("X",/[+-]?\d+(\.\d{1,3})?/),_("X",function(t,e,n){n._d=new Date(1e3*parseFloat(t,10))}),_("x",function(t,e,n){n._d=new Date(l(t))}),p.version="2.17.1",R=P,p.fn=$,p.min=function(){return ke("isBefore",[].slice.call(arguments,0))},p.max=function(){return ke("isAfter",[].slice.call(arguments,0))},p.now=function(){return Date.now?Date.now():+new Date},p.utc=d,p.unix=function(t){return P(1e3*t)},p.months=function(t,e){return Je(t,e,"months")},p.isDate=j,p.locale=he,p.invalid=W,p.duration=Fe,p.isMoment=m,p.weekdays=function(t,e,n){return Xe(t,e,n,"weekdays")},p.parseZone=function(){return P.apply(null,arguments).parseZone()},p.localeData=O,p.isDuration=Te,p.monthsShort=function(t,e){return Je(t,e,"monthsShort")},p.weekdaysMin=function(t,e,n){return Xe(t,e,n,"weekdaysMin")},p.defineLocale=ce,p.updateLocale=function(t,e){var n;return null!=e?(n=ae,(n=new Z(e=X(n=null!=M[t]?M[t]._config:n,e))).parentLocale=M[t],M[t]=n,he(t)):null!=M[t]&&(null!=M[t].parentLocale?M[t]=M[t].parentLocale:null!=M[t]&&delete M[t]),M[t]},p.locales=function(){return tt(M)},p.weekdaysShort=function(t,e,n){return Xe(t,e,n,"weekdaysShort")},p.normalizeUnits=u,p.relativeTimeRounding=function(t){return void 0===t?rn:"function"==typeof t&&(rn=t,!0)},p.relativeTimeThreshold=function(t,e){return void 0!==an[t]&&(void 0===e?an[t]:(an[t]=e,!0))},p.calendarFormat=function(t,e){return(t=t.diff(e,"days",!0))<-6?"sameElse":t<-1?"lastWeek":t<0?"lastDay":t<1?"sameDay":t<2?"nextDay":t<7?"nextWeek":"sameElse"},p.prototype=$,p}),function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Chart=t()}(function(){return function i(o,s,r){function a(e,t){if(!s[e]){if(!o[e]){var n="function"==typeof require&&require;if(!t&&n)return n(e,!0);if(l)return l(e,!0);t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}n=s[e]={exports:{}};o[e][0].call(n.exports,function(t){return a(o[e][1][t]||t)},n,n.exports,i,o,s,r)}return s[e].exports}for(var l="function"==typeof require&&require,t=0;t<r.length;t++)a(r[t]);return a}({1:[function(t,e,n){},{}],2:[function(t,e,n){var s=t(6);function i(t){if(t){var e=[0,0,0],n=1;if(i=t.match(/^#([a-fA-F0-9]{3})$/i))for(var i=i[1],o=0;o<e.length;o++)e[o]=parseInt(i[o]+i[o],16);else if(i=t.match(/^#([a-fA-F0-9]{6})$/i))for(i=i[1],o=0;o<e.length;o++)e[o]=parseInt(i.slice(2*o,2*o+2),16);else if(i=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<e.length;o++)e[o]=parseInt(i[o+1]);n=parseFloat(i[4])}else if(i=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(o=0;o<e.length;o++)e[o]=Math.round(2.55*parseFloat(i[o+1]));n=parseFloat(i[4])}else if(i=t.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(e=s[i[1]]))return}for(o=0;o<e.length;o++)e[o]=u(e[o],0,255);return n=n||0==n?u(n,0,1):1,e[3]=n,e}}function o(t){if(t){var e,t=t.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t)return e=parseFloat(t[4]),[u(parseInt(t[1]),0,360),u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(e)?1:e,0,1)]}}function r(t){if(t){var e,t=t.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t)return e=parseFloat(t[4]),[u(parseInt(t[1]),0,360),u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(e)?1:e,0,1)]}}function a(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+e+")"}function l(t,e){return"rgba("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%, "+(e||t[3]||1)+")"}function d(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+e+")"}function u(t,e,n){return Math.min(Math.max(e,t),n)}function h(t){t=t.toString(16).toUpperCase();return t.length<2?"0"+t:t}e.exports={getRgba:i,getHsla:o,getRgb:function(t){t=i(t);return t&&t.slice(0,3)},getHsl:function(t){t=o(t);return t&&t.slice(0,3)},getHwb:r,getAlpha:function(t){var e=i(t);return(e=(e=e||o(t))||r(t))?e[3]:void 0},hexString:function(t){return"#"+h(t[0])+h(t[1])+h(t[2])},rgbString:function(t,e){return e<1||t[3]&&t[3]<1?a(t,e):"rgb("+t[0]+", "+t[1]+", "+t[2]+")"},rgbaString:a,percentString:function(t,e){return e<1||t[3]&&t[3]<1?l(t,e):"rgb("+Math.round(t[0]/255*100)+"%, "+Math.round(t[1]/255*100)+"%, "+Math.round(t[2]/255*100)+"%)"},percentaString:l,hslString:function(t,e){return e<1||t[3]&&t[3]<1?d(t,e):"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)"},hslaString:d,hwbString:function(t,e){return void 0===e&&(e=void 0!==t[3]?t[3]:1),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+(void 0!==e&&1!==e?", "+e:"")+")"},keyword:function(t){return p[t.slice(0,3)]}};var c,p={};for(c in s)p[s[c]]=c},{6:6}],3:[function(t,e,n){function r(t){return t instanceof r?t:this instanceof r?(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 t?(e=i.getRgba(t))?this.setValues("rgb",e):(e=i.getHsla(t))?this.setValues("hsl",e):(e=i.getHwb(t))&&this.setValues("hwb",e):"object"==typeof t&&(void 0!==(e=t).r||void 0!==e.red?this.setValues("rgb",e):void 0!==e.l||void 0!==e.lightness?this.setValues("hsl",e):void 0!==e.v||void 0!==e.value?this.setValues("hsv",e):void 0!==e.w||void 0!==e.whiteness?this.setValues("hwb",e):void 0===e.c&&void 0===e.cyan||this.setValues("cmyk",e)))):new r(t);var e}var u=t(5),i=t(2);(r.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var t=this.values;return 1!==t.alpha?t.hwb.concat([t.alpha]):t.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var t=this.values;return t.rgb.concat([t.alpha])},hslaArray:function(){var t=this.values;return t.hsl.concat([t.alpha])},alpha:function(t){return void 0===t?this.values.alpha:(this.setValues("alpha",t),this)},red:function(t){return this.setChannel("rgb",0,t)},green:function(t){return this.setChannel("rgb",1,t)},blue:function(t){return this.setChannel("rgb",2,t)},hue:function(t){return t=t&&((t%=360)<0?360+t:t),this.setChannel("hsl",0,t)},saturation:function(t){return this.setChannel("hsl",1,t)},lightness:function(t){return this.setChannel("hsl",2,t)},saturationv:function(t){return this.setChannel("hsv",1,t)},whiteness:function(t){return this.setChannel("hwb",1,t)},blackness:function(t){return this.setChannel("hwb",2,t)},value:function(t){return this.setChannel("hsv",2,t)},cyan:function(t){return this.setChannel("cmyk",0,t)},magenta:function(t){return this.setChannel("cmyk",1,t)},yellow:function(t){return this.setChannel("cmyk",2,t)},black:function(t){return this.setChannel("cmyk",3,t)},hexString:function(){return i.hexString(this.values.rgb)},rgbString:function(){return i.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return i.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return i.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return i.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return i.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return i.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return i.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var t=this.values.rgb;return t[0]<<16|t[1]<<8|t[2]},luminosity:function(){for(var t=this.values.rgb,e=[],n=0;n<t.length;n++){var i=t[n]/255;e[n]=i<=.03928?i/12.92:Math.pow((.055+i)/1.055,2.4)}return.2126*e[0]+.7152*e[1]+.0722*e[2]},contrast:function(t){var e=this.luminosity(),t=t.luminosity();return t<e?(e+.05)/(t+.05):(t+.05)/(e+.05)},level:function(t){t=this.contrast(t);return 7.1<=t?"AAA":4.5<=t?"AA":""},dark:function(){var t=this.values.rgb;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var t=[],e=0;e<3;e++)t[e]=255-this.values.rgb[e];return this.setValues("rgb",t),this},lighten:function(t){var e=this.values.hsl;return e[2]+=e[2]*t,this.setValues("hsl",e),this},darken:function(t){var e=this.values.hsl;return e[2]-=e[2]*t,this.setValues("hsl",e),this},saturate:function(t){var e=this.values.hsl;return e[1]+=e[1]*t,this.setValues("hsl",e),this},desaturate:function(t){var e=this.values.hsl;return e[1]-=e[1]*t,this.setValues("hsl",e),this},whiten:function(t){var e=this.values.hwb;return e[1]+=e[1]*t,this.setValues("hwb",e),this},blacken:function(t){var e=this.values.hwb;return e[2]+=e[2]*t,this.setValues("hwb",e),this},greyscale:function(){var t=this.values.rgb,t=.3*t[0]+.59*t[1]+.11*t[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(t){var e=this.values.alpha;return this.setValues("alpha",e-e*t),this},opaquer:function(t){var e=this.values.alpha;return this.setValues("alpha",e+e*t),this},rotate:function(t){var e=this.values.hsl,t=(e[0]+t)%360;return e[0]=t<0?360+t:t,this.setValues("hsl",e),this},mix:function(t,e){var e=void 0===e?.5:e,n=2*e-1,i=this.alpha()-t.alpha(),n=(1+(n*i==-1?n:(n+i)/(1+n*i)))/2,i=1-n;return this.rgb(n*this.red()+i*t.red(),n*this.green()+i*t.green(),n*this.blue()+i*t.blue()).alpha(this.alpha()*e+t.alpha()*(1-e))},toJSON:function(){return this.rgb()},clone:function(){var t,e,n,i=new r,o=this.values,s=i.values;for(n in o)o.hasOwnProperty(n)&&(t=o[n],"[object Array]"===(e={}.toString.call(t))?s[n]=t.slice(0):"[object Number]"===e?s[n]=t:console.error("unexpected color value:",t));return i}}).spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},r.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},r.prototype.getValues=function(t){for(var e=this.values,n={},i=0;i<t.length;i++)n[t.charAt(i)]=e[t][i];return 1!==e.alpha&&(n.a=e.alpha),n},r.prototype.setValues=function(t,e){var n,i,o=this.values,s=this.spaces,r=this.maxes,a=1;if(this.valid=!0,"alpha"===t)a=e;else if(e.length)o[t]=e.slice(0,t.length),a=e[t.length];else if(void 0!==e[t.charAt(0)]){for(d=0;d<t.length;d++)o[t][d]=e[t.charAt(d)];a=e.a}else if(void 0!==e[s[t][0]]){for(var l=s[t],d=0;d<t.length;d++)o[t][d]=e[l[d]];a=e.alpha}if(o.alpha=Math.max(0,Math.min(1,void 0===a?o.alpha:a)),"alpha"===t)return!1;for(d=0;d<t.length;d++)n=Math.max(0,Math.min(r[t][d],o[t][d])),o[t][d]=Math.round(n);for(i in s)i!==t&&(o[i]=u[t][i](o[t]));return!0},r.prototype.setSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n),this)},r.prototype.setChannel=function(t,e,n){var i=this.values[t];return void 0===n?i[e]:(n===i[e]||(i[e]=n,this.setValues(t,i)),this)},"undefined"!=typeof window&&(window.Color=r),e.exports=r},{2:2,5:5}],4:[function(t,e,n){function o(t){var e,n=t[0]/255,i=t[1]/255,t=t[2]/255,o=Math.min(n,i,t),s=Math.max(n,i,t),r=s-o;return s==o?e=0:n==s?e=(i-t)/r:i==s?e=2+(t-n)/r:t==s&&(e=4+(n-i)/r),(e=Math.min(60*e,360))<0&&(e+=360),t=(o+s)/2,[e,100*(s==o?0:t<=.5?r/(s+o):r/(2-s-o)),100*t]}function i(t){var e,n=t[0],i=t[1],t=t[2],o=Math.min(n,i,t),s=Math.max(n,i,t),r=s-o,a=0==s?0:r/s*1e3/10;return s==o?e=0:n==s?e=(i-t)/r:i==s?e=2+(t-n)/r:t==s&&(e=4+(n-i)/r),(e=Math.min(60*e,360))<0&&(e+=360),[e,a,s/255*1e3/10]}function s(t){var e=t[0],n=t[1],i=t[2];return[o(t)[0],1/255*Math.min(e,Math.min(n,i))*100,100*(1-1/255*Math.max(e,Math.max(n,i)))]}function a(t){var e=t[0]/255,n=t[1]/255,t=t[2]/255;return[100*((1-e-(e=Math.min(1-e,1-n,1-t)))/(1-e)||0),100*((1-n-e)/(1-e)||0),100*((1-t-e)/(1-e)||0),100*e]}function l(t){return k[JSON.stringify(t)]}function d(t){var e=t[0]/255,n=t[1]/255,t=t[2]/255;return[100*(.4124*(e=.04045<e?Math.pow((.055+e)/1.055,2.4):e/12.92)+.3576*(n=.04045<n?Math.pow((.055+n)/1.055,2.4):n/12.92)+.1805*(t=.04045<t?Math.pow((.055+t)/1.055,2.4):t/12.92)),100*(.2126*e+.7152*n+.0722*t),100*(.0193*e+.1192*n+.9505*t)]}function u(t){var t=d(t),e=t[0],n=t[1],t=t[2];return n/=100,t/=108.883,e=.008856<(e/=95.047)?Math.pow(e,1/3):7.787*e+16/116,[116*(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(.008856<t?Math.pow(t,1/3):7.787*t+16/116))]}function h(t){var e,n,i,o=t[0]/360,s=t[1]/100,t=t[2]/100;if(0==s)return[i=255*t,i,i];for(var r=2*t-(e=t<.5?t*(1+s):t+s-t*s),a=[0,0,0],l=0;l<3;l++)(n=o+1/3*-(l-1))<0&&n++,1<n&&n--,a[l]=255*(i=6*n<1?r+6*(e-r)*n:2*n<1?e:3*n<2?r+(e-r)*(2/3-n)*6:r);return a}function c(t){var e=t[0]/60,n=t[1]/100,i=t[2]/100,t=Math.floor(e)%6,e=e-Math.floor(e),o=255*i*(1-n),s=255*i*(1-n*e),r=255*i*(1-n*(1-e));switch(i*=255,t){case 0:return[i,r,o];case 1:return[s,i,o];case 2:return[o,i,r];case 3:return[o,s,i];case 4:return[r,o,i];case 5:return[i,o,s]}}function p(t){var e,n,i=t[0]/360,o=t[1]/100,t=t[2]/100,s=o+t;switch(1<s&&(o/=s,t/=s),i=6*i-(s=Math.floor(6*i)),n=o+(i=0!=(1&s)?1-i:i)*((e=1-t)-o),s){default:case 6:case 0:r=e,g=n,b=o;break;case 1:r=n,g=e,b=o;break;case 2:r=o,g=e,b=n;break;case 3:r=o,g=n,b=e;break;case 4:r=n,g=o,b=e;break;case 5:r=e,g=o,b=n}return[255*r,255*g,255*b]}function f(t){var e=t[0]/100,n=t[1]/100,i=t[2]/100,t=t[3]/100;return[255*(1-Math.min(1,e*(1-t)+t)),255*(1-Math.min(1,n*(1-t)+t)),255*(1-Math.min(1,i*(1-t)+t))]}function m(t){var e=t[0]/100,n=t[1]/100,t=t[2]/100,i=-.9689*e+1.8758*n+.0415*t,o=.0557*e+-.204*n+1.057*t,e=.0031308<(e=3.2406*e+-1.5372*n+-.4986*t)?1.055*Math.pow(e,1/2.4)-.055:12.92*e;return i=.0031308<i?1.055*Math.pow(i,1/2.4)-.055:12.92*i,o=.0031308<o?1.055*Math.pow(o,1/2.4)-.055:12.92*o,[255*(e=Math.min(Math.max(0,e),1)),255*(i=Math.min(Math.max(0,i),1)),255*(o=Math.min(Math.max(0,o),1))]}function v(t){var e=t[0],n=t[1],t=t[2];return n/=100,t/=108.883,e=.008856<(e/=95.047)?Math.pow(e,1/3):7.787*e+16/116,[116*(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(.008856<t?Math.pow(t,1/3):7.787*t+16/116))]}function y(t){var e,n,i,o=t[0],s=t[1],t=t[2],o=o<=8?(n=100*o/903.3)/100*7.787+16/116:(n=100*Math.pow((o+16)/116,3),Math.pow(n/100,1/3));return[e=e/95.047<=.008856?95.047*(s/500+o-16/116)/7.787:95.047*Math.pow(s/500+o,3),n,i=i/108.883<=.008859?108.883*(o-t/200-16/116)/7.787:108.883*Math.pow(o-t/200,3)]}function $(t){var e,n=t[0],i=t[1],t=t[2];return(e=360*Math.atan2(t,i)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(i*i+t*t),e]}function w(t){return m(y(t))}function x(t){var e=t[0],n=t[1],t=t[2]/360*2*Math.PI;return[e,n*Math.cos(t),n*Math.sin(t)]}function _(t){return S[t]}e.exports={rgb2hsl:o,rgb2hsv:i,rgb2hwb:s,rgb2cmyk:a,rgb2keyword:l,rgb2xyz:d,rgb2lab:u,rgb2lch:function(t){return $(u(t))},hsl2rgb:h,hsl2hsv:function(t){var e=t[0],n=t[1]/100,t=t[2]/100;return 0==t?[0,0,0]:[e,2*(n*=(t*=2)<=1?t:2-t)/(t+n)*100,(t+n)/2*100]},hsl2hwb:function(t){return s(h(t))},hsl2cmyk:function(t){return a(h(t))},hsl2keyword:function(t){return l(h(t))},hsv2rgb:c,hsv2hsl:function(t){var e=t[0],n=t[1]/100,t=t[2]/100;return[e,100*(n*t/((e=(2-n)*t)<=1?e:2-e)||0),100*(e/=2)]},hsv2hwb:function(t){return s(c(t))},hsv2cmyk:function(t){return a(c(t))},hsv2keyword:function(t){return l(c(t))},hwb2rgb:p,hwb2hsl:function(t){return o(p(t))},hwb2hsv:function(t){return i(p(t))},hwb2cmyk:function(t){return a(p(t))},hwb2keyword:function(t){return l(p(t))},cmyk2rgb:f,cmyk2hsl:function(t){return o(f(t))},cmyk2hsv:function(t){return i(f(t))},cmyk2hwb:function(t){return s(f(t))},cmyk2keyword:function(t){return l(f(t))},keyword2rgb:_,keyword2hsl:function(t){return o(_(t))},keyword2hsv:function(t){return i(_(t))},keyword2hwb:function(t){return s(_(t))},keyword2cmyk:function(t){return a(_(t))},keyword2lab:function(t){return u(_(t))},keyword2xyz:function(t){return d(_(t))},xyz2rgb:m,xyz2lab:v,xyz2lch:function(t){return $(v(t))},lab2xyz:y,lab2rgb:w,lab2lch:$,lch2lab:x,lch2xyz:function(t){return y(x(t))},lch2rgb:function(t){return w(x(t))}};var C,S={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]},k={};for(C in S)k[JSON.stringify(S[C])]=C},{}],5:[function(t,e,n){function o(){return new l}var i,s=t(4);for(i in s){o[i+"Raw"]=function(e){return function(t){return"number"==typeof t&&(t=Array.prototype.slice.call(arguments)),s[e](t)}}(i);var r=/(\w+)2(\w+)/.exec(i),a=r[1],r=r[2];(o[a]=o[a]||{})[r]=o[i]=function(i){return function(t){"number"==typeof t&&(t=Array.prototype.slice.call(arguments));var e=s[i](t);if("string"!=typeof e&&void 0!==e)for(var n=0;n<e.length;n++)e[n]=Math.round(e[n]);return e}}(i)}var l=function(){this.convs={}};l.prototype.routeSpace=function(t,e){var n=e[0];return void 0===n?this.getValues(t):("number"==typeof n&&(n=Array.prototype.slice.call(e)),this.setValues(t,n))},l.prototype.setValues=function(t,e){return this.space=t,this.convs={},this.convs[t]=e,this},l.prototype.getValues=function(t){var e,n,i=this.convs[t];return i||(e=this.space,n=this.convs[e],i=o[e][t](n),this.convs[t]=i),i},["rgb","hsl","hsv","cmyk","keyword"].forEach(function(e){l.prototype[e]=function(t){return this.routeSpace(e,arguments)}}),e.exports=o},{4:4}],6:[function(t,e,n){"use strict";e.exports={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]}},{}],7:[function(t,e,n){var i,o=t(29)(),s=(o.helpers=t(45),t(27)(o),o.defaults=t(25),o.Element=t(26),o.elements=t(40),o.Interaction=t(28),o.layouts=t(30),o.platform=t(48),o.plugins=t(31),o.Ticks=t(34),t(22)(o),t(23)(o),t(24)(o),t(33)(o),t(32)(o),t(35)(o),t(55)(o),t(53)(o),t(54)(o),t(56)(o),t(57)(o),t(58)(o),t(15)(o),t(16)(o),t(17)(o),t(18)(o),t(19)(o),t(20)(o),t(21)(o),t(8)(o),t(9)(o),t(10)(o),t(11)(o),t(12)(o),t(13)(o),t(14)(o),t(49));for(i in s)s.hasOwnProperty(i)&&o.plugins.register(s[i]);o.platform.initialize(),e.exports=o,"undefined"!=typeof window&&(window.Chart=o),o.Legend=s.legend._element,o.Title=s.title._element,o.pluginService=o.plugins,o.PluginBase=o.Element.extend({}),o.canvasHelpers=o.helpers.canvas,o.layoutService=o.layouts},{10:10,11:11,12:12,13:13,14:14,15:15,16:16,17:17,18:18,19:19,20:20,21:21,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,30:30,31:31,32:32,33:33,34:34,35:35,40:40,45:45,48:48,49:49,53:53,54:54,55:55,56:56,57:57,58:58,8:8,9:9}],8:[function(t,e,n){"use strict";e.exports=function(n){n.Bar=function(t,e){return e.type="bar",new n(t,e)}}},{}],9:[function(t,e,n){"use strict";e.exports=function(n){n.Bubble=function(t,e){return e.type="bubble",new n(t,e)}}},{}],10:[function(t,e,n){"use strict";e.exports=function(n){n.Doughnut=function(t,e){return e.type="doughnut",new n(t,e)}}},{}],11:[function(t,e,n){"use strict";e.exports=function(n){n.Line=function(t,e){return e.type="line",new n(t,e)}}},{}],12:[function(t,e,n){"use strict";e.exports=function(n){n.PolarArea=function(t,e){return e.type="polarArea",new n(t,e)}}},{}],13:[function(t,e,n){"use strict";e.exports=function(n){n.Radar=function(t,e){return e.type="radar",new n(t,e)}}},{}],14:[function(t,e,n){"use strict";e.exports=function(n){n.Scatter=function(t,e){return e.type="scatter",new n(t,e)}}},{}],15:[function(t,e,n){"use strict";var i=t(25),o=t(40),d=t(45);i._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),i._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{position:"left",type:"category",categoryPercentage:.8,barPercentage:.9,offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{callbacks:{title:function(t,e){var n="";return 0<t.length&&(t[0].yLabel?n=t[0].yLabel:0<e.labels.length&&t[0].index<e.labels.length&&(n=e.labels[t[0].index])),n},label:function(t,e){return(e.datasets[t.datasetIndex].label||"")+": "+t.xLabel}},mode:"index",axis:"y"}}),e.exports=function(e){e.controllers.bar=e.DatasetController.extend({dataElementType:o.Rectangle,initialize:function(){var t;e.DatasetController.prototype.initialize.apply(this,arguments),(t=this.getMeta()).stack=this.getDataset().stack,t.bar=!0},update:function(t){var e,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),e=0,n=i.length;e<n;++e)this.updateElement(i[e],e,t)},updateElement:function(t,e,n){var i=this.chart,o=this.getMeta(),s=this.getDataset(),r=t.custom||{},a=i.options.elements.rectangle;t._xScale=this.getScaleForId(o.xAxisID),t._yScale=this.getScaleForId(o.yAxisID),t._datasetIndex=this.index,t._index=e,t._model={datasetLabel:s.label,label:i.data.labels[e],borderSkipped:r.borderSkipped||a.borderSkipped,backgroundColor:r.backgroundColor||d.valueAtIndexOrDefault(s.backgroundColor,e,a.backgroundColor),borderColor:r.borderColor||d.valueAtIndexOrDefault(s.borderColor,e,a.borderColor),borderWidth:r.borderWidth||d.valueAtIndexOrDefault(s.borderWidth,e,a.borderWidth)},this.updateElementGeometry(t,e,n),t.pivot()},updateElementGeometry:function(t,e,n){var t=t._model,i=this.getValueScale(),o=i.getBasePixel(),i=i.isHorizontal(),s=this._ruler||this.getRuler(),r=this.calculateBarValuePixels(this.index,e),e=this.calculateBarIndexPixels(this.index,e,s);t.horizontal=i,t.base=n?o:r.base,t.x=i?n?o:r.head:e.center,t.y=i?e.center:n?o:r.head,t.height=i?e.size:void 0,t.width=i?void 0:e.size},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())},_getStacks:function(t){for(var e,n=this.chart,i=this.getIndexScale().options.stacked,o=void 0===t?n.data.datasets.length:t+1,s=[],r=0;r<o;++r)(e=n.getDatasetMeta(r)).bar&&n.isDatasetVisible(r)&&(!1===i||!0===i&&-1===s.indexOf(e.stack)||void 0===i&&(void 0===e.stack||-1===s.indexOf(e.stack)))&&s.push(e.stack);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(t,e){t=this._getStacks(t),e=void 0!==e?t.indexOf(e):-1;return-1===e?t.length-1:e},getRuler:function(){for(var t=this.getIndexScale(),e=this.getStackCount(),n=this.index,i=t.isHorizontal(),o=i?t.left:t.top,i=o+(i?t.width:t.height),s=[],r=0,a=this.getMeta().data.length;r<a;++r)s.push(t.getPixelForValue(null,r,n));return{min:d.isNullOrUndef(t.options.barThickness)?function(t,e){for(var n,i,o=t.isHorizontal()?t.width:t.height,s=t.getTicks(),r=1,a=e.length;r<a;++r)o=Math.min(o,e[r]-e[r-1]);for(r=0,a=s.length;r<a;++r)i=t.getPixelForTick(r),o=0<r?Math.min(o,i-n):o,n=i;return o}(t,s):-1,pixels:s,start:o,end:i,stackCount:e,scale:t}},calculateBarValuePixels:function(t,e){var n,i,o,s=this.chart,r=this.getMeta(),a=this.getValueScale(),l=s.data.datasets,d=a.getRightValue(l[t].data[e]),u=a.options.stacked,h=r.stack,c=0;if(u||void 0===u&&void 0!==h)for(n=0;n<t;++n)(i=s.getDatasetMeta(n)).bar&&i.stack===h&&i.controller.getValueScaleId()===a.id&&s.isDatasetVisible(n)&&(i=a.getRightValue(l[n].data[e]),d<0&&i<0||0<=d&&0<i)&&(c+=i);return r=a.getPixelForValue(c),{size:o=((u=a.getPixelForValue(c+d))-r)/2,base:r,head:u,center:u+o/2}},calculateBarIndexPixels:function(t,e,n){var i,o=n.scale.options,s="flex"===o.barThickness?(a=(r=n.pixels)[e],s=0<e?r[e-1]:null,r=e<r.length-1?r[e+1]:null,l=o.categoryPercentage,null===s&&(s=a-(null===r?n.end-a:r-a)),{chunk:((r=null===r?a+a-s:r)-s)/2*l/n.stackCount,ratio:o.barPercentage,start:a-(a-s)/2*l}):(a=(r=o).barThickness,l=(s=n).stackCount,n=s.pixels[e],e=d.isNullOrUndef(a)?(i=s.min*r.categoryPercentage,r.barPercentage):(i=a*l,1),{chunk:i/l,ratio:e,start:n-i/2}),r=this.getStackIndex(t,this.getMeta().stack),a=s.start+s.chunk*r+s.chunk/2,l=Math.min(d.valueOrDefault(o.maxBarThickness,1/0),s.chunk*s.ratio);return{base:a-l/2,head:a+l/2,center:a,size:l}},draw:function(){var t=this.chart,e=this.getValueScale(),n=this.getMeta().data,i=this.getDataset(),o=n.length,s=0;for(d.canvas.clipArea(t.ctx,t.chartArea);s<o;++s)isNaN(e.getRightValue(i.data[s]))||n[s].draw();d.canvas.unclipArea(t.ctx)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},t=t._model;t.backgroundColor=i.hoverBackgroundColor||d.valueAtIndexOrDefault(e.hoverBackgroundColor,n,d.getHoverColor(t.backgroundColor)),t.borderColor=i.hoverBorderColor||d.valueAtIndexOrDefault(e.hoverBorderColor,n,d.getHoverColor(t.borderColor)),t.borderWidth=i.hoverBorderWidth||d.valueAtIndexOrDefault(e.hoverBorderWidth,n,t.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},t=t._model,o=this.chart.options.elements.rectangle;t.backgroundColor=i.backgroundColor||d.valueAtIndexOrDefault(e.backgroundColor,n,o.backgroundColor),t.borderColor=i.borderColor||d.valueAtIndexOrDefault(e.borderColor,n,o.borderColor),t.borderWidth=i.borderWidth||d.valueAtIndexOrDefault(e.borderWidth,n,o.borderWidth)}}),e.controllers.horizontalBar=e.controllers.bar.extend({getValueScaleId:function(){return this.getMeta().xAxisID},getIndexScaleId:function(){return this.getMeta().yAxisID}})}},{25:25,40:40,45:45}],16:[function(t,e,n){"use strict";var i=t(25),o=t(40),p=t(45);i._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.datasets[t.datasetIndex].label||"",e=e.datasets[t.datasetIndex].data[t.index];return n+": ("+t.xLabel+", "+t.yLabel+", "+e.r+")"}}}}),e.exports=function(t){t.controllers.bubble=t.DatasetController.extend({dataElementType:o.Point,update:function(n){var i=this,t=i.getMeta().data;p.each(t,function(t,e){i.updateElement(t,e,n)})},updateElement:function(t,e,n){var i=this.getMeta(),o=t.custom||{},s=this.getScaleForId(i.xAxisID),i=this.getScaleForId(i.yAxisID),r=this._resolveElementOptions(t,e),a=this.getDataset().data[e],l=this.index,d=n?s.getPixelForDecimal(.5):s.getPixelForValue("object"==typeof a?a:NaN,e,l),a=n?i.getBasePixel():i.getPixelForValue(a,e,l);t._xScale=s,t._yScale=i,t._options=r,t._datasetIndex=l,t._index=e,t._model={backgroundColor:r.backgroundColor,borderColor:r.borderColor,borderWidth:r.borderWidth,hitRadius:r.hitRadius,pointStyle:r.pointStyle,radius:n?0:r.radius,skip:o.skip||isNaN(d)||isNaN(a),x:d,y:a},t.pivot()},setHoverStyle:function(t){var e=t._model,t=t._options;e.backgroundColor=p.valueOrDefault(t.hoverBackgroundColor,p.getHoverColor(t.backgroundColor)),e.borderColor=p.valueOrDefault(t.hoverBorderColor,p.getHoverColor(t.borderColor)),e.borderWidth=p.valueOrDefault(t.hoverBorderWidth,t.borderWidth),e.radius=t.radius+t.hoverRadius},removeHoverStyle:function(t){var e=t._model,t=t._options;e.backgroundColor=t.backgroundColor,e.borderColor=t.borderColor,e.borderWidth=t.borderWidth,e.radius=t.radius},_resolveElementOptions:function(t,e){for(var n,i=this.chart,o=i.data.datasets[this.index],s=t.custom||{},r=i.options.elements.point,a=p.options.resolve,t=o.data[e],l={},d={chart:i,dataIndex:e,dataset:o,datasetIndex:this.index},u=["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle"],h=0,c=u.length;h<c;++h)l[n=u[h]]=a([s[n],o[n],r[n]],d,e);return l.radius=a([s.radius,t?t.r:void 0,o.radius,r.radius],d,e),l}})}},{25:25,40:40,45:45}],17:[function(t,e,n){"use strict";var i=t(25),o=t(40),y=t(45);i._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(t){var e=[],t=(e.push('<ul class="'+t.id+'-legend">'),t.data),n=t.datasets,i=t.labels;if(n.length)for(var o=0;o<n[0].data.length;++o)e.push('<li><span style="background-color:'+n[0].backgroundColor[o]+'"></span>'),i[o]&&e.push(i[o]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(a){var l=a.data;return l.labels.length&&l.datasets.length?l.labels.map(function(t,e){var n=a.getDatasetMeta(0),i=l.datasets[0],o=n.data[e],o=o&&o.custom||{},s=y.valueAtIndexOrDefault,r=a.options.elements.arc;return{text:t,fillStyle:o.backgroundColor||s(i.backgroundColor,e,r.backgroundColor),strokeStyle:o.borderColor||s(i.borderColor,e,r.borderColor),lineWidth:o.borderWidth||s(i.borderWidth,e,r.borderWidth),hidden:isNaN(i.data[e])||n.data[e].hidden,index:e}}):[]}},onClick:function(t,e){for(var n,i=e.index,o=this.chart,s=0,r=(o.data.datasets||[]).length;s<r;++s)(n=o.getDatasetMeta(s)).data[i]&&(n.data[i].hidden=!n.data[i].hidden);o.update()}},cutoutPercentage:50,rotation:-.5*Math.PI,circumference:2*Math.PI,tooltips:{callbacks:{title:function(){return""},label:function(t,e){var n=e.labels[t.index],e=": "+e.datasets[t.datasetIndex].data[t.index];return y.isArray(n)?(n=n.slice())[0]+=e:n+=e,n}}}}),i._set("pie",y.clone(i.doughnut)),i._set("pie",{cutoutPercentage:0}),e.exports=function(e){e.controllers.doughnut=e.controllers.pie=e.DatasetController.extend({dataElementType:o.Arc,linkScales:y.noop,getRingIndex:function(t){for(var e=0,n=0;n<t;++n)this.chart.isDatasetVisible(n)&&++e;return e},update:function(n){var t,e,i,o,s,r,a,l=this,d=l.chart,u=d.chartArea,h=d.options,c=h.elements.arc,p=u.right-u.left-c.borderWidth,u=u.bottom-u.top-c.borderWidth,c=Math.min(p,u),f={x:0,y:0},g=l.getMeta(),m=h.cutoutPercentage,v=h.circumference;v<2*Math.PI&&(h=h.rotation%(2*Math.PI),v=(h+=2*Math.PI*(h>=Math.PI?-1:h<-Math.PI?1:0))+v,a=Math.cos(h),t=Math.sin(h),e=Math.cos(v),i=Math.sin(v),r=h<=0&&0<=v||h<=2*Math.PI&&2*Math.PI<=v,o=h<=.5*Math.PI&&.5*Math.PI<=v||h<=2.5*Math.PI&&2.5*Math.PI<=v,s=h<=-Math.PI&&-Math.PI<=v||h<=Math.PI&&Math.PI<=v,h=h<=.5*-Math.PI&&.5*-Math.PI<=v||h<=1.5*Math.PI&&1.5*Math.PI<=v,v=m/100,s=s?-1:Math.min(a*(a<0?1:v),e*(e<0?1:v)),h=h?-1:Math.min(t*(t<0?1:v),i*(i<0?1:v)),r=r?1:Math.max(a*(0<a?1:v),e*(0<e?1:v)),a=o?1:Math.max(t*(0<t?1:v),i*(0<i?1:v)),c=Math.min(p/(.5*(r-s)),u/(.5*(a-h))),f={x:-.5*(r+s),y:-.5*(a+h)}),d.borderWidth=l.getMaxBorderWidth(g.data),d.outerRadius=Math.max((c-d.borderWidth)/2,0),d.innerRadius=Math.max(m?d.outerRadius/100*m:0,0),d.radiusLength=(d.outerRadius-d.innerRadius)/d.getVisibleDatasetCount(),d.offsetX=f.x*d.outerRadius,d.offsetY=f.y*d.outerRadius,g.total=l.calculateTotal(),l.outerRadius=d.outerRadius-d.radiusLength*l.getRingIndex(l.index),l.innerRadius=Math.max(l.outerRadius-d.radiusLength,0),y.each(g.data,function(t,e){l.updateElement(t,e,n)})},updateElement:function(t,e,n){var i=this.chart,o=i.chartArea,s=i.options,r=s.animation,a=(o.left+o.right)/2,o=(o.top+o.bottom)/2,l=s.rotation,d=s.rotation,u=this.getDataset(),h=n&&r.animateRotate||t.hidden?0:this.calculateCircumference(u.data[e])*(s.circumference/(2*Math.PI)),c=n&&r.animateScale?0:this.innerRadius,p=n&&r.animateScale?0:this.outerRadius,f=y.valueAtIndexOrDefault,a=(y.extend(t,{_datasetIndex:this.index,_index:e,_model:{x:a+i.offsetX,y:o+i.offsetY,startAngle:l,endAngle:d,circumference:h,outerRadius:p,innerRadius:c,label:f(u.label,e,i.data.labels[e])}}),t._model);this.removeHoverStyle(t),n&&r.animateRotate||(a.startAngle=0===e?s.rotation:this.getMeta().data[e-1]._model.endAngle,a.endAngle=a.startAngle+a.circumference),t.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},calculateTotal:function(){var n,i=this.getDataset(),t=this.getMeta(),o=0;return y.each(t.data,function(t,e){n=i.data[e],isNaN(n)||t.hidden||(o+=Math.abs(n))}),o},calculateCircumference:function(t){var e=this.getMeta().total;return 0<e&&!isNaN(t)?2*Math.PI*(Math.abs(t)/e):0},getMaxBorderWidth:function(t){for(var e,n,i=0,o=this.index,s=t.length,r=0;r<s;r++)e=t[r]._model?t[r]._model.borderWidth:0,i=(n=t[r]._chart?t[r]._chart.config.data.datasets[o].hoverBorderWidth:0)>(i=i<e?e:i)?n:i;return i}})}},{25:25,40:40,45:45}],18:[function(t,e,n){"use strict";var i=t(25),o=t(40),p=t(45);i._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}}),e.exports=function(t){function h(t,e){return p.valueOrDefault(t.showLine,e.showLines)}t.controllers.line=t.DatasetController.extend({datasetElementType:o.Line,dataElementType:o.Point,update:function(t){var e,n,i,o=this.getMeta(),s=o.dataset,r=o.data||[],a=this.chart.options,l=a.elements.line,o=this.getScaleForId(o.yAxisID),d=this.getDataset(),u=h(d,a);for(u&&(i=s.custom||{},void 0!==d.tension&&void 0===d.lineTension&&(d.lineTension=d.tension),s._scale=o,s._datasetIndex=this.index,s._children=r,s._model={spanGaps:d.spanGaps||a.spanGaps,tension:i.tension||p.valueOrDefault(d.lineTension,l.tension),backgroundColor:i.backgroundColor||d.backgroundColor||l.backgroundColor,borderWidth:i.borderWidth||d.borderWidth||l.borderWidth,borderColor:i.borderColor||d.borderColor||l.borderColor,borderCapStyle:i.borderCapStyle||d.borderCapStyle||l.borderCapStyle,borderDash:i.borderDash||d.borderDash||l.borderDash,borderDashOffset:i.borderDashOffset||d.borderDashOffset||l.borderDashOffset,borderJoinStyle:i.borderJoinStyle||d.borderJoinStyle||l.borderJoinStyle,fill:i.fill||(void 0!==d.fill?d:l).fill,steppedLine:i.steppedLine||p.valueOrDefault(d.steppedLine,l.stepped),cubicInterpolationMode:i.cubicInterpolationMode||p.valueOrDefault(d.cubicInterpolationMode,l.cubicInterpolationMode)},s.pivot()),e=0,n=r.length;e<n;++e)this.updateElement(r[e],e,t);for(u&&0!==s._model.tension&&this.updateBezierControlPoints(),e=0,n=r.length;e<n;++e)r[e].pivot()},getPointBackgroundColor:function(t,e){var n=this.chart.options.elements.point.backgroundColor,i=this.getDataset(),t=t.custom||{};return t.backgroundColor?n=t.backgroundColor:i.pointBackgroundColor?n=p.valueAtIndexOrDefault(i.pointBackgroundColor,e,n):i.backgroundColor&&(n=i.backgroundColor),n},getPointBorderColor:function(t,e){var n=this.chart.options.elements.point.borderColor,i=this.getDataset(),t=t.custom||{};return t.borderColor?n=t.borderColor:i.pointBorderColor?n=p.valueAtIndexOrDefault(i.pointBorderColor,e,n):i.borderColor&&(n=i.borderColor),n},getPointBorderWidth:function(t,e){var n=this.chart.options.elements.point.borderWidth,i=this.getDataset(),t=t.custom||{};return isNaN(t.borderWidth)?!isNaN(i.pointBorderWidth)||p.isArray(i.pointBorderWidth)?n=p.valueAtIndexOrDefault(i.pointBorderWidth,e,n):isNaN(i.borderWidth)||(n=i.borderWidth):n=t.borderWidth,n},updateElement:function(t,e,n){var i,o=this,s=o.getMeta(),r=t.custom||{},a=o.getDataset(),l=o.index,d=a.data[e],u=o.getScaleForId(s.yAxisID),h=o.getScaleForId(s.xAxisID),c=o.chart.options.elements.point;void 0!==a.radius&&void 0===a.pointRadius&&(a.pointRadius=a.radius),void 0!==a.hitRadius&&void 0===a.pointHitRadius&&(a.pointHitRadius=a.hitRadius),i=h.getPixelForValue("object"==typeof d?d:NaN,e,l),n=n?u.getBasePixel():o.calculatePointY(d,e,l),t._xScale=h,t._yScale=u,t._datasetIndex=l,t._index=e,t._model={x:i,y:n,skip:r.skip||isNaN(i)||isNaN(n),radius:r.radius||p.valueAtIndexOrDefault(a.pointRadius,e,c.radius),pointStyle:r.pointStyle||p.valueAtIndexOrDefault(a.pointStyle,e,c.pointStyle),backgroundColor:o.getPointBackgroundColor(t,e),borderColor:o.getPointBorderColor(t,e),borderWidth:o.getPointBorderWidth(t,e),tension:s.dataset._model?s.dataset._model.tension:0,steppedLine:!!s.dataset._model&&s.dataset._model.steppedLine,hitRadius:r.hitRadius||p.valueAtIndexOrDefault(a.pointHitRadius,e,c.hitRadius)}},calculatePointY:function(t,e,n){var i,o=this.chart,s=this.getMeta(),r=this.getScaleForId(s.yAxisID),a=0,l=0;if(r.options.stacked){for(i=0;i<n;i++){var d,u=o.data.datasets[i];"line"===(d=o.getDatasetMeta(i)).type&&d.yAxisID===r.id&&o.isDatasetVisible(i)&&((d=Number(r.getRightValue(u.data[e])))<0?l+=d||0:a+=d||0)}s=Number(r.getRightValue(t));return s<0?r.getPixelForValue(l+s):r.getPixelForValue(a+s)}return r.getPixelForValue(t)},updateBezierControlPoints:function(){var t,e,n,i,o=this.getMeta(),s=this.chart.chartArea,r=o.data||[];function a(t,e,n){return Math.max(Math.min(t,n),e)}if(o.dataset._model.spanGaps&&(r=r.filter(function(t){return!t._model.skip})),"monotone"===o.dataset._model.cubicInterpolationMode)p.splineCurveMonotone(r);else for(t=0,e=r.length;t<e;++t)n=r[t]._model,i=p.splineCurve(p.previousItem(r,t)._model,n,p.nextItem(r,t)._model,o.dataset._model.tension),n.controlPointPreviousX=i.previous.x,n.controlPointPreviousY=i.previous.y,n.controlPointNextX=i.next.x,n.controlPointNextY=i.next.y;if(this.chart.options.elements.line.capBezierPoints)for(t=0,e=r.length;t<e;++t)(n=r[t]._model).controlPointPreviousX=a(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=a(n.controlPointPreviousY,s.top,s.bottom),n.controlPointNextX=a(n.controlPointNextX,s.left,s.right),n.controlPointNextY=a(n.controlPointNextY,s.top,s.bottom)},draw:function(){var t=this.chart,e=this.getMeta(),n=e.data||[],i=t.chartArea,o=n.length,s=0;for(p.canvas.clipArea(t.ctx,i),h(this.getDataset(),t.options)&&e.dataset.draw(),p.canvas.unclipArea(t.ctx);s<o;++s)n[s].draw(i)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},t=t._model;t.radius=i.hoverRadius||p.valueAtIndexOrDefault(e.pointHoverRadius,n,this.chart.options.elements.point.hoverRadius),t.backgroundColor=i.hoverBackgroundColor||p.valueAtIndexOrDefault(e.pointHoverBackgroundColor,n,p.getHoverColor(t.backgroundColor)),t.borderColor=i.hoverBorderColor||p.valueAtIndexOrDefault(e.pointHoverBorderColor,n,p.getHoverColor(t.borderColor)),t.borderWidth=i.hoverBorderWidth||p.valueAtIndexOrDefault(e.pointHoverBorderWidth,n,t.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},o=t._model;void 0!==e.radius&&void 0===e.pointRadius&&(e.pointRadius=e.radius),o.radius=i.radius||p.valueAtIndexOrDefault(e.pointRadius,n,this.chart.options.elements.point.radius),o.backgroundColor=this.getPointBackgroundColor(t,n),o.borderColor=this.getPointBorderColor(t,n),o.borderWidth=this.getPointBorderWidth(t,n)}})}},{25:25,40:40,45:45}],19:[function(t,e,n){"use strict";var i=t(25),o=t(40),v=t(45);i._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(t){var e=[],t=(e.push('<ul class="'+t.id+'-legend">'),t.data),n=t.datasets,i=t.labels;if(n.length)for(var o=0;o<n[0].data.length;++o)e.push('<li><span style="background-color:'+n[0].backgroundColor[o]+'"></span>'),i[o]&&e.push(i[o]),e.push("</li>");return e.push("</ul>"),e.join("")},legend:{labels:{generateLabels:function(a){var l=a.data;return l.labels.length&&l.datasets.length?l.labels.map(function(t,e){var n=a.getDatasetMeta(0),i=l.datasets[0],o=n.data[e].custom||{},s=v.valueAtIndexOrDefault,r=a.options.elements.arc;return{text:t,fillStyle:o.backgroundColor||s(i.backgroundColor,e,r.backgroundColor),strokeStyle:o.borderColor||s(i.borderColor,e,r.borderColor),lineWidth:o.borderWidth||s(i.borderWidth,e,r.borderWidth),hidden:isNaN(i.data[e])||n.data[e].hidden,index:e}}):[]}},onClick:function(t,e){for(var n,i=e.index,o=this.chart,s=0,r=(o.data.datasets||[]).length;s<r;++s)(n=o.getDatasetMeta(s)).data[i].hidden=!n.data[i].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(t,e){return e.labels[t.index]+": "+t.yLabel}}}}),e.exports=function(e){e.controllers.polarArea=e.DatasetController.extend({dataElementType:o.Arc,linkScales:v.noop,update:function(n){var i=this,t=i.chart,e=t.chartArea,o=i.getMeta(),s=t.options,r=s.elements.arc,e=Math.min(e.right-e.left,e.bottom-e.top);t.outerRadius=Math.max((e-r.borderWidth/2)/2,0),t.innerRadius=Math.max(s.cutoutPercentage?t.outerRadius/100*s.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),i.outerRadius=t.outerRadius-t.radiusLength*i.index,i.innerRadius=i.outerRadius-t.radiusLength,o.count=i.countVisibleElements(),v.each(o.data,function(t,e){i.updateElement(t,e,n)})},updateElement:function(t,e,n){for(var i=this.chart,o=this.getDataset(),s=i.options,r=s.animation,a=i.scale,i=i.data.labels,l=this.calculateCircumference(o.data[e]),d=a.xCenter,u=a.yCenter,h=0,c=this.getMeta(),p=0;p<e;++p)isNaN(o.data[p])||c.data[p].hidden||++h;var s=s.startAngle,f=t.hidden?0:a.getDistanceFromCenterForValue(o.data[e]),g=s+l*h,l=g+(t.hidden?0:l),m=r.animateScale?0:a.getDistanceFromCenterForValue(o.data[e]);v.extend(t,{_datasetIndex:this.index,_index:e,_scale:a,_model:{x:d,y:u,innerRadius:0,outerRadius:n?m:f,startAngle:n&&r.animateRotate?s:g,endAngle:n&&r.animateRotate?s:l,label:v.valueAtIndexOrDefault(i,e,i[e])}}),this.removeHoverStyle(t),t.pivot()},removeHoverStyle:function(t){e.DatasetController.prototype.removeHoverStyle.call(this,t,this.chart.options.elements.arc)},countVisibleElements:function(){var n=this.getDataset(),t=this.getMeta(),i=0;return v.each(t.data,function(t,e){isNaN(n.data[e])||t.hidden||i++}),i},calculateCircumference:function(t){var e=this.getMeta().count;return 0<e&&!isNaN(t)?2*Math.PI/e:0}})}},{25:25,40:40,45:45}],20:[function(t,e,n){"use strict";var i=t(25),o=t(40),l=t(45);i._set("radar",{scale:{type:"radialLinear"},elements:{line:{tension:0}}}),e.exports=function(t){t.controllers.radar=t.DatasetController.extend({datasetElementType:o.Line,dataElementType:o.Point,linkScales:l.noop,update:function(n){var i=this,t=i.getMeta(),e=t.dataset,o=t.data,e=e.custom||{},s=i.getDataset(),r=i.chart.options.elements.line,a=i.chart.scale;void 0!==s.tension&&void 0===s.lineTension&&(s.lineTension=s.tension),l.extend(t.dataset,{_datasetIndex:i.index,_scale:a,_children:o,_loop:!0,_model:{tension:e.tension||l.valueOrDefault(s.lineTension,r.tension),backgroundColor:e.backgroundColor||s.backgroundColor||r.backgroundColor,borderWidth:e.borderWidth||s.borderWidth||r.borderWidth,borderColor:e.borderColor||s.borderColor||r.borderColor,fill:e.fill||(void 0!==s.fill?s:r).fill,borderCapStyle:e.borderCapStyle||s.borderCapStyle||r.borderCapStyle,borderDash:e.borderDash||s.borderDash||r.borderDash,borderDashOffset:e.borderDashOffset||s.borderDashOffset||r.borderDashOffset,borderJoinStyle:e.borderJoinStyle||s.borderJoinStyle||r.borderJoinStyle}}),t.dataset.pivot(),l.each(o,function(t,e){i.updateElement(t,e,n)},i),i.updateBezierControlPoints()},updateElement:function(t,e,n){var i=t.custom||{},o=this.getDataset(),s=this.chart.scale,r=this.chart.options.elements.point,a=s.getPointPositionForValue(e,o.data[e]);void 0!==o.radius&&void 0===o.pointRadius&&(o.pointRadius=o.radius),void 0!==o.hitRadius&&void 0===o.pointHitRadius&&(o.pointHitRadius=o.hitRadius),l.extend(t,{_datasetIndex:this.index,_index:e,_scale:s,_model:{x:n?s.xCenter:a.x,y:n?s.yCenter:a.y,tension:i.tension||l.valueOrDefault(o.lineTension,this.chart.options.elements.line.tension),radius:i.radius||l.valueAtIndexOrDefault(o.pointRadius,e,r.radius),backgroundColor:i.backgroundColor||l.valueAtIndexOrDefault(o.pointBackgroundColor,e,r.backgroundColor),borderColor:i.borderColor||l.valueAtIndexOrDefault(o.pointBorderColor,e,r.borderColor),borderWidth:i.borderWidth||l.valueAtIndexOrDefault(o.pointBorderWidth,e,r.borderWidth),pointStyle:i.pointStyle||l.valueAtIndexOrDefault(o.pointStyle,e,r.pointStyle),hitRadius:i.hitRadius||l.valueAtIndexOrDefault(o.pointHitRadius,e,r.hitRadius)}}),t._model.skip=i.skip||isNaN(t._model.x)||isNaN(t._model.y)},updateBezierControlPoints:function(){var i=this.chart.chartArea,o=this.getMeta();l.each(o.data,function(t,e){var n=t._model,e=l.splineCurve(l.previousItem(o.data,e,!0)._model,n,l.nextItem(o.data,e,!0)._model,n.tension);n.controlPointPreviousX=Math.max(Math.min(e.previous.x,i.right),i.left),n.controlPointPreviousY=Math.max(Math.min(e.previous.y,i.bottom),i.top),n.controlPointNextX=Math.max(Math.min(e.next.x,i.right),i.left),n.controlPointNextY=Math.max(Math.min(e.next.y,i.bottom),i.top),t.pivot()})},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,t=t._model;t.radius=n.hoverRadius||l.valueAtIndexOrDefault(e.pointHoverRadius,i,this.chart.options.elements.point.hoverRadius),t.backgroundColor=n.hoverBackgroundColor||l.valueAtIndexOrDefault(e.pointHoverBackgroundColor,i,l.getHoverColor(t.backgroundColor)),t.borderColor=n.hoverBorderColor||l.valueAtIndexOrDefault(e.pointHoverBorderColor,i,l.getHoverColor(t.borderColor)),t.borderWidth=n.hoverBorderWidth||l.valueAtIndexOrDefault(e.pointHoverBorderWidth,i,t.borderWidth)},removeHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t.custom||{},i=t._index,t=t._model,o=this.chart.options.elements.point;t.radius=n.radius||l.valueAtIndexOrDefault(e.pointRadius,i,o.radius),t.backgroundColor=n.backgroundColor||l.valueAtIndexOrDefault(e.pointBackgroundColor,i,o.backgroundColor),t.borderColor=n.borderColor||l.valueAtIndexOrDefault(e.pointBorderColor,i,o.borderColor),t.borderWidth=n.borderWidth||l.valueAtIndexOrDefault(e.pointBorderWidth,i,o.borderWidth)}})}},{25:25,40:40,45:45}],21:[function(t,e,n){"use strict";t(25)._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},showLines:!1,tooltips:{callbacks:{title:function(){return""},label:function(t){return"("+t.xLabel+", "+t.yLabel+")"}}}}),e.exports=function(t){t.controllers.scatter=t.controllers.line}},{25:25}],22:[function(t,e,n){"use strict";var i=t(25),o=t(26),s=t(45);i._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:s.noop,onComplete:s.noop}}),e.exports=function(t){t.Animation=o.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),t.animationService={frameDuration:17,animations:[],dropFrames:0,request:null,addAnimation:function(t,e,n,i){var o,s,r=this.animations;for(e.chart=t,i||(t.animating=!0),o=0,s=r.length;o<s;++o)if(r[o].chart===t)return void(r[o]=e);r.push(e),1===r.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=s.findIndex(this.animations,function(t){return t.chart===e});-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var t=this;null===t.request&&(t.request=s.requestAnimFrame.call(window,function(){t.request=null,t.startDigest()}))},startDigest:function(){var t=Date.now(),e=0,e=(1<this.dropFrames&&(e=Math.floor(this.dropFrames),this.dropFrames=this.dropFrames%1),this.advance(1+e),Date.now());this.dropFrames+=(e-t)/this.frameDuration,0<this.animations.length&&this.requestAnimationFrame()},advance:function(t){for(var e,n,i=this.animations,o=0;o<i.length;)n=(e=i[o]).chart,e.currentStep=(e.currentStep||0)+t,e.currentStep=Math.min(e.currentStep,e.numSteps),s.callback(e.render,[n,e],n),s.callback(e.onAnimationProgress,[e],n),e.currentStep>=e.numSteps?(s.callback(e.onAnimationComplete,[e],n),n.animating=!1,i.splice(o,1)):++o}},Object.defineProperty(t.Animation.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(t.Animation.prototype,"chartInstance",{get:function(){return this.chart},set:function(t){this.chart=t}})}},{25:25,26:26,45:45}],23:[function(t,e,n){"use strict";var r=t(25),h=t(45),i=t(28),o=t(30),a=t(48),l=t(31);e.exports=function(d){function u(t){return"top"===t||"bottom"===t}d.types={},d.instances={},d.controllers={},h.extend(d.prototype,{construct:function(t,e){var n=this,i=((i=(o=e||{}).data=o.data||{}).datasets=i.datasets||[],i.labels=i.labels||[],o.options=h.configMerge(r.global,r[o.type],o.options||{}),e=o,a.acquireContext(t,e)),o=i&&i.canvas,t=o&&o.height,s=o&&o.width;n.id=h.uid(),n.ctx=i,n.canvas=o,n.config=e,n.width=s,n.height=t,n.aspectRatio=t?s/t:null,n.options=e.options,n._bufferedRender=!1,(n.chart=n).controller=n,d.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(t){n.config.data=t}}),i&&o?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var t=this;return l.notify(t,"beforeInit"),h.retinaScale(t,t.options.devicePixelRatio),t.bindEvents(),t.options.responsive&&t.resize(!0),t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.initToolTip(),l.notify(t,"afterInit"),t},clear:function(){return h.canvas.clear(this),this},stop:function(){return d.animationService.cancelAnimation(this),this},resize:function(t){var e=this,n=e.options,i=e.canvas,o=n.maintainAspectRatio&&e.aspectRatio||null,s=Math.max(0,Math.floor(h.getMaximumWidth(i))),o=Math.max(0,Math.floor(o?s/o:h.getMaximumHeight(i)));e.width===s&&e.height===o||(i.width=e.width=s,i.height=e.height=o,i.style.width=s+"px",i.style.height=o+"px",h.retinaScale(e,n.devicePixelRatio),t)||(l.notify(e,"resize",[i={width:s,height:o}]),e.options.onResize&&e.options.onResize(e,i),e.stop(),e.update(e.options.responsiveAnimationDuration))},ensureScalesHaveIDs:function(){var t=this.options,e=t.scales||{},t=t.scale;h.each(e.xAxes,function(t,e){t.id=t.id||"x-axis-"+e}),h.each(e.yAxes,function(t,e){t.id=t.id||"y-axis-"+e}),t&&(t.id=t.id||"scale")},buildOrUpdateScales:function(){var r=this,t=r.options,a=r.scales||{},e=[],l=Object.keys(a).reduce(function(t,e){return t[e]=!1,t},{});t.scales&&(e=e.concat((t.scales.xAxes||[]).map(function(t){return{options:t,dtype:"category",dposition:"bottom"}}),(t.scales.yAxes||[]).map(function(t){return{options:t,dtype:"linear",dposition:"left"}}))),t.scale&&e.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),h.each(e,function(t){var e=t.options,n=e.id,i=h.valueOrDefault(e.type,t.dtype),o=(u(e.position)!==u(t.dposition)&&(e.position=t.dposition),l[n]=!0,null);if(n in a&&a[n].type===i)(o=a[n]).options=e,o.ctx=r.ctx,o.chart=r;else{var s=d.scaleService.getScaleConstructor(i);if(!s)return;o=new s({id:n,type:i,options:e,ctx:r.ctx,chart:r}),a[o.id]=o}o.mergeTicksOptions(),t.isDefault&&(r.scale=o)}),h.each(l,function(t,e){t||delete a[e]}),r.scales=a,d.scaleService.addScalesToLayout(this)},buildOrUpdateControllers:function(){var i=this,o=[],s=[];return h.each(i.data.datasets,function(t,e){var n=i.getDatasetMeta(e),t=t.type||i.config.type;if(n.type&&n.type!==t&&(i.destroyDatasetMeta(e),n=i.getDatasetMeta(e)),n.type=t,o.push(n.type),n.controller)n.controller.updateIndex(e),n.controller.linkScales();else{t=d.controllers[n.type];if(void 0===t)throw new Error('"'+n.type+'" is not a chart type.');n.controller=new t(i,e),s.push(n.controller)}},i),s},resetElements:function(){var n=this;h.each(n.data.datasets,function(t,e){n.getDatasetMeta(e).controller.reset()},n)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(t){var e,n,i=this;t&&"object"==typeof t||(t={duration:t,lazy:arguments[1]}),n=(e=i).options,h.each(e.scales,function(t){o.removeBox(e,t)}),n=h.configMerge(d.defaults.global,d.defaults[e.config.type],n),e.options=e.config.options=n,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=n.tooltips,e.tooltip.initialize(),l._invalidate(i),!1!==l.notify(i,"beforeUpdate")&&(i.tooltip._data=i.data,n=i.buildOrUpdateControllers(),h.each(i.data.datasets,function(t,e){i.getDatasetMeta(e).controller.buildOrUpdateElements()},i),i.updateLayout(),i.options.animation&&i.options.animation.duration&&h.each(n,function(t){t.reset()}),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],l.notify(i,"afterUpdate"),i._bufferedRender?i._bufferedRequest={duration:t.duration,easing:t.easing,lazy:t.lazy}:i.render(t))},updateLayout:function(){!1!==l.notify(this,"beforeLayout")&&(o.update(this,this.width,this.height),l.notify(this,"afterScaleUpdate"),l.notify(this,"afterLayout"))},updateDatasets:function(){if(!1!==l.notify(this,"beforeDatasetsUpdate")){for(var t=0,e=this.data.datasets.length;t<e;++t)this.updateDataset(t);l.notify(this,"afterDatasetsUpdate")}},updateDataset:function(t){var e=this.getDatasetMeta(t),t={meta:e,index:t};!1!==l.notify(this,"beforeDatasetUpdate",[t])&&(e.controller.update(),l.notify(this,"afterDatasetUpdate",[t]))},render:function(t){var e,n,i=this,o=(t=t&&"object"==typeof t?t:{duration:t,lazy:arguments[1]}).duration,s=t.lazy;if(!1!==l.notify(i,"beforeRender"))return n=function(t){l.notify(i,"afterRender"),h.callback(e&&e.onComplete,[t],i)},(e=i.options.animation)&&(void 0!==o&&0!==o||void 0===o&&0!==e.duration)?(t=new d.Animation({numSteps:(o||e.duration)/16.66,easing:t.easing||e.easing,render:function(t,e){var n=h.easing.effects[e.easing],i=e.currentStep,e=i/e.numSteps;t.draw(n(e),e,i)},onAnimationProgress:e.onProgress,onAnimationComplete:n}),d.animationService.addAnimation(i,t,o,s)):(i.draw(),n(new d.Animation({numSteps:0,chart:i}))),i},draw:function(t){var e=this;e.clear(),h.isNullOrUndef(t)&&(t=1),e.transition(t),!1!==l.notify(e,"beforeDraw",[t])&&(h.each(e.boxes,function(t){t.draw(e.chartArea)},e),e.scale&&e.scale.draw(),e.drawDatasets(t),e._drawTooltip(t),l.notify(e,"afterDraw",[t]))},transition:function(t){for(var e=0,n=(this.data.datasets||[]).length;e<n;++e)this.isDatasetVisible(e)&&this.getDatasetMeta(e).controller.transition(t);this.tooltip.transition(t)},drawDatasets:function(t){if(!1!==l.notify(this,"beforeDatasetsDraw",[t])){for(var e=(this.data.datasets||[]).length-1;0<=e;--e)this.isDatasetVisible(e)&&this.drawDataset(e,t);l.notify(this,"afterDatasetsDraw",[t])}},drawDataset:function(t,e){var n=this.getDatasetMeta(t),t={meta:n,index:t,easingValue:e};!1!==l.notify(this,"beforeDatasetDraw",[t])&&(n.controller.draw(e),l.notify(this,"afterDatasetDraw",[t]))},_drawTooltip:function(t){var e=this.tooltip,t={tooltip:e,easingValue:t};!1!==l.notify(this,"beforeTooltipDraw",[t])&&(e.draw(),l.notify(this,"afterTooltipDraw",[t]))},getElementAtEvent:function(t){return i.modes.single(this,t)},getElementsAtEvent:function(t){return i.modes.label(this,t,{intersect:!0})},getElementsAtXAxis:function(t){return i.modes["x-axis"](this,t,{intersect:!0})},getElementsAtEventForMode:function(t,e,n){e=i.modes[e];return"function"==typeof e?e(this,t,n):[]},getDatasetAtEvent:function(t){return i.modes.dataset(this,t,{intersect:!0})},getDatasetMeta:function(t){t=this.data.datasets[t];return t._meta||(t._meta={}),t._meta[this.id]||(t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null})},getVisibleDatasetCount:function(){for(var t=0,e=0,n=this.data.datasets.length;e<n;++e)this.isDatasetVisible(e)&&t++;return t},isDatasetVisible:function(t){var e=this.getDatasetMeta(t);return"boolean"==typeof e.hidden?!e.hidden:!this.data.datasets[t].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(t){var e=this.id,t=this.data.datasets[t],n=t._meta&&t._meta[e];n&&(n.controller.destroy(),delete t._meta[e])},destroy:function(){var t,e,n=this,i=n.canvas;for(n.stop(),t=0,e=n.data.datasets.length;t<e;++t)n.destroyDatasetMeta(t);i&&(n.unbindEvents(),h.canvas.clear(n),a.releaseContext(n.ctx),n.canvas=null,n.ctx=null),l.notify(n,"destroy"),delete d.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){this.tooltip=new d.Tooltip({_chart:this,_chartInstance:this,_data:this.data,_options:this.options.tooltips},this)},bindEvents:function(){var e=this,n=e._listeners={},i=function(){e.eventHandler.apply(e,arguments)};h.each(e.options.events,function(t){a.addEventListener(e,t,i),n[t]=i}),e.options.responsive&&(i=function(){e.resize()},a.addEventListener(e,"resize",i),n.resize=i)},unbindEvents:function(){var n=this,t=n._listeners;t&&(delete n._listeners,h.each(t,function(t,e){a.removeEventListener(n,e,t)}))},updateHoverStyle:function(t,e,n){for(var i,o=n?"setHoverStyle":"removeHoverStyle",s=0,r=t.length;s<r;++s)(i=t[s])&&this.getDatasetMeta(i._datasetIndex).controller[o](i)},eventHandler:function(t){var e,n=this,i=n.tooltip;if(!1!==l.notify(n,"beforeEvent",[t]))return n._bufferedRender=!0,n._bufferedRequest=null,e=n.handleEvent(t),i&&(e=i._start?i.handleEvent(t):e|i.handleEvent(t)),l.notify(n,"afterEvent",[t]),(i=n._bufferedRequest)?n.render(i):e&&!n.animating&&(n.stop(),n.render(n.options.hover.animationDuration,!0)),n._bufferedRender=!1,n._bufferedRequest=null,n},handleEvent:function(t){var e=this,n=e.options||{},i=n.hover;return e.lastActive=e.lastActive||[],"mouseout"===t.type?e.active=[]:e.active=e.getElementsAtEventForMode(t,i.mode,i),h.callback(n.onHover||n.hover.onHover,[t.native,e.active],e),"mouseup"!==t.type&&"click"!==t.type||n.onClick&&n.onClick.call(e,t.native,e.active),e.lastActive.length&&e.updateHoverStyle(e.lastActive,i.mode,!1),e.active.length&&i.mode&&e.updateHoverStyle(e.active,i.mode,!0),n=!h.arrayEquals(e.active,e.lastActive),e.lastActive=e.active,n}}),d.Controller=d}},{25:25,28:28,30:30,31:31,45:45,48:48}],24:[function(t,e,n){"use strict";var r=t(45);e.exports=function(t){var i=["push","pop","shift","splice","unshift"];function e(e,t){var n=e._chartjs;n&&(-1!==(t=(n=n.listeners).indexOf(t))&&n.splice(t,1),0<n.length||(i.forEach(function(t){delete e[t]}),delete e._chartjs))}t.DatasetController=function(t,e){this.initialize(t,e)},r.extend(t.DatasetController.prototype,{datasetElementType:null,dataElementType:null,initialize:function(t,e){this.chart=t,this.index=e,this.linkScales(),this.addElements()},updateIndex:function(t){this.index=t},linkScales:function(){var t=this.getMeta(),e=this.getDataset();null!==t.xAxisID&&t.xAxisID in this.chart.scales||(t.xAxisID=e.xAxisID||this.chart.options.scales.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in this.chart.scales||(t.yAxisID=e.yAxisID||this.chart.options.scales.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(t){return this.chart.scales[t]},reset:function(){this.update(!0)},destroy:function(){this._data&&e(this._data,this)},createMetaDataset:function(){var t=this.datasetElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(t){var e=this.dataElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index,_index:t})},addElements:function(){for(var t=this.getMeta(),e=this.getDataset().data||[],n=t.data,i=0,o=e.length;i<o;++i)n[i]=n[i]||this.createMetaData(i);t.dataset=t.dataset||this.createMetaDataset()},addElementAndReset:function(t){var e=this.createMetaData(t);this.getMeta().data.splice(t,0,e),this.updateElement(e,t,!0)},buildOrUpdateElements:function(){var o,t=this.getDataset(),t=t.data||(t.data=[]);this._data!==t&&(this._data&&e(this._data,this),(o=t)._chartjs?o._chartjs.listeners.push(this):(Object.defineProperty(o,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[this]}}),i.forEach(function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),i=o[t];Object.defineProperty(o,t,{configurable:!0,enumerable:!1,value:function(){var e=Array.prototype.slice.call(arguments),t=i.apply(this,e);return r.each(o._chartjs.listeners,function(t){"function"==typeof t[n]&&t[n].apply(t,e)}),t}})})),this._data=t),this.resyncElements()},update:r.noop,transition:function(t){for(var e=this.getMeta(),n=e.data||[],i=n.length,o=0;o<i;++o)n[o].transition(t);e.dataset&&e.dataset.transition(t)},draw:function(){var t=this.getMeta(),e=t.data||[],n=e.length,i=0;for(t.dataset&&t.dataset.draw();i<n;++i)e[i].draw()},removeHoverStyle:function(t,e){var n=this.chart.data.datasets[t._datasetIndex],i=t._index,o=t.custom||{},s=r.valueAtIndexOrDefault,t=t._model;t.backgroundColor=o.backgroundColor||s(n.backgroundColor,i,e.backgroundColor),t.borderColor=o.borderColor||s(n.borderColor,i,e.borderColor),t.borderWidth=o.borderWidth||s(n.borderWidth,i,e.borderWidth)},setHoverStyle:function(t){var e=this.chart.data.datasets[t._datasetIndex],n=t._index,i=t.custom||{},o=r.valueAtIndexOrDefault,s=r.getHoverColor,t=t._model;t.backgroundColor=i.hoverBackgroundColor||o(e.hoverBackgroundColor,n,s(t.backgroundColor)),t.borderColor=i.hoverBorderColor||o(e.hoverBorderColor,n,s(t.borderColor)),t.borderWidth=i.hoverBorderWidth||o(e.hoverBorderWidth,n,t.borderWidth)},resyncElements:function(){var t=this.getMeta(),e=this.getDataset().data,n=t.data.length,e=e.length;e<n?t.data.splice(e,n-e):n<e&&this.insertElements(n,e-n)},insertElements:function(t,e){for(var n=0;n<e;++n)this.addElementAndReset(t+n)},onDataPush:function(){this.insertElements(this.getDataset().data.length-1,arguments.length)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(t,e){this.getMeta().data.splice(t,e),this.insertElements(t,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),t.DatasetController.extend=r.inherits}},{45:45}],25:[function(t,e,n){"use strict";var i=t(45);e.exports={_set:function(t,e){return i.merge(this[t]||(this[t]={}),e)}}},{45:45}],26:[function(t,e,n){"use strict";function i(t){o.extend(this,t),this.initialize.apply(this,arguments)}var v=t(3),o=t(45);o.extend(i.prototype,{initialize:function(){this.hidden=!1},pivot:function(){return this._view||(this._view=o.clone(this._model)),this._start={},this},transition:function(t){var e=this._model,n=this._start,i=this._view;if(e&&1!==t){for(var i=i||(this._view={}),n,o=n=n||(this._start={}),s=i,r=e,a=t,l,d,u,h,c,p,f=Object.keys(r),g=0,m=f.length;g<m;++g)if(u=r[l=f[g]],s.hasOwnProperty(l)||(s[l]=u),(h=s[l])!==u&&"_"!==l[0]){if(o.hasOwnProperty(l)||(o[l]=h),(h=typeof u)==typeof(d=o[l]))if("string"==h){if((c=v(d)).valid&&(p=v(u)).valid){s[l]=p.mix(c,a).rgbString();continue}}else if("number"==h&&isFinite(d)&&isFinite(u)){s[l]=d+(u-d)*a;continue}s[l]=u}}else this._view=e,this._start=null;return this},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return o.isNumber(this._model.x)&&o.isNumber(this._model.y)}}),i.extend=o.inherits,e.exports=i},{3:3,45:45}],27:[function(t,e,n){"use strict";var i=t(3),o=t(25),c=t(45);e.exports=function(l){function d(t,e,n){var i;return"string"==typeof t?(i=parseInt(t,10),-1!==t.indexOf("%")&&(i=i/100*e.parentNode[n])):i=t,i}function u(t){return null!=t&&"none"!==t}function e(t,e,n){var i=document.defaultView,o=t.parentNode,s=i.getComputedStyle(t)[e],i=i.getComputedStyle(o)[e],e=u(s),r=u(i),a=Number.POSITIVE_INFINITY;return e||r?Math.min(e?d(s,t,n):a,r?d(i,o,n):a):"none"}c.configMerge=function(){return c.merge(c.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,n,i){var o=e[t]||{},s=n[t];"scales"===t?e[t]=c.scaleMerge(o,s):"scale"===t?e[t]=c.merge(o,[l.scaleService.getScaleDefaults(s.type),s]):c._merger(t,e,n,i)}})},c.scaleMerge=function(){return c.merge(c.clone(arguments[0]),[].slice.call(arguments,1),{merger:function(t,e,n,i){if("xAxes"===t||"yAxes"===t){var o,s,r,a=n[t].length;for(e[t]||(e[t]=[]),o=0;o<a;++o)r=n[t][o],s=c.valueOrDefault(r.type,"xAxes"===t?"category":"linear"),o>=e[t].length&&e[t].push({}),!e[t][o].type||r.type&&r.type!==e[t][o].type?c.merge(e[t][o],[l.scaleService.getScaleDefaults(s),r]):c.merge(e[t][o],r)}else c._merger(t,e,n,i)}})},c.where=function(t,e){var n;return c.isArray(t)&&Array.prototype.filter?t.filter(e):(n=[],c.each(t,function(t){e(t)&&n.push(t)}),n)},c.findIndex=Array.prototype.findIndex?function(t,e,n){return t.findIndex(e,n)}:function(t,e,n){n=void 0===n?t:n;for(var i=0,o=t.length;i<o;++i)if(e.call(n,t[i],i,t))return i;return-1},c.findNextWhere=function(t,e,n){for(var i=(n=c.isNullOrUndef(n)?-1:n)+1;i<t.length;i++){var o=t[i];if(e(o))return o}},c.findPreviousWhere=function(t,e,n){for(var i=(n=c.isNullOrUndef(n)?t.length:n)-1;0<=i;i--){var o=t[i];if(e(o))return o}},c.isNumber=function(t){return!isNaN(parseFloat(t))&&isFinite(t)},c.almostEquals=function(t,e,n){return Math.abs(t-e)<n},c.almostWhole=function(t,e){var n=Math.round(t);return n-e<t&&t<n+e},c.max=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.max(t,e)},Number.NEGATIVE_INFINITY)},c.min=function(t){return t.reduce(function(t,e){return isNaN(e)?t:Math.min(t,e)},Number.POSITIVE_INFINITY)},c.sign=Math.sign?function(t){return Math.sign(t)}:function(t){return 0==(t=+t)||isNaN(t)?t:0<t?1:-1},c.log10=Math.log10?function(t){return Math.log10(t)}:function(t){var e=Math.log(t)*Math.LOG10E,n=Math.round(e);return t===Math.pow(10,n)?n:e},c.toRadians=function(t){return t*(Math.PI/180)},c.toDegrees=function(t){return t*(180/Math.PI)},c.getAngleFromPoint=function(t,e){var n=e.x-t.x,e=e.y-t.y,t=Math.sqrt(n*n+e*e),e=Math.atan2(e,n);return e<-.5*Math.PI&&(e+=2*Math.PI),{angle:e,distance:t}},c.distanceBetweenPoints=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},c.aliasPixel=function(t){return t%2==0?0:.5},c.splineCurve=function(t,e,n,i){var t=t.skip?e:t,o=e,e=n.skip?e:n,n=Math.sqrt(Math.pow(o.x-t.x,2)+Math.pow(o.y-t.y,2)),s=Math.sqrt(Math.pow(e.x-o.x,2)+Math.pow(e.y-o.y,2)),r=n/(n+s),n=s/(n+s),s=i*(isNaN(r)?0:r),r=i*(isNaN(n)?0:n);return{previous:{x:o.x-s*(e.x-t.x),y:o.y-s*(e.y-t.y)},next:{x:o.x+r*(e.x-t.x),y:o.y+r*(e.y-t.y)}}},c.EPSILON=Number.EPSILON||1e-14,c.splineCurveMonotone=function(t){for(var e,n,i,o,s,r,a,l,d=(t||[]).map(function(t){return{model:t._model,deltaK:0,mK:0}}),u=d.length,h=0;h<u;++h)(e=d[h]).model.skip||(l=0<h?d[h-1]:null,(n=h<u-1?d[h+1]:null)&&!n.model.skip&&(a=n.model.x-e.model.x,e.deltaK=0!=a?(n.model.y-e.model.y)/a:0),!l||l.model.skip?e.mK=e.deltaK:!n||n.model.skip?e.mK=l.deltaK:this.sign(l.deltaK)!==this.sign(e.deltaK)?e.mK=0:e.mK=(l.deltaK+e.deltaK)/2);for(h=0;h<u-1;++h)e=d[h],n=d[h+1],e.model.skip||n.model.skip||(c.almostEquals(e.deltaK,0,this.EPSILON)?e.mK=n.mK=0:(i=e.mK/e.deltaK,o=n.mK/e.deltaK,(s=Math.pow(i,2)+Math.pow(o,2))<=9||(s=3/Math.sqrt(s),e.mK=i*s*e.deltaK,n.mK=o*s*e.deltaK)));for(h=0;h<u;++h)(e=d[h]).model.skip||(l=0<h?d[h-1]:null,n=h<u-1?d[h+1]:null,l&&!l.model.skip&&(r=(e.model.x-l.model.x)/3,e.model.controlPointPreviousX=e.model.x-r,e.model.controlPointPreviousY=e.model.y-r*e.mK),n&&!n.model.skip&&(r=(n.model.x-e.model.x)/3,e.model.controlPointNextX=e.model.x+r,e.model.controlPointNextY=e.model.y+r*e.mK))},c.nextItem=function(t,e,n){return n?e>=t.length-1?t[0]:t[e+1]:e>=t.length-1?t[t.length-1]:t[e+1]},c.previousItem=function(t,e,n){return n?e<=0?t[t.length-1]:t[e-1]:e<=0?t[0]:t[e-1]},c.niceNum=function(t,e){var n=Math.floor(c.log10(t)),t=t/Math.pow(10,n);return(e?t<1.5?1:t<3?2:t<7?5:10:t<=1?1:t<=2?2:t<=5?5:10)*Math.pow(10,n)},c.requestAnimFrame="undefined"==typeof window?function(t){t()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t){return window.setTimeout(t,1e3/60)},c.getRelativePosition=function(t,e){var n,i=t.originalEvent||t,t=t.currentTarget||t.srcElement,o=t.getBoundingClientRect(),s=i.touches,s=(s&&0<s.length?(n=s[0].clientX,s[0]):(n=i.clientX,i)).clientY,i=parseFloat(c.getStyle(t,"padding-left")),r=parseFloat(c.getStyle(t,"padding-top")),a=parseFloat(c.getStyle(t,"padding-right")),l=parseFloat(c.getStyle(t,"padding-bottom")),a=o.right-o.left-i-a,l=o.bottom-o.top-r-l;return{x:n=Math.round((n-o.left-i)/a*t.width/e.currentDevicePixelRatio),y:s=Math.round((s-o.top-r)/l*t.height/e.currentDevicePixelRatio)}},c.getConstraintWidth=function(t){return e(t,"max-width","clientWidth")},c.getConstraintHeight=function(t){return e(t,"max-height","clientHeight")},c.getMaximumWidth=function(t){var e,n,i=t.parentNode;return i?(n=parseInt(c.getStyle(i,"padding-left"),10),e=parseInt(c.getStyle(i,"padding-right"),10),i=i.clientWidth-n-e,n=c.getConstraintWidth(t),isNaN(n)?i:Math.min(i,n)):t.clientWidth},c.getMaximumHeight=function(t){var e,n,i=t.parentNode;return i?(n=parseInt(c.getStyle(i,"padding-top"),10),e=parseInt(c.getStyle(i,"padding-bottom"),10),i=i.clientHeight-n-e,n=c.getConstraintHeight(t),isNaN(n)?i:Math.min(i,n)):t.clientHeight},c.getStyle=function(t,e){return t.currentStyle?t.currentStyle[e]:document.defaultView.getComputedStyle(t,null).getPropertyValue(e)},c.retinaScale=function(t,e){var n,i,o,e=t.currentDevicePixelRatio=e||window.devicePixelRatio||1;1!==e&&(n=t.canvas,i=t.height,o=t.width,n.height=i*e,n.width=o*e,t.ctx.scale(e,e),n.style.height||n.style.width||(n.style.height=i+"px",n.style.width=o+"px"))},c.fontString=function(t,e,n){return e+" "+t+"px "+n},c.longestText=function(e,t,n,i){var o=(i=i||{}).data=i.data||{},s=i.garbageCollect=i.garbageCollect||[],r=(i.font!==t&&(o=i.data={},s=i.garbageCollect=[],i.font=t),e.font=t,0),a=(c.each(n,function(t){null!=t&&!0!==c.isArray(t)?r=c.measureText(e,o,s,r,t):c.isArray(t)&&c.each(t,function(t){null==t||c.isArray(t)||(r=c.measureText(e,o,s,r,t))})}),s.length/2);if(a>n.length){for(var l=0;l<a;l++)delete o[s[l]];s.splice(0,a)}return r},c.measureText=function(t,e,n,i,o){var s=e[o];return s||(s=e[o]=t.measureText(o).width,n.push(o)),i=i<s?s:i},c.numberOfLabelLines=function(t){var e=1;return c.each(t,function(t){c.isArray(t)&&t.length>e&&(e=t.length)}),e},c.color=i?function(t){return t instanceof CanvasGradient&&(t=o.global.defaultColor),i(t)}:function(t){return console.error("Color.js not found!"),t},c.getHoverColor=function(t){return t instanceof CanvasPattern?t:c.color(t).saturate(.5).darken(.1).rgbString()}}},{25:25,3:3,45:45}],28:[function(t,e,n){"use strict";var i=t(45);function r(t,e){return t.native?{x:t.x,y:t.y}:i.getRelativePosition(t,e)}function a(t,e){for(var n,i,o,s=0,r=t.data.datasets.length;s<r;++s)if(t.isDatasetVisible(s))for(i=0,o=(n=t.getDatasetMeta(s)).data.length;i<o;++i){var a=n.data[i];a._view.skip||e(a)}}function l(t,e){var n=[];return a(t,function(t){t.inRange(e.x,e.y)&&n.push(t)}),n}function d(t,n,i,o){var s=Number.POSITIVE_INFINITY,r=[];return a(t,function(t){var e;i&&!t.inRange(n.x,n.y)||(e=t.getCenterPoint(),(e=o(n,e))<s?(r=[t],s=e):e===s&&r.push(t))}),r}function u(t){var i=-1!==t.indexOf("x"),o=-1!==t.indexOf("y");return function(t,e){var n=i?Math.abs(t.x-e.x):0,t=o?Math.abs(t.y-e.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(t,2))}}function o(n,t,e){var t=r(t,n),i=(e.axis=e.axis||"x",u(e.axis)),o=e.intersect?l(n,t):d(n,t,!1,i),s=[];return o.length?(n.data.datasets.forEach(function(t,e){n.isDatasetVisible(e)&&(e=n.getDatasetMeta(e).data[o[0]._index])&&!e._view.skip&&s.push(e)}),s):[]}e.exports={modes:{single:function(t,e){var n=r(e,t),i=[];return a(t,function(t){t.inRange(n.x,n.y)&&i.push(t)}),i.slice(0,1)},label:o,index:o,dataset:function(t,e,n){var e=r(e,t),i=(n.axis=n.axis||"xy",u(n.axis)),n=n.intersect?l(t,e):d(t,e,!1,i);return n=0<n.length?t.getDatasetMeta(n[0]._datasetIndex).data:n},"x-axis":function(t,e){return o(t,e,{intersect:!1})},point:function(t,e){return l(t,r(e,t))},nearest:function(t,e,n){var e=r(e,t),i=(n.axis=n.axis||"xy",u(n.axis)),t=d(t,e,n.intersect,i);return 1<t.length&&t.sort(function(t,e){var n=t.getArea()-e.getArea();return n=0===n?t._datasetIndex-e._datasetIndex:n}),t.slice(0,1)},x:function(t,e,n){var i=r(e,t),o=[],s=!1;return a(t,function(t){t.inXRange(i.x)&&o.push(t),t.inRange(i.x,i.y)&&(s=!0)}),o=n.intersect&&!s?[]:o},y:function(t,e,n){var i=r(e,t),o=[],s=!1;return a(t,function(t){t.inYRange(i.y)&&o.push(t),t.inRange(i.x,i.y)&&(s=!0)}),o=n.intersect&&!s?[]:o}}}},{45:45}],29:[function(t,e,n){"use strict";t(25)._set("global",{responsive:!0,responsiveAnimationDuration:0,maintainAspectRatio:!0,events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",showLines:!0,elements:{},layout:{padding:{top:0,right:0,bottom:0,left:0}}}),e.exports=function(){function t(t,e){return this.construct(t,e),this}return t.Chart=t}},{25:25}],30:[function(t,e,n){"use strict";var E=t(45);function L(t,e){return E.where(t,function(t){return t.position===e})}function R(t,i){t.forEach(function(t,e){return t._tmpIndex_=e,t}),t.sort(function(t,e){var n=i?e:t,t=i?t:e;return n.weight===t.weight?n._tmpIndex_-t._tmpIndex_:n.weight-t.weight}),t.forEach(function(t){delete t._tmpIndex_})}e.exports={defaults:{},addBox:function(t,e){t.boxes||(t.boxes=[]),e.fullWidth=e.fullWidth||!1,e.position=e.position||"top",e.weight=e.weight||0,t.boxes.push(e)},removeBox:function(t,e){e=t.boxes?t.boxes.indexOf(e):-1;-1!==e&&t.boxes.splice(e,1)},configure:function(t,e,n){for(var i,o=["fullWidth","position","weight"],s=o.length,r=0;r<s;++r)n.hasOwnProperty(i=o[r])&&(e[i]=n[i])},update:function(e,n,t){var i,o,s,r,a,l,d,u,h,c,p,f,g,m,v,y,b,$,w,x,_,C,S,k,D,T,I,A,M;function O(e){var t,n=E.findNextWhere(v,function(t){return t.box===e});n&&(e.isHorizontal()?(t={left:Math.max(x,y),right:Math.max(_,b),top:0,bottom:0},e.update(e.fullWidth?h:g,c/2,t)):e.update(n.minSize.width,m))}function P(t){t.isHorizontal()?(t.left=t.fullWidth?i:x,t.right=t.fullWidth?n-o:x+g,t.top=M,t.bottom=M+t.height,M=t.bottom):(t.left=A,t.right=A+t.width,t.top=C,t.bottom=C+m,A=t.right)}e&&(k=e.options.layout||{},k=E.options.toPadding(k.padding),i=k.left,o=k.right,s=k.top,k=k.bottom,r=L(e.boxes,"left"),a=L(e.boxes,"right"),l=L(e.boxes,"top"),d=L(e.boxes,"bottom"),u=L(e.boxes,"chartArea"),R(r,!0),R(a,!1),R(l,!0),R(d,!1),p=(n-(h=n-i-o)/2)/(r.length+a.length),f=(t-(c=t-s-k)/2)/(l.length+d.length),g=h,m=c,v=[],E.each(r.concat(a,l,d),function(t){var e,n=t.isHorizontal();n?(e=t.update(t.fullWidth?h:g,f),m-=e.height):(e=t.update(p,m),g-=e.width),v.push({horizontal:n,minSize:e,box:t})}),w=$=b=y=0,E.each(l.concat(d),function(t){t.getPadding&&(t=t.getPadding(),y=Math.max(y,t.left),b=Math.max(b,t.right))}),E.each(r.concat(a),function(t){t.getPadding&&(t=t.getPadding(),$=Math.max($,t.top),w=Math.max(w,t.bottom))}),x=i,_=o,C=s,S=k,E.each(r.concat(a),O),E.each(r,function(t){x+=t.width}),E.each(a,function(t){_+=t.width}),E.each(l.concat(d),O),E.each(l,function(t){C+=t.height}),E.each(d,function(t){S+=t.height}),E.each(r.concat(a),function(e){var t=E.findNextWhere(v,function(t){return t.box===e}),n={left:0,right:0,top:C,bottom:S};t&&e.update(t.minSize.width,m,n)}),x=i,_=o,C=s,S=k,E.each(r,function(t){x+=t.width}),E.each(a,function(t){_+=t.width}),E.each(l,function(t){C+=t.height}),E.each(d,function(t){S+=t.height}),k=Math.max(y-x,0),x+=k,_+=Math.max(b-_,0),D=Math.max($-C,0),C+=D,S+=Math.max(w-S,0),T=t-C-S,(I=n-x-_)===g&&T===m||(E.each(r,function(t){t.height=T}),E.each(a,function(t){t.height=T}),E.each(l,function(t){t.fullWidth||(t.width=I)}),E.each(d,function(t){t.fullWidth||(t.width=I)}),m=T,g=I),A=i+k,M=s+D,E.each(r.concat(l),P),A+=g,M+=m,E.each(a,P),E.each(d,P),e.chartArea={left:x,top:C,right:x+g,bottom:C+m},E.each(u,function(t){t.left=e.chartArea.left,t.top=e.chartArea.top,t.right=e.chartArea.right,t.bottom=e.chartArea.bottom,t.update(g,m)}))}}},{45:45}],31:[function(t,e,n){"use strict";var r=t(25),a=t(45);r._set("global",{plugins:{}}),e.exports={_plugins:[],_cacheId:0,register:function(t){var e=this._plugins;[].concat(t).forEach(function(t){-1===e.indexOf(t)&&e.push(t)}),this._cacheId++},unregister:function(t){var e=this._plugins;[].concat(t).forEach(function(t){t=e.indexOf(t);-1!==t&&e.splice(t,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(t,e,n){for(var i,o,s,r,a=this.descriptors(t),l=a.length,d=0;d<l;++d)if("function"==typeof(r=(o=(i=a[d]).plugin)[e])&&((s=[t].concat(n||[])).push(i.options),!1===r.apply(o,s)))return!1;return!0},descriptors:function(t){var i,o,s,e=t.$plugins||(t.$plugins={});return e.id===this._cacheId?e.descriptors:(i=[],o=[],t=t&&t.config||{},s=t.options&&t.options.plugins||{},this._plugins.concat(t.plugins||[]).forEach(function(t){var e,n;-1===i.indexOf(t)&&(e=t.id,!1!==(n=s[e]))&&(!0===n&&(n=a.clone(r.global.plugins[e])),i.push(t),o.push({plugin:t,options:n||{}}))}),e.descriptors=o,e.id=this._cacheId,o)},_invalidate:function(t){delete t.$plugins}}},{25:25,45:45}],32:[function(t,e,n){"use strict";var m=t(25),i=t(26),F=t(45),t=t(34);function p(t){for(var e=[],n=0,i=t.length;n<i;++n)e.push(t[n].label);return e}function j(t,e,n){var i=t.getPixelForTick(e);return n&&(i-=0===e?(t.getPixelForTick(1)-i)/2:(i-t.getPixelForTick(e-1))/2),i}m._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:"",lineHeight:1.2,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:t.formatters.values,minor:{},major:{}}}),e.exports=function(t){function c(t,e,n){return F.isArray(e)?F.longestText(t,n,e):t.measureText(e).width}function f(t){var e=F.valueOrDefault,n=m.global,i=e(t.fontSize,n.defaultFontSize),o=e(t.fontStyle,n.defaultFontStyle),e=e(t.fontFamily,n.defaultFontFamily);return{size:i,style:o,family:e,font:F.fontString(i,o,e)}}function g(t){return F.options.toLineHeight(F.valueOrDefault(t.lineHeight,1.2),F.valueOrDefault(t.fontSize,m.global.defaultFontSize))}t.Scale=i.extend({getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},mergeTicksOptions:function(){var t,e=this.options.ticks;for(t in!1===e.minor&&(e.minor={display:!1}),!1===e.major&&(e.major={display:!1}),e)"major"!==t&&"minor"!==t&&(void 0===e.minor[t]&&(e.minor[t]=e[t]),void 0===e.major[t])&&(e.major[t]=e[t])},beforeUpdate:function(){F.callback(this.options.beforeUpdate,[this])},update:function(t,e,n){var i,o,s,r,a,l,d=this;for(d.beforeUpdate(),d.maxWidth=t,d.maxHeight=e,d.margins=F.extend({left:0,right:0,top:0,bottom:0},n),d.longestTextCache=d.longestTextCache||{},d.beforeSetDimensions(),d.setDimensions(),d.afterSetDimensions(),d.beforeDataLimits(),d.determineDataLimits(),d.afterDataLimits(),d.beforeBuildTicks(),a=d.buildTicks()||[],d.afterBuildTicks(),d.beforeTickToLabelConversion(),s=d.convertTicksToLabels(a)||d.ticks,d.afterTickToLabelConversion(),i=0,o=(d.ticks=s).length;i<o;++i)r=s[i],(l=a[i])?l.label=r:a.push(l={label:r,major:!1});return d._ticks=a,d.beforeCalculateTickRotation(),d.calculateTickRotation(),d.afterCalculateTickRotation(),d.beforeFit(),d.fit(),d.afterFit(),d.afterUpdate(),d.minSize},afterUpdate:function(){F.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){F.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0},afterSetDimensions:function(){F.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){F.callback(this.options.beforeDataLimits,[this])},determineDataLimits:F.noop,afterDataLimits:function(){F.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){F.callback(this.options.beforeBuildTicks,[this])},buildTicks:F.noop,afterBuildTicks:function(){F.callback(this.options.afterBuildTicks,[this])},beforeTickToLabelConversion:function(){F.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var t=this.options.ticks;this.ticks=this.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){F.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){F.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var t=this,e=t.ctx,n=t.options.ticks,i=p(t._ticks),o=f(n),s=(e.font=o.font,n.minRotation||0);if(i.length&&t.options.display&&t.isHorizontal())for(var r=F.longestText(e,o.font,i,t.longestTextCache),a=r,l=t.getPixelForTick(1)-t.getPixelForTick(0)-6;l<a&&s<n.maxRotation;){var d=F.toRadians(s),u=Math.cos(d);if(Math.sin(d)*r>t.maxHeight){s--;break}s++,a=u*r}t.labelRotation=s},afterCalculateTickRotation:function(){F.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){F.callback(this.options.beforeFit,[this])},fit:function(){var t,e=this,n=e.minSize={width:0,height:0},i=p(e._ticks),o=e.options,s=o.ticks,r=o.scaleLabel,a=o.gridLines,l=o.display,d=e.isHorizontal(),u=f(s),h=o.gridLines.tickMarkLength;n.width=d?e.isFullWidth()?e.maxWidth-e.margins.left-e.margins.right:e.maxWidth:l&&a.drawTicks?h:0,n.height=d?l&&a.drawTicks?h:0:e.maxHeight,r.display&&l&&(a=g(r)+F.options.toPadding(r.padding).height,d?n.height+=a:n.width+=a),s.display&&l&&(h=F.longestText(e.ctx,u.font,i,e.longestTextCache),r=F.numberOfLabelLines(i),a=.5*u.size,l=e.options.ticks.padding,d?(e.longestLabelWidth=h,d=F.toRadians(e.labelRotation),t=Math.cos(d),d=Math.sin(d)*h+u.size*r+a*(r-1)+a,n.height=Math.min(e.maxHeight,n.height+d+l),e.ctx.font=u.font,r=c(e.ctx,i[0],u.font),d=c(e.ctx,i[i.length-1],u.font),0!==e.labelRotation?(e.paddingLeft="bottom"===o.position?t*r+3:t*a+3,e.paddingRight="bottom"===o.position?t*a+3:t*d+3):(e.paddingLeft=r/2+3,e.paddingRight=d/2+3)):(s.mirror?h=0:h+=l+a,n.width=Math.min(e.maxWidth,n.width+h),e.paddingTop=u.size/2,e.paddingBottom=u.size/2)),e.handleMargins(),e.width=n.width,e.height=n.height},handleMargins:function(){var t=this;t.margins&&(t.paddingLeft=Math.max(t.paddingLeft-t.margins.left,0),t.paddingTop=Math.max(t.paddingTop-t.margins.top,0),t.paddingRight=Math.max(t.paddingRight-t.margins.right,0),t.paddingBottom=Math.max(t.paddingBottom-t.margins.bottom,0))},afterFit:function(){F.callback(this.options.afterFit,[this])},isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(t){if(F.isNullOrUndef(t))return NaN;if("number"==typeof t&&!isFinite(t))return NaN;if(t)if(this.isHorizontal()){if(void 0!==t.x)return this.getRightValue(t.x)}else if(void 0!==t.y)return this.getRightValue(t.y);return t},getLabelForIndex:F.noop,getPixelForValue:F.noop,getValueForPixel:F.noop,getPixelForTick:function(t){var e,n,i=this,o=i.options.offset;return i.isHorizontal()?(n=(e=(i.width-(i.paddingLeft+i.paddingRight))/Math.max(i._ticks.length-(o?0:1),1))*t+i.paddingLeft,o&&(n+=e/2),i.left+Math.round(n)+(i.isFullWidth()?i.margins.left:0)):(o=i.height-(i.paddingTop+i.paddingBottom),i.top+t*(o/(i._ticks.length-1)))},getPixelForDecimal:function(t){var e,n=this;return n.isHorizontal()?(e=(n.width-(n.paddingLeft+n.paddingRight))*t+n.paddingLeft,n.left+Math.round(e)+(n.isFullWidth()?n.margins.left:0)):n.top+t*n.height},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var t=this.min,e=this.max;return this.beginAtZero?0:t<0&&e<0?e:0<t&&0<e?t:0},_autoSkip:function(t){var e,n,i,o,s=this,r=s.isHorizontal(),a=s.options.ticks.minor,l=t.length,d=F.toRadians(s.labelRotation),d=Math.cos(d),d=s.longestLabelWidth*d,u=[];for(a.maxTicksLimit&&(o=a.maxTicksLimit),r&&(e=!1,(d+a.autoSkipPadding)*l>s.width-(s.paddingLeft+s.paddingRight)&&(e=1+Math.floor((d+a.autoSkipPadding)*l/(s.width-(s.paddingLeft+s.paddingRight)))),o)&&o<l&&(e=Math.max(e,Math.floor(l/o))),n=0;n<l;n++)i=t[n],(1<e&&0<n%e||n%e==0&&l<=n+e)&&n!==l-1&&delete i.label,u.push(i);return u},draw:function(w){var r,x,_,C,t,S,k,D,a,l,d,u,T,e,n,I,A,M,O,P,E,L,i,o,s,h,c,p,R=this,N=R.options;N.display&&(r=R.ctx,x=m.global,_=N.ticks.minor,e=N.ticks.major||_,C=N.gridLines,t=N.scaleLabel,S=0!==R.labelRotation,k=R.isHorizontal(),D=_.autoSkip?R._autoSkip(R.getTicks()):R.getTicks(),a=F.valueOrDefault(_.fontColor,x.defaultFontColor),l=f(_),d=F.valueOrDefault(e.fontColor,x.defaultFontColor),u=f(e),T=C.drawTicks?C.tickMarkLength:0,e=F.valueOrDefault(t.fontColor,x.defaultFontColor),n=f(t),s=F.options.toPadding(t.padding),I=F.toRadians(R.labelRotation),A=[],M=R.options.gridLines.lineWidth,O="right"===N.position?R.right:R.right-M-T,P="right"===N.position?R.right+T:R.right,E="bottom"===N.position?R.top+M:R.bottom-T-M,L="bottom"===N.position?R.top+M+T:R.bottom+M,F.each(D,function(t,e){var n,i,o,s,r,a,l,d,u,h,c,p,f,g,m,v,y,b,$;F.isNullOrUndef(t.label)||(c=t.label,p=e===R.zeroLineIndex&&N.offset===C.offsetGridLines?(n=C.zeroLineWidth,i=C.zeroLineColor,o=C.zeroLineBorderDash,C.zeroLineBorderDashOffset):(n=F.valueAtIndexOrDefault(C.lineWidth,e),i=F.valueAtIndexOrDefault(C.color,e),o=F.valueOrDefault(C.borderDash,x.borderDash),F.valueOrDefault(C.borderDashOffset,x.borderDashOffset)),g=f="middle",y=_.padding,k?(m=T+y,m="bottom"===N.position?(g=S?"middle":"top",f=S?"right":"center",R.top+m):(g=S?"middle":"bottom",f=S?"left":"center",R.bottom-m),(v=j(R,e,C.offsetGridLines&&1<D.length))<R.left&&(i="rgba(0,0,0,0)"),v+=F.aliasPixel(n),b=R.getPixelForTick(e)+_.labelOffset,s=a=d=v=v,r=E,l=L,u=w.top,h=w.bottom+M):($="left"===N.position,y=_.mirror?(f=$?"left":"right",y):(f=$?"right":"left",T+y),b=$?R.right-y:R.left+y,($=j(R,e,C.offsetGridLines&&1<D.length))<R.top&&(i="rgba(0,0,0,0)"),$+=F.aliasPixel(n),m=R.getPixelForTick(e)+_.labelOffset,s=O,a=P,d=w.left,v=w.right+M,r=l=u=h=$),A.push({tx1:s,ty1:r,tx2:a,ty2:l,x1:d,y1:u,x2:v,y2:h,labelX:b,labelY:m,glWidth:n,glColor:i,glBorderDash:o,glBorderDashOffset:p,rotation:-1*I,label:c,major:t.major,textBaseline:g,textAlign:f}))}),F.each(A,function(t){if(C.display&&(r.save(),r.lineWidth=t.glWidth,r.strokeStyle=t.glColor,r.setLineDash&&(r.setLineDash(t.glBorderDash),r.lineDashOffset=t.glBorderDashOffset),r.beginPath(),C.drawTicks&&(r.moveTo(t.tx1,t.ty1),r.lineTo(t.tx2,t.ty2)),C.drawOnChartArea&&(r.moveTo(t.x1,t.y1),r.lineTo(t.x2,t.y2)),r.stroke(),r.restore()),_.display){r.save(),r.translate(t.labelX,t.labelY),r.rotate(t.rotation),r.font=(t.major?u:l).font,r.fillStyle=t.major?d:a,r.textBaseline=t.textBaseline,r.textAlign=t.textAlign;var e=t.label;if(F.isArray(e))for(var n=e.length,i=1.5*l.size,o=R.isHorizontal()?0:-i*(n-1)/2,s=0;s<n;++s)r.fillText(""+e[s],0,o),o+=i;else r.fillText(e,0,0);r.restore()}}),t.display&&(i=0,o=g(t)/2,k?(c=R.left+(R.right-R.left)/2,p="bottom"===N.position?R.bottom-o-s.bottom:R.top+o+s.top):(c=(h="left"===N.position)?R.left+o+s.top:R.right-o-s.top,p=R.top+(R.bottom-R.top)/2,i=h?-.5*Math.PI:.5*Math.PI),r.save(),r.translate(c,p),r.rotate(i),r.textAlign="center",r.textBaseline="middle",r.fillStyle=e,r.font=n.font,r.fillText(t.labelString,0,0),r.restore()),C.drawBorder)&&(r.lineWidth=F.valueAtIndexOrDefault(C.lineWidth,0),r.strokeStyle=F.valueAtIndexOrDefault(C.color,0),o=R.left,s=R.right+M,h=R.top,c=R.bottom+M,p=F.aliasPixel(r.lineWidth),k?(h=c="top"===N.position?R.bottom:R.top,h+=p,c+=p):(o=s="left"===N.position?R.right:R.left,o+=p,s+=p),r.beginPath(),r.moveTo(o,h),r.lineTo(s,c),r.stroke())}})}},{25:25,26:26,34:34,45:45}],33:[function(t,e,n){"use strict";var i=t(25),o=t(45),s=t(30);e.exports=function(t){t.scaleService={constructors:{},defaults:{},registerScaleType:function(t,e,n){this.constructors[t]=e,this.defaults[t]=o.clone(n)},getScaleConstructor:function(t){return this.constructors.hasOwnProperty(t)?this.constructors[t]:void 0},getScaleDefaults:function(t){return this.defaults.hasOwnProperty(t)?o.merge({},[i.scale,this.defaults[t]]):{}},updateScaleDefaults:function(t,e){this.defaults.hasOwnProperty(t)&&(this.defaults[t]=o.extend(this.defaults[t],e))},addScalesToLayout:function(e){o.each(e.scales,function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,s.addBox(e,t)})}}}},{25:25,30:30,45:45}],34:[function(t,e,n){"use strict";var o=t(45);e.exports={formatters:{values:function(t){return o.isArray(t)?t:""+t},linear:function(t,e,n){var n=3<n.length?n[2]-n[1]:n[1]-n[0],n=(1<Math.abs(n)&&t!==Math.floor(t)&&(n=t-Math.floor(t)),o.log10(Math.abs(n)));return 0!==t?(n=-1*Math.floor(n),n=Math.max(Math.min(n,20),0),t.toFixed(n)):"0"},logarithmic:function(t,e,n){var i=t/Math.pow(10,Math.floor(o.log10(t)));return 0===t?"0":1==i||2==i||5==i||0===e||e===n.length-1?t.toExponential():""}}}},{45:45}],35:[function(t,e,n){"use strict";var i=t(25),o=t(26),B=t(45);i._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:B.noop,title:function(t,e){var n="",e=e.labels,i=e?e.length:0;return 0<t.length&&((t=t[0]).xLabel?n=t.xLabel:0<i&&t.index<i&&(n=e[t.index])),n},afterTitle:B.noop,beforeBody:B.noop,beforeLabel:B.noop,label:function(t,e){e=e.datasets[t.datasetIndex].label||"";return e&&(e+=": "),e+t.yLabel},labelColor:function(t,e){e=e.getDatasetMeta(t.datasetIndex).data[t.index]._view;return{borderColor:e.borderColor,backgroundColor:e.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:B.noop,afterBody:B.noop,beforeFooter:B.noop,footer:B.noop,afterFooter:B.noop}}}),e.exports=function(z){function h(t,e){t=B.color(t);return t.alpha(e*t.alpha()).rgbaString()}function r(t,e){return e&&(B.isArray(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function H(t){var e=i.global,n=B.valueOrDefault;return{xPadding:t.xPadding,yPadding:t.yPadding,xAlign:t.xAlign,yAlign:t.yAlign,bodyFontColor:t.bodyFontColor,_bodyFontFamily:n(t.bodyFontFamily,e.defaultFontFamily),_bodyFontStyle:n(t.bodyFontStyle,e.defaultFontStyle),_bodyAlign:t.bodyAlign,bodyFontSize:n(t.bodyFontSize,e.defaultFontSize),bodySpacing:t.bodySpacing,titleFontColor:t.titleFontColor,_titleFontFamily:n(t.titleFontFamily,e.defaultFontFamily),_titleFontStyle:n(t.titleFontStyle,e.defaultFontStyle),titleFontSize:n(t.titleFontSize,e.defaultFontSize),_titleAlign:t.titleAlign,titleSpacing:t.titleSpacing,titleMarginBottom:t.titleMarginBottom,footerFontColor:t.footerFontColor,_footerFontFamily:n(t.footerFontFamily,e.defaultFontFamily),_footerFontStyle:n(t.footerFontStyle,e.defaultFontStyle),footerFontSize:n(t.footerFontSize,e.defaultFontSize),_footerAlign:t.footerAlign,footerSpacing:t.footerSpacing,footerMarginTop:t.footerMarginTop,caretSize:t.caretSize,cornerRadius:t.cornerRadius,backgroundColor:t.backgroundColor,opacity:0,legendColorBackground:t.multiKeyBackground,displayColors:t.displayColors,borderColor:t.borderColor,borderWidth:t.borderWidth}}z.Tooltip=o.extend({initialize:function(){this._model=H(this._options),this._lastActive=[]},getTitle:function(){var t=this._options.callbacks,e=t.beforeTitle.apply(this,arguments),n=t.title.apply(this,arguments),t=t.afterTitle.apply(this,arguments);return r(r(r([],e),n),t)},getBeforeBody:function(){var t=this._options.callbacks.beforeBody.apply(this,arguments);return B.isArray(t)?t:void 0!==t?[t]:[]},getBody:function(t,n){var i=this,o=i._options.callbacks,s=[];return B.each(t,function(t){var e={before:[],lines:[],after:[]};r(e.before,o.beforeLabel.call(i,t,n)),r(e.lines,o.label.call(i,t,n)),r(e.after,o.afterLabel.call(i,t,n)),s.push(e)}),s},getAfterBody:function(){var t=this._options.callbacks.afterBody.apply(this,arguments);return B.isArray(t)?t:void 0!==t?[t]:[]},getFooter:function(){var t=this._options.callbacks,e=t.beforeFooter.apply(this,arguments),n=t.footer.apply(this,arguments),t=t.afterFooter.apply(this,arguments);return r(r(r([],e),n),t)},update:function(R){var t,e,n,i,o,s,r,a,l,d,u,h,c,p,f,g,m,v,y,b,$,w,x,_,C=this,S=C._options,k=C._model,D=C._model=H(S),T=C._active,I=C._data,A={xAlign:k.xAlign,yAlign:k.yAlign},M={x:k.x,y:k.y},O={width:k.width,height:k.height},k={x:k.caretX,y:k.caretY};if(T.length){D.opacity=1;for(var N=[],F=[],k=z.Tooltip.positioners[S.position].call(C,T,C._eventPosition),P=[],E=0,j=T.length;E<j;++E)P.push((n=e=void 0,e=(t=T[E])._xScale,n=t._yScale||t._scale,i=t._index,o=t._datasetIndex,{xLabel:e?e.getLabelForIndex(i,o):"",yLabel:n?n.getLabelForIndex(i,o):"",index:i,datasetIndex:o,x:t._model.x,y:t._model.y}));S.filter&&(P=P.filter(function(t){return S.filter(t,I)})),S.itemSort&&(P=P.sort(function(t,e){return S.itemSort(t,e,I)})),B.each(P,function(t){N.push(S.callbacks.labelColor.call(C,t,C._chart)),F.push(S.callbacks.labelTextColor.call(C,t,C._chart))}),D.title=C.getTitle(P,I),D.beforeBody=C.getBeforeBody(P,I),D.body=C.getBody(P,I),D.afterBody=C.getAfterBody(P,I),D.footer=C.getFooter(P,I),D.x=Math.round(k.x),D.y=Math.round(k.y),D.caretPadding=S.caretPadding,D.labelColors=N,D.labelTextColors=F,D.dataPoints=P,p=D,f=(c=s=this)._chart.ctx,c=2*p.yPadding,g=0,m=p.body,v=m.reduce(function(t,e){return t+e.before.length+e.lines.length+e.after.length},0),v+=p.beforeBody.length+p.afterBody.length,y=p.title.length,b=p.footer.length,$=p.titleFontSize,w=p.bodyFontSize,x=p.footerFontSize,c=(c=(c=(c=(c=c+y*$+(y?(y-1)*p.titleSpacing:0))+(y?p.titleMarginBottom:0))+v*w+(v?(v-1)*p.bodySpacing:0))+(b?p.footerMarginTop:0))+b*x+(b?(b-1)*p.footerSpacing:0),_=0,f.font=B.fontString($,p._titleFontStyle,p._titleFontFamily),B.each(p.title,L),f.font=B.fontString(w,p._bodyFontStyle,p._bodyFontFamily),B.each(p.beforeBody.concat(p.afterBody),L),_=p.displayColors?w+2:0,B.each(m,function(t){B.each(t.before,L),B.each(t.lines,L),B.each(t.after,L)}),_=0,f.font=B.fontString(x,p._footerFontStyle,p._footerFontFamily),B.each(p.footer,L),r=O={width:g+=2*p.xPadding,height:c},a=s._model,l=s._chart,y=s._chart.chartArea,b=v="center",a.y<r.height?b="top":a.y>l.height-r.height&&(b="bottom"),d=(y.left+y.right)/2,u=(y.top+y.bottom)/2,y="center"===b?(h=function(t){return t<=d},function(t){return d<t}):(h=function(t){return t<=r.width/2},function(t){return t>=l.width-r.width/2}),$=function(t){return t+r.width+a.caretSize+a.caretPadding>l.width},w=function(t){return t-r.width-a.caretSize-a.caretPadding<0},m=function(t){return t<=u?"top":"bottom"},h(a.x)?(v="left",$(a.x)&&(v="center",b=m(a.y))):y(a.x)&&(v="right",w(a.x))&&(v="center",b=m(a.y)),x=O,p=A={xAlign:(h=s._options).xAlign||v,yAlign:h.yAlign||b},c=C._chart,$=D.x,y=D.y,m=D.caretSize+(w=D.caretPadding),s=D.cornerRadius+w,"right"===(v=p.xAlign)?$-=x.width:"center"===v&&($=($-=x.width/2)+x.width>c.width?c.width-x.width:$)<0&&($=0),"top"===(b=p.yAlign)?y+=m:y-="bottom"===b?x.height+m:x.height/2,"center"===b?"left"===v?$+=m:"right"===v&&($-=m):"left"===v?$-=s:"right"===v&&($+=s),M={x:$,y:y}}else D.opacity=0;function L(t){g=Math.max(g,f.measureText(t).width+_)}return D.xAlign=A.xAlign,D.yAlign=A.yAlign,D.x=M.x,D.y=M.y,D.width=O.width,D.height=O.height,D.caretX=k.x,D.caretY=k.y,C._model=D,R&&S.custom&&S.custom.call(C,D),C},drawCaret:function(t,e){var n=this._chart.ctx,i=this._view,t=this.getCaretPosition(t,e,i);n.lineTo(t.x1,t.y1),n.lineTo(t.x2,t.y2),n.lineTo(t.x3,t.y3)},getCaretPosition:function(t,e,n){var i,o,s,r,a,l,d=n.caretSize,u=n.cornerRadius,h=n.xAlign,c=n.yAlign,p=t.x,t=t.y,f=e.width,e=e.height;return"center"===c?(s=t+e/2,r="left"===h?(i=(l=p)-d,a=l,o=s+d,s-d):(i=(l=p+f)+d,a=l,o=s-d,s+d)):(a=(l="left"===h?(i=p+u+d)-d:"right"===h?(i=p+f-u-d)-d:(i=n.caretX)-d,i+d),"top"===c?(s=(o=t)-d,r=o):(s=(o=t+e)+d,r=o,h=a,a=l,l=h)),{x1:l,x2:i,x3:a,y1:o,y2:s,y3:r}},drawTitle:function(t,e,n,i){var o=e.title;if(o.length){n.textAlign=e._titleAlign,n.textBaseline="top";var s,r,a=e.titleFontSize,l=e.titleSpacing;for(n.fillStyle=h(e.titleFontColor,i),n.font=B.fontString(a,e._titleFontStyle,e._titleFontFamily),s=0,r=o.length;s<r;++s)n.fillText(o[s],t.x,t.y),t.y+=a+l,s+1===o.length&&(t.y+=e.titleMarginBottom-l)}},drawBody:function(i,o,s,r){function a(t){s.fillText(t,i.x+n,i.y),i.y+=l+e}var l=o.bodyFontSize,e=o.bodySpacing,t=o.body,n=(s.textAlign=o._bodyAlign,s.textBaseline="top",s.font=B.fontString(l,o._bodyFontStyle,o._bodyFontFamily),0),d=(s.fillStyle=h(o.bodyFontColor,r),B.each(o.beforeBody,a),o.displayColors),n=d?l+2:0;B.each(t,function(t,e){var n=h(o.labelTextColors[e],r);s.fillStyle=n,B.each(t.before,a),B.each(t.lines,function(t){d&&(s.fillStyle=h(o.legendColorBackground,r),s.fillRect(i.x,i.y,l,l),s.lineWidth=1,s.strokeStyle=h(o.labelColors[e].borderColor,r),s.strokeRect(i.x,i.y,l,l),s.fillStyle=h(o.labelColors[e].backgroundColor,r),s.fillRect(i.x+1,i.y+1,l-2,l-2),s.fillStyle=n),a(t)}),B.each(t.after,a)}),n=0,B.each(o.afterBody,a),i.y-=e},drawFooter:function(e,n,i,t){var o=n.footer;o.length&&(e.y+=n.footerMarginTop,i.textAlign=n._footerAlign,i.textBaseline="top",i.fillStyle=h(n.footerFontColor,t),i.font=B.fontString(n.footerFontSize,n._footerFontStyle,n._footerFontFamily),B.each(o,function(t){i.fillText(t,e.x,e.y),e.y+=n.footerFontSize+n.footerSpacing}))},drawBackground:function(t,e,n,i,o){n.fillStyle=h(e.backgroundColor,o),n.strokeStyle=h(e.borderColor,o),n.lineWidth=e.borderWidth;var o=e.xAlign,s=e.yAlign,r=t.x,a=t.y,l=i.width,d=i.height,u=e.cornerRadius;n.beginPath(),n.moveTo(r+u,a),"top"===s&&this.drawCaret(t,i),n.lineTo(r+l-u,a),n.quadraticCurveTo(r+l,a,r+l,a+u),"center"===s&&"right"===o&&this.drawCaret(t,i),n.lineTo(r+l,a+d-u),n.quadraticCurveTo(r+l,a+d,r+l-u,a+d),"bottom"===s&&this.drawCaret(t,i),n.lineTo(r+u,a+d),n.quadraticCurveTo(r,a+d,r,a+d-u),"center"===s&&"left"===o&&this.drawCaret(t,i),n.lineTo(r,a+u),n.quadraticCurveTo(r,a,r+u,a),n.closePath(),n.fill(),0<e.borderWidth&&n.stroke()},draw:function(){var t,e,n,i,o=this._chart.ctx,s=this._view;0!==s.opacity&&(t={width:s.width,height:s.height},e={x:s.x,y:s.y},n=Math.abs(s.opacity<.001)?0:s.opacity,i=s.title.length||s.beforeBody.length||s.body.length||s.afterBody.length||s.footer.length,this._options.enabled)&&i&&(this.drawBackground(e,s,o,t,n),e.x+=s.xPadding,e.y+=s.yPadding,this.drawTitle(e,s,o,n),this.drawBody(e,s,o,n),this.drawFooter(e,s,o,n))},handleEvent:function(t){var e,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===t.type?n._active=[]:n._active=n._chart.getElementsAtEventForMode(t,i.mode,i),(e=!B.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,i.enabled||i.custom)&&(n._eventPosition={x:t.x,y:t.y},n.update(!0),n.pivot()),e}}),z.Tooltip.positioners={average:function(t){if(!t.length)return!1;for(var e=0,n=0,i=0,o=0,s=t.length;o<s;++o){var r=t[o];r&&r.hasValue()&&(e+=(r=r.tooltipPosition()).x,n+=r.y,++i)}return{x:Math.round(e/i),y:Math.round(n/i)}},nearest:function(t,e){for(var n,i,o=e.x,s=e.y,r=Number.POSITIVE_INFINITY,a=0,l=t.length;a<l;++a){var d,u=t[a];u&&u.hasValue()&&(d=u.getCenterPoint(),(d=B.distanceBetweenPoints(e,d))<r)&&(r=d,n=u)}return n&&(o=(i=n.tooltipPosition()).x,s=i.y),{x:o,y:s}}}}},{25:25,26:26,45:45}],36:[function(t,e,n){"use strict";var i=t(25),o=t(26),r=t(45);i._set("global",{elements:{arc:{backgroundColor:i.global.defaultColor,borderColor:"#fff",borderWidth:2}}}),e.exports=o.extend({inLabelRange:function(t){var e=this._view;return!!e&&Math.pow(t-e.x,2)<Math.pow(e.radius+e.hoverRadius,2)},inRange:function(t,e){var n=this._view;if(n){for(var t=r.getAngleFromPoint(n,{x:t,y:e}),i=t.angle,e=t.distance,o=n.startAngle,s=n.endAngle;s<o;)s+=2*Math.PI;for(;s<i;)i-=2*Math.PI;for(;i<o;)i+=2*Math.PI;t=e>=n.innerRadius&&e<=n.outerRadius;return o<=i&&i<=s&&t}return!1},getCenterPoint:function(){var t=this._view,e=(t.startAngle+t.endAngle)/2,n=(t.innerRadius+t.outerRadius)/2;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},getArea:function(){var t=this._view;return Math.PI*((t.endAngle-t.startAngle)/(2*Math.PI))*(Math.pow(t.outerRadius,2)-Math.pow(t.innerRadius,2))},tooltipPosition:function(){var t=this._view,e=t.startAngle+(t.endAngle-t.startAngle)/2,n=(t.outerRadius-t.innerRadius)/2+t.innerRadius;return{x:t.x+Math.cos(e)*n,y:t.y+Math.sin(e)*n}},draw:function(){var t=this._chart.ctx,e=this._view,n=e.startAngle,i=e.endAngle;t.beginPath(),t.arc(e.x,e.y,e.outerRadius,n,i),t.arc(e.x,e.y,e.innerRadius,i,n,!0),t.closePath(),t.strokeStyle=e.borderColor,t.lineWidth=e.borderWidth,t.fillStyle=e.backgroundColor,t.fill(),t.lineJoin="bevel",e.borderWidth&&t.stroke()}})},{25:25,26:26,45:45}],37:[function(t,e,n){"use strict";var i=t(25),o=t(26),u=t(45),h=i.global;i._set("global",{elements:{line:{tension:.4,backgroundColor:h.defaultColor,borderWidth:3,borderColor:h.defaultColor,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}}),e.exports=o.extend({draw:function(){var t,e,n,i,o=this._view,s=this._chart.ctx,r=o.spanGaps,a=this._children.slice(),l=h.elements.line,d=-1;for(this._loop&&a.length&&a.push(a[0]),s.save(),s.lineCap=o.borderCapStyle||l.borderCapStyle,s.setLineDash&&s.setLineDash(o.borderDash||l.borderDash),s.lineDashOffset=o.borderDashOffset||l.borderDashOffset,s.lineJoin=o.borderJoinStyle||l.borderJoinStyle,s.lineWidth=o.borderWidth||l.borderWidth,s.strokeStyle=o.borderColor||h.defaultColor,s.beginPath(),d=-1,t=0;t<a.length;++t)e=a[t],n=u.previousItem(a,t),i=e._view,0===t?i.skip||(s.moveTo(i.x,i.y),d=t):(n=-1===d?n:a[d],i.skip||(d!==t-1&&!r||-1===d?s.moveTo(i.x,i.y):u.canvas.lineTo(s,n._view,e._view),d=t));s.stroke(),s.restore()}})},{25:25,26:26,45:45}],38:[function(t,e,n){"use strict";var u=t(25),i=t(26),h=t(45),c=u.global.defaultColor;function o(t){var e=this._view;return!!e&&Math.abs(t-e.x)<e.radius+e.hitRadius}u._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:c,borderColor:c,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}}),e.exports=i.extend({inRange:function(t,e){var n=this._view;return!!n&&Math.pow(t-n.x,2)+Math.pow(e-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:o,inXRange:o,inYRange:function(t){var e=this._view;return!!e&&Math.abs(t-e.y)<e.radius+e.hitRadius},getCenterPoint:function(){var t=this._view;return{x:t.x,y:t.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y,padding:t.radius+t.borderWidth}},draw:function(t){var e=this._view,n=this._model,i=this._chart.ctx,o=e.pointStyle,s=e.radius,r=e.x,a=e.y,l=h.color,d=0;e.skip||(i.strokeStyle=e.borderColor||c,i.lineWidth=h.valueOrDefault(e.borderWidth,u.global.elements.point.borderWidth),i.fillStyle=e.backgroundColor||c,void 0!==t&&(n.x<t.left||1.01*t.right<n.x||n.y<t.top||1.01*t.bottom<n.y)&&(n.x<t.left?d=(r-n.x)/(t.left-n.x):1.01*t.right<n.x?d=(n.x-r)/(n.x-t.right):n.y<t.top?d=(a-n.y)/(t.top-n.y):1.01*t.bottom<n.y&&(d=(n.y-a)/(n.y-t.bottom)),d=Math.round(100*d)/100,i.strokeStyle=l(i.strokeStyle).alpha(d).rgbString(),i.fillStyle=l(i.fillStyle).alpha(d).rgbString()),h.canvas.drawPoint(i,o,s,r,a))}})},{25:25,26:26,45:45}],39:[function(t,e,n){"use strict";var i=t(25),t=t(26);function s(t){return void 0!==t._view.width}function o(t){var e,n,i,o=t._view;return o=s(t)?(t=o.width/2,e=o.x-t,n=o.x+t,i=Math.min(o.y,o.base),Math.max(o.y,o.base)):(t=o.height/2,e=Math.min(o.x,o.base),n=Math.max(o.x,o.base),i=o.y-t,o.y+t),{left:e,top:i,right:n,bottom:o}}i._set("global",{elements:{rectangle:{backgroundColor:i.global.defaultColor,borderColor:i.global.defaultColor,borderSkipped:"bottom",borderWidth:0}}}),e.exports=t.extend({draw:function(){var t,e,n,i,o,s,r,a,l,d=this._chart.ctx,u=this._view,h=u.borderWidth,c=u.horizontal?(t=u.base,e=u.x,n=u.y-u.height/2,i=u.y+u.height/2,o=t<e?1:-1,l=1,u.borderSkipped||"left"):(t=u.x-u.width/2,e=u.x+u.width/2,n=u.y,o=1,l=(i=u.base)>n?1:-1,u.borderSkipped||"bottom"),p=(h&&(r=(h=(r=Math.min(Math.abs(t-e),Math.abs(n-i)))<h?r:h)/2,a=n+("top"!==c?r*l:0),l=i+("bottom"!==c?-r*l:0),(s=t+("left"!==c?r*o:0))!==(r=e+("right"!==c?-r*o:0))&&(n=a,i=l),a!==l)&&(t=s,e=r),d.beginPath(),d.fillStyle=u.backgroundColor,d.strokeStyle=u.borderColor,d.lineWidth=h,[[t,i],[t,n],[e,n],[e,i]]),f=["bottom","left","top","right"].indexOf(c,0);function g(t){return p[(f+t)%4]}-1===f&&(f=0);var m=g(0);d.moveTo(m[0],m[1]);for(var v=1;v<4;v++)m=g(v),d.lineTo(m[0],m[1]);d.fill(),h&&d.stroke()},height:function(){var t=this._view;return t.base-t.y},inRange:function(t,e){var n,i=!1;return i=this._view?t>=(n=o(this)).left&&t<=n.right&&e>=n.top&&e<=n.bottom:i},inLabelRange:function(t,e){var n;return!!this._view&&(n=o(this),s(this)?t>=n.left&&t<=n.right:e>=n.top&&e<=n.bottom)},inXRange:function(t){var e=o(this);return t>=e.left&&t<=e.right},inYRange:function(t){var e=o(this);return t>=e.top&&t<=e.bottom},getCenterPoint:function(){var t,e=this._view,e=s(this)?(t=e.x,(e.y+e.base)/2):(t=(e.x+e.base)/2,e.y);return{x:t,y:e}},getArea:function(){var t=this._view;return t.width*Math.abs(t.y-t.base)},tooltipPosition:function(){var t=this._view;return{x:t.x,y:t.y}}})},{25:25,26:26}],40:[function(t,e,n){"use strict";e.exports={},e.exports.Arc=t(36),e.exports.Line=t(37),e.exports.Point=t(38),e.exports.Rectangle=t(39)},{36:36,37:37,38:38,39:39}],41:[function(t,e,n){"use strict";t=t(42);n=e.exports={clear:function(t){t.ctx.clearRect(0,0,t.width,t.height)},roundedRect:function(t,e,n,i,o,s){var r;s?(r=Math.min(s,i/2),s=Math.min(s,o/2),t.moveTo(e+r,n),t.lineTo(e+i-r,n),t.quadraticCurveTo(e+i,n,e+i,n+s),t.lineTo(e+i,n+o-s),t.quadraticCurveTo(e+i,n+o,e+i-r,n+o),t.lineTo(e+r,n+o),t.quadraticCurveTo(e,n+o,e,n+o-s),t.lineTo(e,n+s),t.quadraticCurveTo(e,n,e+r,n)):t.rect(e,n,i,o)},drawPoint:function(t,e,n,i,o){var s,r,a,l;if(!e||"object"!=typeof e||"[object HTMLImageElement]"!==(s=e.toString())&&"[object HTMLCanvasElement]"!==s){if(!(isNaN(n)||n<=0)){switch(e){default:t.beginPath(),t.arc(i,o,n,0,2*Math.PI),t.closePath(),t.fill();break;case"triangle":t.beginPath(),u=(d=3*n/Math.sqrt(3))*Math.sqrt(3)/2,t.moveTo(i-d/2,o+u/3),t.lineTo(i+d/2,o+u/3),t.lineTo(i,o-2*u/3),t.closePath(),t.fill();break;case"rect":l=1/Math.SQRT2*n,t.beginPath(),t.fillRect(i-l,o-l,2*l,2*l),t.strokeRect(i-l,o-l,2*l,2*l);break;case"rectRounded":var d=n/Math.SQRT2,u=i-d,d=o-d,h=Math.SQRT2*n;t.beginPath(),this.roundedRect(t,u,d,h,h,n/2),t.closePath(),t.fill();break;case"rectRot":l=1/Math.SQRT2*n,t.beginPath(),t.moveTo(i-l,o),t.lineTo(i,o+l),t.lineTo(i+l,o),t.lineTo(i,o-l),t.closePath(),t.fill();break;case"cross":t.beginPath(),t.moveTo(i,o+n),t.lineTo(i,o-n),t.moveTo(i-n,o),t.lineTo(i+n,o),t.closePath();break;case"crossRot":t.beginPath(),r=Math.cos(Math.PI/4)*n,a=Math.sin(Math.PI/4)*n,t.moveTo(i-r,o-a),t.lineTo(i+r,o+a),t.moveTo(i-r,o+a),t.lineTo(i+r,o-a),t.closePath();break;case"star":t.beginPath(),t.moveTo(i,o+n),t.lineTo(i,o-n),t.moveTo(i-n,o),t.lineTo(i+n,o),r=Math.cos(Math.PI/4)*n,a=Math.sin(Math.PI/4)*n,t.moveTo(i-r,o-a),t.lineTo(i+r,o+a),t.moveTo(i-r,o+a),t.lineTo(i+r,o-a),t.closePath();break;case"line":t.beginPath(),t.moveTo(i-n,o),t.lineTo(i+n,o),t.closePath();break;case"dash":t.beginPath(),t.moveTo(i,o),t.lineTo(i+n,o),t.closePath()}t.stroke()}}else t.drawImage(e,i-e.width/2,o-e.height/2,e.width,e.height)},clipArea:function(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()},unclipArea:function(t){t.restore()},lineTo:function(t,e,n,i){n.steppedLine?("after"===n.steppedLine&&!i||"after"!==n.steppedLine&&i?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y),t.lineTo(n.x,n.y)):n.tension?t.bezierCurveTo(i?e.controlPointPreviousX:e.controlPointNextX,i?e.controlPointPreviousY:e.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):t.lineTo(n.x,n.y)}},t.clear=n.clear,t.drawRoundedRectangle=function(t){t.beginPath(),n.roundedRect.apply(n,arguments),t.closePath()}},{42:42}],42:[function(t,e,n){"use strict";var i,u={noop:function(){},uid:(i=0,function(){return i++}),isNullOrUndef:function(t){return null==t},isArray:Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)},isObject:function(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)},valueOrDefault:function(t,e){return void 0===t?e:t},valueAtIndexOrDefault:function(t,e,n){return u.valueOrDefault(u.isArray(t)?t[e]:t,n)},callback:function(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)},each:function(t,e,n,i){var o,s,r;if(u.isArray(t))if(s=t.length,i)for(o=s-1;0<=o;o--)e.call(n,t[o],o);else for(o=0;o<s;o++)e.call(n,t[o],o);else if(u.isObject(t))for(s=(r=Object.keys(t)).length,o=0;o<s;o++)e.call(n,t[r[o]],r[o])},arrayEquals:function(t,e){var n,i,o,s;if(!t||!e||t.length!==e.length)return!1;for(n=0,i=t.length;n<i;++n)if(o=t[n],s=e[n],o instanceof Array&&s instanceof Array){if(!u.arrayEquals(o,s))return!1}else if(o!==s)return!1;return!0},clone:function(t){if(u.isArray(t))return t.map(u.clone);if(u.isObject(t)){for(var e={},n=Object.keys(t),i=n.length,o=0;o<i;++o)e[n[o]]=u.clone(t[n[o]]);return e}return t},_merger:function(t,e,n,i){var o=e[t],n=n[t];u.isObject(o)&&u.isObject(n)?u.merge(o,n,i):e[t]=u.clone(n)},_mergerIf:function(t,e,n){var i=e[t],n=n[t];u.isObject(i)&&u.isObject(n)?u.mergeIf(i,n):e.hasOwnProperty(t)||(e[t]=u.clone(n))},merge:function(t,e,n){var i,o,s,r,a,l=u.isArray(e)?e:[e],d=l.length;if(u.isObject(t))for(i=(n=n||{}).merger||u._merger,o=0;o<d;++o)if(e=l[o],u.isObject(e))for(a=0,r=(s=Object.keys(e)).length;a<r;++a)i(s[a],t,e,n);return t},mergeIf:function(t,e){return u.merge(t,e,{merger:u._mergerIf})},extend:function(n){for(var t=function(t,e){n[e]=t},e=1,i=arguments.length;e<i;++e)u.each(arguments[e],t);return n},inherits:function(t){function e(){this.constructor=i}var n=this,i=t&&t.hasOwnProperty("constructor")?t.constructor:function(){return n.apply(this,arguments)};return e.prototype=n.prototype,i.prototype=new e,i.extend=u.inherits,t&&u.extend(i.prototype,t),i.__super__=n.prototype,i}};(e.exports=u).callCallback=u.callback,u.indexOf=function(t,e,n){return Array.prototype.indexOf.call(t,e,n)},u.getValueOrDefault=u.valueOrDefault,u.getValueAtIndexOrDefault=u.valueAtIndexOrDefault},{}],43:[function(t,e,n){"use strict";var t=t(42),i={linear:function(t){return t},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return-t*(t-2)},easeInOutQuad:function(t){return(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1)},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return-(--t*t*t*t-1)},easeInOutQuart:function(t){return(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return--t*t*t*t*t+1},easeInOutQuint:function(t){return(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},easeInSine:function(t){return 1-Math.cos(t*(Math.PI/2))},easeOutSine:function(t){return Math.sin(t*(Math.PI/2))},easeInOutSine:function(t){return-.5*(Math.cos(Math.PI*t)-1)},easeInExpo:function(t){return 0===t?0:Math.pow(2,10*(t-1))},easeOutExpo:function(t){return 1===t?1:1-Math.pow(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:(t/=.5)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*--t))},easeInCirc:function(t){return 1<=t?t:-(Math.sqrt(1-t*t)-1)},easeOutCirc:function(t){return Math.sqrt(1- --t*t)},easeInOutCirc:function(t){return(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},easeInElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n=n||.3,e=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*--t)*Math.sin((t-e)*(2*Math.PI)/n))},easeOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:1===t?1:(n=n||.3,e=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/n)+1)},easeInOutElastic:function(t){var e=1.70158,n=0,i=1;return 0===t?0:2==(t/=.5)?1:(n=n||.45,e=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),t<1?i*Math.pow(2,10*--t)*Math.sin((t-e)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*--t)*Math.sin((t-e)*(2*Math.PI)/n)*.5+1)},easeInBack:function(t){return t*t*(2.70158*t-1.70158)},easeOutBack:function(t){return--t*t*(2.70158*t+1.70158)+1},easeInOutBack:function(t){var e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:function(t){return 1-i.easeOutBounce(1-t)},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:function(t){return t<.5?.5*i.easeInBounce(2*t):.5*i.easeOutBounce(2*t-1)+.5}};e.exports={effects:i},t.easingEffects=i},{42:42}],44:[function(t,e,n){"use strict";var r=t(42);e.exports={toLineHeight:function(t,e){var n=(""+t).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t},toPadding:function(t){var e,n,i,o;return r.isObject(t)?(e=+t.top||0,n=+t.right||0,i=+t.bottom||0,o=+t.left||0):e=n=i=o=+t||0,{top:e,right:n,bottom:i,left:o,height:e+i,width:o+n}},resolve:function(t,e,n){for(var i,o=0,s=t.length;o<s;++o)if(void 0!==(i=t[o])&&(void 0!==e&&"function"==typeof i&&(i=i(e)),void 0!==(i=void 0!==n&&r.isArray(i)?i[n]:i)))return i}}},{42:42}],45:[function(t,e,n){"use strict";e.exports=t(42),e.exports.easing=t(43),e.exports.canvas=t(41),e.exports.options=t(44)},{41:41,42:42,43:43,44:44}],46:[function(t,e,n){e.exports={acquireContext:function(t){return(t=t&&t.canvas?t.canvas:t)&&t.getContext("2d")||null}}},{}],47:[function(t,e,n){"use strict";var v=t(45),y="$chartjs",b="chartjs-",$=b+"render-monitor",w=b+"render-animation",x=["animationstart","webkitAnimationStart"],_={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function a(t,e){t=v.getStyle(t,e),e=t&&t.match(/^(\d+)(\.\d+)?px$/);return e?Number(e[1]):void 0}var i=!!function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("e",null,e)}catch(t){}return t}()&&{passive:!0};function C(t,e,n){t.addEventListener(e,n,i)}function r(t,e,n){t.removeEventListener(e,n,i)}function S(t,e,n,i,o){return{type:t,chart:e,native:o||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}e.exports={_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,initialize:function(){var t="from{opacity:0.99}to{opacity:1}",t="@-webkit-keyframes "+w+"{"+t+"}@keyframes "+w+"{"+t+"}."+$+"{-webkit-animation:"+w+" 0.001s;animation:"+w+" 0.001s;}",e=this._style||document.createElement("style");this._style||(t="/* Chart.js */\n"+t,(this._style=e).setAttribute("type","text/css"),document.getElementsByTagName("head")[0].appendChild(e)),e.appendChild(document.createTextNode(t))},acquireContext:function(t,e){"string"==typeof t?t=document.getElementById(t):t.length&&(t=t[0]);var n,i,o,s,r=(t=t&&t.canvas?t.canvas:t)&&t.getContext&&t.getContext("2d");return r&&r.canvas===t?(e=e,i=(t=t).style,o=t.getAttribute("height"),s=t.getAttribute("width"),t[y]={initial:{height:o,width:s,style:{display:i.display,height:i.height,width:i.width}}},i.display=i.display||"block",null!==s&&""!==s||void 0!==(n=a(t,"width"))&&(t.width=n),null!==o&&""!==o||(""===t.style.height?t.height=t.width/(e.options.aspectRatio||2):(i=a(t,"height"),void 0!==n&&(t.height=i))),r):null},releaseContext:function(t){var n,i=t.canvas;i[y]&&(n=i[y].initial,["height","width"].forEach(function(t){var e=n[t];v.isNullOrUndef(e)?i.removeAttribute(t):i.setAttribute(t,e)}),v.each(n.style||{},function(t,e){i.style[e]=t}),i.width=i.width,delete i[y])},addEventListener:function(n,t,i){var e,o,s,r,a,l,d,u,h,c,p,f,g,m=n.canvas;"resize"!==t?(f=i[y]||(i[y]={}),C(m,t,(f.proxies||(f.proxies={}))[n.id+"_"+t]=function(t){var e;i(S(_[(t=t).type]||t.type,n,(e=v.getRelativePosition(t,n)).x,e.y,t))})):(o=i,s=n,h=(e=m)[y]||(e[y]={}),c=h.resizer=function(t){function e(){n._reset(),t()}var n=document.createElement("div"),i=b+"size-monitor",o="position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;visibility:hidden;z-index:-1;",s=(n.style.cssText=o,n.className=i,n.innerHTML='<div class="'+i+'-expand" style="'+o+'"><div style="position:absolute;width:1000000px;height:1000000px;left:0;top:0"></div></div><div class="'+i+'-shrink" style="'+o+'"><div style="position:absolute;width:200%;height:200%;left:0; top:0"></div></div>',n.childNodes[0]),r=n.childNodes[1];n._reset=function(){s.scrollLeft=1e6,s.scrollTop=1e6,r.scrollLeft=1e6,r.scrollTop=1e6};return C(s,"scroll",e.bind(s,"expand")),C(r,"scroll",e.bind(r,"shrink")),n}((r=function(){if(h.resizer)return o(S("resize",s))},l=!1,function(){d=Array.prototype.slice.call(arguments),a=a||this,l||(l=!0,v.requestAnimFrame.call(window,function(){l=!1,r.apply(a,d)}))})),p=function(){var t;h.resizer&&((t=e.parentNode)&&t!==c.parentNode&&t.insertBefore(c,t.firstChild),c._reset())},f=(u=e)[y]||(u[y]={}),g=f.renderProxy=function(t){t.animationName===w&&p()},v.each(x,function(t){C(u,t,g)}),f.reflow=!!u.offsetParent,u.classList.add($))},removeEventListener:function(t,e,n){var i,o,s=t.canvas;"resize"!==e?(n=((n[y]||{}).proxies||{})[t.id+"_"+e])&&r(s,e,n):(e=(t=s)[y]||{},n=e.resizer,delete e.resizer,e=(i=t)[y]||{},(o=e.renderProxy)&&(v.each(x,function(t){r(i,t,o)}),delete e.renderProxy),i.classList.remove($),n&&n.parentNode&&n.parentNode.removeChild(n))}},v.addEvent=C,v.removeEvent=r},{45:45}],48:[function(t,e,n){"use strict";var i=t(45),o=t(46),t=t(47),t=t._enabled?t:o;e.exports=i.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},t)},{45:45,46:46,47:47}],49:[function(t,e,n){"use strict";e.exports={},e.exports.filler=t(50),e.exports.legend=t(51),e.exports.title=t(52)},{50:50,51:51,52:52}],50:[function(t,e,n){"use strict";var _=t(25),c=t(40),C=t(45),p=(_._set("global",{plugins:{filler:{propagate:!0}}}),{dataset:function(t){var e=t.fill,t=t.chart,n=t.getDatasetMeta(e),i=n&&t.isDatasetVisible(e)&&n.dataset._children||[],o=i.length||0;return o?function(t,e){return e<o&&i[e]._view||null}:null},boundary:function(t){var t=t.boundary,e=t?t.x:null,n=t?t.y:null;return function(t){return{x:null===e?t.x:e,y:null===n?t.y:n}}}});function S(t){return t&&!t.skip}function k(t,e,n,i,o){var s;if(i&&o){for(t.moveTo(e[0].x,e[0].y),s=1;s<i;++s)C.canvas.lineTo(t,e[s-1],e[s]);for(t.lineTo(n[o-1].x,n[o-1].y),s=o-1;0<s;--s)C.canvas.lineTo(t,n[s],n[s-1],!0)}}e.exports={id:"filler",afterDatasetsUpdate:function(t,e){for(var n,i,o,s,r,a,l=(t.data.datasets||[]).length,d=e.propagate,u=[],h=0;h<l;++h)o=null,(i=(n=t.getDatasetMeta(h)).dataset)&&i._model&&i instanceof c.Line&&(o={visible:t.isDatasetVisible(h),fill:function(t,e,n){var i=(t=t._model||{}).fill;if(!1===(i=void 0===i?!!t.backgroundColor:i)||null===i)return!1;if(!0===i)return"origin";if(t=parseFloat(i,10),isFinite(t)&&Math.floor(t)===t)return!((t="-"!==i[0]&&"+"!==i[0]?t:e+t)===e||t<0||n<=t)&&t;switch(i){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return i;default:return!1}}(i,h,l),chart:t,el:i}),n.$filler=o,u.push(o);for(h=0;h<l;++h)(o=u[h])&&(o.fill=function(t,e,n){var i,o=t[e].fill,s=[e];if(!n)return o;for(;!1!==o&&-1===s.indexOf(o);){if(!isFinite(o))return o;if(!(i=t[o]))return!1;if(i.visible)return o;s.push(o),o=i.fill}return!1}(u,h,d),o.boundary=function(t){var e=t.el._model||{},n=t.el._scale||{},t=t.fill,i=null;if(!isFinite(t)&&("start"===t?i=void 0===e.scaleBottom?n.bottom:e.scaleBottom:"end"===t?i=void 0===e.scaleTop?n.top:e.scaleTop:void 0!==e.scaleZero?i=e.scaleZero:n.getBasePosition?i=n.getBasePosition():n.getBasePixel&&(i=n.getBasePixel()),null!=i)){if(void 0!==i.x&&void 0!==i.y)return i;if("number"==typeof i&&isFinite(i))return{x:(t=n.isHorizontal())?i:null,y:t?null:i}}return null}(o),o.mapper=(a=void 0,!(a="dataset")===(r=(s=o).fill)?null:(isFinite(r)||(a="boundary"),p[a](s))))},beforeDatasetDraw:function(t,e){e=e.meta.$filler;if(e){var n=t.ctx,i=e.el,o=i._view,s=i._children||[],e=e.mapper,r=o.backgroundColor||_.global.defaultColor;if(e&&r&&s.length){C.canvas.clipArea(n,t.chartArea);var a,l,d,u,h,c,p=n,f=s,g=e,m=o,t=r,s=i._loop,v=f.length,y=m.spanGaps,b=[],$=[],w=0,x=0;for(p.beginPath(),a=0,l=v+!!s;a<l;++a)u=g(d=f[u=a%v]._view,u,m),h=S(d),c=S(u),h&&c?(w=b.push(d),x=$.push(u)):w&&x&&(y?(h&&b.push(d),c&&$.push(u)):(k(p,b,$,w,x),w=x=0,b=[],$=[]));k(p,b,$,w,x),p.closePath(),p.fillStyle=t,p.fill(),C.canvas.unclipArea(n)}}}}},{25:25,40:40,45:45}],51:[function(t,e,n){"use strict";var D=t(25),i=t(26),T=t(45),o=t(30),t=T.noop;function I(t,e){return t.usePointStyle?e*Math.SQRT2:t.boxWidth}D._set("global",{legend:{display:!0,position:"top",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(t,e){var e=e.datasetIndex,n=this.chart,i=n.getDatasetMeta(e);i.hidden=null===i.hidden?!n.data.datasets[e].hidden:null,n.update()},onHover:null,labels:{boxWidth:40,padding:10,generateLabels:function(n){var t=n.data;return T.isArray(t.datasets)?t.datasets.map(function(t,e){return{text:t.label,fillStyle:T.isArray(t.backgroundColor)?t.backgroundColor[0]:t.backgroundColor,hidden:!n.isDatasetVisible(e),lineCap:t.borderCapStyle,lineDash:t.borderDash,lineDashOffset:t.borderDashOffset,lineJoin:t.borderJoinStyle,lineWidth:t.borderWidth,strokeStyle:t.borderColor,pointStyle:t.pointStyle,datasetIndex:e}},this):[]}}},legendCallback:function(t){var e=[];e.push('<ul class="'+t.id+'-legend">');for(var n=0;n<t.data.datasets.length;n++)e.push('<li><span style="background-color:'+t.data.datasets[n].backgroundColor+'"></span>'),t.data.datasets[n].label&&e.push(t.data.datasets[n].label),e.push("</li>");return e.push("</ul>"),e.join("")}});var s=i.extend({initialize:function(t){T.extend(this,t),this.legendHitBoxes=[],this.doughnutMode=!1},beforeUpdate:t,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:t,beforeSetDimensions:t,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:t,beforeBuildLabels:t,buildLabels:function(){var e=this,n=e.options.labels||{},t=T.callback(n.generateLabels,[e.chart],e)||[];n.filter&&(t=t.filter(function(t){return n.filter(t,e.chart.data)})),e.options.reverse&&t.reverse(),e.legendItems=t},afterBuildLabels:t,beforeFit:t,fit:function(){var n,i,o,s,r,a,l,d=this,t=d.options,u=t.labels,t=t.display,h=d.ctx,e=D.global,c=T.valueOrDefault,p=c(u.fontSize,e.defaultFontSize),f=c(u.fontStyle,e.defaultFontStyle),c=c(u.fontFamily,e.defaultFontFamily),e=T.fontString(p,f,c),g=d.legendHitBoxes=[],m=d.minSize,f=d.isHorizontal();f?(m.width=d.maxWidth,m.height=t?10:0):(m.width=t?10:0,m.height=d.maxHeight),t&&(h.font=e,f?(n=d.lineWidths=[0],i=d.legendItems.length?p+u.padding:0,h.textAlign="left",h.textBaseline="top",T.each(d.legendItems,function(t,e){t=I(u,p)+p/2+h.measureText(t.text).width;n[n.length-1]+t+u.padding>=d.width&&(i+=p+u.padding,n[n.length]=d.left),g[e]={left:0,top:0,width:t,height:p},n[n.length-1]+=t+u.padding}),m.height+=i):(c=u.padding,o=d.columnWidths=[],s=u.padding,a=r=0,l=p+c,T.each(d.legendItems,function(t,e){t=I(u,p)+p/2+h.measureText(t.text).width;a+l>m.height&&(s+=r+u.padding,o.push(r),a=r=0),r=Math.max(r,t),a+=l,g[e]={left:0,top:0,width:t,height:p}}),s+=r,o.push(r),m.width+=s)),d.width=m.width,d.height=m.height},afterFit:t,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var c,p,t,f,e,n,g,m,v,y,b,$=this,w=$.options,x=w.labels,_=D.global,C=_.elements.line,S=$.width,k=$.lineWidths;w.display&&(c=$.ctx,t=(p=T.valueOrDefault)(x.fontColor,_.defaultFontColor),f=p(x.fontSize,_.defaultFontSize),n=p(x.fontStyle,_.defaultFontStyle),e=p(x.fontFamily,_.defaultFontFamily),n=T.fontString(f,n,e),c.textAlign="left",c.textBaseline="middle",c.lineWidth=.5,c.strokeStyle=t,c.fillStyle=t,c.font=n,g=I(x,f),m=$.legendHitBoxes,v=$.isHorizontal(),y=v?{x:$.left+(S-k[0])/2,y:$.top+x.padding,line:0}:{x:$.left+x.padding,y:$.top+x.padding,line:0},b=f+x.padding,T.each($.legendItems,function(t,e){var n,i,o,s,r,a,l=c.measureText(t.text).width,d=g+f/2+l,u=y.x,h=y.y;v?S<=u+d&&(h=y.y+=b,y.line++,u=y.x=$.left+(S-k[y.line])/2):h+b>$.bottom&&(u=y.x=u+$.columnWidths[y.line]+x.padding,h=y.y=$.top+x.padding,y.line++),n=u,i=h,o=t,isNaN(g)||g<=0||(c.save(),c.fillStyle=p(o.fillStyle,_.defaultColor),c.lineCap=p(o.lineCap,C.borderCapStyle),c.lineDashOffset=p(o.lineDashOffset,C.borderDashOffset),c.lineJoin=p(o.lineJoin,C.borderJoinStyle),c.lineWidth=p(o.lineWidth,C.borderWidth),c.strokeStyle=p(o.strokeStyle,_.defaultColor),s=0===p(o.lineWidth,C.borderWidth),c.setLineDash&&c.setLineDash(p(o.lineDash,C.borderDash)),w.labels&&w.labels.usePointStyle?(a=(r=f*Math.SQRT2/2)/Math.SQRT2,T.canvas.drawPoint(c,o.pointStyle,r,n+a,i+a)):(s||c.strokeRect(n,i,g,f),c.fillRect(n,i,g,f)),c.restore()),m[e].left=u,m[e].top=h,o=l,a=g+(r=f/2)+u,c.fillText((s=t).text,a,n=h+r),s.hidden&&(c.beginPath(),c.lineWidth=2,c.moveTo(a,n),c.lineTo(a+o,n),c.stroke()),v?y.x+=d+x.padding:y.y+=b}))},handleEvent:function(t){var e=this,n=e.options,i="mouseup"===t.type?"click":t.type,o=!1;if("mousemove"===i){if(!n.onHover)return}else{if("click"!==i)return;if(!n.onClick)return}var s=t.x,r=t.y;if(s>=e.left&&s<=e.right&&r>=e.top&&r<=e.bottom)for(var a=e.legendHitBoxes,l=0;l<a.length;++l){var d=a[l];if(s>=d.left&&s<=d.left+d.width&&r>=d.top&&r<=d.top+d.height){if("click"===i){n.onClick.call(e,t.native,e.legendItems[l]),o=!0;break}if("mousemove"===i){n.onHover.call(e,t.native,e.legendItems[l]),o=!0;break}}}return o}});function r(t,e){var n=new s({ctx:t.ctx,options:e,chart:t});o.configure(t,n,e),o.addBox(t,n),t.legend=n}e.exports={id:"legend",_element:s,beforeInit:function(t){var e=t.options.legend;e&&r(t,e)},beforeUpdate:function(t){var e=t.options.legend,n=t.legend;e?(T.mergeIf(e,D.global.legend),n?(o.configure(t,n,e),n.options=e):r(t,e)):n&&(o.removeBox(t,n),delete t.legend)},afterEvent:function(t,e){t=t.legend;t&&t.handleEvent(e)}}},{25:25,26:26,30:30,45:45}],52:[function(t,e,n){"use strict";var y=t(25),i=t(26),b=t(45),o=t(30),t=b.noop,s=(y._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,lineHeight:1.2,padding:10,position:"top",text:"",weight:2e3}}),i.extend({initialize:function(t){b.extend(this,t),this.legendHitBoxes=[]},beforeUpdate:t,update:function(t,e,n){var i=this;return i.beforeUpdate(),i.maxWidth=t,i.maxHeight=e,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:t,beforeSetDimensions:t,setDimensions:function(){var t=this;t.isHorizontal()?(t.width=t.maxWidth,t.left=0,t.right=t.width):(t.height=t.maxHeight,t.top=0,t.bottom=t.height),t.paddingLeft=0,t.paddingTop=0,t.paddingRight=0,t.paddingBottom=0,t.minSize={width:0,height:0}},afterSetDimensions:t,beforeBuildLabels:t,buildLabels:t,afterBuildLabels:t,beforeFit:t,fit:function(){var t=b.valueOrDefault,e=this.options,n=e.display,t=t(e.fontSize,y.global.defaultFontSize),i=this.minSize,o=b.isArray(e.text)?e.text.length:1,t=b.options.toLineHeight(e.lineHeight,t),n=n?o*t+2*e.padding:0;this.isHorizontal()?(i.width=this.maxWidth,i.height=n):(i.width=n,i.height=this.maxHeight),this.width=i.width,this.height=i.height},afterFit:t,isHorizontal:function(){var t=this.options.position;return"top"===t||"bottom"===t},draw:function(){var t=this.ctx,e=b.valueOrDefault,n=this.options,i=y.global;if(n.display){var o,s,r,a=e(n.fontSize,i.defaultFontSize),l=e(n.fontStyle,i.defaultFontStyle),d=e(n.fontFamily,i.defaultFontFamily),l=b.fontString(a,l,d),u=b.options.toLineHeight(n.lineHeight,a),d=u/2+n.padding,a=0,h=this.top,c=this.left,p=this.bottom,f=this.right,g=(t.fillStyle=e(n.fontColor,i.defaultFontColor),t.font=l,this.isHorizontal()?(s=c+(f-c)/2,r=h+d,o=f-c):(s="left"===n.position?c+d:f-d,r=h+(p-h)/2,o=p-h,a=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(s,r),t.rotate(a),t.textAlign="center",t.textBaseline="middle",n.text);if(b.isArray(g))for(var m=0,v=0;v<g.length;++v)t.fillText(g[v],0,m,o),m+=u;else t.fillText(g,0,0,o);t.restore()}}}));function r(t,e){var n=new s({ctx:t.ctx,options:e,chart:t});o.configure(t,n,e),o.addBox(t,n),t.titleBlock=n}e.exports={id:"title",_element:s,beforeInit:function(t){var e=t.options.title;e&&r(t,e)},beforeUpdate:function(t){var e=t.options.title,n=t.titleBlock;e?(b.mergeIf(e,y.global.title),n?(o.configure(t,n,e),n.options=e):r(t,e)):n&&(o.removeBox(t,n),delete t.titleBlock)}}},{25:25,26:26,30:30,45:45}],53:[function(t,e,n){"use strict";e.exports=function(t){var e=t.Scale.extend({getLabels:function(){var t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels},determineDataLimits:function(){var t,e=this,n=e.getLabels();e.minIndex=0,e.maxIndex=n.length-1,void 0!==e.options.ticks.min&&(t=n.indexOf(e.options.ticks.min),e.minIndex=-1!==t?t:e.minIndex),void 0!==e.options.ticks.max&&(t=n.indexOf(e.options.ticks.max),e.maxIndex=-1!==t?t:e.maxIndex),e.min=n[e.minIndex],e.max=n[e.maxIndex]},buildTicks:function(){var t=this.getLabels();this.ticks=0===this.minIndex&&this.maxIndex===t.length-1?t:t.slice(this.minIndex,this.maxIndex+1)},getLabelForIndex:function(t,e){var n=this.chart.data,i=this.isHorizontal();return n.yLabels&&!i?this.getRightValue(n.datasets[e].data[t]):this.ticks[t-this.minIndex]},getPixelForValue:function(t,e){var n,i=this,o=i.options.offset,s=Math.max(i.maxIndex+1-i.minIndex-(o?0:1),1);return(void 0!==(n=null!=t?i.isHorizontal()?t.x:t.y:n)||void 0!==t&&isNaN(e))&&(t=n||t,e=-1!==(n=i.getLabels().indexOf(t))?n:e),i.isHorizontal()?(n=(t=i.width/s)*(e-i.minIndex),o&&(n+=t/2),i.left+Math.round(n)):(n=(t=i.height/s)*(e-i.minIndex),o&&(n+=t/2),i.top+Math.round(n))},getPixelForTick:function(t){return this.getPixelForValue(this.ticks[t],t+this.minIndex,null)},getValueForPixel:function(t){var e=this.options.offset,n=Math.max(this._ticks.length-(e?0:1),1),i=this.isHorizontal(),n=(i?this.width:this.height)/n;return t-=i?this.left:this.top,e&&(t-=n/2),(t<=0?0:Math.round(t/n))+this.minIndex},getBasePixel:function(){return this.bottom}});t.scaleService.registerScaleType("category",e,{position:"bottom"})}},{}],54:[function(t,e,n){"use strict";var i=t(25),h=t(45),o=t(34);e.exports=function(t){var e={position:"left",ticks:{callback:o.formatters.linear}},n=t.LinearScaleBase.extend({determineDataLimits:function(){var r=this,a=r.options,l=r.chart,t=l.data.datasets,e=r.isHorizontal();function d(t){return e?t.xAxisID===r.id:t.yAxisID===r.id}r.min=null,r.max=null;var u,i=a.stacked;void 0===i&&h.each(t,function(t,e){var n;i||(n=l.getDatasetMeta(e),l.isDatasetVisible(e)&&d(n)&&void 0!==n.stack&&(i=!0))}),a.stacked||i?(u={},h.each(t,function(t,e){var n=l.getDatasetMeta(e),i=[n.type,void 0===a.stacked&&void 0===n.stack?e:"",n.stack].join("."),o=(void 0===u[i]&&(u[i]={positiveValues:[],negativeValues:[]}),u[i].positiveValues),s=u[i].negativeValues;l.isDatasetVisible(e)&&d(n)&&h.each(t.data,function(t,e){t=+r.getRightValue(t);isNaN(t)||n.data[e].hidden||(o[e]=o[e]||0,s[e]=s[e]||0,a.relativePoints?o[e]=100:t<0?s[e]+=t:o[e]+=t)})}),h.each(u,function(t){var t=t.positiveValues.concat(t.negativeValues),e=h.min(t),t=h.max(t);r.min=null===r.min?e:Math.min(r.min,e),r.max=null===r.max?t:Math.max(r.max,t)})):h.each(t,function(t,e){var n=l.getDatasetMeta(e);l.isDatasetVisible(e)&&d(n)&&h.each(t.data,function(t,e){t=+r.getRightValue(t);!isNaN(t)&&!n.data[e].hidden&&((null===r.min||t<r.min)&&(r.min=t),null===r.max||t>r.max)&&(r.max=t)})}),r.min=isFinite(r.min)&&!isNaN(r.min)?r.min:0,r.max=isFinite(r.max)&&!isNaN(r.max)?r.max:1,this.handleTickRangeOptions()},getTickLimit:function(){var t,e=this.options.ticks;return this.isHorizontal()?Math.min(e.maxTicksLimit||11,Math.ceil(this.width/50)):(t=h.valueOrDefault(e.fontSize,i.global.defaultFontSize),Math.min(e.maxTicksLimit||11,Math.ceil(this.height/(2*t))))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForValue:function(t){var e=this.start,t=+this.getRightValue(t),n=this.end-e;return this.isHorizontal()?this.left+this.width/n*(t-e):this.bottom-this.height/n*(t-e)},getValueForPixel:function(t){var e=this.isHorizontal(),n=e?this.width:this.height,e=(e?t-this.left:this.bottom-t)/n;return this.start+(this.end-this.start)*e},getPixelForTick:function(t){return this.getPixelForValue(this.ticksAsNumbers[t])}});t.scaleService.registerScaleType("linear",n,e)}},{25:25,34:34,45:45}],55:[function(t,e,n){"use strict";var d=t(45);e.exports=function(e){var t=d.noop;e.LinearScaleBase=e.Scale.extend({getRightValue:function(t){return"string"==typeof t?+t:e.Scale.prototype.getRightValue.call(this,t)},handleTickRangeOptions:function(){var t=this,e=t.options.ticks,n=(e.beginAtZero&&(n=d.sign(t.min),i=d.sign(t.max),n<0&&i<0?t.max=0:0<n&&0<i&&(t.min=0)),void 0!==e.min||void 0!==e.suggestedMin),i=void 0!==e.max||void 0!==e.suggestedMax;void 0!==e.min?t.min=e.min:void 0!==e.suggestedMin&&(null===t.min?t.min=e.suggestedMin:t.min=Math.min(t.min,e.suggestedMin)),void 0!==e.max?t.max=e.max:void 0!==e.suggestedMax&&(null===t.max?t.max=e.suggestedMax:t.max=Math.max(t.max,e.suggestedMax)),n!=i&&t.min>=t.max&&(n?t.max=t.min+1:t.min=t.max-1),t.min===t.max&&(t.max++,e.beginAtZero||t.min--)},getTickLimit:t,handleDirectionalChanges:t,buildTicks:function(){var t=this,e=t.options.ticks,n=t.getTickLimit(),n={maxTicks:Math.max(2,n),min:e.min,max:e.max,stepSize:d.valueOrDefault(e.fixedStepSize,e.stepSize)},n=t.ticks=function(t,e){var n,i=[],o=(n=t.stepSize&&0<t.stepSize?t.stepSize:(s=d.niceNum(e.max-e.min,!1),d.niceNum(s/(t.maxTicks-1),!0)),Math.floor(e.min/n)*n),s=Math.ceil(e.max/n)*n,r=(t.min&&t.max&&t.stepSize&&d.almostWhole((t.max-t.min)/t.stepSize,n/1e3)&&(o=t.min,s=t.max),(s-o)/n),r=d.almostEquals(r,Math.round(r),n/1e3)?Math.round(r):Math.ceil(r),a=1;n<1&&(a=Math.pow(10,n.toString().length-2),o=Math.round(o*a)/a,s=Math.round(s*a)/a),i.push(void 0!==t.min?t.min:o);for(var l=1;l<r;++l)i.push(Math.round((o+l*n)*a)/a);return i.push(void 0!==t.max?t.max:s),i}(n,t);t.handleDirectionalChanges(),t.max=d.max(n),t.min=d.min(n),e.reverse?(n.reverse(),t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max)},convertTicksToLabels:function(){this.ticksAsNumbers=this.ticks.slice(),this.zeroLineIndex=this.ticks.indexOf(0),e.Scale.prototype.convertTicksToLabels.call(this)}})}},{45:45}],56:[function(t,e,n){"use strict";var h=t(45),i=t(34);e.exports=function(u){var t={position:"left",ticks:{callback:i.formatters.logarithmic}},e=u.Scale.extend({determineDataLimits:function(){var s=this,n=s.options,r=s.chart,t=r.data.datasets,e=s.isHorizontal();function a(t){return e?t.xAxisID===s.id:t.yAxisID===s.id}s.min=null,s.max=null,s.minNotZero=null;var l,i=n.stacked;void 0===i&&h.each(t,function(t,e){var n;i||(n=r.getDatasetMeta(e),r.isDatasetVisible(e)&&a(n)&&void 0!==n.stack&&(i=!0))}),n.stacked||i?(l={},h.each(t,function(t,e){var i=r.getDatasetMeta(e),o=[i.type,void 0===n.stacked&&void 0===i.stack?e:"",i.stack].join(".");r.isDatasetVisible(e)&&a(i)&&(void 0===l[o]&&(l[o]=[]),h.each(t.data,function(t,e){var n=l[o],t=+s.getRightValue(t);isNaN(t)||i.data[e].hidden||t<0||(n[e]=n[e]||0,n[e]+=t)}))}),h.each(l,function(t){var e;0<t.length&&(e=h.min(t),t=h.max(t),s.min=null===s.min?e:Math.min(s.min,e),s.max=null===s.max?t:Math.max(s.max,t))})):h.each(t,function(t,e){var n=r.getDatasetMeta(e);r.isDatasetVisible(e)&&a(n)&&h.each(t.data,function(t,e){t=+s.getRightValue(t);isNaN(t)||n.data[e].hidden||t<0||((null===s.min||t<s.min)&&(s.min=t),(null===s.max||t>s.max)&&(s.max=t),0!=t&&(null===s.minNotZero||t<s.minNotZero)&&(s.minNotZero=t))})}),this.handleTickRangeOptions()},handleTickRangeOptions:function(){var t=this,e=t.options.ticks,n=h.valueOrDefault;t.min=n(e.min,t.min),t.max=n(e.max,t.max),t.min===t.max&&(0!==t.min&&null!==t.min?(t.min=Math.pow(10,Math.floor(h.log10(t.min))-1),t.max=Math.pow(10,Math.floor(h.log10(t.max))+1)):(t.min=1,t.max=10)),null===t.min&&(t.min=Math.pow(10,Math.floor(h.log10(t.max))-1)),null===t.max&&(t.max=0!==t.min?Math.pow(10,Math.floor(h.log10(t.min))+1):10),null===t.minNotZero&&(0<t.min?t.minNotZero=t.min:t.max<1?t.minNotZero=Math.pow(10,Math.floor(h.log10(t.max))):t.minNotZero=1)},buildTicks:function(){var t=this,e=t.options.ticks,n=!t.isHorizontal(),i={min:e.min,max:e.max},i=t.ticks=function(t,e){var n,i,o=[],s=h.valueOrDefault,r=s(t.min,Math.pow(10,Math.floor(h.log10(e.min)))),a=Math.floor(h.log10(e.max)),l=Math.ceil(e.max/Math.pow(10,a));0===r?(n=Math.floor(h.log10(e.minNotZero)),i=Math.floor(e.minNotZero/Math.pow(10,n)),o.push(r),r=i*Math.pow(10,n)):(n=Math.floor(h.log10(r)),i=Math.floor(r/Math.pow(10,n)));for(var d=n<0?Math.pow(10,Math.abs(n)):1;o.push(r),10==++i&&(i=1,d=0<=++n?1:d),r=Math.round(i*Math.pow(10,n)*d)/d,n<a||n===a&&i<l;);e=s(t.max,r);return o.push(e),o}(i,t);t.max=h.max(i),t.min=h.min(i),e.reverse?(n=!n,t.start=t.max,t.end=t.min):(t.start=t.min,t.end=t.max),n&&i.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),u.Scale.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},getPixelForTick:function(t){return this.getPixelForValue(this.tickValues[t])},_getFirstTickValue:function(t){var e=Math.floor(h.log10(t));return Math.floor(t/Math.pow(10,e))*Math.pow(10,e)},getPixelForValue:function(t){var e,n,i,o,s=this,r=s.options.ticks.reverse,a=h.log10,l=s._getFirstTickValue(s.minNotZero),d=0;return t=+s.getRightValue(t),o=r?(n=s.end,i=s.start,-1):(n=s.start,i=s.end,1),r=s.isHorizontal()?(e=s.width,r?s.right:s.left):(e=s.height,o*=-1,r?s.top:s.bottom),t!==n&&(0===n&&(e-=d=h.getValueOrDefault(s.options.ticks.fontSize,u.defaults.global.defaultFontSize),n=l),0!==t&&(d+=e/(a(i)-a(n))*(a(t)-a(n))),r+=o*d),r},getValueForPixel:function(t){var e,n,i=this,o=i.options.ticks.reverse,s=h.log10,r=i._getFirstTickValue(i.minNotZero),a=o?(n=i.end,i.start):(n=i.start,i.end);return(o=i.isHorizontal()?(e=i.width,o?i.right-t:t-i.left):(e=i.height,o?t-i.top:i.bottom-t))!==n&&(0===n&&(o-=t=h.getValueOrDefault(i.options.ticks.fontSize,u.defaults.global.defaultFontSize),e-=t,n=r),o=o*(s(a)-s(n))/e,o=Math.pow(10,s(n)+o)),o}});u.scaleService.registerScaleType("logarithmic",e,t)}},{34:34,45:45}],57:[function(t,e,n){"use strict";var i=t(25),M=t(45),o=t(34);e.exports=function(t){var T=i.global,e={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0, 0, 0, 0.1)",lineWidth:1},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:o.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(t){return t}}};function I(t){var e=t.options;return e.angleLines.display||e.pointLabels.display?t.chart.data.labels.length:0}function A(t){var t=t.options.pointLabels,e=M.valueOrDefault(t.fontSize,T.defaultFontSize),n=M.valueOrDefault(t.fontStyle,T.defaultFontStyle),t=M.valueOrDefault(t.fontFamily,T.defaultFontFamily);return{size:e,style:n,family:t,font:M.fontString(e,n,t)}}function p(t,e,n,i,o){return t===i||t===o?{start:e-n/2,end:e+n/2}:t<i||o<t?{start:e-n-5,end:e}:{start:e,end:e+n+5}}function r(t){return M.isNumber(t)?t:0}var n=t.LinearScaleBase.extend({setDimensions:function(){var t=this,e=t.options,n=e.ticks,i=(t.width=t.maxWidth,t.height=t.maxHeight,t.xCenter=Math.round(t.width/2),t.yCenter=Math.round(t.height/2),M.min([t.height,t.width])),o=M.valueOrDefault(n.fontSize,T.defaultFontSize);t.drawingArea=e.display?i/2-(o/2+n.backdropPaddingY):i/2},determineDataLimits:function(){var i=this,o=i.chart,s=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;M.each(o.data.datasets,function(t,e){var n;o.isDatasetVisible(e)&&(n=o.getDatasetMeta(e),M.each(t.data,function(t,e){t=+i.getRightValue(t);isNaN(t)||n.data[e].hidden||(s=Math.min(t,s),r=Math.max(t,r))}))}),i.min=s===Number.POSITIVE_INFINITY?0:s,i.max=r===Number.NEGATIVE_INFINITY?0:r,i.handleTickRangeOptions()},getTickLimit:function(){var t=this.options.ticks,e=M.valueOrDefault(t.fontSize,T.defaultFontSize);return Math.min(t.maxTicksLimit||11,Math.ceil(this.drawingArea/(1.5*e)))},convertTicksToLabels:function(){t.LinearScaleBase.prototype.convertTicksToLabels.call(this),this.pointLabels=this.chart.data.labels.map(this.options.pointLabels.callback,this)},getLabelForIndex:function(t,e){return+this.getRightValue(this.chart.data.datasets[e].data[t])},fit:function(){var t;if(this.options.pointLabels.display){var e,n=this,i=A(n),o=Math.min(n.height/2,n.width/2),s={r:n.width,l:0,t:n.height,b:0},r={};n.ctx.font=i.font,n._pointLabelSizes=[];for(var a,l=I(n),d=0;d<l;d++){e=n.getPointPosition(d,o),a=n.ctx,h=i.size,u=n.pointLabels[d]||"",a=M.isArray(u)?{w:M.longestText(a,a.font,u),h:u.length*h+1.5*(u.length-1)*h}:{w:a.measureText(u).width,h:h},n._pointLabelSizes[d]=a;var u=n.getIndexAngle(d),h=M.toDegrees(u)%360,c=p(h,e.x,a.w,0,180),h=p(h,e.y,a.h,90,270);c.start<s.l&&(s.l=c.start,r.l=u),c.end>s.r&&(s.r=c.end,r.r=u),h.start<s.t&&(s.t=h.start,r.t=u),h.end>s.b&&(s.b=h.end,r.b=u)}n.setReductions(o,s,r)}else t=Math.min(this.height/2,this.width/2),this.drawingArea=Math.round(t),this.setCenterPoint(0,0,0,0)},setReductions:function(t,e,n){var i=e.l/Math.sin(n.l),o=Math.max(e.r-this.width,0)/Math.sin(n.r),s=-e.t/Math.cos(n.t),e=-Math.max(e.b-this.height,0)/Math.cos(n.b),i=r(i),o=r(o),s=r(s),e=r(e);this.drawingArea=Math.min(Math.round(t-(i+o)/2),Math.round(t-(s+e)/2)),this.setCenterPoint(i,o,s,e)},setCenterPoint:function(t,e,n,i){var o=this,e=o.width-e-o.drawingArea,t=t+o.drawingArea,n=n+o.drawingArea,i=o.height-i-o.drawingArea;o.xCenter=Math.round((t+e)/2+o.left),o.yCenter=Math.round((n+i)/2+o.top)},getIndexAngle:function(t){return t*(2*Math.PI/I(this))+(this.chart.options&&this.chart.options.startAngle?this.chart.options.startAngle:0)*Math.PI*2/360},getDistanceFromCenterForValue:function(t){var e;return null===t?0:(e=this.drawingArea/(this.max-this.min),this.options.ticks.reverse?(this.max-t)*e:(t-this.min)*e)},getPointPosition:function(t,e){t=this.getIndexAngle(t)-Math.PI/2;return{x:Math.round(Math.cos(t)*e)+this.xCenter,y:Math.round(Math.sin(t)*e)+this.yCenter}},getPointPositionForValue:function(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))},getBasePosition:function(){var t=this.min,e=this.max;return this.getPointPositionForValue(0,this.beginAtZero?0:t<0&&e<0?e:0<t&&0<e?t:0)},draw:function(){var u=this,t=u.options,h=t.gridLines,c=t.ticks,p=M.valueOrDefault;if(t.display){var f=u.ctx,g=this.getIndexAngle(0),m=p(c.fontSize,T.defaultFontSize),e=p(c.fontStyle,T.defaultFontStyle),n=p(c.fontFamily,T.defaultFontFamily),v=M.fontString(m,e,n);if(M.each(u.ticks,function(t,e){if(0<e||c.reverse){var n=u.getDistanceFromCenterForValue(u.ticksAsNumbers[e]);if(h.display&&0!==e){var i=u,o=h,s=n,r=i.ctx;if(r.strokeStyle=M.valueAtIndexOrDefault(o.color,e-1),r.lineWidth=M.valueAtIndexOrDefault(o.lineWidth,e-1),i.options.gridLines.circular)r.beginPath(),r.arc(i.xCenter,i.yCenter,s,0,2*Math.PI),r.closePath(),r.stroke();else{var a=I(i);if(0!==a){r.beginPath();var l=i.getPointPosition(0,s);r.moveTo(l.x,l.y);for(var d=1;d<a;d++)l=i.getPointPosition(d,s),r.lineTo(l.x,l.y);r.closePath(),r.stroke()}}}c.display&&(o=p(c.fontColor,T.defaultFontColor),f.font=v,f.save(),f.translate(u.xCenter,u.yCenter),f.rotate(g),c.showLabelBackdrop&&(e=f.measureText(t).width,f.fillStyle=c.backdropColor,f.fillRect(-e/2-c.backdropPaddingX,-n-m/2-c.backdropPaddingY,e+2*c.backdropPaddingX,m+2*c.backdropPaddingY)),f.textAlign="center",f.textBaseline="middle",f.fillStyle=o,f.fillText(t,0,-n),f.restore())}}),t.angleLines.display||t.pointLabels.display){var i=u,o=i.ctx,e=i.options,s=e.angleLines,r=e.pointLabels;o.lineWidth=s.lineWidth,o.strokeStyle=s.color;var a,l,d=i.getDistanceFromCenterForValue(e.ticks.reverse?i.min:i.max),y=A(i);o.textBaseline="top";for(var b=I(i)-1;0<=b;b--)if(s.display&&($=i.getPointPosition(b,d),o.beginPath(),o.moveTo(i.xCenter,i.yCenter),o.lineTo($.x,$.y),o.stroke(),o.closePath()),r.display){var $=i.getPointPosition(b,d+5),w=M.valueAtIndexOrDefault(r.fontColor,b,T.defaultFontColor),w=(o.font=y.font,o.fillStyle=w,i.getIndexAngle(b)),w=M.toDegrees(w),x=(o.textAlign=0===w||180===w?"center":w<180?"left":"right",a=i._pointLabelSizes[b],l=$,90===(w=w)||270===w?l.y-=a.h/2:(270<w||w<90)&&(l.y-=a.h),D=k=S=w=C=_=x=void 0,o),_=i.pointLabels[b]||"",C=$,w=y.size;if(M.isArray(_))for(var S=C.y,k=1.5*w,D=0;D<_.length;++D)x.fillText(_[D],C.x,S),S+=k;else x.fillText(_,C.x,C.y)}}}}});t.scaleService.registerScaleType("radialLinear",n,e)}},{25:25,34:34,45:45}],58:[function(t,e,n){"use strict";var S="function"==typeof(S=t(1))?S:window.moment,o=t(25),k=t(45),g=Number.MIN_SAFE_INTEGER||-9007199254740991,D=Number.MAX_SAFE_INTEGER||9007199254740991,T={millisecond:{common:!0,size:1,steps:[1,2,5,10,20,50,100,250,500]},second:{common:!0,size:1e3,steps:[1,2,5,10,30]},minute:{common:!0,size:6e4,steps:[1,2,5,10,30]},hour:{common:!0,size:36e5,steps:[1,2,3,6,12]},day:{common:!0,size:864e5,steps:[1,2,5]},week:{common:!1,size:6048e5,steps:[1,2,3,4]},month:{common:!0,size:2628e6,steps:[1,2,3]},quarter:{common:!1,size:7884e6,steps:[1,2,3,4]},year:{common:!0,size:3154e7}},I=Object.keys(T);function m(t,e){return t-e}function v(t){for(var e,n={},i=[],o=0,s=t.length;o<s;++o)n[e=t[o]]||(n[e]=!0,i.push(e));return i}function A(t,e,n,i){var o=function(t,e,n){for(var i,o,s,r=0,a=t.length-1;0<=r&&r<=a;){if(o=t[(i=r+a>>1)-1]||null,s=t[i],!o)return{lo:null,hi:s};if(s[e]<n)r=1+i;else{if(!(o[e]>n))return{lo:o,hi:s};a=i-1}}return{lo:s,hi:null}}(t,e,n),s=o.lo?o.hi?o.lo:t[t.length-2]:t[0],o=o.lo?o.hi||t[t.length-1]:t[1],t=o[e]-s[e],n=t?(n-s[e])/t:0,e=(o[i]-s[i])*n;return s[i]+e}function M(t,e){var n=e.parser,e=e.parser||e.format;return"function"==typeof n?n(t):"string"==typeof t&&"string"==typeof e?S(t,e):!(t=t instanceof S?t:S(t)).isValid()&&"function"==typeof e?e(t):t}function O(t,e){var n;return!k.isNullOrUndef(t)&&(n=e.options.time,(e=M(e.getRightValue(t),n)).isValid())?(n.round&&e.startOf(n.round),e.valueOf()):null}function P(t){for(var e=I.indexOf(t)+1,n=I.length;e<n;++e)if(T[I[e]].common)return I[e]}e.exports=function(e){var t=e.Scale.extend({initialize:function(){if(!S)throw new Error("Chart.js - Moment.js could not be found! You must include it before Chart.js to use the time scale. Download at https://momentjs.com");this.mergeTicksOptions(),e.Scale.prototype.initialize.call(this)},update:function(){var t=this.options;return t.time&&t.time.format&&console.warn("options.time.format is deprecated and replaced by options.time.parser."),e.Scale.prototype.update.apply(this,arguments)},getRightValue:function(t){return t&&void 0!==t.t&&(t=t.t),e.Scale.prototype.getRightValue.call(this,t)},determineDataLimits:function(){for(var t,e,n,i,o=this,s=o.chart,r=o.options.time,a=r.unit||"day",l=D,d=g,u=[],h=[],c=[],p=0,f=s.data.labels.length;p<f;++p)c.push(O(s.data.labels[p],o));for(p=0,f=(s.data.datasets||[]).length;p<f;++p)if(s.isDatasetVisible(p))if(n=s.data.datasets[p].data,k.isObject(n[0]))for(h[p]=[],t=0,e=n.length;t<e;++t)i=O(n[t],o),u.push(i),h[p][t]=i;else u.push.apply(u,c),h[p]=c.slice(0);else h[p]=[];c.length&&(c=v(c).sort(m),l=Math.min(l,c[0]),d=Math.max(d,c[c.length-1])),u.length&&(u=v(u).sort(m),l=Math.min(l,u[0]),d=Math.max(d,u[u.length-1])),l=O(r.min,o)||l,d=O(r.max,o)||d,l=l===D?+S().startOf(a):l,d=d===g?+S().endOf(a)+1:d,o.min=Math.min(l,d),o.max=Math.max(l+1,d),o._horizontal=o.isHorizontal(),o._table=[],o._timestamps={data:u,datasets:h,labels:c}},buildTicks:function(){var t,e,n,i,o,s,r,a,l,d,u,h=this,c=h.min,p=h.max,f=h.options,g=f.time,m=[],v=[];switch(f.ticks.source){case"data":m=h._timestamps.data;break;case"labels":m=h._timestamps.labels;break;default:m=function(l,d,t,e){var n,i=e.time,u=i.unit||function(t,e,n,i){for(var o,s,r=I.length,a=I.indexOf(t);a<r-1;++a)if(s=(o=T[I[a]]).steps?o.steps[o.steps.length-1]:D,o.common&&Math.ceil((n-e)/(s*o.size))<=i)return I[a];return I[r-1]}(i.minUnit,l,d,t),o=P(u),s=k.valueOrDefault(i.stepSize,i.unitStepSize),r="week"===u&&i.isoWeekday,e=e.ticks.major.enabled,a=T[u],h=S(l),c=S(d),p=[],s=s||function(t){var e,n,i,o=d-l,s=T[u],r=s.size,a=s.steps;if(!a)return Math.ceil(o/(t*r));for(e=0,n=a.length;e<n&&(i=a[e],!(Math.ceil(o/(r*i))<=t));++e);return i}(t);for(r&&(h=h.isoWeekday(r),c=c.isoWeekday(r)),h=h.startOf(r?"day":u),(c=c.startOf(r?"day":u))<d&&c.add(1,u),n=S(h),e&&o&&!r&&!i.round&&(n.startOf(o),n.add(~~((h-n)/(a.size*s))*s,u));n<c;n.add(s,u))p.push(+n);return p.push(+n),p}(c,p,h.getLabelCapacity(c),f)}for("ticks"===f.bounds&&m.length&&(c=m[0],p=m[m.length-1]),c=O(g.min,h)||c,p=O(g.max,h)||p,t=0,e=m.length;t<e;++t)(n=m[t])>=c&&n<=p&&v.push(n);h.min=c,h.max=p,h._unit=g.unit||function(t,e,n,i){for(var o,s=S.duration(S(i).diff(S(n))),r=I.length-1;r>=I.indexOf(e);r--)if(o=I[r],T[o].common&&s.as(o)>=t.length)return o;return I[e?I.indexOf(e):0]}(v,g.minUnit,h.min,h.max),h._majorUnit=P(h._unit),h._table=function(t,e,n){if("linear"===f.distribution||!t.length)return[{time:e,pos:0},{time:n,pos:1}];for(var i,o,s,r=[],a=[e],l=0,d=t.length;l<d;++l)(o=t[l])>e&&o<n&&a.push(o);for(a.push(n),l=0,d=a.length;l<d;++l)s=a[l+1],o=a[l],void 0!==(i=a[l-1])&&void 0!==s&&Math.round((s+i)/2)===o||r.push({time:o,pos:l/(d-1)});return r}(h._timestamps.data,c,p),h._offsets=(i=h._table,o=v,s=c,r=p,u=d=0,(a=f).offset&&o.length&&(a.time.min||(l=o[0],d=(A(i,"time",1<o.length?o[1]:r,"pos")-A(i,"time",l,"pos"))/2),a.time.max||(l=1<o.length?o[o.length-2]:s,u=(A(i,"time",o[o.length-1],"pos")-A(i,"time",l,"pos"))/2)),{left:d,right:u}),h._labelFormat=function(t,e){for(var n,i,o=t.length,s=0;s<o;s++){if(0!==(n=M(t[s],e)).millisecond())return"MMM D, YYYY h:mm:ss.SSS a";0===n.second()&&0===n.minute()&&0===n.hour()||(i=!0)}return i?"MMM D, YYYY h:mm:ss a":"MMM D, YYYY"}(h._timestamps.data,g);for(var y,b,$=v,w=h._majorUnit,x=[],_=0,C=$.length;_<C;++_)y=$[_],b=!!w&&y===+S(y).startOf(w),x.push({value:y,major:b});return x},getLabelForIndex:function(t,e){var n=this.chart.data,i=this.options.time,o=n.labels&&t<n.labels.length?n.labels[t]:"",n=n.datasets[e].data[t];return k.isObject(n)&&(o=this.getRightValue(n)),i.tooltipFormat?M(o,i).format(i.tooltipFormat):"string"==typeof o?o:M(o,i).format(this._labelFormat)},tickFormatFunction:function(t,e,n,i){var o=this.options,s=t.valueOf(),r=o.time.displayFormats,a=r[this._unit],l=this._majorUnit,r=r[l],d=t.clone().startOf(l).valueOf(),u=o.ticks.major,l=u.enabled&&l&&r&&s===d,s=t.format(i||(l?r:a)),d=l?u:o.ticks.minor,t=k.valueOrDefault(d.callback,d.userCallback);return t?t(s,e,n):s},convertTicksToLabels:function(t){for(var e=[],n=0,i=t.length;n<i;++n)e.push(this.tickFormatFunction(S(t[n].value),n,t));return e},getPixelForOffset:function(t){var e=this,n=e._horizontal?e.width:e.height,i=e._horizontal?e.left:e.top,t=A(e._table,"time",t,"pos");return i+n*(e._offsets.left+t)/(e._offsets.left+1+e._offsets.right)},getPixelForValue:function(t,e,n){var i=null;if(null!==(i=null===(i=void 0!==e&&void 0!==n?this._timestamps.datasets[n][e]:i)?O(t,this):i))return this.getPixelForOffset(i)},getPixelForTick:function(t){var e=this.getTicks();return 0<=t&&t<e.length?this.getPixelForOffset(e[t].value):null},getValueForPixel:function(t){var e=this,n=e._horizontal?e.width:e.height,i=e._horizontal?e.left:e.top,t=(n?(t-i)/n:0)*(e._offsets.left+1+e._offsets.left)-e._offsets.right,i=A(e._table,"pos",t,"time");return S(i)},getLabelWidth:function(t){var e=this.options.ticks,t=this.ctx.measureText(t).width,n=k.toRadians(e.maxRotation),i=Math.cos(n),n=Math.sin(n);return t*i+k.valueOrDefault(e.fontSize,o.global.defaultFontSize)*n},getLabelCapacity:function(t){var e=this.options.time.displayFormats.millisecond,t=this.tickFormatFunction(S(t),0,[],e),e=this.getLabelWidth(t),t=this.isHorizontal()?this.width:this.height,t=Math.floor(t/e);return 0<t?t:1}});e.scaleService.registerScaleType("time",t,{position:"bottom",distribution:"linear",bounds:"data",time:{parser:!1,format:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{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"}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}})}},{1:1,25:25,45:45}]},{},[7])(7)}),function(v,n,y,b){var o=v.fn.peity=function(n,i){return e&&this.each(function(){var t=v(this),e=t.data("_peity");e?(n&&(e.type=n),v.extend(e.opts,i)):(e=new s(t,n,v.extend({},o.defaults[n],t.data("peity"),i)),t.change(function(){e.draw()}).data("_peity",e)),e.draw()}),this},s=function(t,e,n){this.$el=t,this.type=e,this.opts=n},t=s.prototype,$=t.svgElement=function(t,e){return v(n.createElementNS("http://www.w3.org/2000/svg",t)).attr(e)},e="createElementNS"in n&&$("svg",{})[0].createSVGRect;t.draw=function(){var t=this.opts;o.graphers[this.type].call(this,t),t.after&&t.after.call(this,t)},t.fill=function(){var n=this.opts.fill;return v.isFunction(n)?n:function(t,e){return n[e%n.length]}},t.prepare=function(t,e){return this.$svg||this.$el.hide().after(this.$svg=$("svg",{class:"peity"})),this.$svg.empty().data("peity",this).attr({height:e,width:t})},t.values=function(){return v.map(this.$el.text().split(this.opts.delimiter),function(t){return parseFloat(t)})},o.defaults={},o.graphers={},o.register=function(t,e,n){this.defaults[t]=e,this.graphers[t]=n},o.register("pie",{fill:["#ff9900","#fff4dd","#ffc66e"],radius:8},function(t){var e;t.delimiter||(e=this.$el.text().match(/[^0-9\.]/),t.delimiter=e?e[0]:","),e=v.map(this.values(),function(t){return 0<t?t:0});for(var n=0,i=(e="/"==t.delimiter?[i=e[0],y.max(0,e[1]-i)]:e).length,o=0;n<i;n++)o+=e[n];o||(i=2,e=[0,o=1]);var s=2*t.radius,n=(s=this.prepare(t.width||s,t.height||s)).width(),r=s.height(),a=n/2,l=r/2,r=y.min(a,l),t=t.innerRadius;"donut"==this.type&&(t=t||.5*r);for(var d=y.PI,u=this.fill(),h=this.scale=function(t,e){t=t/o*d*2-d/2;return[e*y.cos(t)+a,e*y.sin(t)+l]},c=0,n=0;n<i;n++){var p,f,g=e[n],m=g/o;0!=m&&((m=1==m?t?$("path",{d:["M",a,p=l-r,"A",r,r,0,1,1,m=a-.01,p,"L",m,f=l-t,"A",t,t,0,1,0,a,f].join(" ")}):$("circle",{cx:a,cy:l,r:r}):(p=c+g,f=["M"].concat(h(c,r),"A",r,r,0,.5<m?1:0,1,h(p,r),"L"),t?f=f.concat(h(p,t),"A",t,t,0,.5<m?1:0,0,h(c,t)):f.push(a,l),c+=g,$("path",{d:f.join(" ")}))).attr("fill",u.call(this,g,n,e)),s.append(m))}}),o.register("donut",v.extend(!0,{},o.defaults.pie),function(t){o.graphers.pie.call(this,t)}),o.register("line",{delimiter:",",fill:"#c6d9fd",height:16,min:0,stroke:"#4d89f9",strokeWidth:1,width:32},function(t){var e=this.values();1==e.length&&e.push(e[0]);for(var n=y.max.apply(y,t.max==b?e:e.concat(t.max)),i=y.min.apply(y,t.min==b?e:e.concat(t.min)),o=this.prepare(t.width,t.height),s=t.strokeWidth,r=o.width(),a=o.height()-s,l=n-i,n=this.x=function(t){return t*(r/(e.length-1))},d=this.y=function(t){var e=a;return l&&(e-=(t-i)/l*a),e+s/2},u=d(y.max(i,0)),h=[0,u],c=0;c<e.length;c++)h.push(n(c),d(e[c]));h.push(r,u),t.fill&&o.append($("polygon",{fill:t.fill,points:h.join(" ")})),s&&o.append($("polyline",{fill:"none",points:h.slice(2,h.length-2).join(" "),stroke:t.stroke,"stroke-width":s,"stroke-linecap":"square"}))}),o.register("bar",{delimiter:",",fill:["#4D89F9"],height:16,min:0,padding:.1,width:32},function(t){for(var e=this.values(),n=y.max.apply(y,t.max==b?e:e.concat(t.max)),i=y.min.apply(y,t.min==b?e:e.concat(t.min)),o=this.prepare(t.width,t.height),s=o.width(),r=o.height(),a=n-i,t=t.padding,l=this.fill(),d=this.x=function(t){return t*s/e.length},u=this.y=function(t){return r-(a?(t-i)/a*r:1)},h=0;h<e.length;h++){var c,p=d(h+t),f=d(h+1-t)-p,g=e[h],m=u(g),v=m;a?g<0?v=u(y.min(n,0)):m=u(y.max(i,0)):c=1,0==(c=m-v)&&(c=1,0<n)&&a&&v--,o.append($("rect",{fill:l.call(this,g,h,e),x:p,y:v,width:f,height:c}))}})}(jQuery,document,Math),function($,w,x){"use strict";!function i(o,s,r){function a(n,t){if(!s[n]){if(!o[n]){var e="function"==typeof require&&require;if(!t&&e)return e(n,!0);if(l)return l(n,!0);t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}e=s[n]={exports:{}};o[n][0].call(e.exports,function(t){var e=o[n][1][t];return a(e||t)},e,e.exports,i,o,s,r)}return s[n].exports}for(var l="function"==typeof require&&require,t=0;t<r.length;t++)a(r[t]);return a}({1:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0});var u,h,o,c,p=t("./modules/handle-dom"),f=t("./modules/utils"),g=t("./modules/handle-swal-dom"),m=t("./modules/handle-click"),v=i(t("./modules/handle-key")),y=i(t("./modules/default-params")),b=i(t("./modules/set-params"));n.default=o=c=function(){function t(t){return(e[t]===x?y.default:e)[t]}var e=arguments[0];if(p.addClass(w.body,"stop-scrolling"),g.resetInput(),e===x)return f.logStr("SweetAlert expects at least 1 attribute!"),!1;var n=f.extend({},y.default);switch(typeof e){case"string":n.title=e,n.text=arguments[1]||"",n.type=arguments[2]||"";break;case"object":if(e.title===x)return f.logStr('Missing "title" argument!'),!1;for(var i in n.title=e.title,y.default)n[i]=t(i);n.confirmButtonText=n.showCancelButton?"Confirm":y.default.confirmButtonText,n.confirmButtonText=t("confirmButtonText"),n.doneFunction=arguments[1]||null;break;default:return f.logStr('Unexpected type of argument! Expected "string" or "object", got '+typeof e),!1}b.default(n),g.fixVerticalPosition(),g.openModal(arguments[1]);for(var o=g.getModal(),s=o.querySelectorAll("button"),r=["onclick","onmouseover","onmouseout","onmousedown","onmouseup","onfocus"],a=function(t){return m.handleButton(t,n,o)},l=0;l<s.length;l++)for(var d=0;d<r.length;d++)s[l][r[d]]=a;g.getOverlay().onclick=a,u=$.onkeydown;$.onkeydown=function(t){return v.default(t,n,o)},$.onfocus=function(){setTimeout(function(){h!==x&&(h.focus(),h=x)},0)},c.enableButtons()},o.setDefaults=c.setDefaults=function(t){if(!t)throw new Error("userParams is required");if("object"!=typeof t)throw new Error("userParams has to be a object");f.extend(y.default,t)},o.close=c.close=function(){var e=g.getModal(),t=(p.fadeOut(g.getOverlay(),5),p.fadeOut(e,5),p.removeClass(e,"showSweetAlert"),p.addClass(e,"hideSweetAlert"),p.removeClass(e,"visible"),e.querySelector(".sa-icon.sa-success")),t=(p.removeClass(t,"animate"),p.removeClass(t.querySelector(".sa-tip"),"animateSuccessTip"),p.removeClass(t.querySelector(".sa-long"),"animateSuccessLong"),e.querySelector(".sa-icon.sa-error")),t=(p.removeClass(t,"animateErrorIcon"),p.removeClass(t.querySelector(".sa-x-mark"),"animateXMark"),e.querySelector(".sa-icon.sa-warning"));return p.removeClass(t,"pulseWarning"),p.removeClass(t.querySelector(".sa-body"),"pulseWarningIns"),p.removeClass(t.querySelector(".sa-dot"),"pulseWarningIns"),setTimeout(function(){var t=e.getAttribute("data-custom-class");p.removeClass(e,t)},300),p.removeClass(w.body,"stop-scrolling"),$.onkeydown=u,$.previousActiveElement&&$.previousActiveElement.focus(),h=x,clearTimeout(e.timeout),!0},o.showInputError=c.showInputError=function(t){var e=g.getModal(),n=e.querySelector(".sa-input-error"),n=(p.addClass(n,"show"),e.querySelector(".sa-error-container"));p.addClass(n,"show"),n.querySelector("p").innerHTML=t,setTimeout(function(){o.enableButtons()},1),e.querySelector("input").focus()},o.resetInputError=c.resetInputError=function(t){if(t&&13===t.keyCode)return!1;var t=g.getModal(),e=t.querySelector(".sa-input-error"),e=(p.removeClass(e,"show"),t.querySelector(".sa-error-container"));p.removeClass(e,"show")},o.disableButtons=c.disableButtons=function(){var t=g.getModal(),e=t.querySelector("button.confirm"),t=t.querySelector("button.cancel");e.disabled=!0,t.disabled=!0},o.enableButtons=c.enableButtons=function(){var t=g.getModal(),e=t.querySelector("button.confirm"),t=t.querySelector("button.cancel");e.disabled=!1,t.disabled=!1},void 0!==$?$.sweetAlert=$.swal=o:f.logStr("SweetAlert is a frontend module!"),e.exports=n.default},{"./modules/default-params":2,"./modules/handle-click":3,"./modules/handle-dom":4,"./modules/handle-key":5,"./modules/handle-swal-dom":6,"./modules/set-params":8,"./modules/utils":9}],2:[function(t,e,n){Object.defineProperty(n,"__esModule",{value:!0});n.default={title:"",text:"",type:null,allowOutsideClick:!1,showConfirmButton:!0,showCancelButton:!1,closeOnConfirm:!0,closeOnCancel:!0,confirmButtonText:"OK",confirmButtonColor:"#8CD4F5",cancelButtonText:"Cancel",imageUrl:null,imageSize:null,timer:null,customClass:"",html:!1,animation:!0,allowEscapeKey:!0,inputType:"text",inputPlaceholder:"",inputValue:"",showLoaderOnConfirm:!1},e.exports=n.default},{}],3:[function(t,e,n){Object.defineProperty(n,"__esModule",{value:!0});function f(t,e){var n=!0;v.hasClass(t,"show-input")&&(n=(n=t.querySelector("input").value)||""),e.doneFunction(n),e.closeOnConfirm&&sweetAlert.close(),e.showLoaderOnConfirm&&sweetAlert.disableButtons()}function g(t,e){var n=String(e.doneFunction).replace(/\s/g,"");"function("===n.substring(0,9)&&")"!==n.substring(9,10)&&e.doneFunction(!1),e.closeOnCancel&&sweetAlert.close()}var m=t("./utils"),v=(t("./handle-swal-dom"),t("./handle-dom"));n.default={handleButton:function(t,e,n){function i(t){l&&e.confirmButtonColor&&(a.style.backgroundColor=t)}var o,s,r,t=t||$.event,a=t.target||t.srcElement,l=-1!==a.className.indexOf("confirm"),d=-1!==a.className.indexOf("sweet-overlay"),u=v.hasClass(n,"visible"),h=e.doneFunction&&"true"===n.getAttribute("data-has-done-function");switch(l&&e.confirmButtonColor&&(o=e.confirmButtonColor,s=m.colorLuminance(o,-.04),r=m.colorLuminance(o,-.14)),t.type){case"mouseover":i(s);break;case"mouseout":i(o);break;case"mousedown":i(r);break;case"mouseup":i(s);break;case"focus":var c=n.querySelector("button.confirm"),p=n.querySelector("button.cancel");l?p.style.boxShadow="none":c.style.boxShadow="none";break;case"click":p=n===a,c=v.isDescendant(n,a);(p||c||!u||e.allowOutsideClick)&&(l&&h&&u?f(n,e):h&&u||d?g(0,e):v.isDescendant(n,a)&&"BUTTON"===a.tagName&&sweetAlert.close())}},handleConfirm:f,handleCancel:g},e.exports=n.default},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],4:[function(t,e,n){Object.defineProperty(n,"__esModule",{value:!0});function i(t,e){return new RegExp(" "+e+" ").test(" "+t.className+" ")}function o(t){t.style.opacity="",t.style.display="block"}function s(t){t.style.opacity="",t.style.display="none"}n.hasClass=i,n.addClass=function(t,e){i(t,e)||(t.className+=" "+e)},n.removeClass=function(t,e){var n=" "+t.className.replace(/[\t\r\n]/g," ")+" ";if(i(t,e)){for(;0<=n.indexOf(" "+e+" ");)n=n.replace(" "+e+" "," ");t.className=n.replace(/^\s+|\s+$/g,"")}},n.escapeHtml=function(t){var e=w.createElement("div");return e.appendChild(w.createTextNode(t)),e.innerHTML},n._show=o,n.show=function(t){if(t&&!t.length)return o(t);for(var e=0;e<t.length;++e)o(t[e])},n._hide=s,n.hide=function(t){if(t&&!t.length)return s(t);for(var e=0;e<t.length;++e)s(t[e])},n.isDescendant=function(t,e){for(var n=e.parentNode;null!==n;){if(n===t)return!0;n=n.parentNode}return!1},n.getTopMargin=function(t){t.style.left="-9999px",t.style.display="block";var e=t.clientHeight,n="undefined"!=typeof getComputedStyle?parseInt(getComputedStyle(t).getPropertyValue("padding-top"),10):parseInt(t.currentStyle.padding);return t.style.left="",t.style.display="none","-"+parseInt((e+n)/2)+"px"},n.fadeIn=function(t,e){var n,i,o;function s(){return o.apply(this,arguments)}+t.style.opacity<1&&(e=e||16,t.style.opacity=0,t.style.display="block",n=+new Date,o=function(){t.style.opacity=+t.style.opacity+(new Date-n)/100,n=+new Date,+t.style.opacity<1&&setTimeout(i,e)},s.toString=function(){return o.toString()},(i=s)()),t.style.display="block"},n.fadeOut=function(t,e){e=e||16,t.style.opacity=1;var n,i=+new Date,o=(n=function(){t.style.opacity=+t.style.opacity-(new Date-i)/100,i=+new Date,0<+t.style.opacity?setTimeout(o,e):t.style.display="none"},s.toString=function(){return n.toString()},s);function s(){return n.apply(this,arguments)}o()},n.fireClick=function(t){var e;"function"==typeof MouseEvent?(e=new MouseEvent("click",{view:$,bubbles:!1,cancelable:!0}),t.dispatchEvent(e)):w.createEvent?((e=w.createEvent("MouseEvents")).initEvent("click",!1,!1),t.dispatchEvent(e)):w.createEventObject?t.fireEvent("onclick"):"function"==typeof t.onclick&&t.onclick()},n.stopEventPropagation=function(t){"function"==typeof t.stopPropagation?(t.stopPropagation(),t.preventDefault()):$.event&&$.event.hasOwnProperty("cancelBubble")&&($.event.cancelBubble=!0)}},{}],5:[function(t,e,n){Object.defineProperty(n,"__esModule",{value:!0});var u=t("./handle-dom"),h=t("./handle-swal-dom");n.default=function(t,e,n){var t=t||$.event,i=t.keyCode||t.which,o=n.querySelector("button.confirm"),s=n.querySelector("button.cancel"),r=n.querySelectorAll("button[tabindex]");if(-1!==[9,13,32,27].indexOf(i)){for(var a=t.target||t.srcElement,l=-1,d=0;d<r.length;d++)if(a===r[d]){l=d;break}9===i?(a=-1===l?o:l===r.length-1?r[0]:r[l+1],u.stopEventPropagation(t),a.focus(),e.confirmButtonColor&&h.setFocusStyle(a,e.confirmButtonColor)):13===i?"INPUT"===a.tagName&&(a=o).focus():27===i&&!0===e.allowEscapeKey&&u.fireClick(a=s,t)}},e.exports=n.default},{"./handle-dom":4,"./handle-swal-dom":6}],6:[function(t,e,n){function i(t){return t&&t.__esModule?t:{default:t}}function o(){var t=w.createElement("div");for(t.innerHTML=c.default;t.firstChild;)w.body.appendChild(t.firstChild)}function s(){var t=p();return t?t.querySelector("input"):void 0}function r(){return w.querySelector(".sweet-overlay")}function a(t){if(t&&13===t.keyCode)return!1;var e=(t=p()).querySelector(".sa-input-error"),e=(u.removeClass(e,"show"),t.querySelector(".sa-error-container"));u.removeClass(e,"show")}Object.defineProperty(n,"__esModule",{value:!0});var l,d=t("./utils"),u=t("./handle-dom"),h=i(t("./default-params")),c=i(t("./injected-html")),p=(l=function(){var t=w.querySelector(".sweet-alert");return t||(o(),t=p()),t},f.toString=function(){return l.toString()},f);function f(){return l.apply(this,arguments)}n.sweetAlertInitialize=o,n.getModal=p,n.getOverlay=r,n.getInput=s,n.setFocusStyle=function(t,e){e=d.hexToRgb(e);t.style.boxShadow="0 0 2px rgba("+e+", 0.8), inset 0 0 0 1px rgba(0, 0, 0, 0.05)"},n.openModal=function(t){var e=p();u.fadeIn(r(),10),u.show(e),u.addClass(e,"showSweetAlert"),u.removeClass(e,"hideSweetAlert"),$.previousActiveElement=w.activeElement;e.querySelector("button.confirm").focus(),setTimeout(function(){u.addClass(e,"visible")},500);var n,i=e.getAttribute("data-timer");"null"!==i&&""!==i&&(n=t,e.timeout=setTimeout(function(){(n?"true"===e.getAttribute("data-has-done-function"):null)?n(null):sweetAlert.close()},i))},n.resetInput=function(){var t=p(),e=s();u.removeClass(t,"show-input"),e.value=h.default.inputValue,e.setAttribute("type",h.default.inputType),e.setAttribute("placeholder",h.default.inputPlaceholder),a()},n.resetInputError=a,n.fixVerticalPosition=function(){p().style.marginTop=u.getTopMargin(p())}},{"./default-params":2,"./handle-dom":4,"./injected-html":7,"./utils":9}],7:[function(t,e,n){Object.defineProperty(n,"__esModule",{value:!0});n.default='<div class="sweet-overlay" tabIndex="-1"></div><div class="sweet-alert"><div class="sa-icon sa-error">\n <span class="sa-x-mark">\n <span class="sa-line sa-left"></span>\n <span class="sa-line sa-right"></span>\n </span>\n </div><div class="sa-icon sa-warning">\n <span class="sa-body"></span>\n <span class="sa-dot"></span>\n </div><div class="sa-icon sa-info"></div><div class="sa-icon sa-success">\n <span class="sa-line sa-tip"></span>\n <span class="sa-line sa-long"></span>\n\n <div class="sa-placeholder"></div>\n <div class="sa-fix"></div>\n </div><div class="sa-icon sa-custom"></div><h2>Title</h2>\n <p>Text</p>\n <fieldset>\n <input type="text" tabIndex="3" />\n <div class="sa-input-error"></div>\n </fieldset><div class="sa-error-container">\n <div class="icon">!</div>\n <p>Not valid!</p>\n </div><div class="sa-button-container">\n <button class="cancel" tabIndex="2">Cancel</button>\n <div class="sa-confirm-button-container">\n <button class="confirm" tabIndex="1">OK</button><div class="la-ball-fall">\n <div></div>\n <div></div>\n <div></div>\n </div>\n </div>\n </div></div>',e.exports=n.default},{}],8:[function(t,e,n){Object.defineProperty(n,"__esModule",{value:!0});var d=t("./utils"),u=t("./handle-swal-dom"),h=t("./handle-dom"),c=["error","warning","info","success","input","prompt"];n.default=function(o){var t,e,s=u.getModal(),n=s.querySelector("h2"),i=s.querySelector("p"),r=s.querySelector("button.cancel"),a=s.querySelector("button.confirm");if(n.innerHTML=o.html?o.title:h.escapeHtml(o.title).split("\n").join("<br>"),i.innerHTML=o.html?o.text:h.escapeHtml(o.text||"").split("\n").join("<br>"),o.text&&h.show(i),o.customClass?(h.addClass(s,o.customClass),s.setAttribute("data-custom-class",o.customClass)):(n=s.getAttribute("data-custom-class"),h.removeClass(s,n),s.setAttribute("data-custom-class","")),h.hide(s.querySelectorAll(".sa-icon")),o.type&&!d.isIE8()){var i=function(){for(var t=!1,e=0;e<c.length;e++)if(o.type===c[e]){t=!0;break}if(!t)return logStr("Unknown alert type: "+o.type),{v:!1};var n=x,i=(-1!==["success","error","warning","info"].indexOf(o.type)&&(n=s.querySelector(".sa-icon.sa-"+o.type),h.show(n)),u.getInput());switch(o.type){case"success":h.addClass(n,"animate"),h.addClass(n.querySelector(".sa-tip"),"animateSuccessTip"),h.addClass(n.querySelector(".sa-long"),"animateSuccessLong");break;case"error":h.addClass(n,"animateErrorIcon"),h.addClass(n.querySelector(".sa-x-mark"),"animateXMark");break;case"warning":h.addClass(n,"pulseWarning"),h.addClass(n.querySelector(".sa-body"),"pulseWarningIns"),h.addClass(n.querySelector(".sa-dot"),"pulseWarningIns");break;case"input":case"prompt":i.setAttribute("type",o.inputType),i.value=o.inputValue,i.setAttribute("placeholder",o.inputPlaceholder),h.addClass(s,"show-input"),setTimeout(function(){i.focus(),i.addEventListener("keyup",swal.resetInputError)},400)}}();if("object"==typeof i)return i.v}o.imageUrl&&((n=s.querySelector(".sa-icon.sa-custom")).style.backgroundImage="url("+o.imageUrl+")",h.show(n),t=i=80,o.imageSize&&(l=(e=o.imageSize.toString().split("x"))[0],e=e[1],l&&e?(i=l,t=e):logStr("Parameter imageSize expects value with format WIDTHxHEIGHT, got "+o.imageSize)),n.setAttribute("style",n.getAttribute("style")+"width:"+i+"px; height:"+t+"px")),s.setAttribute("data-has-cancel-button",o.showCancelButton),o.showCancelButton?r.style.display="inline-block":h.hide(r),s.setAttribute("data-has-confirm-button",o.showConfirmButton),o.showConfirmButton?a.style.display="inline-block":h.hide(a),o.cancelButtonText&&(r.innerHTML=h.escapeHtml(o.cancelButtonText)),o.confirmButtonText&&(a.innerHTML=h.escapeHtml(o.confirmButtonText)),o.confirmButtonColor&&(a.style.backgroundColor=o.confirmButtonColor,a.style.borderLeftColor=o.confirmLoadingButtonColor,a.style.borderRightColor=o.confirmLoadingButtonColor,u.setFocusStyle(a,o.confirmButtonColor)),s.setAttribute("data-allow-outside-click",o.allowOutsideClick);var l=!!o.doneFunction;s.setAttribute("data-has-done-function",l),o.animation?"string"==typeof o.animation?s.setAttribute("data-animation",o.animation):s.setAttribute("data-animation","pop"):s.setAttribute("data-animation","none"),s.setAttribute("data-timer",o.timer)},e.exports=n.default},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],9:[function(t,e,n){Object.defineProperty(n,"__esModule",{value:!0});n.extend=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t},n.hexToRgb=function(t){t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return t?parseInt(t[1],16)+", "+parseInt(t[2],16)+", "+parseInt(t[3],16):null},n.isIE8=function(){return $.attachEvent&&!$.addEventListener},n.logStr=function(t){$.console&&$.console.log("SweetAlert: "+t)},n.colorLuminance=function(t,e){(t=String(t).replace(/[^0-9a-f]/gi,"")).length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),e=e||0;for(var n,i="#",o=0;o<3;o++)n=parseInt(t.substr(2*o,2),16),i+=("00"+(n=Math.round(Math.min(Math.max(0,n+n*e),255)).toString(16))).substr(n.length);return i}},{}]},{},[1]),"function"==typeof define&&define.amd?define(function(){return sweetAlert}):"undefined"!=typeof module&&module.exports&&(module.exports=sweetAlert)}(window,document),function(e,n){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e.Tour=n(t)}):"object"==typeof exports?module.exports=n(require("jQuery")):e.Tour=n(e.jQuery)}(window,function(u){var l;function t(t){var e;try{e=window.localStorage}catch(t){e=!1}this._options=u.extend({name:"tour",steps:[],container:"body",autoscroll:!0,keyboard:!0,storage:e,debug:!1,backdrop:!1,backdropContainer:"body",backdropPadding:0,redirect:!0,orphan:!1,duration:!1,delay:!1,basePath:"",template:'<div class="popover" role="tooltip"> <div class="arrow"></div> <h3 class="popover-title"></h3> <div class="popover-content"></div> <div class="popover-navigation"> <div class="btn-group"> <button class="btn btn-sm btn-default" data-role="prev">« Prev</button> <button class="btn btn-sm btn-default" data-role="next">Next »</button> <button class="btn btn-sm btn-default" data-role="pause-resume" data-pause-text="Pause" data-resume-text="Resume">Pause</button> </div> <button class="btn btn-sm btn-default" data-role="end">End tour</button> </div> </div>',afterSetState:function(t,e){},afterGetState:function(t,e){},afterRemoveState:function(t){},onStart:function(t){},onEnd:function(t){},onShow:function(t){},onShown:function(t){},onHide:function(t){},onHidden:function(t){},onNext:function(t){},onPrev:function(t){},onPause:function(t,e){},onResume:function(t,e){},onRedirectError:function(t){}},t),this._force=!1,this._inited=!1,this._current=null,this.backdrop={overlay:null,$element:null,$background:null,backgroundShown:!1,overlayElementShown:!1}}return l=window.document,t.prototype.addSteps=function(t){for(var e,n=0,i=t.length;n<i;n++)e=t[n],this.addStep(e);return this},t.prototype.addStep=function(t){return this._options.steps.push(t),this},t.prototype.getStep=function(t){if(null!=this._options.steps[t])return u.extend({id:"step-"+t,path:"",host:"",placement:"right",title:"",content:"<p></p>",next:t===this._options.steps.length-1?-1:t+1,prev:t-1,animation:!0,container:this._options.container,autoscroll:this._options.autoscroll,backdrop:this._options.backdrop,backdropContainer:this._options.backdropContainer,backdropPadding:this._options.backdropPadding,redirect:this._options.redirect,reflexElement:this._options.steps[t].element,backdropElement:this._options.steps[t].element,orphan:this._options.orphan,duration:this._options.duration,delay:this._options.delay,template:this._options.template,onShow:this._options.onShow,onShown:this._options.onShown,onHide:this._options.onHide,onHidden:this._options.onHidden,onNext:this._options.onNext,onPrev:this._options.onPrev,onPause:this._options.onPause,onResume:this._options.onResume,onRedirectError:this._options.onRedirectError},this._options.steps[t])},t.prototype.init=function(t){var e;return this._force=t,this.ended()?this._debug("Tour ended, init prevented."):(this.setCurrentStep(),this._initMouseNavigation(),this._initKeyboardNavigation(),this._onResize((e=this,function(){return e.showStep(e._current)})),null!==this._current&&this.showStep(this._current),this._inited=!0),this},t.prototype.start=function(t){return null==t&&(t=!1),this._inited||this.init(t),null===this._current&&(t=this._makePromise(null!=this._options.onStart?this._options.onStart(this):void 0),this._callOnPromiseDone(t,this.showStep,0)),this},t.prototype.next=function(){var t=this.hideStep(this._current,this._current+1);return this._callOnPromiseDone(t,this._showNextStep)},t.prototype.prev=function(){var t=this.hideStep(this._current,this._current-1);return this._callOnPromiseDone(t,this._showPrevStep)},t.prototype.goTo=function(t){var e=this.hideStep(this._current,t);return this._callOnPromiseDone(e,this.showStep,t)},t.prototype.end=function(){var e,t=function(t){if(u(l).off("click.tour-"+e._options.name),u(l).off("keyup.tour-"+e._options.name),u(window).off("resize.tour-"+e._options.name),e._setState("end","yes"),e._inited=!1,e._force=!1,e._clearTimer(),null!=e._options.onEnd)return e._options.onEnd(e)},n=(e=this).hideStep(this._current);return this._callOnPromiseDone(n,t)},t.prototype.ended=function(){return!this._force&&!!this._getState("end")},t.prototype.restart=function(){return this._removeState("current_step"),this._removeState("end"),this._removeState("redirect_to"),this.start()},t.prototype.pause=function(){var t=this.getStep(this._current);return t&&t.duration?(this._paused=!0,this._duration-=(new Date).getTime()-this._start,window.clearTimeout(this._timer),this._debug("Paused/Stopped step "+(this._current+1)+" timer ("+this._duration+" remaining)."),null!=t.onPause?t.onPause(this,this._duration):void 0):this},t.prototype.resume=function(){var t,e=this.getStep(this._current);return e&&e.duration?(this._paused=!1,this._start=(new Date).getTime(),this._duration=this._duration||e.duration,this._timer=window.setTimeout(function(){return t._isLast()?t.next():t.end()},(t=this)._duration),this._debug("Started step "+(this._current+1)+" timer with duration "+this._duration),null!=e.onResume&&this._duration!==e.duration?e.onResume(this,this._duration):void 0):this},t.prototype.hideStep=function(n,i){var t,e,o,s,r,a=this.getStep(n);if(a)return this._clearTimer(),o=this._makePromise(null!=a.onHide?a.onHide(this,n):void 0),s=this,e=function(t){var e=u(a.element);if((e=e.data("bs.popover")||e.data("popover")?e:u("body")).popover("destroy").removeClass("tour-"+s._options.name+"-element tour-"+s._options.name+"-"+n+"-element").removeData("bs.popover").focus(),a.reflex&&u(a.reflexElement).removeClass("tour-step-element-reflex").off(s._reflexEvent(a.reflex)+".tour-"+s._options.name),!a.backdrop||(e=null!=i&&s.getStep(i))&&e.backdrop&&e.backdropElement===a.backdropElement||s._hideBackdrop(),null!=a.onHidden)return a.onHidden(s)},t=a.delay.hide||a.delay,"[object Number]"==={}.toString.call(t)&&0<t?(this._debug("Wait "+t+" milliseconds to hide the step "+(this._current+1)),window.setTimeout((r=this,function(){return r._callOnPromiseDone(o,e)}),t)):this._callOnPromiseDone(o,e),o},t.prototype.showStep=function(n){var t,e,i;if(this.ended())return this._debug("Tour ended, showStep prevented."),this;if(i=this.getStep(n)){var o,s,r=n<this._current,a=this._makePromise(null!=i.onShow?i.onShow(this,n):void 0);if(this.setCurrentStep(n),t=function(){switch({}.toString.call(i.path)){case"[object Function]":return i.path();case"[object String]":return this._options.basePath+i.path;default:return i.path}}.call(this),!i.redirect||!this._isRedirect(i.host,t,l.location)||(this._redirect(i,n,t),this._isJustPathHashDifferent(i.host,t,l.location)))return o=this,e=function(t){var e;if(o._isOrphan(i)){if(!1===i.orphan)return o._debug("Skip the orphan step "+(o._current+1)+".\nOrphan option is false and the element does not exist or is hidden."),void(r?o._showPrevStep():o._showNextStep());o._debug("Show the orphan step "+(o._current+1)+". Orphans option is true.")}if(i.backdrop&&o._showBackdrop(i),e=function(){if(o.getCurrentStep()===n&&!o.ended())return null!=i.element&&i.backdrop&&o._showOverlayElement(i,!0),o._showPopover(i,n),null!=i.onShown&&i.onShown(o),o._debug("Step "+(o._current+1)+" of "+o._options.steps.length)},i.autoscroll?o._scrollIntoView(i,e):e(),i.duration)return o.resume()},t=i.delay.show||i.delay,"[object Number]"==={}.toString.call(t)&&0<t?(this._debug("Wait "+t+" milliseconds to show the step "+(this._current+1)),window.setTimeout((s=this,function(){return s._callOnPromiseDone(a,e)}),t)):this._callOnPromiseDone(a,e),a}},t.prototype.getCurrentStep=function(){return this._current},t.prototype.setCurrentStep=function(t){return null!=t?(this._current=t,this._setState("current_step",t)):(this._current=this._getState("current_step"),this._current=null===this._current?null:parseInt(this._current,10)),this},t.prototype.redraw=function(){return this._showOverlayElement(this.getStep(this.getCurrentStep()).element,!0)},t.prototype._setState=function(t,e){var n;if(this._options.storage){n=this._options.name+"_"+t;try{this._options.storage.setItem(n,e)}catch(t){t.code===DOMException.QUOTA_EXCEEDED_ERR&&this._debug("LocalStorage quota exceeded. State storage failed.")}return this._options.afterSetState(n,e)}return null==this._state&&(this._state={}),this._state[t]=e},t.prototype._removeState=function(t){var e;return this._options.storage?(e=this._options.name+"_"+t,this._options.storage.removeItem(e),this._options.afterRemoveState(e)):null!=this._state?delete this._state[t]:void 0},t.prototype._getState=function(t){var e;return this._options.storage?(e=this._options.name+"_"+t,e=this._options.storage.getItem(e)):null!=this._state&&(e=this._state[t]),this._options.afterGetState(t,e=void 0!==e&&"null"!==e?e:null),e},t.prototype._showNextStep=function(){var e,n=this.getStep(this._current),t=function(t){return e.showStep(n.next)},i=(e=this)._makePromise(null!=n.onNext?n.onNext(this):void 0);return this._callOnPromiseDone(i,t)},t.prototype._showPrevStep=function(){var e,n=this.getStep(this._current),t=function(t){return e.showStep(n.prev)},i=(e=this)._makePromise(null!=n.onPrev?n.onPrev(this):void 0);return this._callOnPromiseDone(i,t)},t.prototype._debug=function(t){if(this._options.debug)return window.console.log("Bootstrap Tour '"+this._options.name+"' | "+t)},t.prototype._isRedirect=function(t,e,n){return!(null==t||""===t||!("[object RegExp]"==={}.toString.call(t)&&!t.test(n.origin)||"[object String]"==={}.toString.call(t)&&this._isHostDifferent(t,n)))||(t=[n.pathname,n.search,n.hash].join(""),null!=e&&""!==e&&("[object RegExp]"==={}.toString.call(e)&&!e.test(t)||"[object String]"==={}.toString.call(e)&&this._isPathDifferent(e,t)))},t.prototype._isHostDifferent=function(t,e){switch({}.toString.call(t)){case"[object RegExp]":return!t.test(e.origin);case"[object String]":return this._getProtocol(t)!==this._getProtocol(e.href)||this._getHost(t)!==this._getHost(e.href);default:return!0}},t.prototype._isPathDifferent=function(t,e){return this._getPath(t)!==this._getPath(e)||!this._equal(this._getQuery(t),this._getQuery(e))||!this._equal(this._getHash(t),this._getHash(e))},t.prototype._isJustPathHashDifferent=function(t,e,n){return(null==t||""===t||!this._isHostDifferent(t,n))&&(t=[n.pathname,n.search,n.hash].join(""),"[object String]"==={}.toString.call(e))&&this._getPath(e)===this._getPath(t)&&this._equal(this._getQuery(e),this._getQuery(t))&&!this._equal(this._getHash(e),this._getHash(t))},t.prototype._redirect=function(t,e,n){var i;return u.isFunction(t.redirect)?t.redirect.call(this,n):(i="[object String]"==={}.toString.call(t.host)?""+t.host+n:n,this._debug("Redirect to "+i),this._getState("redirect_to")!==""+e?(this._setState("redirect_to",""+e),l.location.href=i):(this._debug("Error redirection loop to "+n),this._removeState("redirect_to"),null!=t.onRedirectError?t.onRedirectError(this):void 0))},t.prototype._isOrphan=function(t){return null==t.element||!u(t.element).length||u(t.element).is(":hidden")&&"http://www.w3.org/2000/svg"!==u(t.element)[0].namespaceURI},t.prototype._isLast=function(){return this._current<this._options.steps.length-1},t.prototype._showPopover=function(t,e){var n,i,o,s;if(u(".tour-"+this._options.name).remove(),o=u.extend({},this._options),i=this._isOrphan(t),t.template=this._template(t,e),i&&(t.element="body",t.placement="top"),(n=u(t.element)).addClass("tour-"+this._options.name+"-element tour-"+this._options.name+"-"+e+"-element"),t.options&&u.extend(o,t.options),t.reflex&&!i&&u(t.reflexElement).addClass("tour-step-element-reflex").off(this._reflexEvent(t.reflex)+".tour-"+this._options.name).on(this._reflexEvent(t.reflex)+".tour-"+this._options.name,(s=this,function(){return s._isLast()?s.next():s.end()})),e=!0===t.smartPlacement&&-1===t.placement.search(/auto/i),n.popover({placement:e?"auto "+t.placement:t.placement,trigger:"manual",title:t.title,content:t.content,html:!0,animation:t.animation,container:t.container,template:t.template,selector:t.element}).popover("show"),(o=(n.data("bs.popover")?n.data("bs.popover"):n.data("popover")).tip()).attr("id",t.id),this._focus(o,n,t.next<0),this._reposition(o,t),i)return this._center(o)},t.prototype._template=function(t,e){var n,i,o,s=t.template;return this._isOrphan(t)&&"[object Boolean]"!=={}.toString.call(t.orphan)&&(s=t.orphan),i=(o=(s=u.isFunction(s)?u(s(e,t)):u(s)).find(".popover-navigation")).find('[data-role="prev"]'),n=o.find('[data-role="next"]'),o=o.find('[data-role="pause-resume"]'),this._isOrphan(t)&&s.addClass("orphan"),s.addClass("tour-"+this._options.name+" tour-"+this._options.name+"-"+e),t.reflex&&s.addClass("tour-"+this._options.name+"-reflex"),t.prev<0&&i.addClass("disabled").prop("disabled",!0).prop("tabindex",-1),t.next<0&&n.addClass("disabled").prop("disabled",!0).prop("tabindex",-1),t.duration||o.remove(),s.clone().wrap("<div>").parent().html()},t.prototype._reflexEvent=function(t){return"[object Boolean]"==={}.toString.call(t)?"click":t},t.prototype._focus=function(t,e,n){var i=t.find("[data-role='"+(n?"end":"next")+"']");return e.on("shown.bs.popover",function(){return i.focus()})},t.prototype._reposition=function(t,e){var n=t[0].offsetWidth,i=t[0].offsetHeight,o=t.offset(),s=o.left,r=o.top,a=u(l).outerHeight()-o.top-t.outerHeight();if(a<0&&(o.top=o.top+a),(a=u("html").outerWidth()-o.left-t.outerWidth())<0&&(o.left=o.left+a),o.top<0&&(o.top=0),o.left<0&&(o.left=0),t.offset(o),"bottom"===e.placement||"top"===e.placement){if(s!==o.left)return this._replaceArrow(t,2*(o.left-s),n,"left")}else if(r!==o.top)return this._replaceArrow(t,2*(o.top-r),i,"top")},t.prototype._center=function(t){return t.css("top",u(window).outerHeight()/2-t.outerHeight()/2)},t.prototype._replaceArrow=function(t,e,n,i){return t.find(".arrow").css(i,e?50*(1-e/n)+"%":"")},t.prototype._scrollIntoView=function(t,e){var n,i,o,s,r,a,l,d=u(t.element);if(!d.length)return e();switch(n=u(window),s=d.offset().top,o=d.outerHeight(),a=n.height(),r=0,t.placement){case"top":r=Math.max(0,s-a/2);break;case"left":case"right":r=Math.max(0,s+o/2-a/2);break;case"bottom":r=Math.max(0,s+o-a/2)}return this._debug("Scroll into view. ScrollTop: "+r+". Element offset: "+s+". Window height: "+a+"."),i=0,u("body, html").stop(!0,!0).animate({scrollTop:Math.ceil(r)},(l=this,function(){if(2==++i)return e(),l._debug("Scroll into view.\nAnimation end element offset: "+d.offset().top+".\nWindow height: "+n.height()+".")}))},t.prototype._onResize=function(t,e){return u(window).on("resize.tour-"+this._options.name,function(){return clearTimeout(e),e=setTimeout(t,100)})},t.prototype._initMouseNavigation=function(){var e,n,i,o=this;return u(l).off("click.tour-"+this._options.name,".popover.tour-"+this._options.name+" *[data-role='prev']").off("click.tour-"+this._options.name,".popover.tour-"+this._options.name+" *[data-role='next']").off("click.tour-"+this._options.name,".popover.tour-"+this._options.name+" *[data-role='end']").off("click.tour-"+this._options.name,".popover.tour-"+this._options.name+" *[data-role='pause-resume']").on("click.tour-"+this._options.name,".popover.tour-"+this._options.name+" *[data-role='next']",(i=this,function(t){return t.preventDefault(),i.next()})).on("click.tour-"+this._options.name,".popover.tour-"+this._options.name+" *[data-role='prev']",(n=this,function(t){if(t.preventDefault(),0<n._current)return n.prev()})).on("click.tour-"+this._options.name,".popover.tour-"+this._options.name+" *[data-role='end']",(e=this,function(t){return t.preventDefault(),e.end()})).on("click.tour-"+this._options.name,".popover.tour-"+this._options.name+" *[data-role='pause-resume']",function(t){return t.preventDefault(),(t=u(this)).text(o._paused?t.data("pause-text"):t.data("resume-text")),o._paused?o.resume():o.pause()})},t.prototype._initKeyboardNavigation=function(){var e;if(this._options.keyboard)return u(l).on("keyup.tour-"+this._options.name,(e=this,function(t){if(t.which)switch(t.which){case 39:return t.preventDefault(),e._isLast()?e.next():e.end();case 37:if(t.preventDefault(),0<e._current)return e.prev()}}))},t.prototype._makePromise=function(t){return t&&u.isFunction(t.then)?t:null},t.prototype._callOnPromiseDone=function(t,e,n){return t?t.then((i=this,function(t){return e.call(i,n)})):e.call(this,n);var i},t.prototype._showBackdrop=function(t){if(!this.backdrop.backgroundShown)return this.backdrop=u("<div>",{class:"tour-backdrop"}),this.backdrop.backgroundShown=!0,u(t.backdropContainer).append(this.backdrop)},t.prototype._hideBackdrop=function(){return this._hideOverlayElement(),this._hideBackground()},t.prototype._hideBackground=function(){if(this.backdrop&&this.backdrop.remove)return this.backdrop.remove(),this.backdrop.overlay=null,this.backdrop.backgroundShown=!1},t.prototype._showOverlayElement=function(t,e){var n=u(t.element),i=u(t.backdropElement);if(n&&0!==n.length&&(!this.backdrop.overlayElementShown||e))return this.backdrop.overlayElementShown||(this.backdrop.$element=i.addClass("tour-step-backdrop"),this.backdrop.$background=u("<div>",{class:"tour-step-background"}),this.backdrop.$background.appendTo(t.backdropContainer),this.backdrop.overlayElementShown=!0),n={width:i.innerWidth(),height:i.innerHeight(),offset:i.offset()},t.backdropPadding&&(n=this._applyBackdropPadding(t.backdropPadding,n)),this.backdrop.$background.width(n.width).height(n.height).offset(n.offset)},t.prototype._hideOverlayElement=function(){if(this.backdrop.overlayElementShown)return this.backdrop.$element.removeClass("tour-step-backdrop"),this.backdrop.$background.remove(),this.backdrop.$element=null,this.backdrop.$background=null,this.backdrop.overlayElementShown=!1},t.prototype._applyBackdropPadding=function(t,e){return"object"==typeof t?(null==t.top&&(t.top=0),null==t.right&&(t.right=0),null==t.bottom&&(t.bottom=0),null==t.left&&(t.left=0),e.offset.top=e.offset.top-t.top,e.offset.left=e.offset.left-t.left,e.width=e.width+t.left+t.right,e.height=e.height+t.top+t.bottom):(e.offset.top=e.offset.top-t,e.offset.left=e.offset.left-t,e.width=e.width+2*t,e.height=e.height+2*t),e},t.prototype._clearTimer=function(){return window.clearTimeout(this._timer),this._timer=null,this._duration=null},t.prototype._getProtocol=function(t){return 1<(t=t.split("://")).length?t[0]:"http"},t.prototype._getHost=function(t){return(t=1<(t=t.split("//")).length?t[1]:t[0]).split("/")[0]},t.prototype._getPath=function(t){return t.replace(/\/?$/,"").split("?")[0].split("#")[0]},t.prototype._getQuery=function(t){return this._getParams(t,"?")},t.prototype._getHash=function(t){return this._getParams(t,"#")},t.prototype._getParams=function(t,e){var n,i,o,s,r=t.split(e);if(1===r.length)return{};for(i={},o=0,s=(r=r[1].split("&")).length;o<s;o++)i[(n=(n=r[o]).split("="))[0]]=n[1]||"";return i},t.prototype._equal=function(t,e){var n,i,o,s,r,a;if("[object Object]"==={}.toString.call(t)&&"[object Object]"==={}.toString.call(e)){if(i=Object.keys(t),o=Object.keys(e),i.length!==o.length)return!1;for(n in t)if(s=t[n],!this._equal(e[n],s))return!1}else{if("[object Array]"!=={}.toString.call(t)||"[object Array]"!=={}.toString.call(e))return t===e;if(t.length!==e.length)return!1;for(n=r=0,a=t.length;r<a;n=++r)if(s=t[n],!this._equal(s,e[n]))return!1}return!0},t}),function(s){"use strict";function o(t,e){this.options=s.extend({},s.fn.editableform.defaults,e),this.$div=s(t),this.options.scope||(this.options.scope=this)}o.prototype={constructor:o,initInput:function(){this.input=this.options.input,this.value=this.input.str2value(this.options.value),this.input.prerender()},initTemplate:function(){this.$form=s(s.fn.editableform.template)},initButtons:function(){var t=this.$form.find(".editable-buttons");t.append(s.fn.editableform.buttons),"bottom"===this.options.showbuttons&&t.addClass("editable-buttons-bottom")},render:function(){this.$loading=s(s.fn.editableform.loading),this.$div.empty().append(this.$loading),this.initTemplate(),this.options.showbuttons?this.initButtons():this.$form.find(".editable-buttons").remove(),this.showLoading(),this.isSaving=!1,this.$div.triggerHandler("rendering"),this.initInput(),this.$form.find("div.editable-input").append(this.input.$tpl),this.$div.append(this.$form),s.when(this.input.render()).then(s.proxy(function(){var t;this.options.showbuttons||this.input.autosubmit(),this.$form.find(".editable-cancel").click(s.proxy(this.cancel,this)),this.input.error?(this.error(this.input.error),this.$form.find(".editable-submit").attr("disabled",!0),this.input.$input.attr("disabled",!0),this.$form.submit(function(t){t.preventDefault()})):(this.error(!1),this.input.$input.removeAttr("disabled"),this.$form.find(".editable-submit").removeAttr("disabled"),t=null===this.value||void 0===this.value||""===this.value?this.options.defaultValue:this.value,this.input.value2input(t),this.$form.submit(s.proxy(this.submit,this))),this.$div.triggerHandler("rendered"),this.showForm(),this.input.postrender&&this.input.postrender()},this))},cancel:function(){this.$div.triggerHandler("cancel")},showLoading:function(){var t,e;this.$form?(t=this.$form.outerWidth(),e=this.$form.outerHeight(),t&&this.$loading.width(t),e&&this.$loading.height(e),this.$form.hide()):(t=this.$loading.parent().width())&&this.$loading.width(t),this.$loading.show()},showForm:function(t){this.$loading.hide(),this.$form.show(),!1!==t&&this.input.activate(),this.$div.triggerHandler("show")},error:function(t){var e=this.$form.find(".control-group"),n=this.$form.find(".editable-error-block");if(!1===t)e.removeClass(s.fn.editableform.errorGroupClass),n.removeClass(s.fn.editableform.errorBlockClass).empty().hide();else{if(t){for(var i=(""+t).split("\n"),o=0;o<i.length;o++)i[o]=s("<div>").text(i[o]).html();t=i.join("<br>")}e.addClass(s.fn.editableform.errorGroupClass),n.addClass(s.fn.editableform.errorBlockClass).html(t).show()}},submit:function(t){t.stopPropagation(),t.preventDefault();var n,i=this.input.input2value(),t=this.validate(i);if("object"===s.type(t)&&void 0!==t.newValue){if(i=t.newValue,this.input.value2input(i),"string"==typeof t.msg)return this.error(t.msg),void this.showForm()}else if(t)return this.error(t),void this.showForm();this.options.savenochange||this.input.value2str(i)!=this.input.value2str(this.value)?(n=this.input.value2submit(i),this.isSaving=!0,s.when(this.save(n)).done(s.proxy(function(t){this.isSaving=!1;var e="function"==typeof this.options.success?this.options.success.call(this.options.scope,t,i):null;!1===e?(this.error(!1),this.showForm(!1)):"string"==typeof e?(this.error(e),this.showForm()):(e&&"object"==typeof e&&e.hasOwnProperty("newValue")&&(i=e.newValue),this.error(!1),this.value=i,this.$div.triggerHandler("save",{newValue:i,submitValue:n,response:t}))},this)).fail(s.proxy(function(t){this.isSaving=!1,t="function"==typeof this.options.error?this.options.error.call(this.options.scope,t,i):"string"==typeof t?t:t.responseText||t.statusText||"Unknown error!",this.error(t),this.showForm()},this))):this.$div.triggerHandler("nochange")},save:function(t){this.options.pk=s.fn.editableutils.tryParseJson(this.options.pk,!0);var e="function"==typeof this.options.pk?this.options.pk.call(this.options.scope):this.options.pk;if(!!("function"==typeof this.options.url||this.options.url&&("always"===this.options.send||"auto"===this.options.send&&null!=e)))return this.showLoading(),t={name:this.options.name||"",value:t,pk:e},"function"==typeof this.options.params?t=this.options.params.call(this.options.scope,t):(this.options.params=s.fn.editableutils.tryParseJson(this.options.params,!0),s.extend(t,this.options.params)),"function"==typeof this.options.url?this.options.url.call(this.options.scope,t):s.ajax(s.extend({url:this.options.url,data:t,type:"POST"},this.options.ajaxOptions))},validate:function(t){if(void 0===t&&(t=this.value),"function"==typeof this.options.validate)return this.options.validate.call(this.options.scope,t)},option:function(t,e){t in this.options&&(this.options[t]=e),"value"===t&&this.setValue(e)},setValue:function(t,e){this.value=e?this.input.str2value(t):t,this.$form&&this.$form.is(":visible")&&this.input.value2input(this.value)}},s.fn.editableform=function(n){var i=arguments;return this.each(function(){var t=s(this),e=t.data("editableform");e||t.data("editableform",e=new o(this,"object"==typeof n&&n)),"string"==typeof n&&e[n].apply(e,Array.prototype.slice.call(i,1))})},s.fn.editableform.Constructor=o,s.fn.editableform.defaults={type:"text",url:null,params:null,name:null,pk:null,value:null,defaultValue:null,send:"auto",validate:null,success:null,error:null,ajaxOptions:null,showbuttons:!0,scope:null,savenochange:!1},s.fn.editableform.template='<form class="form-inline editableform"><div class="control-group"><div><div class="editable-input"></div><div class="editable-buttons"></div></div><div class="editable-error-block"></div></div></form>',s.fn.editableform.loading='<div class="editableform-loading"></div>',s.fn.editableform.buttons='<button type="submit" class="editable-submit">ok</button><button type="button" class="editable-cancel">cancel</button>',s.fn.editableform.errorGroupClass=null,s.fn.editableform.errorBlockClass="editable-error",s.fn.editableform.engine="jquery"}(window.jQuery),function(l){"use strict";l.fn.editableutils={inherit:function(t,e){function n(){}n.prototype=e.prototype,t.prototype=new n,(t.prototype.constructor=t).superclass=e.prototype},setCursorPosition:function(t,e){t.setSelectionRange?t.setSelectionRange(e,e):t.createTextRange&&((t=t.createTextRange()).collapse(!0),t.moveEnd("character",e),t.moveStart("character",e),t.select())},tryParseJson:function(t,e){if("string"==typeof t&&t.length&&t.match(/^[\{\[].*[\}\]]$/))if(e)try{t=new Function("return "+t)()}catch(t){}finally{return t}else t=new Function("return "+t)();return t},sliceObj:function(t,e,n){var i,o,s={};if(l.isArray(e)&&e.length)for(var r=0;r<e.length;r++)i=e[r],t.hasOwnProperty(i)&&(s[i]=t[i]),!0!==n&&(o=i.toLowerCase(),t.hasOwnProperty(o))&&(s[i]=t[o]);return s},getConfigData:function(t){var n={};return l.each(t.data(),function(t,e){"object"==typeof e&&(!e||"object"!=typeof e||e.constructor!==Object&&e.constructor!==Array)||(n[t]=e)}),n},objectKeys:function(t){if(Object.keys)return Object.keys(t);if(t!==Object(t))throw new TypeError("Object.keys called on a non-object");var e,n=[];for(e in t)Object.prototype.hasOwnProperty.call(t,e)&&n.push(e);return n},escape:function(t){return l("<div>").text(t).html()},itemsByValue:function(i,t,o){var e,s,r,a;return t&&null!==i?("function"!=typeof o&&(e=o||"value",o=function(t){return t[e]}),s=l.isArray(i),r=[],a=this,l.each(t,function(t,e){var n;e.children?r=r.concat(a.itemsByValue(i,e.children,o)):s?l.grep(i,function(t){return t==(e&&"object"==typeof e?o(e):e)}).length&&r.push(e):(n=e&&"object"==typeof e?o(e):e,i==n&&r.push(e))}),r):[]},createInput:function(t){var e,n=t.type;return"date"===n&&("inline"===t.mode?l.fn.editabletypes.datefield?n="datefield":l.fn.editabletypes.dateuifield&&(n="dateuifield"):l.fn.editabletypes.date?n="date":l.fn.editabletypes.dateui&&(n="dateui"),"date"!==n||l.fn.editabletypes.date||(n="combodate")),"wysihtml5"!==(n="datetime"===n&&"inline"===t.mode?"datetimefield":n)||l.fn.editabletypes[n]||(n="textarea"),"function"==typeof l.fn.editabletypes[n]?new(e=l.fn.editabletypes[n])(this.sliceObj(t,this.objectKeys(e.defaults))):(l.error("Unknown type: "+n),!1)},supportsTransitions:function(){var t=(document.body||document.documentElement).style,e=["Moz","Webkit","Khtml","O","ms"];if("string"==typeof t[n="transition"])return!0;for(var n=n.charAt(0).toUpperCase()+n.substr(1),i=0;i<e.length;i++)if("string"==typeof t[e[i]+n])return!0;return!1}}}(window.jQuery),function(a){"use strict";function l(t,e){this.init(t,e)}function d(t,e){this.init(t,e)}l.prototype={containerName:null,containerDataName:null,innerCss:null,containerClass:"editable-container editable-popup",defaults:{},init:function(t,e){this.$element=a(t),this.options=a.extend({},a.fn.editableContainer.defaults,e),this.splitOptions(),this.formOptions.scope=this.$element[0],this.initContainer(),this.delayedHide=!1,this.$element.on("destroyed",a.proxy(function(){this.destroy()},this)),a(document).data("editable-handlers-attached")||(a(document).on("keyup.editable",function(t){27===t.which&&a(".editable-open").editableContainer("hide")}),a(document).on("click.editable",function(t){var e,n=a(t.target),i=[".editable-container",".ui-datepicker-header",".datepicker",".modal-backdrop",".bootstrap-wysihtml5-insert-image-modal",".bootstrap-wysihtml5-insert-link-modal"];if(a.contains(document.documentElement,t.target)&&!n.is(document)){for(e=0;e<i.length;e++)if(n.is(i[e])||n.parents(i[e]).length)return;l.prototype.closeOthers(t.target)}}),a(document).data("editable-handlers-attached",!0))},splitOptions:function(){if(this.containerOptions={},this.formOptions={},!a.fn[this.containerName])throw new Error(this.containerName+" not found. Have you included corresponding js file?");for(var t in this.options)t in this.defaults?this.containerOptions[t]=this.options[t]:this.formOptions[t]=this.options[t]},tip:function(){return this.container()?this.container().$tip:null},container:function(){var t;return t=this.containerDataName&&(t=this.$element.data(this.containerDataName))?t:this.$element.data(this.containerName)},call:function(){this.$element[this.containerName].apply(this.$element,arguments)},initContainer:function(){this.call(this.containerOptions)},renderForm:function(){this.$form.editableform(this.formOptions).on({save:a.proxy(this.save,this),nochange:a.proxy(function(){this.hide("nochange")},this),cancel:a.proxy(function(){this.hide("cancel")},this),show:a.proxy(function(){this.delayedHide?(this.hide(this.delayedHide.reason),this.delayedHide=!1):this.setPosition()},this),rendering:a.proxy(this.setPosition,this),resize:a.proxy(this.setPosition,this),rendered:a.proxy(function(){this.$element.triggerHandler("shown",a(this.options.scope).data("editable"))},this)}).editableform("render")},show:function(t){this.$element.addClass("editable-open"),!1!==t&&this.closeOthers(this.$element[0]),this.innerShow(),this.tip().addClass(this.containerClass),this.$form,this.$form=a("<div>"),(this.tip().is(this.innerCss)?this.tip():this.tip().find(this.innerCss)).append(this.$form),this.renderForm()},hide:function(t){this.tip()&&this.tip().is(":visible")&&this.$element.hasClass("editable-open")&&(this.$form.data("editableform").isSaving?this.delayedHide={reason:t}:(this.delayedHide=!1,this.$element.removeClass("editable-open"),this.innerHide(),this.$element.triggerHandler("hidden",t||"manual")))},innerShow:function(){},innerHide:function(){},toggle:function(t){this.container()&&this.tip()&&this.tip().is(":visible")?this.hide():this.show(t)},setPosition:function(){},save:function(t,e){this.$element.triggerHandler("save",e),this.hide("save")},option:function(t,e){this.options[t]=e,t in this.containerOptions?(this.containerOptions[t]=e,this.setContainerOption(t,e)):(this.formOptions[t]=e,this.$form&&this.$form.editableform("option",t,e))},setContainerOption:function(t,e){this.call("option",t,e)},destroy:function(){this.hide(),this.innerDestroy(),this.$element.off("destroyed"),this.$element.removeData("editableContainer")},innerDestroy:function(){},closeOthers:function(i){a(".editable-open").each(function(t,e){var n;e===i||a(e).find(i).length||(n=(e=a(e)).data("editableContainer"))&&("cancel"===n.options.onblur?e.data("editableContainer").hide("onblur"):"submit"===n.options.onblur&&e.data("editableContainer").tip().find("form").submit())})},activate:function(){this.tip&&this.tip().is(":visible")&&this.$form&&this.$form.data("editableform").input.activate()}},a.fn.editableContainer=function(s){var r=arguments;return this.each(function(){var t=a(this),e="editableContainer",n=t.data(e),i="object"==typeof s&&s,o="inline"===i.mode?d:l;n||t.data(e,n=new o(this,i)),"string"==typeof s&&n[s].apply(n,Array.prototype.slice.call(r,1))})},a.fn.editableContainer.Popup=l,a.fn.editableContainer.Inline=d,a.fn.editableContainer.defaults={value:null,placement:"top",autohide:!0,onblur:"cancel",anim:!1,mode:"popup"},jQuery.event.special.destroyed={remove:function(t){t.handler&&t.handler()}}}(window.jQuery),function(t){"use strict";t.extend(t.fn.editableContainer.Inline.prototype,t.fn.editableContainer.Popup.prototype,{containerName:"editableform",innerCss:".editable-inline",containerClass:"editable-container editable-inline",initContainer:function(){this.$tip=t("<span></span>"),this.options.anim||(this.options.anim=0)},splitOptions:function(){this.containerOptions={},this.formOptions=this.options},tip:function(){return this.$tip},innerShow:function(){this.$element.hide(),this.tip().insertAfter(this.$element).show()},innerHide:function(){this.$tip.hide(this.options.anim,t.proxy(function(){this.$element.show(),this.innerDestroy()},this))},innerDestroy:function(){this.tip()&&this.tip().empty().remove()}})}(window.jQuery),function(u){"use strict";function h(t,e){this.$element=u(t),this.options=u.extend({},u.fn.editable.defaults,e,u.fn.editableutils.getConfigData(this.$element)),this.options.selector?this.initLive():this.init(),this.options.highlight&&!u.fn.editableutils.supportsTransitions()&&(this.options.highlight=!1)}h.prototype={constructor:h,init:function(){var t,e=!1;if(this.options.name=this.options.name||this.$element.attr("id"),this.options.scope=this.$element[0],this.input=u.fn.editableutils.createInput(this.options),this.input){switch(void 0===this.options.value||null===this.options.value?(this.value=this.input.html2value(u.trim(this.$element.html())),e=!0):(this.options.value=u.fn.editableutils.tryParseJson(this.options.value,!0),"string"==typeof this.options.value?this.value=this.input.str2value(this.options.value):this.value=this.options.value),this.$element.addClass("editable"),"textarea"===this.input.type&&this.$element.addClass("editable-pre-wrapped"),"manual"!==this.options.toggle?(this.$element.addClass("editable-click"),this.$element.on(this.options.toggle+".editable",u.proxy(function(t){this.options.disabled||t.preventDefault(),"mouseenter"===this.options.toggle?this.show():(t="click"!==this.options.toggle,this.toggle(t))},this))):this.$element.attr("tabindex",-1),"function"==typeof this.options.display&&(this.options.autotext="always"),this.options.autotext){case"always":t=!0;break;case"auto":t=!u.trim(this.$element.text()).length&&null!==this.value&&void 0!==this.value&&!e;break;default:t=!1}u.when(!t||this.render()).then(u.proxy(function(){this.options.disabled?this.disable():this.enable(),this.$element.triggerHandler("init",this)},this))}},initLive:function(){var t=this.options.selector;this.options.selector=!1,this.options.autotext="never",this.$element.on(this.options.toggle+".editable",t,u.proxy(function(t){var e=u(t.target);e.data("editable")||(e.hasClass(this.options.emptyclass)&&e.empty(),e.editable(this.options).trigger(t))},this))},render:function(t){if(!1!==this.options.display)return this.input.value2htmlFinal?this.input.value2html(this.value,this.$element[0],this.options.display,t):"function"==typeof this.options.display?this.options.display.call(this.$element[0],this.value,t):this.input.value2html(this.value,this.$element[0])},enable:function(){this.options.disabled=!1,this.$element.removeClass("editable-disabled"),this.handleEmpty(this.isEmpty),"manual"!==this.options.toggle&&"-1"===this.$element.attr("tabindex")&&this.$element.removeAttr("tabindex")},disable:function(){this.options.disabled=!0,this.hide(),this.$element.addClass("editable-disabled"),this.handleEmpty(this.isEmpty),this.$element.attr("tabindex",-1)},toggleDisabled:function(){this.options.disabled?this.enable():this.disable()},option:function(t,e){if(t&&"object"==typeof t)u.each(t,u.proxy(function(t,e){this.option(u.trim(t),e)},this));else{if(this.options[t]=e,"disabled"===t)return e?this.disable():this.enable();"value"===t&&this.setValue(e),this.container&&this.container.option(t,e),this.input.option&&this.input.option(t,e)}},handleEmpty:function(t){!1!==this.options.display&&(void 0!==t?this.isEmpty=t:"function"==typeof this.input.isEmpty?this.isEmpty=this.input.isEmpty(this.$element):this.isEmpty=""===u.trim(this.$element.html()),this.options.disabled?this.isEmpty&&(this.$element.empty(),this.options.emptyclass)&&this.$element.removeClass(this.options.emptyclass):this.isEmpty?(this.$element.html(this.options.emptytext),this.options.emptyclass&&this.$element.addClass(this.options.emptyclass)):this.options.emptyclass&&this.$element.removeClass(this.options.emptyclass))},show:function(t){if(!this.options.disabled){if(this.container){if(this.container.tip().is(":visible"))return}else{var e=u.extend({},this.options,{value:this.value,input:this.input});this.$element.editableContainer(e),this.$element.on("save.internal",u.proxy(this.save,this)),this.container=this.$element.data("editableContainer")}this.container.show(t)}},hide:function(){this.container&&this.container.hide()},toggle:function(t){this.container&&this.container.tip().is(":visible")?this.hide():this.show(t)},save:function(t,e){var n,i;this.options.unsavedclass&&("function"==typeof this.options.url||!1===this.options.display||void 0!==e.response||this.options.savenochange&&this.input.value2str(this.value)!==this.input.value2str(e.newValue)?this.$element.removeClass(this.options.unsavedclass):this.$element.addClass(this.options.unsavedclass)),this.options.highlight&&(n=this.$element,i=n.css("background-color"),n.css("background-color",this.options.highlight),setTimeout(function(){"transparent"===i&&(i=""),n.css("background-color",i),n.addClass("editable-bg-transition"),setTimeout(function(){n.removeClass("editable-bg-transition")},1700)},10)),this.setValue(e.newValue,!1,e.response)},validate:function(){if("function"==typeof this.options.validate)return this.options.validate.call(this,this.value)},setValue:function(t,e,n){this.value=e?this.input.str2value(t):t,this.container&&this.container.option("value",this.value),u.when(this.render(n)).then(u.proxy(function(){this.handleEmpty()},this))},activate:function(){this.container&&this.container.activate()},destroy:function(){this.disable(),this.container&&this.container.destroy(),this.input.destroy(),"manual"!==this.options.toggle&&(this.$element.removeClass("editable-click"),this.$element.off(this.options.toggle+".editable")),this.$element.off("save.internal"),this.$element.removeClass("editable editable-open editable-disabled"),this.$element.removeData("editable")}},u.fn.editable=function(i){var n={},o=arguments,s="editable";switch(i){case"validate":return this.each(function(){var t,e=u(this).data(s);e&&(t=e.validate())&&(n[e.options.name]=t)}),n;case"getValue":return 2===arguments.length&&!0===arguments[1]?n=this.eq(0).data(s).value:this.each(function(){var t=u(this).data(s);t&&void 0!==t.value&&null!==t.value&&(n[t.options.name]=t.input.value2submit(t.value))}),n;case"submit":var t,e,r,a=arguments[1]||{},l=this,d=this.editable("validate");return u.isEmptyObject(d)?(r={},1===l.length?(e={name:(t=l.data("editable")).options.name||"",value:t.input.value2submit(t.value),pk:"function"==typeof t.options.pk?t.options.pk.call(t.options.scope):t.options.pk},"function"==typeof t.options.params?e=t.options.params.call(t.options.scope,e):(t.options.params=u.fn.editableutils.tryParseJson(t.options.params,!0),u.extend(e,t.options.params)),r={url:t.options.url,data:e,type:"POST"},a.success=a.success||t.options.success,a.error=a.error||t.options.error):(e=this.editable("getValue"),r={url:a.url,data:e,type:"POST"}),r.success="function"==typeof a.success?function(t){a.success.call(l,t,a)}:u.noop,r.error="function"==typeof a.error?function(){a.error.apply(l,arguments)}:u.noop,a.ajaxOptions&&u.extend(r,a.ajaxOptions),a.data&&u.extend(r.data,a.data),u.ajax(r)):"function"==typeof a.error&&a.error.call(l,d),this}return this.each(function(){var t=u(this),e=t.data(s),n="object"==typeof i&&i;n&&n.selector?e=new h(this,n):(e||t.data(s,e=new h(this,n)),"string"==typeof i&&e[i].apply(e,Array.prototype.slice.call(o,1)))})},u.fn.editable.defaults={type:"text",disabled:!1,toggle:"click",emptytext:"Empty",autotext:"auto",value:null,display:null,emptyclass:"editable-empty",unsavedclass:"editable-unsaved",selector:null,highlight:"#FFFF80"}}(window.jQuery),function(i){"use strict";i.fn.editabletypes={};function t(){}t.prototype={init:function(t,e,n){this.type=t,this.options=i.extend({},n,e)},prerender:function(){this.$tpl=i(this.options.tpl),this.$input=this.$tpl,this.$clear=null,this.error=null},render:function(){},value2html:function(t,e){i(e)[this.options.escape?"text":"html"](i.trim(t))},html2value:function(t){return i("<div>").html(t).text()},value2str:function(t){return t},str2value:function(t){return t},value2submit:function(t){return t},value2input:function(t){this.$input.val(t)},input2value:function(){return this.$input.val()},activate:function(){this.$input.is(":visible")&&this.$input.focus()},clear:function(){this.$input.val(null)},escape:function(t){return i("<div>").text(t).html()},autosubmit:function(){},destroy:function(){},setClass:function(){this.options.inputclass&&this.$input.addClass(this.options.inputclass)},setAttr:function(t){void 0!==this.options[t]&&null!==this.options[t]&&this.$input.attr(t,this.options[t])},option:function(t,e){this.options[t]=e}},t.defaults={tpl:"",inputclass:null,escape:!0,scope:null,showbuttons:!0},i.extend(i.fn.editabletypes,{abstractinput:t})}(window.jQuery),function(a){"use strict";function t(t){}a.fn.editableutils.inherit(t,a.fn.editabletypes.abstractinput),a.extend(t.prototype,{render:function(){var t=a.Deferred();return this.error=null,this.onSourceReady(function(){this.renderList(),t.resolve()},function(){this.error=this.options.sourceError,t.resolve()}),t.promise()},html2value:function(t){return null},value2html:function(t,e,n,i){function o(){"function"==typeof n?n.call(e,t,this.sourceData,i):this.value2htmlFinal(t,e),s.resolve()}var s=a.Deferred();return null===t?o.call(this):this.onSourceReady(o,function(){s.resolve()}),s.promise()},onSourceReady:function(e,n){var t;if(a.isFunction(this.options.source)?(t=this.options.source.call(this.options.scope),this.sourceData=null):t=this.options.source,this.options.sourceCache&&a.isArray(this.sourceData))e.call(this);else{try{t=a.fn.editableutils.tryParseJson(t,!1)}catch(t){return void n.call(this)}if("string"==typeof t){if(this.options.sourceCache){var i,o=t;if(a(document).data(o)||a(document).data(o,{}),!1===(i=a(document).data(o)).loading&&i.sourceData)return this.sourceData=i.sourceData,this.doPrepend(),void e.call(this);if(!0===i.loading)return i.callbacks.push(a.proxy(function(){this.sourceData=i.sourceData,this.doPrepend(),e.call(this)},this)),void i.err_callbacks.push(a.proxy(n,this));i.loading=!0,i.callbacks=[],i.err_callbacks=[]}o=a.extend({url:t,type:"get",cache:!1,dataType:"json",success:a.proxy(function(t){i&&(i.loading=!1),this.sourceData=this.makeArray(t),a.isArray(this.sourceData)?(i&&(i.sourceData=this.sourceData,a.each(i.callbacks,function(){this.call()})),this.doPrepend(),e.call(this)):(n.call(this),i&&a.each(i.err_callbacks,function(){this.call()}))},this),error:a.proxy(function(){n.call(this),i&&(i.loading=!1,a.each(i.err_callbacks,function(){this.call()}))},this)},this.options.sourceOptions);a.ajax(o)}else this.sourceData=this.makeArray(t),(a.isArray(this.sourceData)?(this.doPrepend(),e):n).call(this)}},doPrepend:function(){null!==this.options.prepend&&void 0!==this.options.prepend&&(a.isArray(this.prependData)||(a.isFunction(this.options.prepend)&&(this.options.prepend=this.options.prepend.call(this.options.scope)),this.options.prepend=a.fn.editableutils.tryParseJson(this.options.prepend,!0),"string"==typeof this.options.prepend&&(this.options.prepend={"":this.options.prepend}),this.prependData=this.makeArray(this.options.prepend)),a.isArray(this.prependData))&&a.isArray(this.sourceData)&&(this.sourceData=this.prependData.concat(this.sourceData))},renderList:function(){},value2htmlFinal:function(t,e){},makeArray:function(t){var n,i,e,o=[];if(!t||"string"==typeof t)return null;if(a.isArray(t))for(var s=function(t,e){if(i={value:t,text:e},2<=n++)return!1},r=0;r<t.length;r++)"object"==typeof(e=t[r])?(n=0,a.each(e,s),1===n?o.push(i):1<n&&(e.children&&(e.children=this.makeArray(e.children)),o.push(e))):o.push({value:e,text:e});else a.each(t,function(t,e){o.push({value:t,text:e})});return o},option:function(t,e){this.options[t]=e,"source"===t&&(this.sourceData=null),"prepend"===t&&(this.prependData=null)}}),t.defaults=a.extend({},a.fn.editabletypes.abstractinput.defaults,{source:null,prepend:!1,sourceError:"Error when loading list",sourceCache:!0,sourceOptions:null}),a.fn.editabletypes.list=t}(window.jQuery),function(n){"use strict";function e(t){this.init("text",t,e.defaults)}n.fn.editableutils.inherit(e,n.fn.editabletypes.abstractinput),n.extend(e.prototype,{render:function(){this.renderClear(),this.setClass(),this.setAttr("placeholder")},activate:function(){this.$input.is(":visible")&&(this.$input.focus(),n.fn.editableutils.setCursorPosition(this.$input.get(0),this.$input.val().length),this.toggleClear)&&this.toggleClear()},renderClear:function(){this.options.clear&&(this.$clear=n('<span class="editable-clear-x"></span>'),this.$input.after(this.$clear).css("padding-right",24).keyup(n.proxy(function(t){var e;~n.inArray(t.keyCode,[40,38,9,13,27])||(clearTimeout(this.t),(e=this).t=setTimeout(function(){e.toggleClear(t)},100))},this)).parent().css("position","relative"),this.$clear.click(n.proxy(this.clear,this)))},postrender:function(){},toggleClear:function(t){var e,n;this.$clear&&(e=this.$input.val().length,n=this.$clear.is(":visible"),e&&!n&&this.$clear.show(),!e)&&n&&this.$clear.hide()},clear:function(){this.$clear.hide(),this.$input.val("").focus()}}),e.defaults=n.extend({},n.fn.editabletypes.abstractinput.defaults,{tpl:'<input type="text">',placeholder:null,clear:!0}),n.fn.editabletypes.text=e}(window.jQuery),function(e){"use strict";function n(t){this.init("textarea",t,n.defaults)}e.fn.editableutils.inherit(n,e.fn.editabletypes.abstractinput),e.extend(n.prototype,{render:function(){this.setClass(),this.setAttr("placeholder"),this.setAttr("rows"),this.$input.keydown(function(t){t.ctrlKey&&13===t.which&&e(this).closest("form").submit()})},activate:function(){e.fn.editabletypes.text.prototype.activate.call(this)}}),n.defaults=e.extend({},e.fn.editabletypes.abstractinput.defaults,{tpl:"<textarea></textarea>",inputclass:"input-large",placeholder:null,rows:7}),e.fn.editabletypes.textarea=n}(window.jQuery),function(s){"use strict";function e(t){this.init("select",t,e.defaults)}s.fn.editableutils.inherit(e,s.fn.editabletypes.list),s.extend(e.prototype,{renderList:function(){this.$input.empty();var o=function(t,e){var n;if(s.isArray(e))for(var i=0;i<e.length;i++)n={},e[i].children?(n.label=e[i].text,t.append(o(s("<optgroup>",n),e[i].children))):(n.value=e[i].value,e[i].disabled&&(n.disabled=!0),t.append(s("<option>",n).text(e[i].text)));return t};o(this.$input,this.sourceData),this.setClass(),this.$input.on("keydown.editable",function(t){13===t.which&&s(this).closest("form").submit()})},value2htmlFinal:function(t,e){var n="",t=s.fn.editableutils.itemsByValue(t,this.sourceData);t.length&&(n=t[0].text),s.fn.editabletypes.abstractinput.prototype.value2html.call(this,n,e)},autosubmit:function(){this.$input.off("keydown.editable").on("change.editable",function(){s(this).closest("form").submit()})}}),e.defaults=s.extend({},s.fn.editabletypes.list.defaults,{tpl:"<select></select>"}),s.fn.editabletypes.select=e}(window.jQuery),function(o){"use strict";function e(t){this.init("checklist",t,e.defaults)}o.fn.editableutils.inherit(e,o.fn.editabletypes.list),o.extend(e.prototype,{renderList:function(){var t;if(this.$tpl.empty(),o.isArray(this.sourceData)){for(var e=0;e<this.sourceData.length;e++)t=o("<label>").append(o("<input>",{type:"checkbox",value:this.sourceData[e].value})).append(o("<span>").text(" "+this.sourceData[e].text)),o("<div>").append(t).appendTo(this.$tpl);this.$input=this.$tpl.find('input[type="checkbox"]'),this.setClass()}},value2str:function(t){return o.isArray(t)?t.sort().join(o.trim(this.options.separator)):""},str2value:function(t){var e;return"string"==typeof t&&t.length?(e=new RegExp("\\s*"+o.trim(this.options.separator)+"\\s*"),t.split(e)):o.isArray(t)?t:[t]},value2input:function(i){this.$input.prop("checked",!1),o.isArray(i)&&i.length&&this.$input.each(function(t,e){var n=o(e);o.each(i,function(t,e){n.val()==e&&n.prop("checked",!0)})})},input2value:function(){var n=[];return this.$input.filter(":checked").each(function(t,e){n.push(o(e).val())}),n},value2htmlFinal:function(t,e){var n=[],t=o.fn.editableutils.itemsByValue(t,this.sourceData),i=this.options.escape;t.length?(o.each(t,function(t,e){e=i?o.fn.editableutils.escape(e.text):e.text;n.push(e)}),o(e).html(n.join("<br>"))):o(e).empty()},activate:function(){this.$input.first().focus()},autosubmit:function(){this.$input.on("keydown",function(t){13===t.which&&o(this).closest("form").submit()})}}),e.defaults=o.extend({},o.fn.editabletypes.list.defaults,{tpl:'<div class="editable-checklist"></div>',inputclass:null,separator:","}),o.fn.editabletypes.checklist=e}(window.jQuery),function(n){"use strict";function e(t){this.init("password",t,e.defaults)}n.fn.editableutils.inherit(e,n.fn.editabletypes.text),n.extend(e.prototype,{value2html:function(t,e){t?n(e).text("[hidden]"):n(e).empty()},html2value:function(t){return null}}),e.defaults=n.extend({},n.fn.editabletypes.text.defaults,{tpl:'<input type="password">'}),n.fn.editabletypes.password=e}(window.jQuery),function(t){"use strict";function e(t){this.init("email",t,e.defaults)}t.fn.editableutils.inherit(e,t.fn.editabletypes.text),e.defaults=t.extend({},t.fn.editabletypes.text.defaults,{tpl:'<input type="email">'}),t.fn.editabletypes.email=e}(window.jQuery),function(t){"use strict";function e(t){this.init("url",t,e.defaults)}t.fn.editableutils.inherit(e,t.fn.editabletypes.text),e.defaults=t.extend({},t.fn.editabletypes.text.defaults,{tpl:'<input type="url">'}),t.fn.editabletypes.url=e}(window.jQuery),function(t){"use strict";function e(t){this.init("tel",t,e.defaults)}t.fn.editableutils.inherit(e,t.fn.editabletypes.text),e.defaults=t.extend({},t.fn.editabletypes.text.defaults,{tpl:'<input type="tel">'}),t.fn.editabletypes.tel=e}(window.jQuery),function(t){"use strict";function e(t){this.init("number",t,e.defaults)}t.fn.editableutils.inherit(e,t.fn.editabletypes.text),t.extend(e.prototype,{render:function(){e.superclass.render.call(this),this.setAttr("min"),this.setAttr("max"),this.setAttr("step")},postrender:function(){this.$clear&&this.$clear.css({right:24})}}),e.defaults=t.extend({},t.fn.editabletypes.text.defaults,{tpl:'<input type="number">',inputclass:"input-mini",min:null,max:null,step:null}),t.fn.editabletypes.number=e}(window.jQuery),function(t){"use strict";function e(t){this.init("range",t,e.defaults)}t.fn.editableutils.inherit(e,t.fn.editabletypes.number),t.extend(e.prototype,{render:function(){this.$input=this.$tpl.filter("input"),this.setClass(),this.setAttr("min"),this.setAttr("max"),this.setAttr("step"),this.$input.on("input",function(){t(this).siblings("output").text(t(this).val())})},activate:function(){this.$input.focus()}}),e.defaults=t.extend({},t.fn.editabletypes.number.defaults,{tpl:'<input type="range"><output style="width: 30px; display: inline-block"></output>',inputclass:"input-medium"}),t.fn.editabletypes.range=e}(window.jQuery),function(t){"use strict";function e(t){this.init("time",t,e.defaults)}t.fn.editableutils.inherit(e,t.fn.editabletypes.abstractinput),t.extend(e.prototype,{render:function(){this.setClass()}}),e.defaults=t.extend({},t.fn.editabletypes.abstractinput.defaults,{tpl:'<input type="time">'}),t.fn.editabletypes.time=e}(window.jQuery),function(s){"use strict";function r(t){var e,n;this.init("select2",t,r.defaults),t.select2=t.select2||{},this.sourceData=null,t.placeholder&&(t.select2.placeholder=t.placeholder),!t.select2.tags&&t.source&&(e=t.source,"string"==typeof(e=s.isFunction(t.source)?t.source.call(t.scope):e)?(t.select2.ajax=t.select2.ajax||{},t.select2.ajax.data||(t.select2.ajax.data=function(t){return{query:t}}),t.select2.ajax.results||(t.select2.ajax.results=function(t){return{results:t}}),t.select2.ajax.url=e):(this.sourceData=this.convertSource(e),t.select2.data=this.sourceData)),this.options.select2=s.extend({},r.defaults.select2,t.select2),this.isMultiple=this.options.select2.tags||this.options.select2.multiple,this.isRemote="ajax"in this.options.select2,this.idFunc=this.options.select2.id,"function"!=typeof this.idFunc&&(n=this.idFunc||"id",this.idFunc=function(t){return t[n]}),this.formatSelection=this.options.select2.formatSelection,"function"!=typeof this.formatSelection&&(this.formatSelection=function(t){return t.text})}s.fn.editableutils.inherit(r,s.fn.editabletypes.abstractinput),s.extend(r.prototype,{render:function(){this.setClass(),this.isRemote&&this.$input.on("select2-loaded",s.proxy(function(t){this.sourceData=t.items.results},this)),this.isMultiple&&this.$input.on("change",function(){s(this).closest("form").parent().triggerHandler("resize")})},value2html:function(t,e){var n,i="",o=this;this.options.select2.tags?n=t:this.sourceData&&(n=s.fn.editableutils.itemsByValue(t,this.sourceData,this.idFunc)),s.isArray(n)?(i=[],s.each(n,function(t,e){i.push(e&&"object"==typeof e?o.formatSelection(e):e)})):n&&(i=o.formatSelection(n)),i=s.isArray(i)?i.join(this.options.viewseparator):i,r.superclass.value2html.call(this,i,e)},html2value:function(t){return this.options.select2.tags?this.str2value(t,this.options.viewseparator):null},value2input:function(t){var e,n;s.isArray(t)&&(t=t.join(this.getSeparator())),this.$input.data("select2")?this.$input.val(t).trigger("change",!0):(this.$input.val(t),this.$input.select2(this.options.select2)),!this.isRemote||this.isMultiple||this.options.select2.initSelection||(e=this.options.select2.id,n=this.options.select2.formatSelection,e)||n||(e=s(this.options.scope)).data("editable").isEmpty||(n={id:t,text:e.text()},this.$input.select2("data",n))},input2value:function(){return this.$input.select2("val")},str2value:function(t,e){if("string"!=typeof t||!this.isMultiple)return t;var n,i,o;if(e=e||this.getSeparator(),null===t||t.length<1)return null;for(i=0,o=(n=t.split(e)).length;i<o;i+=1)n[i]=s.trim(n[i]);return n},autosubmit:function(){this.$input.on("change",function(t,e){e||s(this).closest("form").submit()})},getSeparator:function(){return this.options.select2.separator||s.fn.select2.defaults.separator},convertSource:function(t){if(s.isArray(t)&&t.length&&void 0!==t[0].value)for(var e=0;e<t.length;e++)void 0!==t[e].value&&(t[e].id=t[e].value,delete t[e].value);return t},destroy:function(){this.$input.data("select2")&&this.$input.select2("destroy")}}),r.defaults=s.extend({},s.fn.editabletypes.abstractinput.defaults,{tpl:'<input type="hidden">',select2:null,placeholder:null,source:null,viewseparator:", "}),s.fn.editabletypes.select2=r}(window.jQuery),function(r){function o(t,e){this.$element=r(t),this.$element.is("input")?(this.options=r.extend({},r.fn.combodate.defaults,e,this.$element.data()),this.init()):r.error("Combodate should be applied to INPUT element")}o.prototype={constructor:o,init:function(){this.map={day:["D","date"],month:["M","month"],year:["Y","year"],hour:["[Hh]","hours"],minute:["m","minutes"],second:["s","seconds"],ampm:["[Aa]",""]},this.$widget=r('<span class="combodate"></span>').html(this.getTemplate()),this.initCombos(),this.$widget.on("change","select",r.proxy(function(t){this.$element.val(this.getValue()).change(),this.options.smartDays&&(r(t.target).is(".month")||r(t.target).is(".year"))&&this.fillCombo("day")},this)),this.$widget.find("select").css("width","auto"),this.$element.hide().after(this.$widget),this.setValue(this.$element.val()||this.options.value)},getTemplate:function(){var i=this.options.template;return r.each(this.map,function(t,e){e=e[0];var n=new RegExp(e+"+"),e=1<e.length?e.substring(1,2):e;i=i.replace(n,"{"+e+"}")}),i=i.replace(/ /g," "),r.each(this.map,function(t,e){e=1<(e=e[0]).length?e.substring(1,2):e;i=i.replace("{"+e+"}",'<select class="'+t+'"></select>')}),i},initCombos:function(){for(var t in this.map){var e=this.$widget.find("."+t);this["$"+t]=e.length?e:null,this.fillCombo(t)}},fillCombo:function(t){var e=this["$"+t];if(e){var n=this["fill"+t.charAt(0).toUpperCase()+t.slice(1)](),t=e.val();e.empty();for(var i=0;i<n.length;i++)e.append('<option value="'+n[i][0]+'">'+n[i][1]+"</option>");e.val(t)}},fillCommon:function(t){var e,n=[];return"name"===this.options.firstItem?(e=(e="function"==typeof(e=moment.relativeTime||moment.langData()._relativeTime)[t]?e[t](1,!0,t,!1):e[t]).split(" ").reverse()[0],n.push(["",e])):"empty"===this.options.firstItem&&n.push(["",""]),n},fillDay:function(){var t,e,n,i,o=this.fillCommon("d"),s=-1!==this.options.template.indexOf("DD"),r=31;for(this.options.smartDays&&this.$month&&this.$year&&(n=parseInt(this.$month.val(),10),i=parseInt(this.$year.val(),10),isNaN(n)||isNaN(i)||(r=moment([i,n]).daysInMonth())),e=1;e<=r;e++)t=s?this.leadZero(e):e,o.push([e,t]);return o},fillMonth:function(){for(var t,e=this.fillCommon("M"),n=-1!==this.options.template.indexOf("MMMM"),i=-1!==this.options.template.indexOf("MMM"),o=-1!==this.options.template.indexOf("MM"),s=0;s<=11;s++)t=n?moment().date(1).month(s).format("MMMM"):i?moment().date(1).month(s).format("MMM"):o?this.leadZero(s+1):s+1,e.push([s,t]);return e},fillYear:function(){for(var t,e=[],n=-1!==this.options.template.indexOf("YYYY"),i=this.options.maxYear;i>=this.options.minYear;i--)t=n?i:(i+"").substring(2),e[this.options.yearDescending?"push":"unshift"]([i,t]);return e=this.fillCommon("y").concat(e)},fillHour:function(){for(var t,e=this.fillCommon("h"),n=-1!==this.options.template.indexOf("h"),i=(this.options.template.indexOf("H"),-1!==this.options.template.toLowerCase().indexOf("hh")),o=n?12:23,s=n?1:0;s<=o;s++)t=i?this.leadZero(s):s,e.push([s,t]);return e},fillMinute:function(){for(var t,e=this.fillCommon("m"),n=-1!==this.options.template.indexOf("mm"),i=0;i<=59;i+=this.options.minuteStep)t=n?this.leadZero(i):i,e.push([i,t]);return e},fillSecond:function(){for(var t,e=this.fillCommon("s"),n=-1!==this.options.template.indexOf("ss"),i=0;i<=59;i+=this.options.secondStep)t=n?this.leadZero(i):i,e.push([i,t]);return e},fillAmpm:function(){var t=-1!==this.options.template.indexOf("a");this.options.template.indexOf("A");return[["am",t?"am":"AM"],["pm",t?"pm":"PM"]]},getValue:function(t){var e,i={},o=this,s=!1;return r.each(this.map,function(t,e){var n;if("ampm"!==t)return n="day"===t?1:0,i[t]=o["$"+t]?parseInt(o["$"+t].val(),10):n,isNaN(i[t])?!(s=!0):void 0}),s?"":(this.$ampm&&(i.hour=12===i.hour?"am"===this.$ampm.val()?0:12:"am"===this.$ampm.val()?i.hour:i.hour+12),e=moment([i.year,i.month,i.day,i.hour,i.minute,i.second]),this.highlight(e),null===(t=void 0===t?this.options.format:t)?e.isValid()?e:null:e.isValid()?e.format(t):"")},setValue:function(t){var n,i,o;function s(t,i){var o={};return t.children("option").each(function(t,e){var n,e=r(e).attr("value");""!==e&&(n=Math.abs(e-i),void 0===o.distance||n<o.distance)&&(o={value:e,distance:n})}),o.value}t&&(n="string"==typeof t?moment(t,this.options.format):moment(t),i=this,o={},n.isValid())&&(r.each(this.map,function(t,e){"ampm"!==t&&(o[t]=n[e[1]]())}),this.$ampm&&(12<=o.hour?(o.ampm="pm",12<o.hour&&(o.hour-=12)):(o.ampm="am",0===o.hour&&(o.hour=12))),r.each(o,function(t,e){i["$"+t]&&("minute"===t&&1<i.options.minuteStep&&i.options.roundTime&&(e=s(i["$"+t],e)),"second"===t&&1<i.options.secondStep&&i.options.roundTime&&(e=s(i["$"+t],e)),i["$"+t].val(e))}),this.options.smartDays&&this.fillCombo("day"),this.$element.val(n.format(this.options.format)).change())},highlight:function(t){t.isValid()?this.options.errorClass?this.$widget.removeClass(this.options.errorClass):this.$widget.find("select").css("border-color",this.borderColor):this.options.errorClass?this.$widget.addClass(this.options.errorClass):(this.borderColor||(this.borderColor=this.$widget.find("select").css("border-color")),this.$widget.find("select").css("border-color","red"))},leadZero:function(t){return t<=9?"0"+t:t},destroy:function(){this.$widget.remove(),this.$element.removeData("combodate").show()}},r.fn.combodate=function(n){var t,i=Array.apply(null,arguments);return i.shift(),"getValue"===n&&this.length&&(t=this.eq(0).data("combodate"))?t.getValue.apply(t,i):this.each(function(){var t=r(this),e=t.data("combodate");e||t.data("combodate",e=new o(this,"object"==typeof n&&n)),"string"==typeof n&&"function"==typeof e[n]&&e[n].apply(e,i)})},r.fn.combodate.defaults={format:"DD-MM-YYYY HH:mm",template:"D / MMM / YYYY H : mm",value:null,minYear:1970,maxYear:2015,yearDescending:!0,minuteStep:5,secondStep:1,firstItem:"empty",errorClass:null,roundTime:!0,smartDays:!1}}(window.jQuery),function(e){"use strict";function n(t){this.init("combodate",t,n.defaults),this.options.viewformat||(this.options.viewformat=this.options.format),t.combodate=e.fn.editableutils.tryParseJson(t.combodate,!0),this.options.combodate=e.extend({},n.defaults.combodate,t.combodate,{format:this.options.format,template:this.options.template})}e.fn.editableutils.inherit(n,e.fn.editabletypes.abstractinput),e.extend(n.prototype,{render:function(){this.$input.combodate(this.options.combodate),"bs3"===e.fn.editableform.engine&&this.$input.siblings().find("select").addClass("form-control"),this.options.inputclass&&this.$input.siblings().find("select").addClass(this.options.inputclass)},value2html:function(t,e){t=t?t.format(this.options.viewformat):"";n.superclass.value2html.call(this,t,e)},html2value:function(t){return t?moment(t,this.options.viewformat):null},value2str:function(t){return t?t.format(this.options.format):""},str2value:function(t){return t?moment(t,this.options.format):null},value2submit:function(t){return this.value2str(t)},value2input:function(t){this.$input.combodate("setValue",t)},input2value:function(){return this.$input.combodate("getValue",null)},activate:function(){this.$input.siblings(".combodate").find("select").eq(0).focus()},autosubmit:function(){}}),n.defaults=e.extend({},e.fn.editabletypes.abstractinput.defaults,{tpl:'<input type="text">',inputclass:null,format:"YYYY-MM-DD",viewformat:null,template:"D / MMM / YYYY",combodate:null}),e.fn.editabletypes.combodate=n}(window.jQuery),function(r){"use strict";var a=r.fn.editableform.Constructor.prototype.initInput;r.extend(r.fn.editableform.Constructor.prototype,{initTemplate:function(){this.$form=r(r.fn.editableform.template),this.$form.find(".control-group").addClass("form-group"),this.$form.find(".editable-error-block").addClass("help-block")},initInput:function(){a.apply(this);for(var t=null===this.input.options.inputclass||!1===this.input.options.inputclass,e="input-sm",n="text,select,textarea,password,email,url,tel,number,range,time,typeaheadjs".split(","),i=(~r.inArray(this.input.type,n)&&(this.input.$input.addClass("form-control"),t)&&(this.input.options.inputclass=e,this.input.$input.addClass(e)),this.$form.find(".editable-buttons")),o=t?[e]:this.input.options.inputclass.split(" "),s=0;s<o.length;s++)"input-lg"===o[s].toLowerCase()&&i.find("button").removeClass("btn-sm").addClass("btn-lg")}}),r.fn.editableform.buttons='<button type="submit" class="btn btn-primary btn-sm editable-submit"><i class="glyphicon glyphicon-ok"></i></button><button type="button" class="btn btn-default btn-sm editable-cancel"><i class="glyphicon glyphicon-remove"></i></button>',r.fn.editableform.errorGroupClass="has-error",r.fn.editableform.errorBlockClass=null,r.fn.editableform.engine="bs3"}(window.jQuery),function(e){"use strict";e.extend(e.fn.editableContainer.Popup.prototype,{containerName:"popover",containerDataName:"bs.popover",innerCss:".popover-content",defaults:e.fn.popover.Constructor.DEFAULTS,initContainer:function(){var t;e.extend(this.containerOptions,{trigger:"manual",selector:!1,content:" ",template:this.defaults.template}),this.$element.data("template")&&(t=this.$element.data("template"),this.$element.removeData("template")),this.call(this.containerOptions),t&&this.$element.data("template",t)},innerShow:function(){this.call("show")},innerHide:function(){this.call("hide")},innerDestroy:function(){this.call("destroy")},setContainerOption:function(t,e){this.container().options[t]=e},setPosition:function(){!function(){var t,e,n,i=this.tip(),o="function"==typeof this.options.placement?this.options.placement.call(this,i[0],this.$element[0]):this.options.placement,s=/\s?auto?\s?/i,r=s.test(o),s=(r&&(o=o.replace(s,"")||"top"),this.getPosition()),a=i[0].offsetWidth,l=i[0].offsetHeight,d=(r&&(r=this.$element.parent(),t=o,e=document.documentElement.scrollTop||document.body.scrollTop,n="body"==this.options.container?window.innerWidth:r.outerWidth(),d="body"==this.options.container?window.innerHeight:r.outerHeight(),r="body"==this.options.container?0:r.offset().left,o="bottom"==o&&s.top+s.height+l-e>d?"top":"top"==o&&s.top-e-l<0?"bottom":"right"==o&&s.right+a>n?"left":"left"==o&&s.left-a<r?"right":o,i.removeClass(t).addClass(o)),this.getCalculatedOffset(o,s,a,l));this.applyPlacement(d,o)}.call(this.container())}})}(window.jQuery),function(m){function v(){return new Date(Date.UTC.apply(Date,arguments))}function y(t,e){this._process_options(e),this.element=m(t),this.isInline=!1,this.isInput=this.element.is("input"),this.component=!!this.element.is(".date")&&this.element.find(".add-on, .btn"),this.hasInput=this.component&&this.element.find("input").length,this.component&&0===this.component.length&&(this.component=!1),this.picker=m($.template),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&(this.picker.addClass("datepicker-rtl"),this.picker.find(".prev i, .next i").toggleClass("icon-arrow-left icon-arrow-right")),this.viewMode=this.o.startView,this.o.calendarWeeks&&this.picker.find("tfoot th.today").attr("colspan",function(t,e){return parseInt(e)+1}),this._allow_update=!1,this.setStartDate(this.o.startDate),this.setEndDate(this.o.endDate),this.setDaysOfWeekDisabled(this.o.daysOfWeekDisabled),this.fillDow(),this.fillMonths(),this._allow_update=!0,this.update(),this.showMode(),this.isInline&&this.show()}function l(t,e){this.element=m(t),this.inputs=m.map(e.inputs,function(t){return t.jquery?t[0]:t}),delete e.inputs,m(this.inputs).datepicker(e).bind("changeDate",m.proxy(this.dateUpdated,this)),this.pickers=m.map(this.inputs,function(t){return m(t).data("datepicker")}),this.updateDates()}y.prototype={constructor:y,_process_options:function(t){this._o=m.extend({},this._o,t);var e=this.o=m.extend({},this._o),t=e.language;switch(b[t]||(t=t.split("-")[0],b[t])||(t=d.language),e.language=t,e.startView){case 2:case"decade":e.startView=2;break;case 1:case"year":e.startView=1;break;default:e.startView=0}switch(e.minViewMode){case 1:case"months":e.minViewMode=1;break;case 2:case"years":e.minViewMode=2;break;default:e.minViewMode=0}e.startView=Math.max(e.startView,e.minViewMode),e.weekStart%=7,e.weekEnd=(e.weekStart+6)%7;t=$.parseFormat(e.format);e.startDate!==-1/0&&(e.startDate=$.parseDate(e.startDate,t,e.language)),e.endDate!==1/0&&(e.endDate=$.parseDate(e.endDate,t,e.language)),e.daysOfWeekDisabled=e.daysOfWeekDisabled||[],m.isArray(e.daysOfWeekDisabled)||(e.daysOfWeekDisabled=e.daysOfWeekDisabled.split(/[,\s]*/)),e.daysOfWeekDisabled=m.map(e.daysOfWeekDisabled,function(t){return parseInt(t,10)})},_events:[],_secondaryEvents:[],_applyEvents:function(t){for(var e,n,i=0;i<t.length;i++)e=t[i][0],n=t[i][1],e.on(n)},_unapplyEvents:function(t){for(var e,n,i=0;i<t.length;i++)e=t[i][0],n=t[i][1],e.off(n)},_buildEvents:function(){this.isInput?this._events=[[this.element,{focus:m.proxy(this.show,this),keyup:m.proxy(this.update,this),keydown:m.proxy(this.keydown,this)}]]:this.component&&this.hasInput?this._events=[[this.element.find("input"),{focus:m.proxy(this.show,this),keyup:m.proxy(this.update,this),keydown:m.proxy(this.keydown,this)}],[this.component,{click:m.proxy(this.show,this)}]]:this.element.is("div")?this.isInline=!0:this._events=[[this.element,{click:m.proxy(this.show,this)}]],this._secondaryEvents=[[this.picker,{click:m.proxy(this.click,this)}],[m(window),{resize:m.proxy(this.place,this)}],[m(document),{mousedown:m.proxy(function(t){this.element.is(t.target)||this.element.find(t.target).size()||this.picker.is(t.target)||this.picker.find(t.target).size()||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents(),this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents(),this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(t,e){var n=e||this.date,e=new Date(n.getTime()+6e4*n.getTimezoneOffset());this.element.trigger({type:t,date:e,format:m.proxy(function(t){t=t||this.o.format;return $.formatDate(n,t,this.o.language)},this)})},show:function(t){this.isInline||this.picker.appendTo("body"),this.picker.show(),this.height=(this.component||this.element).outerHeight(),this.place(),this._attachSecondaryEvents(),t&&t.preventDefault(),this._trigger("show")},hide:function(t){this.isInline||this.picker.is(":visible")&&(this.picker.hide().detach(),this._detachSecondaryEvents(),this.viewMode=this.o.startView,this.showMode(),this.o.forceParse&&(this.isInput&&this.element.val()||this.hasInput&&this.element.find("input").val())&&this.setValue(),this._trigger("hide"))},remove:function(){this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date},getDate:function(){var t=this.getUTCDate();return new Date(t.getTime()+6e4*t.getTimezoneOffset())},getUTCDate:function(){return this.date},setDate:function(t){this.setUTCDate(new Date(t.getTime()-6e4*t.getTimezoneOffset()))},setUTCDate:function(t){this.date=t,this.setValue()},setValue:function(){var t=this.getFormattedDate();this.isInput?this.element.val(t):this.component&&this.element.find("input").val(t)},getFormattedDate:function(t){return void 0===t&&(t=this.o.format),$.formatDate(this.date,t,this.o.language)},setStartDate:function(t){this._process_options({startDate:t}),this.update(),this.updateNavArrows()},setEndDate:function(t){this._process_options({endDate:t}),this.update(),this.updateNavArrows()},setDaysOfWeekDisabled:function(t){this._process_options({daysOfWeekDisabled:t}),this.update(),this.updateNavArrows()},place:function(){var t,e,n;this.isInline||(t=parseInt(this.element.parents().filter(function(){return"auto"!=m(this).css("z-index")}).first().css("z-index"))+10,e=(this.component?this.component.parent():this.element).offset(),n=(this.component||this.element).outerHeight(!0),this.picker.css({top:e.top+n,left:e.left,zIndex:t}))},_allow_update:!0,update:function(){var t,e;this._allow_update&&(e=!1,arguments&&arguments.length&&("string"==typeof arguments[0]||arguments[0]instanceof Date)?(t=arguments[0],e=!0):(t=this.isInput?this.element.val():this.element.data("date")||this.element.find("input").val(),delete this.element.data().date),this.date=$.parseDate(t,this.o.format,this.o.language),e&&this.setValue(),this.date<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.date>this.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=new Date(this.date),this.fill())},fillDow:function(){var t,e=this.o.weekStart,n="<tr>";for(this.o.calendarWeeks&&(n+=t='<th class="cw"> </th>',this.picker.find(".datepicker-days thead tr:first-child").prepend(t));e<this.o.weekStart+7;)n+='<th class="dow">'+b[this.o.language].daysMin[e++%7]+"</th>";n+="</tr>",this.picker.find(".datepicker-days thead").append(n)},fillMonths:function(){for(var t="",e=0;e<12;)t+='<span class="month">'+b[this.o.language].monthsShort[e++]+"</span>";this.picker.find(".datepicker-months td").html(t)},setRange:function(t){t&&t.length?this.range=m.map(t,function(t){return t.valueOf()}):delete this.range,this.fill()},getClassNames:function(t){var e=[],n=this.viewDate.getUTCFullYear(),i=this.viewDate.getUTCMonth(),o=this.date.valueOf(),s=new Date;return t.getUTCFullYear()<n||t.getUTCFullYear()==n&&t.getUTCMonth()<i?e.push("old"):(t.getUTCFullYear()>n||t.getUTCFullYear()==n&&t.getUTCMonth()>i)&&e.push("new"),this.o.todayHighlight&&t.getUTCFullYear()==s.getFullYear()&&t.getUTCMonth()==s.getMonth()&&t.getUTCDate()==s.getDate()&&e.push("today"),o&&t.valueOf()==o&&e.push("active"),(t.valueOf()<this.o.startDate||t.valueOf()>this.o.endDate||-1!==m.inArray(t.getUTCDay(),this.o.daysOfWeekDisabled))&&e.push("disabled"),this.range&&(t>this.range[0]&&t<this.range[this.range.length-1]&&e.push("range"),-1!=m.inArray(t.valueOf(),this.range))&&e.push("selected"),e},fill:function(){for(var t,e=new Date(this.viewDate),n=e.getUTCFullYear(),e=e.getUTCMonth(),i=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,o=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,s=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,r=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,a=(this.date&&this.date.valueOf(),this.picker.find(".datepicker-days thead th.datepicker-switch").text(b[this.o.language].months[e]+" "+n),this.picker.find("tfoot th.today").text(b[this.o.language].today).toggle(!1!==this.o.todayBtn),this.picker.find("tfoot th.clear").text(b[this.o.language].clear).toggle(!1!==this.o.clearBtn),this.updateNavArrows(),this.fillMonths(),v(n,e-1,28,0,0,0,0)),e=$.getDaysInMonth(a.getUTCFullYear(),a.getUTCMonth()),l=(a.setUTCDate(e),a.setUTCDate(e-(a.getUTCDay()-this.o.weekStart+7)%7),new Date(a)),d=(l.setUTCDate(l.getUTCDate()+42),l=l.valueOf(),[]);a.valueOf()<l;){a.getUTCDay()==this.o.weekStart&&(d.push("<tr>"),this.o.calendarWeeks)&&(u=new Date(+a+(this.o.weekStart-a.getUTCDay()-7)%7*864e5),u=new Date(+u+(11-u.getUTCDay())%7*864e5),h=new Date(+(h=v(u.getUTCFullYear(),0,1))+(11-h.getUTCDay())%7*864e5),d.push('<td class="cw">'+((u-h)/864e5/7+1)+"</td>")),(u=this.getClassNames(a)).push("day");var u,h=this.o.beforeShowDay(a);void 0===h?h={}:"boolean"==typeof h?h={enabled:h}:"string"==typeof h&&(h={classes:h}),!1===h.enabled&&u.push("disabled"),h.classes&&(u=u.concat(h.classes.split(/\s+/))),h.tooltip&&(t=h.tooltip),u=m.unique(u),d.push('<td class="'+u.join(" ")+'"'+(t?' title="'+t+'"':"")+">"+a.getUTCDate()+"</td>"),a.getUTCDay()==this.o.weekEnd&&d.push("</tr>"),a.setUTCDate(a.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").empty().append(d.join(""));var c=this.date&&this.date.getUTCFullYear(),e=this.picker.find(".datepicker-months").find("th:eq(1)").text(n).end().find("span").removeClass("active"),o=(c&&c==n&&e.eq(this.date.getUTCMonth()).addClass("active"),(n<i||s<n)&&e.addClass("disabled"),n==i&&e.slice(0,o).addClass("disabled"),n==s&&e.slice(r+1).addClass("disabled"),d="",n=10*parseInt(n/10,10),this.picker.find(".datepicker-years").find("th:eq(1)").text(n+"-"+(n+9)).end().find("td"));--n;for(var p=-1;p<11;p++)d+='<span class="year'+(-1==p?" old":10==p?" new":"")+(c==n?" active":"")+(n<i||s<n?" disabled":"")+'">'+n+"</span>",n+=1;o.html(d)},updateNavArrows:function(){if(this._allow_update){var t=new Date(this.viewDate),e=t.getUTCFullYear(),n=t.getUTCMonth();switch(this.viewMode){case 0:this.o.startDate!==-1/0&&e<=this.o.startDate.getUTCFullYear()&&n<=this.o.startDate.getUTCMonth()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"}),this.o.endDate!==1/0&&e>=this.o.endDate.getUTCFullYear()&&n>=this.o.endDate.getUTCMonth()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"});break;case 1:case 2:this.o.startDate!==-1/0&&e<=this.o.startDate.getUTCFullYear()?this.picker.find(".prev").css({visibility:"hidden"}):this.picker.find(".prev").css({visibility:"visible"}),this.o.endDate!==1/0&&e>=this.o.endDate.getUTCFullYear()?this.picker.find(".next").css({visibility:"hidden"}):this.picker.find(".next").css({visibility:"visible"})}}},click:function(t){t.preventDefault();var e,n,i,o,s=m(t.target).closest("span, td, th");if(1==s.length)switch(s[0].nodeName.toLowerCase()){case"th":switch(s[0].className){case"datepicker-switch":this.showMode(1);break;case"prev":case"next":var r=$.modes[this.viewMode].navStep*("prev"==s[0].className?-1:1);switch(this.viewMode){case 0:this.viewDate=this.moveMonth(this.viewDate,r);break;case 1:case 2:this.viewDate=this.moveYear(this.viewDate,r)}this.fill();break;case"today":var a=v((a=new Date).getFullYear(),a.getMonth(),a.getDate(),0,0,0),l=(this.showMode(-2),"linked"==this.o.todayBtn?null:"view");this._setDate(a,l);break;case"clear":this.isInput?e=this.element:this.component&&(e=this.element.find("input")),e&&e.val("").change(),this._trigger("changeDate"),this.update(),this.o.autoclose&&this.hide()}break;case"span":s.is(".disabled")||(this.viewDate.setUTCDate(1),s.is(".month")?(n=1,o=s.parent().find("span").index(s),i=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(o),this._trigger("changeMonth",this.viewDate),1===this.o.minViewMode&&this._setDate(v(i,o,n,0,0,0,0))):(i=parseInt(s.text(),10)||0,n=1,o=0,this.viewDate.setUTCFullYear(i),this._trigger("changeYear",this.viewDate),2===this.o.minViewMode&&this._setDate(v(i,o,n,0,0,0,0))),this.showMode(-1),this.fill());break;case"td":s.is(".day")&&!s.is(".disabled")&&(n=parseInt(s.text(),10)||1,i=this.viewDate.getUTCFullYear(),o=this.viewDate.getUTCMonth(),s.is(".old")?0===o?(o=11,--i):--o:s.is(".new")&&(11==o?(o=0,i+=1):o+=1),this._setDate(v(i,o,n,0,0,0,0)))}},_setDate:function(t,e){var n;e&&"date"!=e||(this.date=new Date(t)),e&&"view"!=e||(this.viewDate=new Date(t)),this.fill(),this.setValue(),this._trigger("changeDate"),this.isInput?n=this.element:this.component&&(n=this.element.find("input")),n&&(n.change(),!this.o.autoclose||e&&"date"!=e||this.hide())},moveMonth:function(t,e){if(!e)return t;var n,i,o=new Date(t.valueOf()),s=o.getUTCDate(),r=o.getUTCMonth(),a=Math.abs(e);if(e=0<e?1:-1,1==a)i=-1==e?function(){return o.getUTCMonth()==r}:function(){return o.getUTCMonth()!=n},n=r+e,o.setUTCMonth(n),(n<0||11<n)&&(n=(n+12)%12);else{for(var l=0;l<a;l++)o=this.moveMonth(o,e);n=o.getUTCMonth(),o.setUTCDate(s),i=function(){return n!=o.getUTCMonth()}}for(;i();)o.setUTCDate(--s),o.setUTCMonth(n);return o},moveYear:function(t,e){return this.moveMonth(t,12*e)},dateWithinRange:function(t){return t>=this.o.startDate&&t<=this.o.endDate},keydown:function(t){if(this.picker.is(":not(:visible)"))27==t.keyCode&&this.show();else{var e,n,i,o,s=!1;switch(t.keyCode){case 27:this.hide(),t.preventDefault();break;case 37:case 39:this.o.keyboardNavigation&&(e=37==t.keyCode?-1:1,t.ctrlKey?(n=this.moveYear(this.date,e),i=this.moveYear(this.viewDate,e)):t.shiftKey?(n=this.moveMonth(this.date,e),i=this.moveMonth(this.viewDate,e)):((n=new Date(this.date)).setUTCDate(this.date.getUTCDate()+e),(i=new Date(this.viewDate)).setUTCDate(this.viewDate.getUTCDate()+e)),this.dateWithinRange(n))&&(this.date=n,this.viewDate=i,this.setValue(),this.update(),t.preventDefault(),s=!0);break;case 38:case 40:this.o.keyboardNavigation&&(e=38==t.keyCode?-1:1,t.ctrlKey?(n=this.moveYear(this.date,e),i=this.moveYear(this.viewDate,e)):t.shiftKey?(n=this.moveMonth(this.date,e),i=this.moveMonth(this.viewDate,e)):((n=new Date(this.date)).setUTCDate(this.date.getUTCDate()+7*e),(i=new Date(this.viewDate)).setUTCDate(this.viewDate.getUTCDate()+7*e)),this.dateWithinRange(n))&&(this.date=n,this.viewDate=i,this.setValue(),this.update(),t.preventDefault(),s=!0);break;case 13:this.hide(),t.preventDefault();break;case 9:this.hide()}s&&(this._trigger("changeDate"),this.isInput?o=this.element:this.component&&(o=this.element.find("input")),o)&&o.change()}},showMode:function(t){t&&(this.viewMode=Math.max(this.o.minViewMode,Math.min(2,this.viewMode+t))),this.picker.find(">div").hide().filter(".datepicker-"+$.modes[this.viewMode].clsName).css("display","block"),this.updateNavArrows()}};l.prototype={updateDates:function(){this.dates=m.map(this.pickers,function(t){return t.date}),this.updateRanges()},updateRanges:function(){var n=m.map(this.dates,function(t){return t.valueOf()});m.each(this.pickers,function(t,e){e.setRange(n)})},dateUpdated:function(t){var e=m(t.target).data("datepicker").getUTCDate(),n=m.inArray(t.target,this.inputs),i=this.inputs.length;if(-1!=n){if(e<this.dates[n])for(;0<=n&&e<this.dates[n];)this.pickers[n--].setUTCDate(e);else if(e>this.dates[n])for(;n<i&&e>this.dates[n];)this.pickers[n++].setUTCDate(e);this.updateDates()}},remove:function(){m.map(this.pickers,function(t){t.remove()}),delete this.element.data().datepicker}};var t=m.fn.datepicker,n=m.fn.datepicker=function(s){var r,a=Array.apply(null,arguments);return a.shift(),this.each(function(){var t,e,n=m(this),i=n.data("datepicker"),o="object"==typeof s&&s;if(i||(e=function(t,e){var n,i=m(t).data(),o={},s=new RegExp("^"+e.toLowerCase()+"([A-Z])"),e=new RegExp("^"+e.toLowerCase());for(n in i)e.test(n)&&(o[n.replace(s,function(t,e){return e.toLowerCase()})]=i[n]);return o}(this,"date"),t=function(t){var n,i={};if(b[t]||(t=t.split("-")[0],b[t]))return n=b[t],m.each(u,function(t,e){e in n&&(i[e]=n[e])}),i}(m.extend({},d,e,o).language),t=m.extend({},d,t,e,o),n.is(".input-daterange")||t.inputs?(e={inputs:t.inputs||n.find("input").toArray()},n.data("datepicker",i=new l(this,m.extend(t,e)))):n.data("datepicker",i=new y(this,t))),"string"==typeof s&&"function"==typeof i[s]&&void 0!==(r=i[s].apply(i,a)))return!1}),void 0!==r?r:this},d=m.fn.datepicker.defaults={autoclose:!1,beforeShowDay:m.noop,calendarWeeks:!1,clearBtn:!1,daysOfWeekDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keyboardNavigation:!0,language:"en",minViewMode:0,rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,weekStart:0},u=m.fn.datepicker.locale_opts=["format","rtl","weekStart"],b=(m.fn.datepicker.Constructor=y,m.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sun"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa","Su"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear"}}),$={modes:[{clsName:"days",navFnc:"Month",navStep:1},{clsName:"months",navFnc:"FullYear",navStep:1},{clsName:"years",navFnc:"FullYear",navStep:10}],isLeapYear:function(t){return t%4==0&&t%100!=0||t%400==0},getDaysInMonth:function(t,e){return[31,$.isLeapYear(t)?29:28,31,30,31,30,31,31,30,31,30,31][e]},validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\[\u3400-\u9fff-`{-~\t\n\r]+/g,parseFormat:function(t){var e=t.replace(this.validParts,"\0").split("\0"),t=t.match(this.validParts);if(e&&e.length&&t&&0!==t.length)return{separators:e,parts:t};throw new Error("Invalid date format.")},parseDate:function(t,e,n){if(!(t instanceof Date)){if("string"==typeof e&&(e=$.parseFormat(e)),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/.test(t)){var i,o=/([\-+]\d+)([dmwy])/,s=t.match(/([\-+]\d+)([dmwy])/g);t=new Date;for(var r=0;r<s.length;r++)switch(d=o.exec(s[r]),i=parseInt(d[1]),d[2]){case"d":t.setUTCDate(t.getUTCDate()+i);break;case"m":t=y.prototype.moveMonth.call(y.prototype,t,i);break;case"w":t.setUTCDate(t.getUTCDate()+7*i);break;case"y":t=y.prototype.moveYear.call(y.prototype,t,i)}return v(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),0,0,0)}var a,l,d,s=t&&t.match(this.nonpunctuation)||[],t=new Date,u={},h=["yyyy","yy","M","MM","m","mm","d","dd"],c={yyyy:function(t,e){return t.setUTCFullYear(e)},yy:function(t,e){return t.setUTCFullYear(2e3+e)},m:function(t,e){for(--e;e<0;)e+=12;for(t.setUTCMonth(e%=12);t.getUTCMonth()!=e;)t.setUTCDate(t.getUTCDate()-1);return t},d:function(t,e){return t.setUTCDate(e)}},p=(c.M=c.MM=c.mm=c.m,c.dd=c.d,t=v(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0),e.parts.slice());if(s.length!=p.length&&(p=m(p).filter(function(t,e){return-1!==m.inArray(e,h)}).toArray()),s.length==p.length){for(var r=0,f=p.length;r<f;r++){if(a=parseInt(s[r],10),d=p[r],isNaN(a))switch(d){case"MM":l=m(b[n].months).filter(function(){var t=this.slice(0,s[r].length);return t==s[r].slice(0,t.length)}),a=m.inArray(l[0],b[n].months)+1;break;case"M":l=m(b[n].monthsShort).filter(function(){var t=this.slice(0,s[r].length);return t==s[r].slice(0,t.length)}),a=m.inArray(l[0],b[n].monthsShort)+1}u[d]=a}for(var g,r=0;r<h.length;r++)(g=h[r])in u&&!isNaN(u[g])&&c[g](t,u[g])}}return t},formatDate:function(t,e,n){"string"==typeof e&&(e=$.parseFormat(e));for(var i={d:t.getUTCDate(),D:b[n].daysShort[t.getUTCDay()],DD:b[n].days[t.getUTCDay()],m:t.getUTCMonth()+1,M:b[n].monthsShort[t.getUTCMonth()],MM:b[n].months[t.getUTCMonth()],yy:t.getUTCFullYear().toString().substring(2),yyyy:t.getUTCFullYear()},t=(i.dd=(i.d<10?"0":"")+i.d,i.mm=(i.m<10?"0":"")+i.m,[]),o=m.extend([],e.separators),s=0,r=e.parts.length;s<=r;s++)o.length&&t.push(o.shift()),t.push(i[e.parts[s]]);return t.join("")},headTemplate:'<thead><tr><th class="prev"><i class="icon-arrow-left"/></th><th colspan="5" class="datepicker-switch"></th><th class="next"><i class="icon-arrow-right"/></th></tr></thead>',contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th colspan="7" class="clear"></th></tr></tfoot>'};$.template='<div class="datepicker"><div class="datepicker-days"><table class=" table-condensed">'+$.headTemplate+"<tbody></tbody>"+$.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+$.headTemplate+$.contTemplate+$.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+$.headTemplate+$.contTemplate+$.footTemplate+"</table></div></div>",m.fn.datepicker.DPGlobal=$,m.fn.datepicker.noConflict=function(){return m.fn.datepicker=t,this},m(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(t){var e=m(this);e.data("datepicker")||(t.preventDefault(),n.call(e,"show"))}),m(function(){n.call(m('[data-provide="datepicker-inline"]'))})}(window.jQuery),function(n){"use strict";n.fn.bdatepicker=n.fn.datepicker.noConflict(),n.fn.datepicker||(n.fn.datepicker=n.fn.bdatepicker);function i(t){this.init("date",t,i.defaults),this.initPicker(t,i.defaults)}n.fn.editableutils.inherit(i,n.fn.editabletypes.abstractinput),n.extend(i.prototype,{initPicker:function(t,e){this.options.viewformat||(this.options.viewformat=this.options.format),t.datepicker=n.fn.editableutils.tryParseJson(t.datepicker,!0),this.options.datepicker=n.extend({},e.datepicker,t.datepicker,{format:this.options.viewformat}),this.options.datepicker.language=this.options.datepicker.language||"en",this.dpg=n.fn.bdatepicker.DPGlobal,this.parsedFormat=this.dpg.parseFormat(this.options.format),this.parsedViewFormat=this.dpg.parseFormat(this.options.viewformat)},render:function(){this.$input.bdatepicker(this.options.datepicker),this.options.clear&&(this.$clear=n('<a href="#"></a>').html(this.options.clear).click(n.proxy(function(t){t.preventDefault(),t.stopPropagation(),this.clear()},this)),this.$tpl.parent().append(n('<div class="editable-clear">').append(this.$clear)))},value2html:function(t,e){t=t?this.dpg.formatDate(t,this.parsedViewFormat,this.options.datepicker.language):"";i.superclass.value2html.call(this,t,e)},html2value:function(t){return this.parseDate(t,this.parsedViewFormat)},value2str:function(t){return t?this.dpg.formatDate(t,this.parsedFormat,this.options.datepicker.language):""},str2value:function(t){return this.parseDate(t,this.parsedFormat)},value2submit:function(t){return this.value2str(t)},value2input:function(t){this.$input.bdatepicker("update",t)},input2value:function(){return this.$input.data("datepicker").date},activate:function(){},clear:function(){this.$input.data("datepicker").date=null,this.$input.find(".active").removeClass("active"),this.options.showbuttons||this.$input.closest("form").submit()},autosubmit:function(){this.$input.on("mouseup",".day",function(t){var e;n(t.currentTarget).is(".old")||n(t.currentTarget).is(".new")||(e=n(this).closest("form"),setTimeout(function(){e.submit()},200))})},parseDate:function(t,e){var n=null;return n=t&&(n=this.dpg.parseDate(t,e,this.options.datepicker.language),"string"==typeof t)&&t!==this.dpg.formatDate(n,e,this.options.datepicker.language)?null:n}}),i.defaults=n.extend({},n.fn.editabletypes.abstractinput.defaults,{tpl:'<div class="editable-date well"></div>',inputclass:null,format:"yyyy-mm-dd",viewformat:null,datepicker:{weekStart:0,startView:0,minViewMode:0,autoclose:!1},clear:"× clear"}),n.fn.editabletypes.date=i}(window.jQuery),function(t){"use strict";function e(t){this.init("datefield",t,e.defaults),this.initPicker(t,e.defaults)}t.fn.editableutils.inherit(e,t.fn.editabletypes.date),t.extend(e.prototype,{render:function(){this.$input=this.$tpl.find("input"),this.setClass(),this.setAttr("placeholder"),this.$tpl.bdatepicker(this.options.datepicker),this.$input.off("focus keydown"),this.$input.keyup(t.proxy(function(){this.$tpl.removeData("date"),this.$tpl.bdatepicker("update")},this))},value2input:function(t){this.$input.val(t?this.dpg.formatDate(t,this.parsedViewFormat,this.options.datepicker.language):""),this.$tpl.bdatepicker("update")},input2value:function(){return this.html2value(this.$input.val())},activate:function(){t.fn.editabletypes.text.prototype.activate.call(this)},autosubmit:function(){}}),e.defaults=t.extend({},t.fn.editabletypes.date.defaults,{tpl:'<div class="input-append date"><input type="text"/><span class="add-on"><i class="icon-th"></i></span></div>',inputclass:"input-small",datepicker:{weekStart:0,startView:0,minViewMode:0,autoclose:!0}}),t.fn.editabletypes.datefield=e}(window.jQuery),function(n){"use strict";function i(t){this.init("datetime",t,i.defaults),this.initPicker(t,i.defaults)}n.fn.editableutils.inherit(i,n.fn.editabletypes.abstractinput),n.extend(i.prototype,{initPicker:function(t,e){this.options.viewformat||(this.options.viewformat=this.options.format),t.datetimepicker=n.fn.editableutils.tryParseJson(t.datetimepicker,!0),this.options.datetimepicker=n.extend({},e.datetimepicker,t.datetimepicker,{format:this.options.viewformat}),this.options.datetimepicker.language=this.options.datetimepicker.language||"en",this.dpg=n.fn.datetimepicker.DPGlobal,this.parsedFormat=this.dpg.parseFormat(this.options.format,this.options.formatType),this.parsedViewFormat=this.dpg.parseFormat(this.options.viewformat,this.options.formatType)},render:function(){this.$input.datetimepicker(this.options.datetimepicker),this.$input.on("changeMode",function(t){var e=n(this).closest("form").parent();setTimeout(function(){e.triggerHandler("resize")},0)}),this.options.clear&&(this.$clear=n('<a href="#"></a>').html(this.options.clear).click(n.proxy(function(t){t.preventDefault(),t.stopPropagation(),this.clear()},this)),this.$tpl.parent().append(n('<div class="editable-clear">').append(this.$clear)))},value2html:function(t,e){t=t?this.dpg.formatDate(this.toUTC(t),this.parsedViewFormat,this.options.datetimepicker.language,this.options.formatType):"";if(!e)return t;i.superclass.value2html.call(this,t,e)},html2value:function(t){t=this.parseDate(t,this.parsedViewFormat);return t?this.fromUTC(t):null},value2str:function(t){return t?this.dpg.formatDate(this.toUTC(t),this.parsedFormat,this.options.datetimepicker.language,this.options.formatType):""},str2value:function(t){t=this.parseDate(t,this.parsedFormat);return t?this.fromUTC(t):null},value2submit:function(t){return this.value2str(t)},value2input:function(t){t&&this.$input.data("datetimepicker").setDate(t)},input2value:function(){var t=this.$input.data("datetimepicker");return t.date?t.getDate():null},activate:function(){},clear:function(){this.$input.data("datetimepicker").date=null,this.$input.find(".active").removeClass("active"),this.options.showbuttons||this.$input.closest("form").submit()},autosubmit:function(){this.$input.on("mouseup",".minute",function(t){var e=n(this).closest("form");setTimeout(function(){e.submit()},200)})},toUTC:function(t){return t&&new Date(t.valueOf()-6e4*t.getTimezoneOffset())},fromUTC:function(t){return t&&new Date(t.valueOf()+6e4*t.getTimezoneOffset())},parseDate:function(t,e){var n=null;return n=t&&(n=this.dpg.parseDate(t,e,this.options.datetimepicker.language,this.options.formatType),"string"==typeof t)&&t!==this.dpg.formatDate(n,e,this.options.datetimepicker.language,this.options.formatType)?null:n}}),i.defaults=n.extend({},n.fn.editabletypes.abstractinput.defaults,{tpl:'<div class="editable-date well"></div>',inputclass:null,format:"yyyy-mm-dd hh:ii",formatType:"standard",viewformat:null,datetimepicker:{todayHighlight:!1,autoclose:!1},clear:"× clear"}),n.fn.editabletypes.datetime=i}(window.jQuery),function(t){"use strict";function e(t){this.init("datetimefield",t,e.defaults),this.initPicker(t,e.defaults)}t.fn.editableutils.inherit(e,t.fn.editabletypes.datetime),t.extend(e.prototype,{render:function(){this.$input=this.$tpl.find("input"),this.setClass(),this.setAttr("placeholder"),this.$tpl.datetimepicker(this.options.datetimepicker),this.$input.off("focus keydown"),this.$input.keyup(t.proxy(function(){this.$tpl.removeData("date"),this.$tpl.datetimepicker("update")},this))},value2input:function(t){this.$input.val(this.value2html(t)),this.$tpl.datetimepicker("update")},input2value:function(){return this.html2value(this.$input.val())},activate:function(){t.fn.editabletypes.text.prototype.activate.call(this)},autosubmit:function(){}}),e.defaults=t.extend({},t.fn.editabletypes.datetime.defaults,{tpl:'<div class="input-append date"><input type="text"/><span class="add-on"><i class="icon-th"></i></span></div>',inputclass:"input-medium",datetimepicker:{todayHighlight:!1,autoclose:!0}}),t.fn.editabletypes.datetimefield=e}(window.jQuery),function(n){"function"==typeof define&&define.amd?define(["jquery"],n):"object"==typeof module&&module.exports?module.exports=function(t,e){return void 0===e&&(e="undefined"!=typeof window?require("jquery"):require("jquery")(t)),n(e),e}:n(jQuery)}(function(e){(t=e&&e.fn&&e.fn.select2&&e.fn.select2.amd?e.fn.select2.amd:t)&&t.requirejs||(t?n=t:t={},g={},m={},v={},y={},i=Object.prototype.hasOwnProperty,o=[].slice,b=/\.js$/,p=function(t,e){var n,i,o=d(t),s=o[0],e=e[1];return t=o[1],s&&(n=_(s=l(s,e))),s?t=n&&n.normalize?n.normalize(t,(i=e,function(t){return l(t,i)})):l(t,e):(s=(o=d(t=l(t,e)))[0],t=o[1],s&&(n=_(s))),{f:s?s+"!"+t:t,n:t,pr:s,p:n}},f={require:function(t){return x(t)},exports:function(t){var e=g[t];return void 0!==e?e:g[t]={}},module:function(t){return{id:t,uri:"",exports:g[t],config:(e=t,function(){return v&&v.config&&v.config[e]||{}})};var e}},s=function(t,e,n,i){var o,s,r,a,l,d=[],u=typeof n,h=C(i=i||t);if("undefined"==u||"function"==u){for(e=!e.length&&n.length?["require","exports","module"]:e,a=0;a<e.length;a+=1)if("require"===(s=(r=p(e[a],h)).f))d[a]=f.require(t);else if("exports"===s)d[a]=f.exports(t),l=!0;else if("module"===s)o=d[a]=f.module(t);else if(w(g,s)||w(m,s)||w(y,s))d[a]=_(s);else{if(!r.p)throw new Error(t+" missing "+s);r.p.load(r.n,x(i,!0),function(e){return function(t){g[e]=t}}(s),{}),d[a]=g[s]}u=n?n.apply(g[t],d):void 0,t&&(o&&o.exports!==c&&o.exports!==g[t]?g[t]=o.exports:u===c&&l||(g[t]=u))}else t&&(g[t]=n)},a=n=r=function(t,e,n,i,o){if("string"==typeof t)return f[t]?f[t](e):_(p(t,C(e)).f);if(!t.splice){if((v=t).deps&&r(v.deps,v.callback),!e)return;e.splice?(t=e,e=n,n=null):t=c}return e=e||function(){},"function"==typeof n&&(n=i,i=o),i?s(c,t,e,n):setTimeout(function(){s(c,t,e,n)},4),r},r.config=function(t){return r(t)},a._defined=g,(u=function(t,e,n){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(n=e,e=[]),w(g,t)||w(m,t)||(m[t]=[t,e,n])}).amd={jQuery:!0},t.requirejs=a,t.require=n,t.define=u),t.define("almond",function(){}),t.define("jquery",[],function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t}),t.define("select2/utils",["jquery"],function(s){var i={};function d(t){var e,n=t.prototype,i=[];for(e in n)"function"==typeof n[e]&&"constructor"!==e&&i.push(e);return i}i.Extend=function(t,e){var n,i={}.hasOwnProperty;function o(){this.constructor=t}for(n in e)i.call(e,n)&&(t[n]=e[n]);return o.prototype=e.prototype,t.prototype=new o,t.__super__=e.prototype,t},i.Decorate=function(i,o){var t=d(o),e=d(i);function s(){var t=Array.prototype.unshift,e=o.prototype.constructor.length,n=i.prototype.constructor;0<e&&(t.call(arguments,i.prototype.constructor),n=o.prototype.constructor),n.apply(this,arguments)}o.displayName=i.displayName,s.prototype=new function(){this.constructor=s};for(var n=0;n<e.length;n++){var r=e[n];s.prototype[r]=i.prototype[r]}for(var a=0;a<t.length;a++){var l=t[a];s.prototype[l]=function(t){var e=function(){},n=(t in s.prototype&&(e=s.prototype[t]),o.prototype[t]);return function(){return Array.prototype.unshift.call(arguments,e),n.apply(this,arguments)}}(l)}return s};function t(){this.listeners={}}t.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},t.prototype.trigger=function(t){var e=Array.prototype.slice,n=e.call(arguments,1);this.listeners=this.listeners||{},0===(n=null==n?[]:n).length&&n.push({}),(n[0]._type=t)in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},t.prototype.invoke=function(t,e){for(var n=0,i=t.length;n<i;n++)t[n].apply(this,e)},i.Observable=t,i.generateChars=function(t){for(var e="",n=0;n<t;n++)e+=Math.floor(36*Math.random()).toString(36);return e},i.bind=function(t,e){return function(){t.apply(e,arguments)}},i._convertData=function(t){for(var e in t){var n=e.split("-"),i=t;if(1!==n.length){for(var o=0;o<n.length;o++){var s=n[o];(s=s.substring(0,1).toLowerCase()+s.substring(1))in i||(i[s]={}),o==n.length-1&&(i[s]=t[e]),i=i[s]}delete t[e]}}return t},i.hasScroll=function(t,e){var n=s(e),i=e.style.overflowX,o=e.style.overflowY;return(i!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===i||"scroll"===o||n.innerHeight()<e.scrollHeight||n.innerWidth()<e.scrollWidth)},i.escapeMarkup=function(t){var e={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,function(t){return e[t]})},i.appendMany=function(t,e){var n;"1.7"===s.fn.jquery.substr(0,3)&&(n=s(),s.map(e,function(t){n=n.add(t)}),e=n),t.append(e)},i.__cache={};var n=0;return i.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setAttribute("data-select2-id",e)):(t.setAttribute("data-select2-id",++n),e=n.toString())),e},i.StoreData=function(t,e,n){t=i.GetUniqueElementId(t);i.__cache[t]||(i.__cache[t]={}),i.__cache[t][e]=n},i.GetData=function(t,e){var n=i.GetUniqueElementId(t);return e?i.__cache[n]&&null!=i.__cache[n][e]?i.__cache[n][e]:s(t).data(e):i.__cache[n]},i.RemoveData=function(t){var e=i.GetUniqueElementId(t);null!=i.__cache[e]&&delete i.__cache[e],t.removeAttribute("data-select2-id")},i}),t.define("select2/results",["jquery","./utils"],function(u,h){function i(t,e,n){this.$element=t,this.data=n,this.options=e,i.__super__.constructor.call(this)}return h.Extend(i,h.Observable),i.prototype.render=function(){var t=u('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t},i.prototype.clear=function(){this.$results.empty()},i.prototype.displayMessage=function(t){var e=this.options.get("escapeMarkup"),n=(this.clear(),this.hideLoading(),u('<li role="alert" aria-live="assertive" class="select2-results__option"></li>')),i=this.options.get("translations").get(t.message);n.append(e(i(t.args))),n[0].className+=" select2-results__message",this.$results.append(n)},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},i.prototype.append=function(t){this.hideLoading();var e=[];if(null==t.results||0===t.results.length)0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"});else{t.results=this.sort(t.results);for(var n=0;n<t.results.length;n++){var i=t.results[n],i=this.option(i);e.push(i)}this.$results.append(e)}},i.prototype.position=function(t,e){e.find(".select2-results").append(t)},i.prototype.sort=function(t){return this.options.get("sorter")(t)},i.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");(0<e.length?e:t).first().trigger("mouseenter"),this.ensureHighlightVisible()},i.prototype.setClasses=function(){var e=this;this.data.current(function(t){var i=u.map(t,function(t){return t.id.toString()});e.$results.find(".select2-results__option[aria-selected]").each(function(){var t=u(this),e=h.GetData(this,"data"),n=""+e.id;null!=e.element&&e.element.selected||null==e.element&&-1<u.inArray(n,i)?t.attr("aria-selected","true"):t.attr("aria-selected","false")})})},i.prototype.showLoading=function(t){this.hideLoading();t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},t=this.option(t);t.className+=" loading-results",this.$results.prepend(t)},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},i.prototype.option=function(t){var e,n=document.createElement("li"),i=(n.className="select2-results__option",{role:"option","aria-selected":"false"}),o=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(e in(null!=t.element&&o.call(t.element,":disabled")||null==t.element&&t.disabled)&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==t.id&&delete i["aria-selected"],null!=t._resultId&&(n.id=t._resultId),t.title&&(n.title=t.title),t.children&&(i.role="group",i["aria-label"]=t.text,delete i["aria-selected"]),i)n.setAttribute(e,i[e]);if(t.children){for(var o=u(n),s=document.createElement("strong"),r=(s.className="select2-results__group",u(s),this.template(t,s),[]),a=0;a<t.children.length;a++){var l=t.children[a],l=this.option(l);r.push(l)}var d=u("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});d.append(r),o.append(s),o.append(d)}else this.template(t,n);return h.StoreData(n,"data",t),n},i.prototype.bind=function(e,t){var o=this,n=e.id+"-results";this.$results.attr("id",n),e.on("results:all",function(t){o.clear(),o.append(t.data),e.isOpen()&&(o.setClasses(),o.highlightFirstItem())}),e.on("results:append",function(t){o.append(t.data),e.isOpen()&&o.setClasses()}),e.on("query",function(t){o.hideMessages(),o.showLoading(t)}),e.on("select",function(){e.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect"))&&o.highlightFirstItem()}),e.on("unselect",function(){e.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect"))&&o.highlightFirstItem()}),e.on("open",function(){o.$results.attr("aria-expanded","true"),o.$results.attr("aria-hidden","false"),o.setClasses(),o.ensureHighlightVisible()}),e.on("close",function(){o.$results.attr("aria-expanded","false"),o.$results.attr("aria-hidden","true"),o.$results.removeAttr("aria-activedescendant")}),e.on("results:toggle",function(){var t=o.getHighlightedResults();0!==t.length&&t.trigger("mouseup")}),e.on("results:select",function(){var t,e=o.getHighlightedResults();0!==e.length&&(t=h.GetData(e[0],"data"),"true"==e.attr("aria-selected")?o.trigger("close",{}):o.trigger("select",{data:t}))}),e.on("results:previous",function(){var t,e=o.getHighlightedResults(),n=o.$results.find("[aria-selected]"),i=n.index(e);i<=0||(i=i-1,0===e.length&&(i=0),(e=n.eq(i)).trigger("mouseenter"),n=o.$results.offset().top,e=e.offset().top,t=o.$results.scrollTop()+(e-n),0===i?o.$results.scrollTop(0):e-n<0&&o.$results.scrollTop(t))}),e.on("results:next",function(){var t,e,n=o.getHighlightedResults(),i=o.$results.find("[aria-selected]"),n=i.index(n)+1;n>=i.length||((i=i.eq(n)).trigger("mouseenter"),t=o.$results.offset().top+o.$results.outerHeight(!1),i=i.offset().top+i.outerHeight(!1),e=o.$results.scrollTop()+i-t,0===n?o.$results.scrollTop(0):t<i&&o.$results.scrollTop(e))}),e.on("results:focus",function(t){t.element.addClass("select2-results__option--highlighted")}),e.on("results:message",function(t){o.displayMessage(t)}),u.fn.mousewheel&&this.$results.on("mousewheel",function(t){var e=o.$results.scrollTop(),n=o.$results.get(0).scrollHeight-e+t.deltaY,e=0<t.deltaY&&e-t.deltaY<=0,n=t.deltaY<0&&n<=o.$results.height();e?(o.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):n&&(o.$results.scrollTop(o.$results.get(0).scrollHeight-o.$results.height()),t.preventDefault(),t.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(t){var e=u(this),n=h.GetData(this,"data");"true"===e.attr("aria-selected")?o.options.get("multiple")?o.trigger("unselect",{originalEvent:t,data:n}):o.trigger("close",{}):o.trigger("select",{originalEvent:t,data:n})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(t){var e=h.GetData(this,"data");o.getHighlightedResults().removeClass("select2-results__option--highlighted"),o.trigger("results:focus",{data:e,element:u(this)})})},i.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},i.prototype.destroy=function(){this.$results.remove()},i.prototype.ensureHighlightVisible=function(){var t,e,n,i,o=this.getHighlightedResults();0!==o.length&&(t=this.$results.find("[aria-selected]").index(o),e=this.$results.offset().top,i=o.offset().top,n=this.$results.scrollTop()+(i-e),i=i-e,n-=2*o.outerHeight(!1),t<=2?this.$results.scrollTop(0):(i>this.$results.outerHeight()||i<0)&&this.$results.scrollTop(n))},i.prototype.template=function(t,e){var n=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),n=n(t,e);null==n?e.style.display="none":"string"==typeof n?e.innerHTML=i(n):u(e).append(n)},i}),t.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(n,i,o){function s(t,e){this.$element=t,this.options=e,s.__super__.constructor.call(this)}return i.Extend(s,i.Observable),s.prototype.render=function(){var t=n('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=i.GetData(this.$element[0],"old-tabindex")?this._tabindex=i.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),t.attr("title",this.$element.attr("title")),t.attr("tabindex",this._tabindex),t.attr("aria-disabled","false"),this.$selection=t},s.prototype.bind=function(t,e){var n=this,i=t.id+"-results";this.container=t,this.$selection.on("focus",function(t){n.trigger("focus",t)}),this.$selection.on("blur",function(t){n._handleBlur(t)}),this.$selection.on("keydown",function(t){n.trigger("keypress",t),t.which===o.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){n.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){n.update(t.data)}),t.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",i),n._attachCloseHandler(t)}),t.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.trigger("focus"),n._detachCloseHandler(t)}),t.on("enable",function(){n.$selection.attr("tabindex",n._tabindex),n.$selection.attr("aria-disabled","false")}),t.on("disable",function(){n.$selection.attr("tabindex","-1"),n.$selection.attr("aria-disabled","true")})},s.prototype._handleBlur=function(t){var e=this;window.setTimeout(function(){document.activeElement==e.$selection[0]||n.contains(e.$selection[0],document.activeElement)||e.trigger("blur",t)},1)},s.prototype._attachCloseHandler=function(t){n(document.body).on("mousedown.select2."+t.id,function(t){var e=n(t.target).closest(".select2");n(".select2.select2-container--open").each(function(){this!=e[0]&&i.GetData(this,"element").select2("close")})})},s.prototype._detachCloseHandler=function(t){n(document.body).off("mousedown.select2."+t.id)},s.prototype.position=function(t,e){e.find(".selection").append(t)},s.prototype.destroy=function(){this._detachCloseHandler(this.container)},s.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},s.prototype.isEnabled=function(){return!this.isDisabled()},s.prototype.isDisabled=function(){return this.options.get("disabled")},s}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,n,i){function o(){o.__super__.constructor.apply(this,arguments)}return n.Extend(o,e),o.prototype.render=function(){var t=o.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},o.prototype.bind=function(e,t){var n=this,i=(o.__super__.bind.apply(this,arguments),e.id+"-container");this.$selection.find(".select2-selection__rendered").attr("id",i).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(t){1===t.which&&n.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),e.on("focus",function(t){e.isOpen()||n.$selection.trigger("focus")})},o.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},o.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},o.prototype.selectionContainer=function(){return t("<span></span>")},o.prototype.update=function(t){var e,n;0===t.length?this.clear():(t=t[0],e=this.$selection.find(".select2-selection__rendered"),n=this.display(t,e),e.empty().append(n),(n=t.title||t.text)?e.attr("title",n):e.removeAttr("title"))},o}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(i,t,a){function o(t,e){o.__super__.constructor.apply(this,arguments)}return a.Extend(o,t),o.prototype.render=function(){var t=o.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},o.prototype.bind=function(t,e){var n=this;o.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){n.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(t){var e;n.isDisabled()||(e=i(this).parent(),e=a.GetData(e[0],"data"),n.trigger("unselect",{originalEvent:t,data:e}))})},o.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},o.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},o.prototype.selectionContainer=function(){return i('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>')},o.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],n=0;n<t.length;n++){var i=t[n],o=this.selectionContainer(),s=this.display(i,o),s=(o.append(s),i.title||i.text);s&&o.attr("title",s),a.StoreData(o[0],"data",i),e.push(o)}var r=this.$selection.find(".select2-selection__rendered");a.appendMany(r,e)}},o}),t.define("select2/selection/placeholder",["../utils"],function(t){function e(t,e,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n)}return e.prototype.normalizePlaceholder=function(t,e){return e="string"==typeof e?{id:"",text:e}:e},e.prototype.createPlaceholder=function(t,e){var n=this.selectionContainer();return n.html(this.display(e)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},e.prototype.update=function(t,e){var n=1==e.length&&e[0].id!=this.placeholder.id;if(1<e.length||n)return t.call(this,e);this.clear();n=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(n)},e}),t.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(n,i,a){function t(){}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(t){i._handleClear(t)}),e.on("keypress",function(t){i._handleKeyboardClear(t,e)})},t.prototype._handleClear=function(t,e){if(!this.isDisabled()){var n=this.$selection.find(".select2-selection__clear");if(0!==n.length){e.stopPropagation();var i=a.GetData(n[0],"data"),o=this.$element.val(),s=(this.$element.val(this.placeholder.id),{data:i});if(this.trigger("clear",s),s.prevented)this.$element.val(o);else{for(var r=0;r<i.length;r++)if(s={data:i[r]},this.trigger("unselect",s),s.prevented)return void this.$element.val(o);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},t.prototype._handleKeyboardClear=function(t,e,n){n.isOpen()||e.which!=i.DELETE&&e.which!=i.BACKSPACE||this._handleClear(e)},t.prototype.update=function(t,e){t.call(this,e),0<this.$selection.find(".select2-selection__placeholder").length||0===e.length||(t=this.options.get("translations").get("removeAllItems"),t=n('<span class="select2-selection__clear" title="'+t()+'">×</span>'),a.StoreData(t[0],"data",e),this.$selection.find(".select2-selection__rendered").prepend(t))},t}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(n,r,a){function t(t,e,n){t.call(this,e,n)}return t.prototype.render=function(t){var e=n('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>'),e=(this.$searchContainer=e,this.$search=e.find("input"),t.call(this));return this._transferTabIndex(),e},t.prototype.bind=function(t,e,n){var i=this,o=e.id+"-results",t=(t.call(this,e,n),e.on("open",function(){i.$search.attr("aria-controls",o),i.$search.trigger("focus")}),e.on("close",function(){i.$search.val(""),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.trigger("focus")}),e.on("enable",function(){i.$search.prop("disabled",!1),i._transferTabIndex()}),e.on("disable",function(){i.$search.prop("disabled",!0)}),e.on("focus",function(t){i.$search.trigger("focus")}),e.on("results:focus",function(t){t.data._resultId?i.$search.attr("aria-activedescendant",t.data._resultId):i.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(t){i.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){i._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){var e;t.stopPropagation(),i.trigger("keypress",t),i._keyUpPrevented=t.isDefaultPrevented(),t.which===a.BACKSPACE&&""===i.$search.val()&&0<(e=i.$searchContainer.prev(".select2-selection__choice")).length&&(e=r.GetData(e[0],"data"),i.searchRemoveChoice(e),t.preventDefault())}),this.$selection.on("click",".select2-search--inline",function(t){i.$search.val()&&t.stopPropagation()}),document.documentMode),s=t&&t<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){s?i.$selection.off("input.search input.searchcheck"):i.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){var e;s&&"input"===t.type?i.$selection.off("input.search input.searchcheck"):(e=t.which)!=a.SHIFT&&e!=a.CTRL&&e!=a.ALT&&e!=a.TAB&&i.handleSearch(t)})},t.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},t.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},t.prototype.update=function(t,e){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},t.prototype.handleSearch=function(){var t;this.resizeSearch(),this._keyUpPrevented||(t=this.$search.val(),this.trigger("query",{term:t})),this._keyUpPrevented=!1},t.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},t.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";t=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em",this.$search.css("width",t)},t}),t.define("select2/selection/eventRelay",["jquery"],function(r){function t(){}return t.prototype.bind=function(t,e,n){var i=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],s=["opening","closing","selecting","unselecting","clearing"];t.call(this,e,n),e.on("*",function(t,e){var n;-1!==r.inArray(t,o)&&(n=r.Event("select2:"+t,{params:e=e||{}}),i.$element.trigger(n),-1!==r.inArray(t,s))&&(e.prevented=n.isDefaultPrevented())})},t}),t.define("select2/translation",["jquery","require"],function(e,n){function i(t){this.dict=t||{}}return i.prototype.all=function(){return this.dict},i.prototype.get=function(t){return this.dict[t]},i.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},i._cache={},i.loadPath=function(t){var e;return t in i._cache||(e=n(t),i._cache[t]=e),new i(i._cache[t])},i}),t.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),t.define("select2/data/base",["../utils"],function(n){function i(t,e){i.__super__.constructor.call(this)}return n.Extend(i,n.Observable),i.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},i.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},i.prototype.bind=function(t,e){},i.prototype.destroy=function(){},i.prototype.generateResultId=function(t,e){t=t.id+"-result-";return t+=n.generateChars(4),null!=e.id?t+="-"+e.id.toString():t+="-"+n.generateChars(4),t},i}),t.define("select2/data/select",["./base","../utils","jquery"],function(t,r,a){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return r.Extend(n,t),n.prototype.current=function(t){var e=[],n=this;this.$element.find(":selected").each(function(){var t=a(this),t=n.item(t);e.push(t)}),t(e)},n.prototype.select=function(o){var t,s=this;o.selected=!0,a(o.element).is("option")?(o.element.selected=!0,this.$element.trigger("input").trigger("change")):this.$element.prop("multiple")?this.current(function(t){var e=[];(o=[o]).push.apply(o,t);for(var n=0;n<o.length;n++){var i=o[n].id;-1===a.inArray(i,e)&&e.push(i)}s.$element.val(e),s.$element.trigger("input").trigger("change")}):(t=o.id,this.$element.val(t),this.$element.trigger("input").trigger("change"))},n.prototype.unselect=function(o){var s=this;this.$element.prop("multiple")&&(o.selected=!1,a(o.element).is("option")?(o.element.selected=!1,this.$element.trigger("input").trigger("change")):this.current(function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n].id;i!==o.id&&-1===a.inArray(i,e)&&e.push(i)}s.$element.val(e),s.$element.trigger("input").trigger("change")}))},n.prototype.bind=function(t,e){var n=this;(this.container=t).on("select",function(t){n.select(t.data)}),t.on("unselect",function(t){n.unselect(t.data)})},n.prototype.destroy=function(){this.$element.find("*").each(function(){r.RemoveData(this)})},n.prototype.query=function(e,t){var n=[],i=this;this.$element.children().each(function(){var t=a(this);(t.is("option")||t.is("optgroup"))&&(t=i.item(t),null!==(t=i.matches(e,t)))&&n.push(t)}),t({results:n})},n.prototype.addOptions=function(t){r.appendMany(this.$element,t)},n.prototype.option=function(t){t.children?(e=document.createElement("optgroup")).label=t.text:void 0!==(e=document.createElement("option")).textContent?e.textContent=t.text:e.innerText=t.text,void 0!==t.id&&(e.value=t.id),t.disabled&&(e.disabled=!0),t.selected&&(e.selected=!0),t.title&&(e.title=t.title);var e,n=a(e),t=this._normalizeItem(t);return t.element=e,r.StoreData(e,"data",t),n},n.prototype.item=function(t){var e={};if(null==(e=r.GetData(t[0],"data"))){if(t.is("option"))e={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){for(var e={text:t.prop("label"),children:[],title:t.prop("title")},n=t.children("option"),i=[],o=0;o<n.length;o++){var s=a(n[o]),s=this.item(s);i.push(s)}e.children=i}(e=this._normalizeItem(e)).element=t[0],r.StoreData(t[0],"data",e)}return e},n.prototype._normalizeItem=function(t){t!==Object(t)&&(t={id:t,text:t});return null!=(t=a.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),a.extend({},{selected:!1,disabled:!1},t)},n.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},n}),t.define("select2/data/array",["./select","../utils","jquery"],function(t,d,u){function i(t,e){this._dataToConvert=e.get("data")||[],i.__super__.constructor.call(this,t,e)}return d.Extend(i,t),i.prototype.bind=function(t,e){i.__super__.bind.call(this,t,e),this.addOptions(this.convertToOptions(this._dataToConvert))},i.prototype.select=function(n){var t;0===this.$element.find("option").filter(function(t,e){return e.value==n.id.toString()}).length&&(t=this.option(n),this.addOptions(t)),i.__super__.select.call(this,n)},i.prototype.convertToOptions=function(t){var e=this,n=this.$element.find("option"),i=n.map(function(){return e.item(u(this)).id}).get(),o=[];for(var s=0;s<t.length;s++){var r,a,l=this._normalizeItem(t[s]);0<=u.inArray(l.id,i)?(r=n.filter(function(t){return function(){return u(this).val()==t.id}}(l)),a=this.item(r),a=u.extend(!0,{},l,a),a=this.option(a),r.replaceWith(a)):(r=this.option(l),l.children&&(a=this.convertToOptions(l.children),d.appendMany(r,a)),o.push(r))}return o},i}),t.define("select2/data/ajax",["./array","../utils","jquery"],function(t,e,s){function n(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),n.__super__.constructor.call(this,t,e)}return e.Extend(n,t),n.prototype._applyDefaults=function(t){return s.extend({},{data:function(t){return s.extend({},t,{q:t.term})},transport:function(t,e,n){t=s.ajax(t);return t.then(e),t.fail(n),t}},t,!0)},n.prototype.processResults=function(t){return t},n.prototype.query=function(e,n){var i=this,o=(null!=this._request&&(s.isFunction(this._request.abort)&&this._request.abort(),this._request=null),s.extend({type:"GET"},this.ajaxOptions));function t(){var t=o.transport(o,function(t){t=i.processResults(t,e);i.options.get("debug")&&window.console&&console.error&&(t&&t.results&&s.isArray(t.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),n(t)},function(){"status"in t&&(0===t.status||"0"===t.status)||i.trigger("results:message",{message:"errorLoading"})});i._request=t}"function"==typeof o.url&&(o.url=o.url.call(this.$element,e)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(t,this.ajaxOptions.delay)):t()},n}),t.define("select2/data/tags",["jquery"],function(a){function t(t,e,n){var i=n.get("tags"),o=n.get("createTag"),o=(void 0!==o&&(this.createTag=o),n.get("insertTag"));if(void 0!==o&&(this.insertTag=o),t.call(this,e,n),a.isArray(i))for(var s=0;s<i.length;s++){var r=i[s],r=this._normalizeItem(r),r=this.option(r);this.$element.append(r)}}return t.prototype.query=function(t,d,u){var h=this;this._removeOldTags(),null==d.term||null!=d.page?t.call(this,d,u):t.call(this,d,function t(e,n){for(var i=e.results,o=0;o<i.length;o++){var s=i[o],r=null!=s.children&&!t({results:s.children},!0);if((s.text||"").toUpperCase()===(d.term||"").toUpperCase()||r)return!n&&(e.data=i,void u(e))}if(n)return!0;var a,l=h.createTag(d);null!=l&&((a=h.option(l)).attr("data-select2-tag",!0),h.addOptions([a]),h.insertTag(i,l)),e.results=i,u(e)})},t.prototype.createTag=function(t,e){e=a.trim(e.term);return""===e?null:{id:e,text:e}},t.prototype.insertTag=function(t,e,n){e.unshift(n)},t.prototype._removeOldTags=function(t){this.$element.find("option[data-select2-tag]").each(function(){this.selected||a(this).remove()})},t}),t.define("select2/data/tokenizer",["jquery"],function(d){function t(t,e,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){t.call(this,e,n),this.$search=e.dropdown.$search||e.selection.$search||n.find(".select2-search__field")},t.prototype.query=function(t,e,n){var i=this;e.term=e.term||"";var o=this.tokenizer(e,this.options,function(t){var e=i._normalizeItem(t);i.$element.find("option").filter(function(){return d(this).val()===e.id}).length||((t=i.option(e)).attr("data-select2-tag",!0),i._removeOldTags(),i.addOptions([t])),i.trigger("select",{data:e})});o.term!==e.term&&(this.$search.length&&(this.$search.val(o.term),this.$search.trigger("focus")),e.term=o.term),t.call(this,e,n)},t.prototype.tokenizer=function(t,e,n,i){for(var o=n.get("tokenSeparators")||[],s=e.term,r=0,a=this.createTag||function(t){return{id:t.term,text:t.term}};r<s.length;){var l=s[r];-1===d.inArray(l,o)?r++:(l=s.substr(0,r),null==(l=a(d.extend({},e,{term:l})))?r++:(i(l),s=s.substr(r+1)||"",r=0))}return{term:s}},t}),t.define("select2/data/minimumInputLength",[],function(){function t(t,e,n){this.minimumInputLength=n.get("minimumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",e.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t}),t.define("select2/data/maximumInputLength",[],function(){function t(t,e,n){this.maximumInputLength=n.get("maximumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",0<this.maximumInputLength&&e.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t}),t.define("select2/data/maximumSelectionLength",[],function(){function t(t,e,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("select",function(){i._checkIfMaximumSelected()})},t.prototype.query=function(t,e,n){var i=this;this._checkIfMaximumSelected(function(){t.call(i,e,n)})},t.prototype._checkIfMaximumSelected=function(t,e){var n=this;this.current(function(t){t=null!=t?t.length:0;0<n.maximumSelectionLength&&t>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):e&&e()})},t}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t},n.prototype.bind=function(){},n.prototype.position=function(t,e){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),t.define("select2/dropdown/search",["jquery","../utils"],function(s,t){function e(){}return e.prototype.render=function(t){var t=t.call(this),e=s('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=e,this.$search=e.find("input"),t.prepend(e),t},e.prototype.bind=function(t,e,n){var i=this,o=e.id+"-results";t.call(this,e,n),this.$search.on("keydown",function(t){i.trigger("keypress",t),i._keyUpPrevented=t.isDefaultPrevented()}),this.$search.on("input",function(t){s(this).off("keyup")}),this.$search.on("keyup input",function(t){i.handleSearch(t)}),e.on("open",function(){i.$search.attr("tabindex",0),i.$search.attr("aria-controls",o),i.$search.trigger("focus"),window.setTimeout(function(){i.$search.trigger("focus")},0)}),e.on("close",function(){i.$search.attr("tabindex",-1),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.val(""),i.$search.trigger("blur")}),e.on("focus",function(){e.isOpen()||i.$search.trigger("focus")}),e.on("results:all",function(t){null!=t.query.term&&""!==t.query.term||(i.showSearch(t)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))}),e.on("results:focus",function(t){t.data._resultId?i.$search.attr("aria-activedescendant",t.data._resultId):i.$search.removeAttr("aria-activedescendant")})},e.prototype.handleSearch=function(t){var e;this._keyUpPrevented||(e=this.$search.val(),this.trigger("query",{term:e})),this._keyUpPrevented=!1},e.prototype.showSearch=function(t,e){return!0},e}),t.define("select2/dropdown/hidePlaceholder",[],function(){function t(t,e,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n,i)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return e="string"==typeof e?{id:"",text:e}:e},t.prototype.removePlaceholder=function(t,e){for(var n=e.slice(0),i=e.length-1;0<=i;i--){var o=e[i];this.placeholder.id===o.id&&n.splice(i,1)}return n},t}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(n){function t(t,e,n,i){this.lastParams={},t.call(this,e,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("query",function(t){i.lastParams=t,i.loading=!0}),e.on("query:append",function(t){i.lastParams=t,i.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},t.prototype.loadMoreIfNeeded=function(){var t=n.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&t&&(t=this.$results.offset().top+this.$results.outerHeight(!1),this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=t+50)&&this.loadMore()},t.prototype.loadMore=function(){this.loading=!0;var t=n.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},t.prototype.createLoadingMore=function(){var t=n('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),e=this.options.get("translations").get("loadingMore");return t.html(e(this.lastParams)),t},t}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(u,r){function t(t,e,n){this.$dropdownParent=u(n.get("dropdownParent")||document.body),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("open",function(){i._showDropdown(),i._attachPositioningHandler(e),i._bindContainerResultHandlers(e)}),e.on("close",function(){i._hideDropdown(),i._detachPositioningHandler(e)}),this.$dropdownContainer.on("mousedown",function(t){t.stopPropagation()})},t.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},t.prototype.position=function(t,e,n){e.attr("class",n.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=n},t.prototype.render=function(t){var e=u("<span></span>"),t=t.call(this);return e.append(t),this.$dropdownContainer=e},t.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},t.prototype._bindContainerResultHandlers=function(t,e){var n;this._containerResultsHandlersBound||(n=this,e.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),e.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0)},t.prototype._attachPositioningHandler=function(t,e){var n=this,i="scroll.select2."+e.id,o="resize.select2."+e.id,e="orientationchange.select2."+e.id,s=this.$container.parents().filter(r.hasScroll);s.each(function(){r.StoreData(this,"select2-scroll-position",{x:u(this).scrollLeft(),y:u(this).scrollTop()})}),s.on(i,function(t){var e=r.GetData(this,"select2-scroll-position");u(this).scrollTop(e.y)}),u(window).on(i+" "+o+" "+e,function(t){n._positionDropdown(),n._resizeDropdown()})},t.prototype._detachPositioningHandler=function(t,e){var n="scroll.select2."+e.id,i="resize.select2."+e.id,e="orientationchange.select2."+e.id;this.$container.parents().filter(r.hasScroll).off(n),u(window).off(n+" "+i+" "+e)},t.prototype._positionDropdown=function(){var t=u(window),e=this.$dropdown.hasClass("select2-dropdown--above"),n=this.$dropdown.hasClass("select2-dropdown--below"),i=null,o=this.$container.offset(),s=(o.bottom=o.top+this.$container.outerHeight(!1),{height:this.$container.outerHeight(!1)});s.top=o.top,s.bottom=o.top+s.height;var r=this.$dropdown.outerHeight(!1),a=t.scrollTop(),t=t.scrollTop()+t.height(),a=a<o.top-r,t=t>o.bottom+r,o={left:o.left,top:s.bottom},l=this.$dropdownParent,d=("static"===l.css("position")&&(l=l.offsetParent()),{top:0,left:0});(u.contains(document.body,l[0])||l[0].isConnected)&&(d=l.offset()),o.top-=d.top,o.left-=d.left,e||n||(i="below"),t||!a||e?!a&&t&&e&&(i="below"):i="above",("above"==i||e&&"below"!==i)&&(o.top=s.top-d.top-r),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(o)},t.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},t.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},t}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function t(t,e,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,i)}return t.prototype.showSearch=function(t,e){return!(function t(e){for(var n=0,i=0;i<e.length;i++){var o=e[i];o.children?n+=t(o.children):n++}return n}(e.data.results)<this.minimumResultsForSearch)&&t.call(this,e)},t}),t.define("select2/dropdown/selectOnClose",["../utils"],function(n){function t(){}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("close",function(t){i._handleSelectOnClose(t)})},t.prototype._handleSelectOnClose=function(t,e){if(e&&null!=e.originalSelect2Event){e=e.originalSelect2Event;if("select"===e._type||"unselect"===e._type)return}var e=this.getHighlightedResults();e.length<1||null!=(e=n.GetData(e[0],"data")).element&&e.element.selected||null==e.element&&e.selected||this.trigger("select",{data:e})},t}),t.define("select2/dropdown/closeOnSelect",[],function(){function t(){}return t.prototype.bind=function(t,e,n){var i=this;t.call(this,e,n),e.on("select",function(t){i._selectTriggered(t)}),e.on("unselect",function(t){i._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){var n=e.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:e})},t}),t.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var t=t.input.length-t.maximum,e="Please delete "+t+" character";return 1!=t&&(e+="s"),e},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),t.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(l,s,r,a,d,u,h,c,p,f,g,e,m,v,y,b,$,w,x,_,C,S,k,D,T,I,A,M,t){function n(){this.reset()}return n.prototype.apply=function(t){null==(t=l.extend(!0,{},this.defaults,t)).dataAdapter&&(null!=t.ajax?t.dataAdapter=y:null!=t.data?t.dataAdapter=v:t.dataAdapter=m,0<t.minimumInputLength&&(t.dataAdapter=f.Decorate(t.dataAdapter,w)),0<t.maximumInputLength&&(t.dataAdapter=f.Decorate(t.dataAdapter,x)),0<t.maximumSelectionLength&&(t.dataAdapter=f.Decorate(t.dataAdapter,_)),t.tags&&(t.dataAdapter=f.Decorate(t.dataAdapter,b)),null==t.tokenSeparators&&null==t.tokenizer||(t.dataAdapter=f.Decorate(t.dataAdapter,$)),null!=t.query&&(e=s(t.amdBase+"compat/query"),t.dataAdapter=f.Decorate(t.dataAdapter,e)),null!=t.initSelection)&&(e=s(t.amdBase+"compat/initSelection"),t.dataAdapter=f.Decorate(t.dataAdapter,e)),null==t.resultsAdapter&&(t.resultsAdapter=r,null!=t.ajax&&(t.resultsAdapter=f.Decorate(t.resultsAdapter,D)),null!=t.placeholder&&(t.resultsAdapter=f.Decorate(t.resultsAdapter,k)),t.selectOnClose)&&(t.resultsAdapter=f.Decorate(t.resultsAdapter,A)),null==t.dropdownAdapter&&(t.multiple?t.dropdownAdapter=C:(e=f.Decorate(C,S),t.dropdownAdapter=e),0!==t.minimumResultsForSearch&&(t.dropdownAdapter=f.Decorate(t.dropdownAdapter,I)),t.closeOnSelect&&(t.dropdownAdapter=f.Decorate(t.dropdownAdapter,M)),null==t.dropdownCssClass&&null==t.dropdownCss&&null==t.adaptDropdownCssClass||(e=s(t.amdBase+"compat/dropdownCss"),t.dropdownAdapter=f.Decorate(t.dropdownAdapter,e)),t.dropdownAdapter=f.Decorate(t.dropdownAdapter,T)),null==t.selectionAdapter&&(t.multiple?t.selectionAdapter=d:t.selectionAdapter=a,null!=t.placeholder&&(t.selectionAdapter=f.Decorate(t.selectionAdapter,u)),t.allowClear&&(t.selectionAdapter=f.Decorate(t.selectionAdapter,h)),t.multiple&&(t.selectionAdapter=f.Decorate(t.selectionAdapter,c)),null==t.containerCssClass&&null==t.containerCss&&null==t.adaptContainerCssClass||(e=s(t.amdBase+"compat/containerCss"),t.selectionAdapter=f.Decorate(t.selectionAdapter,e)),t.selectionAdapter=f.Decorate(t.selectionAdapter,p)),t.language=this._resolveLanguage(t.language),t.language.push("en");for(var e,n=[],i=0;i<t.language.length;i++){var o=t.language[i];-1===n.indexOf(o)&&n.push(o)}return t.language=n,t.translations=this._processTranslations(t.language,t.debug),t},n.prototype.reset=function(){function a(t){return t.replace(/[^\u0000-\u007E]/g,function(t){return e[t]||t})}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:f.escapeMarkup,language:{},matcher:function t(e,n){if(""===l.trim(e.term))return n;if(n.children&&0<n.children.length){for(var i=l.extend(!0,{},n),o=n.children.length-1;0<=o;o--)null==t(e,n.children[o])&&i.children.splice(o,1);return 0<i.children.length?i:t(e,i)}var s=a(n.text).toUpperCase(),r=a(e.term).toUpperCase();return-1<s.indexOf(r)?n:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},n.prototype.applyFromElement=function(t,e){var n=t.language,i=this.defaults.language,o=e.prop("lang"),e=e.closest("[lang]").prop("lang"),o=Array.prototype.concat.call(this._resolveLanguage(o),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(e));return t.language=o,t},n.prototype._resolveLanguage=function(t){if(!t)return[];if(l.isEmptyObject(t))return[];if(l.isPlainObject(t))return[t];for(var e,n=l.isArray(t)?t:[t],i=[],o=0;o<n.length;o++)i.push(n[o]),"string"==typeof n[o]&&0<n[o].indexOf("-")&&(e=n[o].split("-")[0],i.push(e));return i},n.prototype._processTranslations=function(t,e){for(var n=new g,i=0;i<t.length;i++){var o=new g,s=t[i];if("string"==typeof s)try{o=g.loadPath(s)}catch(t){try{s=this.defaults.amdLanguageBase+s,o=g.loadPath(s)}catch(t){e&&window.console&&console.warn&&console.warn('Select2: The language file for "'+s+'" could not be automatically loaded. A fallback will be used instead.')}}else o=l.isPlainObject(s)?new g(s):s;n.extend(o)}return n},n.prototype.set=function(t,e){var n={},t=(n[l.camelCase(t)]=e,f._convertData(n));l.extend(!0,this.defaults,t)},new n}),t.define("select2/options",["require","jquery","./defaults","./utils"],function(n,d,i,u){function t(t,e){this.options=t,null!=e&&this.fromElement(e),null!=e&&(this.options=i.applyFromElement(this.options,e)),this.options=i.apply(this.options),e&&e.is("input")&&(t=n(this.get("amdBase")+"compat/inputData"),this.options.dataAdapter=u.Decorate(this.options.dataAdapter,t))}return t.prototype.fromElement=function(t){var e=["select2"],n=(null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),u.GetData(t[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),u.StoreData(t[0],"data",u.GetData(t[0],"select2Tags")),u.StoreData(t[0],"tags",!0)),u.GetData(t[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",u.GetData(t[0],"ajaxUrl")),u.StoreData(t[0],"ajax-Url",u.GetData(t[0],"ajaxUrl"))),{});function i(t,e){return e.toUpperCase()}for(var o=0;o<t[0].attributes.length;o++){var s,r=t[0].attributes[o].name;"data-"==r.substr(0,"data-".length)&&(r=r.substring("data-".length),s=u.GetData(t[0],r),n[r.replace(/-([a-z])/g,i)]=s)}d.fn.jquery&&"1."==d.fn.jquery.substr(0,2)&&t[0].dataset&&(n=d.extend(!0,{},t[0].dataset,n));var a,l=d.extend(!0,{},u.GetData(t[0]),n);for(a in l=u._convertData(l))-1<d.inArray(a,e)||(d.isPlainObject(this.options[a])?d.extend(this.options[a],l[a]):this.options[a]=l[a]);return this},t.prototype.get=function(t){return this.options[t]},t.prototype.set=function(t,e){this.options[t]=e},t}),t.define("select2/core",["jquery","./options","./utils","./keys"],function(s,o,r,i){function a(t,e){null!=r.GetData(t[0],"select2")&&r.GetData(t[0],"select2").destroy(),this.$element=t,this.id=this._generateId(t),this.options=new o(e=e||{},t),a.__super__.constructor.call(this);var e=t.attr("tabindex")||0,e=(r.StoreData(t[0],"old-tabindex",e),t.attr("tabindex","-1"),this.options.get("dataAdapter")),e=(this.dataAdapter=new e(t,this.options),this.render()),n=(this._placeContainer(e),this.options.get("selectionAdapter")),n=(this.selection=new n(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,e),this.options.get("dropdownAdapter")),n=(this.dropdown=new n(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,e),this.options.get("resultsAdapter")),i=(this.results=new n(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown),this);this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){i.trigger("selection:update",{data:t})}),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),r.StoreData(t[0],"select2",this),t.data("select2",this)}return r.Extend(a,r.Observable),a.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+r.generateChars(2):r.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},a.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},a.prototype._resolveWidth=function(t,e){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e)return null!=(i=this._resolveWidth(t,"style"))?i:this._resolveWidth(t,"element");if("element"==e)return(i=t.outerWidth(!1))<=0?"auto":i+"px";if("style"!=e)return"computedstyle"==e?window.getComputedStyle(t[0]).width:e;var i=t.attr("style");if("string"==typeof i)for(var o=i.split(";"),s=0,r=o.length;s<r;s+=1){var a=o[s].replace(/\s/g,"").match(n);if(null!==a&&1<=a.length)return a[1]}return null},a.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},a.prototype._registerDomEvents=function(){var e=this,t=(this.$element.on("change.select2",function(){e.dataAdapter.current(function(t){e.trigger("selection:update",{data:t})})}),this.$element.on("focus.select2",function(t){e.trigger("focus",t)}),this._syncA=r.bind(this._syncAttributes,this),this._syncS=r.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA),window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver);null!=t?(this._observer=new t(function(t){e._syncA(),e._syncS(null,t)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",e._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",e._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,!1))},a.prototype._registerDataEvents=function(){var n=this;this.dataAdapter.on("*",function(t,e){n.trigger(t,e)})},a.prototype._registerSelectionEvents=function(){var n=this,i=["toggle","focus"];this.selection.on("toggle",function(){n.toggleDropdown()}),this.selection.on("focus",function(t){n.focus(t)}),this.selection.on("*",function(t,e){-1===s.inArray(t,i)&&n.trigger(t,e)})},a.prototype._registerDropdownEvents=function(){var n=this;this.dropdown.on("*",function(t,e){n.trigger(t,e)})},a.prototype._registerResultsEvents=function(){var n=this;this.results.on("*",function(t,e){n.trigger(t,e)})},a.prototype._registerEvents=function(){var n=this;this.on("open",function(){n.$container.addClass("select2-container--open")}),this.on("close",function(){n.$container.removeClass("select2-container--open")}),this.on("enable",function(){n.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){n.$container.addClass("select2-container--disabled")}),this.on("blur",function(){n.$container.removeClass("select2-container--focus")}),this.on("query",function(e){n.isOpen()||n.trigger("open",{}),this.dataAdapter.query(e,function(t){n.trigger("results:all",{data:t,query:e})})}),this.on("query:append",function(e){this.dataAdapter.query(e,function(t){n.trigger("results:append",{data:t,query:e})})}),this.on("keypress",function(t){var e=t.which;n.isOpen()?e===i.ESC||e===i.TAB||e===i.UP&&t.altKey?(n.close(t),t.preventDefault()):e===i.ENTER?(n.trigger("results:select",{}),t.preventDefault()):e===i.SPACE&&t.ctrlKey?(n.trigger("results:toggle",{}),t.preventDefault()):e===i.UP?(n.trigger("results:previous",{}),t.preventDefault()):e===i.DOWN&&(n.trigger("results:next",{}),t.preventDefault()):(e===i.ENTER||e===i.SPACE||e===i.DOWN&&t.altKey)&&(n.open(),t.preventDefault())})},a.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},a.prototype._isChangeMutation=function(t,e){var n=!1,i=this;if(!t||!t.target||"OPTION"===t.target.nodeName||"OPTGROUP"===t.target.nodeName){if(e)if(e.addedNodes&&0<e.addedNodes.length)for(var o=0;o<e.addedNodes.length;o++)e.addedNodes[o].selected&&(n=!0);else e.removedNodes&&0<e.removedNodes.length?n=!0:s.isArray(e)&&s.each(e,function(t,e){if(i._isChangeMutation(t,e))return!(n=!0)});else n=!0;return n}},a.prototype._syncSubtree=function(t,e){var t=this._isChangeMutation(t,e),n=this;t&&this.dataAdapter.current(function(t){n.trigger("selection:update",{data:t})})},a.prototype.trigger=function(t,e){var n=a.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===e&&(e={}),t in i){var o={prevented:!1,name:t,args:e};if(n.call(this,i[t],o),o.prevented)return void(e.prevented=!0)}n.call(this,t,e)},a.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},a.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},a.prototype.close=function(t){this.isOpen()&&this.trigger("close",{originalEvent:t})},a.prototype.isEnabled=function(){return!this.isDisabled()},a.prototype.isDisabled=function(){return this.options.get("disabled")},a.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},a.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},a.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},a.prototype.enable=function(t){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.');t=!(t=null!=t&&0!==t.length?t:[!0])[0];this.$element.prop("disabled",t)},a.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},a.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();t=t[0];s.isArray(t)&&(t=s.map(t,function(t){return t.toString()})),this.$element.val(t).trigger("input").trigger("change")},a.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",r.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),r.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},a.prototype.render=function(){var t=s('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),r.StoreData(t[0],"element",this.$element),t},a}),t.define("jquery-mousewheel",["jquery"],function(t){return t}),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(o,t,s,e,r){var a;return null==o.fn.select2&&(a=["open","close","destroy"],o.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each(function(){var t=o.extend(!0,{},e);new s(o(this),t)}),this;var n,i;if("string"==typeof e)return i=Array.prototype.slice.call(arguments,1),this.each(function(){var t=r.GetData(this,"select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),n=t[e].apply(t,i)}),-1<o.inArray(e,a)?this:n;throw new Error("Invalid arguments for Select2: "+e)}),null==o.fn.select2.defaults&&(o.fn.select2.defaults=e),s});var t,n,c,s,r,p,f,g,m,v,y,i,o,b,a={define:t.define,require:t.require};function w(t,e){return i.call(t,e)}function l(t,e){var n,i,o,s,r,a,l,d,u,h,c=e&&e.split("/"),p=v.map,f=p&&p["*"]||{};if(t){for(e=(t=t.split("/")).length-1,v.nodeIdCompat&&b.test(t[e])&&(t[e]=t[e].replace(b,"")),"."===t[0].charAt(0)&&c&&(t=c.slice(0,c.length-1).concat(t)),d=0;d<t.length;d++)"."===(h=t[d])?(t.splice(d,1),--d):".."!==h||0===d||1===d&&".."===t[2]||".."===t[d-1]||0<d&&(t.splice(d-1,2),d-=2);t=t.join("/")}if((c||f)&&p){for(d=(n=t.split("/")).length;0<d;--d){if(i=n.slice(0,d).join("/"),c)for(u=c.length;0<u;--u)if(o=(o=p[c.slice(0,u).join("/")])&&o[i]){s=o,r=d;break}if(s)break;!a&&f&&f[i]&&(a=f[i],l=d)}!s&&a&&(s=a,r=l),s&&(n.splice(0,r,s),t=n.join("/"))}return t}function x(e,n){return function(){var t=o.call(arguments,0);return"string"!=typeof t[0]&&1===t.length&&t.push(null),r.apply(c,t.concat([e,n]))}}function _(t){var e;if(w(m,t)&&(e=m[t],delete m[t],y[t]=!0,s.apply(c,e)),w(g,t)||w(y,t))return g[t];throw new Error("No "+t)}function d(t){var e,n=t?t.indexOf("!"):-1;return-1<n&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}function C(t){return t?d(t):[]}var u=a.require("jquery.select2");return e.fn.select2.amd=a,u}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e(require("jquery")):t.lightbox=e(t.jQuery)}(this,function(d){function t(t){this.album=[],this.currentImageIndex=void 0,this.init(),this.options=d.extend({},this.constructor.defaults),this.option(t)}return t.defaults={albumLabel:"Image %1 of %2",alwaysShowNavOnTouchDevices:!1,fadeDuration:500,fitImagesInViewport:!0,positionFromTop:50,resizeDuration:700,showImageNumberLabel:!0,wrapAround:!1},t.prototype.option=function(t){d.extend(this.options,t)},t.prototype.imageCountLabel=function(t,e){return this.options.albumLabel.replace(/%1/g,t).replace(/%2/g,e)},t.prototype.init=function(){this.enable(),this.build()},t.prototype.enable=function(){var e=this;d("body").on("click","a[rel^=lightbox], area[rel^=lightbox], a[data-lightbox], area[data-lightbox]",function(t){return e.start(d(t.currentTarget)),!1})},t.prototype.build=function(){var e=this;d('<div id="lightboxOverlay" class="lightboxOverlay"></div><div id="lightbox" class="lightbox"><div class="lb-outerContainer"><div class="lb-container"><img class="lb-image" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" /><div class="lb-nav"><a class="lb-prev" href="" ></a><a class="lb-next" href="" ></a></div><div class="lb-loader"><a class="lb-cancel"></a></div></div></div><div class="lb-dataContainer"><div class="lb-data"><div class="lb-details"><span class="lb-caption"></span><span class="lb-number"></span></div><div class="lb-closeContainer"><a class="lb-close"></a></div></div></div></div>').appendTo(d("body")),this.$lightbox=d("#lightbox"),this.$overlay=d("#lightboxOverlay"),this.$outerContainer=this.$lightbox.find(".lb-outerContainer"),this.$container=this.$lightbox.find(".lb-container"),this.containerTopPadding=parseInt(this.$container.css("padding-top"),10),this.containerRightPadding=parseInt(this.$container.css("padding-right"),10),this.containerBottomPadding=parseInt(this.$container.css("padding-bottom"),10),this.containerLeftPadding=parseInt(this.$container.css("padding-left"),10),this.$overlay.hide().on("click",function(){return e.end(),!1}),this.$lightbox.hide().on("click",function(t){return"lightbox"===d(t.target).attr("id")&&e.end(),!1}),this.$outerContainer.on("click",function(t){return"lightbox"===d(t.target).attr("id")&&e.end(),!1}),this.$lightbox.find(".lb-prev").on("click",function(){return 0===e.currentImageIndex?e.changeImage(e.album.length-1):e.changeImage(e.currentImageIndex-1),!1}),this.$lightbox.find(".lb-next").on("click",function(){return e.currentImageIndex===e.album.length-1?e.changeImage(0):e.changeImage(e.currentImageIndex+1),!1}),this.$lightbox.find(".lb-loader, .lb-close").on("click",function(){return e.end(),!1})},t.prototype.start=function(t){var e=this,n=d(window),i=(n.on("resize",d.proxy(this.sizeOverlay,this)),d("select, object, embed").css({visibility:"hidden"}),this.sizeOverlay(),this.album=[],0);function o(t){e.album.push({link:t.attr("href"),title:t.attr("data-title")||t.attr("title")})}var s=t.attr("data-lightbox");if(s)for(var r=d(t.prop("tagName")+'[data-lightbox="'+s+'"]'),a=0;a<r.length;a=++a)o(d(r[a])),r[a]===t[0]&&(i=a);else if("lightbox"===t.attr("rel"))o(t);else{r=d(t.prop("tagName")+'[rel="'+t.attr("rel")+'"]');for(var l=0;l<r.length;l=++l)o(d(r[l])),r[l]===t[0]&&(i=l)}s=n.scrollTop()+this.options.positionFromTop,n=n.scrollLeft();this.$lightbox.css({top:s+"px",left:n+"px"}).fadeIn(this.options.fadeDuration),this.changeImage(i)},t.prototype.changeImage=function(o){var s=this,r=(this.disableKeyboardNav(),this.$lightbox.find(".lb-image")),a=(this.$overlay.fadeIn(this.options.fadeDuration),d(".lb-loader").fadeIn("slow"),this.$lightbox.find(".lb-image, .lb-nav, .lb-prev, .lb-next, .lb-dataContainer, .lb-numbers, .lb-caption").hide(),this.$outerContainer.addClass("animating"),new Image);a.onload=function(){var t,e,n,i;r.attr("src",s.album[o].link),d(a),r.width(a.width),r.height(a.height),s.options.fitImagesInViewport&&(i=d(window).width(),n=d(window).height(),i=i-s.containerLeftPadding-s.containerRightPadding-20,n=n-s.containerTopPadding-s.containerBottomPadding-120,s.options.maxWidth&&s.options.maxWidth<i&&(i=s.options.maxWidth),s.options.maxHeight&&s.options.maxHeight<i&&(n=s.options.maxHeight),a.width>i||a.height>n)&&(a.width/i>a.height/n?(e=i,t=parseInt(a.height/(a.width/e),10)):(t=n,e=parseInt(a.width/(a.height/t),10)),r.width(e),r.height(t)),s.sizeContainer(r.width(),r.height())},a.src=this.album[o].link,this.currentImageIndex=o},t.prototype.sizeOverlay=function(){this.$overlay.width(d(window).width()).height(d(document).height())},t.prototype.sizeContainer=function(t,e){var n=this,i=this.$outerContainer.outerWidth(),o=this.$outerContainer.outerHeight(),s=t+this.containerLeftPadding+this.containerRightPadding,r=e+this.containerTopPadding+this.containerBottomPadding;function a(){n.$lightbox.find(".lb-dataContainer").width(s),n.$lightbox.find(".lb-prevLink").height(r),n.$lightbox.find(".lb-nextLink").height(r),n.showImage()}i!==s||o!==r?this.$outerContainer.animate({width:s,height:r},this.options.resizeDuration,"swing",function(){a()}):a()},t.prototype.showImage=function(){this.$lightbox.find(".lb-loader").stop(!0).hide(),this.$lightbox.find(".lb-image").fadeIn("slow"),this.updateNav(),this.updateDetails(),this.preloadNeighboringImages(),this.enableKeyboardNav()},t.prototype.updateNav=function(){var t=!1;try{document.createEvent("TouchEvent"),t=!!this.options.alwaysShowNavOnTouchDevices}catch(t){}this.$lightbox.find(".lb-nav").show(),1<this.album.length&&(this.options.wrapAround?(t&&this.$lightbox.find(".lb-prev, .lb-next").css("opacity","1"),this.$lightbox.find(".lb-prev, .lb-next").show()):(0<this.currentImageIndex&&(this.$lightbox.find(".lb-prev").show(),t)&&this.$lightbox.find(".lb-prev").css("opacity","1"),this.currentImageIndex<this.album.length-1&&(this.$lightbox.find(".lb-next").show(),t)&&this.$lightbox.find(".lb-next").css("opacity","1")))},t.prototype.updateDetails=function(){var t,e=this;void 0!==this.album[this.currentImageIndex].title&&""!==this.album[this.currentImageIndex].title&&this.$lightbox.find(".lb-caption").html(this.album[this.currentImageIndex].title).fadeIn("fast").find("a").on("click",function(t){void 0!==d(this).attr("target")?window.open(d(this).attr("href"),d(this).attr("target")):location.href=d(this).attr("href")}),1<this.album.length&&this.options.showImageNumberLabel?(t=this.imageCountLabel(this.currentImageIndex+1,this.album.length),this.$lightbox.find(".lb-number").text(t).fadeIn("fast")):this.$lightbox.find(".lb-number").hide(),this.$outerContainer.removeClass("animating"),this.$lightbox.find(".lb-dataContainer").fadeIn(this.options.resizeDuration,function(){return e.sizeOverlay()})},t.prototype.preloadNeighboringImages=function(){this.album.length>this.currentImageIndex+1&&((new Image).src=this.album[this.currentImageIndex+1].link),0<this.currentImageIndex&&((new Image).src=this.album[this.currentImageIndex-1].link)},t.prototype.enableKeyboardNav=function(){d(document).on("keyup.keyboard",d.proxy(this.keyboardAction,this))},t.prototype.disableKeyboardNav=function(){d(document).off(".keyboard")},t.prototype.keyboardAction=function(t){var t=t.keyCode,e=String.fromCharCode(t).toLowerCase();27===t||e.match(/x|o|c/)?this.end():"p"===e||37===t?0!==this.currentImageIndex?this.changeImage(this.currentImageIndex-1):this.options.wrapAround&&1<this.album.length&&this.changeImage(this.album.length-1):"n"!==e&&39!==t||(this.currentImageIndex!==this.album.length-1?this.changeImage(this.currentImageIndex+1):this.options.wrapAround&&1<this.album.length&&this.changeImage(0))},t.prototype.end=function(){this.disableKeyboardNav(),d(window).off("resize",this.sizeOverlay),this.$lightbox.fadeOut(this.options.fadeDuration),this.$overlay.fadeOut(this.options.fadeDuration),d("select, object, embed").css({visibility:"visible"})},new t}),function(v){var y="iCheck",b=y+"-helper",$="checkbox",w="radio",x="checked",p="un"+x,_="disabled",f="determinate",C="in"+f,S="update",k="type",D="click",T="touchbegin.i touchend.i",I="addClass",A="removeClass",M="trigger",O="label",g="cursor",P=/ip(hone|od|ad)|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent)||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints;function E(t,e,n){var i=t[0],o=/er/.test(n)?C:/bl/.test(n)?_:x,s=n==S?{checked:i[x],disabled:i[_],indeterminate:"true"==t.attr(C)||"false"==t.attr(f)}:i[o];if(/^(ch|di|in)/.test(n)&&!s)L(t,o);else if(/^(un|en|de)/.test(n)&&s)R(t,o);else if(n==S)for(var r in s)(s[r]?L:R)(t,r,!0);else e&&"toggle"!=n||(e||t[M]("ifClicked"),s?i[k]!==w&&R(t,o):L(t,o))}function L(t,e,n){var i,o,s=t[0],r=t.parent(),a=e==x,l=e==C,d=e==_,u=l?f:a?p:"enabled",h=m(t,u+F(s[k])),c=m(t,e+F(s[k]));!0!==s[e]&&(!n&&e==x&&s[k]==w&&s.name&&(i=t.closest("form"),o='input[name="'+s.name+'"]',(o=i.length?i.find(o):v(o)).each(function(){this!==s&&v(this).data(y)&&R(v(this),e)})),l?(s[e]=!0,s[x]&&R(t,x,"force")):(n||(s[e]=!0),a&&s[C]&&R(t,C,!1)),j(t,a,e,n)),s[_]&&m(t,g,!0)&&r.find("."+b).css(g,"default"),r[I](c||m(t,e)||""),r.attr("role")&&!l&&r.attr("aria-"+(d?_:x),"true"),r[A](h||m(t,u)||"")}function R(t,e,n){var i=t[0],o=t.parent(),s=e==x,r=e==C,a=e==_,l=r?f:s?p:"enabled",d=m(t,l+F(i[k])),u=m(t,e+F(i[k]));!1!==i[e]&&(!r&&n&&"force"!=n||(i[e]=!1),j(t,s,l,n)),!i[_]&&m(t,g,!0)&&o.find("."+b).css(g,"pointer"),o[A](u||m(t,e)||""),o.attr("role")&&!r&&o.attr("aria-"+(a?_:x),"false"),o[I](d||m(t,l)||"")}function N(t,e){t.data(y)&&(t.parent().html(t.attr("style",t.data(y).s||"")),e&&t[M](e),t.off(".i").unwrap(),v(O+'[for="'+t[0].id+'"]').add(t.closest(O)).off(".i"))}function m(t,e,n){if(t.data(y))return t.data(y).o[e+(n?"":"Class")]}function F(t){return t.charAt(0).toUpperCase()+t.slice(1)}function j(t,e,n,i){i||(e&&t[M]("ifToggled"),t[M]("change")[M]("ifChanged")[M]("if"+F(n)))}v.fn[y]=function(e,n){function t(t){t.each(function(){var t=v(this);s=t.is(o)?s.add(t):s.add(t.find(o))})}var u,i,h,c,p,f,g,m,o='input[type="'+$+'"], input[type="'+w+'"]',s=v();return/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(e)?(e=e.toLowerCase(),t(this),s.each(function(){var t=v(this);"destroy"==e?N(t,"ifDestroyed"):E(t,!0,e),v.isFunction(n)&&n()})):"object"!=typeof e&&e?this:(i=(u=v.extend({checkedClass:x,disabledClass:_,indeterminateClass:C,labelHover:!0},e)).handle,h=u.hoverClass||"hover",c=u.focusClass||"focus",p=u.activeClass||"active",f=!!u.labelHover,g=u.labelHoverClass||"hover",m=0|(""+u.increaseArea).replace("%",""),i!=$&&i!=w||(o='input[type="'+i+'"]'),m<-50&&(m=-50),t(this),s.each(function(){var i=v(this),o=(N(i),this),t=o.id,e=-m+"%",n=100+2*m+"%",e={position:"absolute",top:e,left:e,display:"block",width:n,height:n,margin:0,padding:0,background:"#fff",border:0,opacity:0},n=P?{position:"absolute",visibility:"hidden"}:m?e:{position:"absolute",opacity:0},s=o[k]==$?u.checkboxClass||"i"+$:u.radioClass||"i"+w,r=v(O+'[for="'+t+'"]').add(i.closest(O)),a=!!u.aria,l=y+"-"+Math.random().toString(36).substr(2,6),d='<div class="'+s+'" '+(a?'role="'+o[k]+'" ':"");a&&r.each(function(){d+='aria-labelledby="',this.id?d+=this.id:(this.id=l,d+=l),d+='"'}),d=i.wrap(d+"/>")[M]("ifCreated").parent().append(u.insert),s=v('<ins class="'+b+'"/>').css(e).appendTo(d),i.data(y,{o:u,s:i.attr("style")}).css(n),u.inheritClass&&d[I](o.className||""),u.inheritID&&t&&d.attr("id",y+"-"+t),"static"==d.css("position")&&d.css("position","relative"),E(i,!0,S),r.length&&r.on(D+".i mouseover.i mouseout.i "+T,function(t){var e=t[k],n=v(this);if(!o[_]){if(e==D){if(v(t.target).is("a"))return;E(i,!1,!0)}else f&&(/ut|nd/.test(e)?(d[A](h),n[A](g)):(d[I](h),n[I](g)));if(!P)return!1;t.stopPropagation()}}),i.on(D+".i focus.i blur.i keyup.i keydown.i keypress.i",function(t){var e=t[k],t=t.keyCode;return e!=D&&("keydown"==e&&32==t?(o[k]==w&&o[x]||(o[x]?R:L)(i,x),!1):void("keyup"==e&&o[k]==w?o[x]||L(i,x):/us|ur/.test(e)&&d["blur"==e?A:I](c)))}),s.on(D+" mousedown mouseup mouseover mouseout "+T,function(t){var e=t[k],n=/wn|up/.test(e)?p:h;if(!o[_]){if(e==D?E(i,!1,!0):(/wn|er|in/.test(e)?d[I](n):d[A](n+" "+p),r.length&&f&&n==h&&r[/ut|nd/.test(e)?A:I](g)),!P)return!1;t.stopPropagation()}})}))}}(window.jQuery||window.Zepto),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?t(require("jquery")):t(jQuery)}(function($){"use strict";function n(n,i){$.each(["autofocus","savable","hideable","width","height","resize","iconlibrary","language","footer","fullscreen","hiddenButtons","disabledButtons"],function(t,e){void 0!==$(n).data(e)&&((i="object"==typeof i?i:{})[e]=$(n).data(e))}),this.$ns="bootstrap-markdown",this.$element=$(n),this.$editable={el:null,type:null,attrKeys:[],attrValues:[],content:null},this.$options=$.extend(!0,{},$.fn.markdown.defaults,i,this.$element.data("options")),this.$oldContent=null,this.$isPreview=!1,this.$isFullscreen=!1,this.$editor=null,this.$textarea=null,this.$handler=[],this.$callback=[],this.$nextTab=[],this.showEditor()}function e(t){t.data("markdown")?t.data("markdown").showEditor():t.markdown()}n.prototype={constructor:n,__alterButtons:function(n,i){var t=this.$handler,o="all"==n,s=this;$.each(t,function(t,e){!1===(!o&&e.indexOf(n)<0)&&i(s.$editor.find('button[data-handler="'+e+'"]'))})},__buildButtons:function(t,e){for(var n=this.$ns,i=this.$handler,o=this.$callback,s=0;s<t.length;s++)for(var r=t[s],a=0;a<r.length;a++){for(var l=r[a].data,d=$("<div/>",{class:"btn-group"}),u=0;u<l.length;u++){var h=l[u],c=n+"-"+h.name,p=this.__getIcon(h),f=h.btnText||"",g=h.btnClass||"btn",m=h.tabIndex||"-1",v=void 0!==h.hotkey?h.hotkey:"",y=void 0!==jQuery.hotkeys&&""!==v?" ("+v+")":"",b=$("<button></button>");b.text(" "+this.__localize(f)).addClass("btn-default btn-sm").addClass(g),g.match(/btn\-(primary|success|info|warning|danger|link)/)&&b.removeClass("btn-default"),b.attr({type:"button",title:this.__localize(h.title)+y,tabindex:m,"data-provider":n,"data-handler":c,"data-hotkey":v}),!0===h.toggle&&b.attr("data-toggle","button"),(f=$("<span/>")).addClass(p),f.prependTo(b),d.append(b),i.push(c),o.push(h.callback)}e.append(d)}return e},__setListener:function(){var t=void 0!==this.$textarea.attr("rows"),e=5<this.$textarea.val().split("\n").length?this.$textarea.val().split("\n").length:"5",t=t?this.$textarea.attr("rows"):e;this.$textarea.attr("rows",t),this.$options.resize&&this.$textarea.css("resize",this.$options.resize),this.$textarea.data("markdown",this)},__setEventListeners:function(){this.$textarea.on({focus:$.proxy(this.focus,this),keyup:$.proxy(this.keyup,this),change:$.proxy(this.change,this),select:$.proxy(this.select,this)}),this.eventSupported("keydown")&&this.$textarea.on("keydown",$.proxy(this.keydown,this)),this.eventSupported("keypress")&&this.$textarea.on("keypress",$.proxy(this.keypress,this))},__handle:function(t){var e=$(t.currentTarget),n=this.$handler,i=this.$callback,e=e.attr("data-handler"),i=i[n.indexOf(e)];$(t.currentTarget).focus(),i(this),this.change(this),e.indexOf("cmdSave")<0&&this.$textarea.focus(),t.preventDefault()},__localize:function(t){var e=$.fn.markdown.messages,n=this.$options.language;return void 0!==e&&void 0!==e[n]&&void 0!==e[n][t]?e[n][t]:t},__getIcon:function(t){var e;return"object"==typeof t?void 0===(e=this.$options.customIcons[t.name])?t.icon[this.$options.iconlibrary]:e:t},setFullscreen:function(t){var e=this.$editor,n=this.$textarea;!0===t?(e.addClass("md-fullscreen-mode"),$("body").addClass("md-nooverflow"),this.$options.onFullscreen(this)):(e.removeClass("md-fullscreen-mode"),$("body").removeClass("md-nooverflow"),this.$options.onFullscreenExit(this),!0===this.$isPreview&&this.hidePreview().showPreview()),this.$isFullscreen=t,n.focus()},showEditor:function(){var t,i,r,e,n,o=this,s=this.$ns,a=this.$element,l=(a.css("height"),a.css("width"),this.$editable),d=this.$handler,u=this.$callback,h=this.$options,c=$("<div/>",{class:"md-editor",click:function(){o.focus()}});return null===this.$editor?(t=$("<div/>",{class:"md-header btn-toolbar"}),i=[],0<h.buttons.length&&(i=i.concat(h.buttons[0])),0<h.additionalButtons.length&&$.each(h.additionalButtons[0],function(t,n){var e=$.grep(i,function(t,e){return t.name===n.name});0<e.length?e[0].data=e[0].data.concat(n.data):i.push(h.additionalButtons[0][t])}),0<(i=0<h.reorderButtonGroups.length?i.filter(function(t){return-1<h.reorderButtonGroups.indexOf(t.name)}).sort(function(t,e){return h.reorderButtonGroups.indexOf(t.name)<h.reorderButtonGroups.indexOf(e.name)?-1:h.reorderButtonGroups.indexOf(t.name)>h.reorderButtonGroups.indexOf(e.name)?1:0}):i).length&&(t=this.__buildButtons([i],t)),h.fullscreen.enable&&t.append('<div class="md-controls"><a class="md-control md-control-fullscreen" href="#"><span class="'+this.__getIcon(h.fullscreen.icons.fullscreenOn)+'"></span></a></div>').on("click",".md-control-fullscreen",function(t){t.preventDefault(),o.setFullscreen(!0)}),c.append(t),a.is("textarea")?(a.before(c),(r=a).addClass("md-input"),c.append(r)):(e="function"==typeof toMarkdown?toMarkdown(a.html()):a.html(),e=$.trim(e),r=$("<textarea/>",{class:"md-input",val:e}),c.append(r),l.el=a,l.type=a.prop("tagName").toLowerCase(),l.content=a.html(),$(a[0].attributes).each(function(){l.attrKeys.push(this.nodeName),l.attrValues.push(this.nodeValue)}),a.replaceWith(c)),e=$("<div/>",{class:"md-footer"}),a=!1,n="",h.savable&&(a=!0,d.push("cmdSave"),u.push(h.onSave),e.append('<button class="btn btn-success" data-provider="'+s+'" data-handler="cmdSave"><i class="icon icon-white icon-ok"></i> '+this.__localize("Save")+"</button>")),n="function"==typeof h.footer?h.footer(this):h.footer,""!==$.trim(n)&&(a=!0,e.append(n)),a&&c.append(e),h.width&&"inherit"!==h.width&&(jQuery.isNumeric(h.width)?(c.css("display","table"),r.css("width",h.width+"px")):c.addClass(h.width)),h.height&&"inherit"!==h.height&&(jQuery.isNumeric(h.height)?(d=h.height,t&&(d=Math.max(0,d-t.outerHeight())),e&&(d=Math.max(0,d-e.outerHeight())),r.css("height",d+"px")):c.addClass(h.height)),this.$editor=c,this.$textarea=r,this.$editable=l,this.$oldContent=this.getContent(),this.__setListener(),this.__setEventListeners(),this.$editor.attr("id",(new Date).getTime()),this.$editor.on("click",'[data-provider="bootstrap-markdown"]',$.proxy(this.__handle,this)),(this.$element.is(":disabled")||this.$element.is("[readonly]"))&&(this.$editor.addClass("md-editor-disabled"),this.disableButtons("all")),this.eventSupported("keydown")&&"object"==typeof jQuery.hotkeys&&t.find('[data-provider="bootstrap-markdown"]').each(function(){var t=$(this),e=t.attr("data-hotkey");""!==e.toLowerCase()&&r.bind("keydown",e,function(){return t.trigger("click"),!1})}),"preview"===h.initialstate?this.showPreview():"fullscreen"===h.initialstate&&h.fullscreen.enable&&this.setFullscreen(!0)):this.$editor.show(),h.autofocus&&(this.$textarea.focus(),this.$editor.addClass("active")),h.fullscreen.enable&&!1!==h.fullscreen&&(this.$editor.append('<div class="md-fullscreen-controls"><a href="#" class="exit-fullscreen" title="Exit fullscreen"><span class="'+this.__getIcon(h.fullscreen.icons.fullscreenOff)+'"></span></a></div>'),this.$editor.on("click",".exit-fullscreen",function(t){t.preventDefault(),o.setFullscreen(!1)})),this.hideButtons(h.hiddenButtons),this.disableButtons(h.disabledButtons),h.dropZoneOptions&&(this.$editor.dropzone?(h.dropZoneOptions.init||(h.dropZoneOptions.init=function(){var i=0;this.on("drop",function(t){i=r.prop("selectionStart")}),this.on("success",function(t,e){var n=r.val();r.val(n.substring(0,i)+"\n![description]("+e+")\n"+n.substring(i))}),this.on("error",function(t,e,n){console.log("Error:",e)})}),this.$editor.addClass("dropzone"),this.$editor.dropzone(h.dropZoneOptions)):console.log("dropZoneOptions was configured, but DropZone was not detected.")),!0===h.enableDropDataUri&&this.$editor.on("drop",function(t){var s=r.prop("selectionStart");t.stopPropagation(),t.preventDefault(),$.each(t.originalEvent.dataTransfer.files,function(t,e){var n,i,o=new FileReader;o.onload=(i=(n=e).type.split("/")[0],function(t){var e=r.val();"image"===i?r.val(e.substring(0,s)+'\n<img src="'+t.target.result+'" />\n'+e.substring(s)):r.val(e.substring(0,s)+'\n<a href="'+t.target.result+'">Download '+n.name+"</a>\n"+e.substring(s))}),o.readAsDataURL(e)})}),h.onShow(this),this},parseContent:function(t){return t=t||this.$textarea.val(),this.$options.parser?this.$options.parser(t):"object"==typeof markdown?markdown.toHTML(t):"function"==typeof marked?marked(t):t},showPreview:function(){var t=this.$options,e=this.$textarea,n=e.next(),i=$("<div/>",{class:"md-preview","data-provider":"markdown-preview"});return!0!==this.$isPreview&&(this.$isPreview=!0,this.disableButtons("all").enableButtons("cmdPreview"),t="string"==typeof(t=t.onPreview(this,i))?t:this.parseContent(),i.html(t),n&&"md-footer"==n.attr("class")?i.insertBefore(n):e.parent().append(i),i.css({width:e.outerWidth()+"px","min-height":e.outerHeight()+"px",height:"auto"}),this.$options.resize&&i.css("resize",this.$options.resize),e.hide(),i.data("markdown",this),this.$element.is(":disabled")||this.$element.is("[readonly]"))&&(this.$editor.addClass("md-editor-disabled"),this.disableButtons("all")),this},hidePreview:function(){return this.$isPreview=!1,this.$editor.find('div[data-provider="markdown-preview"]').remove(),this.enableButtons("all"),this.disableButtons(this.$options.disabledButtons),this.$options.onPreviewEnd(this),this.$textarea.show(),this.__setListener(),this},isDirty:function(){return this.$oldContent!=this.getContent()},getContent:function(){return this.$textarea.val()},setContent:function(t){return this.$textarea.val(t),this},findSelection:function(t){var e,n;return 0<=(n=this.getContent().indexOf(t))&&0<t.length?(e=this.getSelection(),this.setSelection(n,n+t.length),n=this.getSelection(),this.setSelection(e.start,e.end),n):null},getSelection:function(){var e=this.$textarea[0];return("selectionStart"in e?function(){var t=e.selectionEnd-e.selectionStart;return{start:e.selectionStart,end:e.selectionEnd,length:t,text:e.value.substr(e.selectionStart,t)}}:function(){return null})()},setSelection:function(t,e){var n=this.$textarea[0];return("selectionStart"in n?function(){n.selectionStart=t,n.selectionEnd=e}:function(){return null})()},replaceSelection:function(t){var e=this.$textarea[0];return("selectionStart"in e?function(){return e.value=e.value.substr(0,e.selectionStart)+t+e.value.substr(e.selectionEnd,e.value.length),e.selectionStart=e.value.length,this}:function(){return e.value+=t,jQuery(e)})()},getNextTab:function(){var t,e;return 0===this.$nextTab.length?null:("function"==typeof(e=this.$nextTab.shift())?t=e():"object"==typeof e&&0<e.length&&(t=e),t)},setNextTab:function(t,e){var n,i;"string"==typeof t?(n=this).$nextTab.push(function(){return n.findSelection(t)}):"number"==typeof t&&"number"==typeof e&&(i=this.getSelection(),this.setSelection(t,e),this.$nextTab.push(this.getSelection()),this.setSelection(i.start,i.end))},__parseButtonNameParam:function(t){return"string"==typeof t?t.split(" "):t},enableButtons:function(t){var n=this.__parseButtonNameParam(t),i=this;return $.each(n,function(t,e){i.__alterButtons(n[t],function(t){t.removeAttr("disabled")})}),this},disableButtons:function(t){var n=this.__parseButtonNameParam(t),i=this;return $.each(n,function(t,e){i.__alterButtons(n[t],function(t){t.attr("disabled","disabled")})}),this},hideButtons:function(t){var n=this.__parseButtonNameParam(t),i=this;return $.each(n,function(t,e){i.__alterButtons(n[t],function(t){t.addClass("hidden")})}),this},showButtons:function(t){var n=this.__parseButtonNameParam(t),i=this;return $.each(n,function(t,e){i.__alterButtons(n[t],function(t){t.removeClass("hidden")})}),this},eventSupported:function(t){var e=t in this.$element;return e||(this.$element.setAttribute(t,"return;"),e="function"==typeof this.$element[t]),e},keyup:function(t){var e,n,i=!1;switch(t.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:i=null!==(e=this.getNextTab())?(n=this,setTimeout(function(){n.setSelection(e.start,e.end)},500),!0):((r=this.getSelection()).start!=r.end||r.end!=this.getContent().length)&&(this.setSelection(this.getContent().length,this.getContent().length),!0);break;case 13:i=!1;for(var o,s=this.getContent().split(""),r=this.getSelection().start,a=-1,l=r-2;0<=l;l--)if("\n"===s[l]){a=l;break}"---"!=s.slice(a+1,a+4).join("")&&("-"===(o=s[a+1])?this.addBullet(r):$.isNumeric(o)&&(o=this.getBulletNumber(a+1))&&this.addNumberedBullet(r,o));break;case 27:this.$isFullscreen&&this.setFullscreen(!1),i=!1;break;default:i=!1}i&&(t.stopPropagation(),t.preventDefault()),this.$options.onChange(this)},insertContent:function(t,e){var n=this.getContent().slice(0,t),t=this.getContent().slice(t+1);this.setContent(n.concat(e).concat(t))},addBullet:function(t){this.insertContent(t,"- \n"),this.setSelection(t+2,t+2)},addNumberedBullet:function(t,e){this.insertContent(t,e+1+". \n");e=e.toString().length+2;this.setSelection(t+e,t+e)},getBulletNumber:function(t){t=this.getContent().slice(t).split(".")[0];return $.isNumeric(t)?parseInt(t):null},change:function(t){return this.$options.onChange(this),this},select:function(t){return this.$options.onSelect(this),this},focus:function(t){var e=this.$options,n=(e.hideable,this.$editor);return n.addClass("active"),$(document).find(".md-editor").each(function(){var t;$(this).attr("id")!==n.attr("id")&&(t=null===(t=$(this).find("textarea").data("markdown"))?$(this).find('div[data-provider="markdown-preview"]').data("markdown"):t)&&t.blur()}),e.onFocus(this),this},blur:function(t){var n,e=this.$options,i=e.hideable,o=this.$editor,s=this.$editable;return!o.hasClass("active")&&0!==this.$element.parent().length||(o.removeClass("active"),i&&(null!==s.el?(n=$("<"+s.type+"/>"),i=this.getContent(),i=this.parseContent(i),$(s.attrKeys).each(function(t,e){n.attr(s.attrKeys[t],s.attrValues[t])}),n.html(i),o.replaceWith(n)):o.hide()),e.onBlur(this)),this}};var t=$.fn.markdown;$.fn.markdown=function(e){return this.each(function(){var t=$(this);t.data("markdown")||t.data("markdown",new n(this,"object"==typeof e&&e))})},$.fn.markdown.messages={},$.fn.markdown.defaults={autofocus:!1,hideable:!1,savable:!1,width:"inherit",height:"inherit",resize:"none",iconlibrary:"glyph",language:"en",initialstate:"editor",parser:null,dropZoneOptions:null,enableDropDataUri:!1,buttons:[[{name:"groupFont",data:[{name:"cmdBold",hotkey:"Ctrl+B",title:"Bold",icon:{glyph:"glyphicon glyphicon-bold",fa:"fa fa-bold","fa-3":"icon-bold","fa-5":"fas fa-bold",octicons:"octicon octicon-bold"},callback:function(t){var e=t.getSelection(),n=t.getContent(),i=0===e.length?t.__localize("strong text"):e.text,n="**"===n.substr(e.start-2,2)&&"**"===n.substr(e.end,2)?(t.setSelection(e.start-2,e.end+2),t.replaceSelection(i),e.start-2):(t.replaceSelection("**"+i+"**"),e.start+2);t.setSelection(n,n+i.length)}},{name:"cmdItalic",title:"Italic",hotkey:"Ctrl+I",icon:{glyph:"glyphicon glyphicon-italic",fa:"fa fa-italic","fa-3":"icon-italic","fa-5":"fas fa-italic",octicons:"octicon octicon-italic"},callback:function(t){var e=t.getSelection(),n=t.getContent(),i=0===e.length?t.__localize("emphasized text"):e.text,n="_"===n.substr(e.start-1,1)&&"_"===n.substr(e.end,1)?(t.setSelection(e.start-1,e.end+1),t.replaceSelection(i),e.start-1):(t.replaceSelection("_"+i+"_"),e.start+1);t.setSelection(n,n+i.length)}},{name:"cmdHeading",title:"Heading",hotkey:"Ctrl+H",icon:{glyph:"glyphicon glyphicon-header",fa:"fa fa-header","fa-3":"icon-font","fa-5":"fas fa-heading",octicons:"octicon octicon-text-size"},callback:function(t){var e,n=t.getSelection(),i=t.getContent(),o=0===n.length?t.__localize("heading text"):n.text+"\n",i="### "===i.substr(n.start-(e=4),e)||"###"===i.substr(n.start-(e=3),e)?(t.setSelection(n.start-e,n.end),t.replaceSelection(o),n.start-e):0<n.start&&(e=i.substr(n.start-1,1))&&"\n"!=e?(t.replaceSelection("\n\n### "+o),n.start+6):(t.replaceSelection("### "+o),n.start+4);t.setSelection(i,i+o.length)}}]},{name:"groupLink",data:[{name:"cmdUrl",title:"URL/Link",hotkey:"Ctrl+L",icon:{glyph:"glyphicon glyphicon-link",fa:"fa fa-link","fa-3":"icon-link","fa-5":"fas fa-link",octicons:"octicon octicon-link"},callback:function(t){var e=t.getSelection(),n=(t.getContent(),0===e.length?t.__localize("enter link description here"):e.text),i=prompt(t.__localize("Insert Hyperlink"),"http://"),o=new RegExp("^((http|https)://|(mailto:)|(//))[a-z0-9]","i");null!==i&&""!==i&&"http://"!==i&&o.test(i)&&(t.replaceSelection("["+n+"]("+i+")"),o=e.start+1,t.setSelection(o,o+n.length))}},{name:"cmdImage",title:"Image",hotkey:"Ctrl+G",icon:{glyph:"glyphicon glyphicon-picture",fa:"fa fa-picture-o","fa-3":"icon-picture","fa-5":"far fa-image",octicons:"octicon octicon-file-media"},callback:function(t){var e=t.getSelection(),n=(t.getContent(),0===e.length?t.__localize("enter image description here"):e.text),i=prompt(t.__localize("Insert Image Hyperlink"),"http://"),o=new RegExp("^((http|https)://|(//))[a-z0-9]","i");null!==i&&""!==i&&"http://"!==i&&o.test(i)&&(o=$("<div>"+i+"</div>").text(),t.replaceSelection("!["+n+"]("+o+' "'+t.__localize("enter image title here")+'")'),i=e.start+2,t.setNextTab(t.__localize("enter image title here")),t.setSelection(i,i+n.length))}}]},{name:"groupMisc",data:[{name:"cmdList",hotkey:"Ctrl+U",title:"Unordered List",icon:{glyph:"glyphicon glyphicon-list",fa:"fa fa-list","fa-3":"icon-list-ul","fa-5":"fas fa-list-ul",octicons:"octicon octicon-list-unordered"},callback:function(t){var n,e,i=t.getSelection();t.getContent();i=0===i.length?(e=t.__localize("list text here"),t.replaceSelection("- "+e),i.start+2):i.text.indexOf("\n")<0?(e=i.text,t.replaceSelection("- "+e),i.start+2):(n=[],e=(n=i.text.split("\n"))[0],$.each(n,function(t,e){n[t]="- "+e}),t.replaceSelection("\n\n"+n.join("\n")),i.start+4),t.setSelection(i,i+e.length)}},{name:"cmdListO",hotkey:"Ctrl+O",title:"Ordered List",icon:{glyph:"glyphicon glyphicon-th-list",fa:"fa fa-list-ol","fa-3":"icon-list-ol","fa-5":"fas fa-list-ol",octicons:"octicon octicon-list-ordered"},callback:function(t){var n,i,e,o=t.getSelection();t.getContent();o=0===o.length?(e=t.__localize("list text here"),t.replaceSelection("1. "+e),o.start+3):o.text.indexOf("\n")<0?(e=o.text,t.replaceSelection("1. "+e),o.start+3):(n=1,i=[],e=(i=o.text.split("\n"))[0],$.each(i,function(t,e){i[t]=n+". "+e,n++}),t.replaceSelection("\n\n"+i.join("\n")),o.start+5),t.setSelection(o,o+e.length)}},{name:"cmdCode",hotkey:"Ctrl+K",title:"Code",icon:{glyph:"glyphicon glyphicon-console",fa:"fa fa-code","fa-3":"icon-code","fa-5":"fas fa-code",octicons:"octicon octicon-code"},callback:function(t){var e=t.getSelection(),n=t.getContent(),i=0===e.length?t.__localize("code text here"):e.text,n="```\n"===n.substr(e.start-4,4)&&"\n```"===n.substr(e.end,4)?(t.setSelection(e.start-4,e.end+4),t.replaceSelection(i),e.start-4):"`"===n.substr(e.start-1,1)&&"`"===n.substr(e.end,1)?(t.setSelection(e.start-1,e.end+1),t.replaceSelection(i),e.start-1):-1<n.indexOf("\n")?(t.replaceSelection("```\n"+i+"\n```"),e.start+4):(t.replaceSelection("`"+i+"`"),e.start+1);t.setSelection(n,n+i.length)}},{name:"cmdQuote",hotkey:"Ctrl+Q",title:"Quote",icon:{glyph:"glyphicon glyphicon-comment",fa:"fa fa-quote-left","fa-3":"icon-quote-left","fa-5":"fas fa-quote-left",octicons:"octicon octicon-quote"},callback:function(t){var n,e,i=t.getSelection();t.getContent();i=0===i.length?(e=t.__localize("quote here"),t.replaceSelection("> "+e),i.start+2):i.text.indexOf("\n")<0?(e=i.text,t.replaceSelection("> "+e),i.start+2):(n=[],e=(n=i.text.split("\n"))[0],$.each(n,function(t,e){n[t]="> "+e}),t.replaceSelection("\n\n"+n.join("\n")),i.start+4),t.setSelection(i,i+e.length)}}]},{name:"groupUtil",data:[{name:"cmdPreview",toggle:!0,hotkey:"Ctrl+P",title:"Preview",btnText:"Preview",btnClass:"btn btn-primary btn-sm",icon:{glyph:"glyphicon glyphicon-search",fa:"fa fa-search","fa-3":"icon-search","fa-5":"fas fa-search",octicons:"octicon octicon-search"},callback:function(t){!1===t.$isPreview?t.showPreview():t.hidePreview()}}]}]],customIcons:{},additionalButtons:[],reorderButtonGroups:[],hiddenButtons:[],disabledButtons:[],footer:"",fullscreen:{enable:!0,icons:{fullscreenOn:{name:"fullscreenOn",icon:{fa:"fa fa-expand",glyph:"glyphicon glyphicon-fullscreen","fa-3":"icon-resize-full","fa-5":"fas fa-expand-arrows-alt",octicons:"octicon octicon-link-external"}},fullscreenOff:{name:"fullscreenOff",icon:{fa:"fa fa-compress",glyph:"glyphicon glyphicon-fullscreen","fa-3":"icon-resize-small","fa-5":"fas fa-compress",octicons:"octicon octicon-browser"}}}},onShow:function(t){},onPreview:function(t){},onPreviewEnd:function(t){},onSave:function(t){},onBlur:function(t){},onFocus:function(t){},onChange:function(t){},onFullscreen:function(t){},onFullscreenExit:function(t){},onSelect:function(t){}},$.fn.markdown.Constructor=n,$.fn.markdown.noConflict=function(){return $.fn.markdown=t,this};$(document).on("click.markdown.data-api",'[data-provide="markdown-editable"]',function(t){e($(this)),t.preventDefault()}).on("click focusin",function(t){var n;n=$(document.activeElement),$(document).find(".md-editor").each(function(){var t=$(this),e=n.closest(".md-editor")[0]===this,t=t.find("textarea").data("markdown")||t.find('div[data-provider="markdown-preview"]').data("markdown");t&&!e&&t.blur()})}).ready(function(){$('textarea[data-provide="markdown"]').each(function(){e($(this))})})}),jQuery.fn.markdown.messages.nl={Bold:"غامق",Italic:"مائل",Heading:"عنوان","URL/Link":"URL/رابط",Image:"صورة",List:"قائمة",Preview:"استعراض","strong text":"نص غامق","emphasized text":"نص هام","heading text":"العنوان","enter link description here":"ادخل وصف الرابط هنا","Insert Hyperlink":"ادخل الرابط هنا","enter image description here":"ادخل وصف الصورة هنا","Insert Image Hyperlink":"ادخل رابط الصورة هنا","enter image title here":"ادخل عنوان الصورة هنا","list text here":"اكتب النص هنا"},jQuery.fn.markdown.messages.cs={Bold:"Tučně",Italic:"Kurzíva",Heading:"Nadpis","URL/Link":"URL/Odkaz",Image:"Obrázek","Unordered List":"Seznam","Ordered List":"Seřazený seznam",Code:"Úsek kódu",Quote:"Citace",Preview:"Náhled","strong text":"tučný text","emphasized text":"zdůrazněný text","heading text":"text nadpisu","enter link description here":"sem vlož popis odkazu","Insert Hyperlink":"Vložit Hyperlink","enter image description here":"sem vlož popis obrázku","Insert Image Hyperlink":"Vlož adresu obrázku","enter image title here":"sem vlož popis obrázku","list text here":"položka seznamu"},jQuery.fn.markdown.messages.da={Bold:"Fed",Italic:"Kursiv",Heading:"Overskrift","URL/Link":"URL/Link",Image:"Billede",List:"Liste",Preview:"Forhåndsvisning","strong text":"stærk tekst","emphasized text":"fremhævet tekst","heading text":"overskrift tekst","enter link description here":"Skriv link beskrivelse her","Insert Hyperlink":"Indsæt link","enter image description here":"Indsæt billede beskrivelse her","Insert Image Hyperlink":"Indsæt billede link","enter image title here":"Indsæt billede titel","list text here":"Indsæt liste tekst her","quote here":"Indsæt citat her","code text here":"Indsæt kode her"},jQuery.fn.markdown.messages.de={Bold:"Fett",Italic:"Kursiv",Heading:"Überschrift","URL/Link":"Link hinzufügen",Image:"Bild hinzufügen","Unordered List":"Unnummerierte Liste","Ordered List":"Nummerierte Liste",Code:"Quelltext","code text here":"Quelltext hier einfügen",Quote:"Zitat","quote here":"Zitat hier einfügen",Preview:"Vorschau",Save:"Speichern","strong text":"Sehr betonter Text","emphasized text":"Betonter Text","heading text":"Überschrift Text","enter link description here":"Linkbeschreibung","Insert Hyperlink":"URL","enter image description here":"Bildbeschreibung","Insert Image Hyperlink":"Bild-URL","enter image title here":"Titel des Bildes","list text here":"Aufzählungs-Text"},jQuery.fn.markdown.messages.es={Bold:"Negrita",Italic:"Itálica",Heading:"Título","URL/Link":"Inserte un link",Image:"Inserte una imagen",List:"Lista de items","Unordered List":"Lista desordenada","Ordered List":"Lista ordenada",Code:"Código",Quote:"Cita",Preview:"Previsualizar","strong text":"Texto importante","emphasized text":"Texto con énfasis","heading text":"Texto de título","enter link description here":"Descripción del link","Insert Hyperlink":"Inserte un hipervínculo","enter image description here":"Descripción de la imagen","Insert Image Hyperlink":"Inserte una imagen con un hipervínculo","enter image title here":"Inserte una imagen con título","list text here":"Texto de lista aquí","code text here":"Código aquí","quote here":"Cita aquí",Save:"Guardar"},jQuery.fn.markdown.messages.fa={Bold:"توپر",Italic:"مورب",Heading:"عنوان","URL/Link":"پیوند",Image:"تصویر",List:"فهرست",Preview:"پیش نمایش","strong text":"متن ضخیم","emphasized text":"نوشته تاکیدی","heading text":"عنوان","enter link description here":"توضیحات پیوند را بنویسید.","Insert Hyperlink":"پیوند را درج نمایید:","enter image description here":"توضیحی برای تصوی بنویسید.","Insert Image Hyperlink":"آدرس تصویر را بنویسید.","enter image title here":"عنوان تصویر را اینجا بنویسید","list text here":"محل متن فهرست"},jQuery.fn.markdown.messages.fr={Bold:"Gras",Italic:"Italique",Heading:"Titre","URL/Link":"Insérer un lien HTTP",Image:"Insérer une image",List:"Liste à puces",Preview:"Prévisualiser","strong text":"texte important","emphasized text":"texte en italique","heading text":"texte d'entête","enter link description here":"entrez la description du lien ici","Insert Hyperlink":"Insérez le lien hypertexte","enter image description here":"entrez la description de l'image ici","Insert Image Hyperlink":"Insérez le lien hypertexte de l'image","enter image title here":"entrez le titre de l'image ici","list text here":"texte à puce ici",Save:"Sauvegarder","Ordered List":"Liste ordonnée","Unordered List":"Liste désordonnée",Quote:"Citation","quote here":"Votre citation",Code:"Code","code text here":"écrire du code ici"},jQuery.fn.markdown.messages.ja={Bold:"太字",Italic:"斜体",Heading:"見出し","URL/Link":"リンク",Image:"画像","Unordered List":"リスト","Ordered List":"数字リスト",Code:"コード",Quote:"引用",Preview:"プレビュー","strong text":"太字","emphasized text":"強調","heading text":"見出し","enter link description here":"リンク説明","Insert Hyperlink":"リンク挿入","enter image description here":"画像説明","Insert Image Hyperlink":"画像挿入","enter image title here":"画像タイトル","list text here":"リスト挿入","code text here":"コード","quote here":"引用挿入"},jQuery.fn.markdown.messages.kr={Bold:"진하게",Italic:"이탤릭체",Heading:"머리글","URL/Link":"링크주소",Image:"이미지",List:"리스트",Preview:"미리보기","strong text":"강한 강조 텍스트","emphasized text":"강조 텍스트","heading text":"머리글 텍스트","enter link description here":"여기에 링크의 설명을 적으세요","Insert Hyperlink":"하이퍼링크 삽입","enter image description here":"여기세 이미지 설명을 적으세요","Insert Image Hyperlink":"이미지 링크 삽입","enter image title here":"여기에 이미지 제목을 적으세요","list text here":"리스트 텍스트"},jQuery.fn.markdown.messages.nb={Bold:"Fet",Italic:"Kursiv",Heading:"Overskrift","URL/Link":"URL/Lenke",Image:"Bilde",List:"Liste",Preview:"Forhåndsvisning","strong text":"sterk tekst","emphasized text":"streket tekst","heading text":"overskriften tekst","enter link description here":"Skriv linken beskrivelse her","Insert Hyperlink":"Sett inn lenke","enter image description here":"Angi bildebeskrivelse her","Insert Image Hyperlink":"Sett inn lenke for bilde","enter image title here":"Angi bildetittel her","list text here":"liste tekst her"},jQuery.fn.markdown.messages.nl={Bold:"Vet",Italic:"Cursief",Heading:"Titel","URL/Link":"URL/Link",Image:"Afbeelding",List:"Lijst",Preview:"Voorbeeld","strong text":"vet gedrukte tekst","emphasized text":"schuin gedrukte tekst","heading text":"Titel","enter link description here":"Voer een link beschrijving in","Insert Hyperlink":"Voer een http link in","enter image description here":"Voer een afbeelding beschrijving in","Insert Image Hyperlink":"Voer een afbeelding link in","enter image title here":"Voer de afbeelding titel in","list text here":"lijst item"},jQuery.fn.markdown.messages.pl={Bold:"Pogrubienie",Italic:"Kursywa",Heading:"Nagłówek","URL/Link":"Wstaw link",Image:"Wstaw obrazek","Unordered List":"Lista punktowana","Ordered List":"Lista numerowana",Code:"Kod źródłowy",Quote:"Cytat",Preview:"Podgląd","strong text":"pogrubiony tekst","emphasized text":"pochylony tekst","heading text":"nagłówek","enter link description here":"opis linka","Insert Hyperlink":"Wstaw link","enter image description here":"opis obrazka","Insert Image Hyperlink":"Wstaw obrazek","enter image title here":"tytuł obrazka","list text here":"lista"},jQuery.fn.markdown.messages.sl={Bold:"Odebeljeno",Italic:"Poševno",Heading:"Naslov","URL/Link":"Povezava",Image:"Slika","Unordered List":"Neurejen seznam","Ordered List":"Urejen seznam",Code:"Koda",Quote:"Citat",Preview:"Predogled","strong text":"odebeljeno besedilo","emphasized text":"poševno besedilo","heading text":"naslov","enter link description here":"opis povezave","Insert Hyperlink":"Vstavi povezavo","enter image description here":"opis slike","Insert Image Hyperlink":"Vstavi povezavo do slike","enter image title here":"naslov slike","list text here":"seznam"},jQuery.fn.markdown.messages.sv={Bold:"Fet",Italic:"Kursiv",Heading:"Rubrik","URL/Link":"URL/Länk",Image:"Bild",List:"Lista",Preview:"Förhandsgranska","strong text":"fet text","emphasized text":"överstruken text","heading text":"Rubrik","enter link description here":"Ange länk beskrivning här","Insert Hyperlink":"Sätt in länk","enter image description here":"Ange bild beskrivning här","Insert Image Hyperlink":"Sätt in länk för bild","enter image title here":"Ange bild rubrik här","list text here":"list text"},jQuery.fn.markdown.messages.tr={Bold:"Kalın",Italic:"İtalik",Heading:"Başlık","URL/Link":"Link ekle",Image:"Resim ekle",List:"Liste Oluşturun",Preview:"Önizleme","strong text":"kalın yazı","emphasized text":"italik yazı","heading text":"Başlık Yazısı","enter link description here":"Link açıklamasını buraya girin","Insert Hyperlink":"İnternet adresi girin","enter image description here":"resim açıklamasını buraya ekleyin","Insert Image Hyperlink":"Resim linkini ekleyin","enter image title here":"resim başlığını buraya ekleyin","list text here":"liste yazısı",Save:"Kaydet","Ordered List":"Numaralı Liste","Unordered List":"Madde imli liste",Quote:"Alıntı","quote here":"alıntıyı buraya ekleyin",Code:"Kod","code text here":"kodu buraya ekleyin"},jQuery.fn.markdown.messages.zh={Bold:"粗体",Italic:"斜体",Heading:"标题","URL/Link":"链接",Image:"图片",List:"列表","Unordered List":"无序列表","Ordered List":"有序列表",Code:"代码",Quote:"引用",Preview:"预览","strong text":"粗体","emphasized text":"强调","heading text":"标题","enter link description here":"输入链接说明","Insert Hyperlink":"URL地址","enter image description here":"输入图片说明","Insert Image Hyperlink":"图片URL地址","enter image title here":"在这里输入图片标题","list text here":"这里是列表文本","code text here":"这里输入代码","quote here":"这里输入引用文本"},function(l,n,i,a){function d(t,e){this.settings=null,this.options=l.extend({},d.Defaults,e),this.$element=l(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},l.each(["onResize","onThrottledResize"],l.proxy(function(t,e){this._handlers[e]=l.proxy(this[e],this)},this)),l.each(d.Plugins,l.proxy(function(t,e){this._plugins[t.charAt(0).toLowerCase()+t.slice(1)]=new e(this)},this)),l.each(d.Workers,l.proxy(function(t,e){this._pipe.push({filter:e.filter,run:l.proxy(e.run,this)})},this)),this.setup(),this.initialize()}d.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:n,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},d.Width={Default:"default",Inner:"inner",Outer:"outer"},d.Type={Event:"event",State:"state"},d.Plugins={},d.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(t){t.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(t){var e=this.settings.margin||"",n=!this.settings.autoWidth,i=this.settings.rtl,i={width:"auto","margin-left":i?e:"","margin-right":i?"":e};n||this.$stage.children().css(i),t.css=i}},{filter:["width","items","settings"],run:function(t){var e,n=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=this._items.length,o=!this.settings.autoWidth,s=[];for(t.items={merge:!1,width:n};i--;)e=this._mergers[i],e=this.settings.mergeFit&&Math.min(e,this.settings.items)||e,t.items.merge=1<e||t.items.merge,s[i]=o?n*e:this._items[i].width();this._widths=s}},{filter:["items","settings"],run:function(){var t=[],e=this._items,n=this.settings,i=Math.max(2*n.items,4),o=2*Math.ceil(e.length/2),s=n.loop&&e.length?n.rewind?i:Math.max(i,o):0,r="",a="";for(s/=2;0<s;)t.push(this.normalize(t.length/2,!0)),r+=e[t[t.length-1]][0].outerHTML,t.push(this.normalize(e.length-1-(t.length-1)/2,!0)),a=e[t[t.length-1]][0].outerHTML+a,--s;this._clones=t,l(r).addClass("cloned").appendTo(this.$stage),l(a).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var t,e,n=this.settings.rtl?1:-1,i=this._clones.length+this._items.length,o=-1,s=[];++o<i;)t=s[o-1]||0,e=this._widths[this.relative(o)]+this.settings.margin,s.push(t+e*n);this._coordinates=s}},{filter:["width","items","settings"],run:function(){var t=this.settings.stagePadding,e=this._coordinates,e={width:Math.ceil(Math.abs(e[e.length-1]))+2*t,"padding-left":t||"","padding-right":t||""};this.$stage.css(e)}},{filter:["width","items","settings"],run:function(t){var e=this._coordinates.length,n=!this.settings.autoWidth,i=this.$stage.children();if(n&&t.items.merge)for(;e--;)t.css.width=this._widths[this.relative(e)],i.eq(e).css(t.css);else n&&(t.css.width=t.items.width,i.css(t.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(t){t.current=t.current?this.$stage.children().index(t.current):0,t.current=Math.max(this.minimum(),Math.min(this.maximum(),t.current)),this.reset(t.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){for(var t,e,n=this.settings.rtl?1:-1,i=2*this.settings.stagePadding,o=this.coordinates(this.current())+i,s=o+this.width()*n,r=[],a=0,l=this._coordinates.length;a<l;a++)t=this._coordinates[a-1]||0,e=Math.abs(this._coordinates[a])+i*n,(this.op(t,"<=",o)&&this.op(t,">",s)||this.op(e,"<",o)&&this.op(e,">",s))&&r.push(a);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+r.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],d.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=l("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(l("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},d.prototype.initializeItems=function(){var t=this.$element.find(".owl-item");t.length?(this._items=t.get().map(function(t){return l(t)}),this._mergers=this._items.map(function(){return 1}),this.refresh()):(this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass))},d.prototype.initialize=function(){var t,e;this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")&&(t=this.$element.find("img"),e=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:a,e=this.$element.children(e).width(),t.length)&&e<=0&&this.preloadAutoWidthImages(t),this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},d.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},d.prototype.setup=function(){var e=this.viewport(),t=this.options.responsive,n=-1,i=null;t?(l.each(t,function(t){t<=e&&n<t&&(n=Number(t))}),"function"==typeof(i=l.extend({},this.options,t[n])).stagePadding&&(i.stagePadding=i.stagePadding()),delete i.responsive,i.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):i=l.extend({},this.options),this.trigger("change",{property:{name:"settings",value:i}}),this._breakpoint=n,this.settings=i,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},d.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},d.prototype.prepare=function(t){var e=this.trigger("prepare",{content:t});return e.data||(e.data=l("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:e.data}),e.data},d.prototype.update=function(){for(var t=0,e=this._pipe.length,n=l.proxy(function(t){return this[t]},this._invalidated),i={};t<e;)(this._invalidated.all||0<l.grep(this._pipe[t].filter,n).length)&&this._pipe[t].run(i),t++;this._invalidated={},this.is("valid")||this.enter("valid")},d.prototype.width=function(t){switch(t=t||d.Width.Default){case d.Width.Inner:case d.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},d.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},d.prototype.onThrottledResize=function(){n.clearTimeout(this.resizeTimer),this.resizeTimer=n.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},d.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},d.prototype.registerEventHandlers=function(){l.support.transition&&this.$stage.on(l.support.transition.end+".owl.core",l.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(n,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",l.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",l.proxy(this.onDragEnd,this)))},d.prototype.onDragStart=function(t){var e=null;3!==t.which&&(e=l.support.transform?{x:(e=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===e.length?12:4],y:e[16===e.length?13:5]}:(e=this.$stage.position(),{x:this.settings.rtl?e.left+this.$stage.width()-this.width()+this.settings.margin:e.left,y:e.top}),this.is("animating")&&(l.support.transform?this.animate(e.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=l(t.target),this._drag.stage.start=e,this._drag.stage.current=e,this._drag.pointer=this.pointer(t),l(i).on("mouseup.owl.core touchend.owl.core",l.proxy(this.onDragEnd,this)),l(i).one("mousemove.owl.core touchmove.owl.core",l.proxy(function(t){var e=this.difference(this._drag.pointer,this.pointer(t));l(i).on("mousemove.owl.core touchmove.owl.core",l.proxy(this.onDragMove,this)),Math.abs(e.x)<Math.abs(e.y)&&this.is("valid")||(t.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},d.prototype.onDragMove=function(t){var e=null,n=null,i=this.difference(this._drag.pointer,this.pointer(t)),o=this.difference(this._drag.stage.start,i);this.is("dragging")&&(t.preventDefault(),this.settings.loop?(e=this.coordinates(this.minimum()),n=this.coordinates(this.maximum()+1)-e,o.x=((o.x-e)%n+n)%n+e):(e=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),n=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),t=this.settings.pullDrag?-1*i.x/5:0,o.x=Math.max(Math.min(o.x,e+t),n+t)),this._drag.stage.current=o,this.animate(o.x))},d.prototype.onDragEnd=function(t){var t=this.difference(this._drag.pointer,this.pointer(t)),e=this._drag.stage.current,n=0<t.x^this.settings.rtl?"left":"right";l(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==t.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(e.x,0!==t.x?n:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=n,3<Math.abs(t.x)||300<(new Date).getTime()-this._drag.time)&&this._drag.target.one("click.owl.core",function(){return!1}),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},d.prototype.closest=function(n,i){var o=-1,s=this.width(),r=this.coordinates();return this.settings.freeDrag||l.each(r,l.proxy(function(t,e){return"left"===i&&e-30<n&&n<e+30?o=t:"right"===i&&e-s-30<n&&n<e-s+30?o=t+1:this.op(n,"<",e)&&this.op(n,">",r[t+1]!==a?r[t+1]:e-s)&&(o="left"===i?t+1:t),-1===o},this)),this.settings.loop||(this.op(n,">",r[this.minimum()])?o=n=this.minimum():this.op(n,"<",r[this.maximum()])&&(o=n=this.maximum())),o},d.prototype.animate=function(t){var e=0<this.speed();this.is("animating")&&this.onTransitionEnd(),e&&(this.enter("animating"),this.trigger("translate")),l.support.transform3d&&l.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):e?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,l.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},d.prototype.is=function(t){return this._states.current[t]&&0<this._states.current[t]},d.prototype.current=function(t){if(t!==a){if(0===this._items.length)return a;var e;t=this.normalize(t),this._current!==t&&((e=this.trigger("change",{property:{name:"position",value:t}})).data!==a&&(t=this.normalize(e.data)),this._current=t,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}}))}return this._current},d.prototype.invalidate=function(t){return"string"===l.type(t)&&(this._invalidated[t]=!0,this.is("valid"))&&this.leave("valid"),l.map(this._invalidated,function(t,e){return e})},d.prototype.reset=function(t){(t=this.normalize(t))!==a&&(this._speed=0,this._current=t,this.suppress(["translate","translated"]),this.animate(this.coordinates(t)),this.release(["translate","translated"]))},d.prototype.normalize=function(t,e){var n=this._items.length,e=e?0:this._clones.length;return!this.isNumeric(t)||n<1?t=a:(t<0||n+e<=t)&&(t=((t-e/2)%n+n)%n+e/2),t},d.prototype.relative=function(t){return t-=this._clones.length/2,this.normalize(t,!0)},d.prototype.maximum=function(t){var e,n,i,o=this.settings,s=this._coordinates.length;if(o.loop)s=this._clones.length/2+this._items.length-1;else if(o.autoWidth||o.merge){if(e=this._items.length)for(n=this._items[--e].width(),i=this.$element.width();e--&&!(i<(n+=this._items[e].width()+this.settings.margin)););s=e+1}else s=o.center?this._items.length-1:this._items.length-o.items;return t&&(s-=this._clones.length/2),Math.max(s,0)},d.prototype.minimum=function(t){return t?0:this._clones.length/2},d.prototype.items=function(t){return t===a?this._items.slice():(t=this.normalize(t,!0),this._items[t])},d.prototype.mergers=function(t){return t===a?this._mergers.slice():(t=this.normalize(t,!0),this._mergers[t])},d.prototype.clones=function(n){function i(t){return t%2==0?o+t/2:e-(t+1)/2}var e=this._clones.length/2,o=e+this._items.length;return n===a?l.map(this._clones,function(t,e){return i(e)}):l.map(this._clones,function(t,e){return t===n?i(e):null})},d.prototype.speed=function(t){return t!==a&&(this._speed=t),this._speed},d.prototype.coordinates=function(t){var e,n=1,i=t-1;return t===a?l.map(this._coordinates,l.proxy(function(t,e){return this.coordinates(e)},this)):(this.settings.center?(this.settings.rtl&&(n=-1,i=t+1),e=this._coordinates[t],e+=(this.width()-e+(this._coordinates[i]||0))/2*n):e=this._coordinates[i]||0,Math.ceil(e))},d.prototype.duration=function(t,e,n){return 0===n?0:Math.min(Math.max(Math.abs(e-t),1),6)*Math.abs(n||this.settings.smartSpeed)},d.prototype.to=function(t,e){var n=this.current(),i=t-this.relative(n),o=(0<i)-(i<0),s=this._items.length,r=this.minimum(),a=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(i)>s/2&&(i+=-1*o*s),(o=(((t=n+i)-r)%s+s)%s+r)!==t&&o-i<=a&&0<o-i&&this.reset(n=(t=o)-i)):t=this.settings.rewind?(t%(a+=1)+a)%a:Math.max(r,Math.min(a,t)),this.speed(this.duration(n,t,e)),this.current(t),this.isVisible()&&this.update()},d.prototype.next=function(t){t=t||!1,this.to(this.relative(this.current())+1,t)},d.prototype.prev=function(t){t=t||!1,this.to(this.relative(this.current())-1,t)},d.prototype.onTransitionEnd=function(t){if(t!==a&&(t.stopPropagation(),(t.target||t.srcElement||t.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},d.prototype.viewport=function(){var t;return this.options.responsiveBaseElement!==n?t=l(this.options.responsiveBaseElement).width():n.innerWidth?t=n.innerWidth:i.documentElement&&i.documentElement.clientWidth?t=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),t},d.prototype.replace=function(t){this.$stage.empty(),this._items=[],t=t&&(t instanceof jQuery?t:l(t)),(t=this.settings.nestedItemSelector?t.find("."+this.settings.nestedItemSelector):t).filter(function(){return 1===this.nodeType}).each(l.proxy(function(t,e){e=this.prepare(e),this.$stage.append(e),this._items.push(e),this._mergers.push(+e.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},d.prototype.add=function(t,e){var n=this.relative(this._current);e=e===a?this._items.length:this.normalize(e,!0),t=t instanceof jQuery?t:l(t),this.trigger("add",{content:t,position:e}),t=this.prepare(t),0===this._items.length||e===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[e-1].after(t),this._items.push(t),this._mergers.push(+t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[e].before(t),this._items.splice(e,0,t),this._mergers.splice(e,0,+t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[n]&&this.reset(this._items[n].index()),this.invalidate("items"),this.trigger("added",{content:t,position:e})},d.prototype.remove=function(t){(t=this.normalize(t,!0))!==a&&(this.trigger("remove",{content:this._items[t],position:t}),this._items[t].remove(),this._items.splice(t,1),this._mergers.splice(t,1),this.invalidate("items"),this.trigger("removed",{content:null,position:t}))},d.prototype.preloadAutoWidthImages=function(t){t.each(l.proxy(function(t,e){this.enter("pre-loading"),e=l(e),l(new Image).one("load",l.proxy(function(t){e.attr("src",t.target.src),e.css("opacity",1),this.leave("pre-loading"),this.is("pre-loading")||this.is("initializing")||this.refresh()},this)).attr("src",e.attr("src")||e.attr("data-src")||e.attr("data-src-retina"))},this))},d.prototype.destroy=function(){for(var t in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),l(i).off(".owl.core"),!1!==this.settings.responsive&&(n.clearTimeout(this.resizeTimer),this.off(n,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[t].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},d.prototype.op=function(t,e,n){var i=this.settings.rtl;switch(e){case"<":return i?n<t:t<n;case">":return i?t<n:n<t;case">=":return i?t<=n:n<=t;case"<=":return i?n<=t:t<=n}},d.prototype.on=function(t,e,n,i){t.addEventListener?t.addEventListener(e,n,i):t.attachEvent&&t.attachEvent("on"+e,n)},d.prototype.off=function(t,e,n,i){t.removeEventListener?t.removeEventListener(e,n,i):t.detachEvent&&t.detachEvent("on"+e,n)},d.prototype.trigger=function(t,e,n,i,o){var s={item:{count:this._items.length,index:this.current()}},r=l.camelCase(l.grep(["on",t,n],function(t){return t}).join("-").toLowerCase()),a=l.Event([t,"owl",n||"carousel"].join(".").toLowerCase(),l.extend({relatedTarget:this},s,e));return this._supress[t]||(l.each(this._plugins,function(t,e){e.onTrigger&&e.onTrigger(a)}),this.register({type:d.Type.Event,name:t}),this.$element.trigger(a),this.settings&&"function"==typeof this.settings[r]&&this.settings[r].call(this,a)),a},d.prototype.enter=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]===a&&(this._states.current[e]=0),this._states.current[e]++},this))},d.prototype.leave=function(t){l.each([t].concat(this._states.tags[t]||[]),l.proxy(function(t,e){this._states.current[e]--},this))},d.prototype.register=function(n){var e;n.type===d.Type.Event?(l.event.special[n.name]||(l.event.special[n.name]={}),l.event.special[n.name].owl||(e=l.event.special[n.name]._default,l.event.special[n.name]._default=function(t){return!e||!e.apply||t.namespace&&-1!==t.namespace.indexOf("owl")?t.namespace&&-1<t.namespace.indexOf("owl"):e.apply(this,arguments)},l.event.special[n.name].owl=!0)):n.type===d.Type.State&&(this._states.tags[n.name]?this._states.tags[n.name]=this._states.tags[n.name].concat(n.tags):this._states.tags[n.name]=n.tags,this._states.tags[n.name]=l.grep(this._states.tags[n.name],l.proxy(function(t,e){return l.inArray(t,this._states.tags[n.name])===e},this)))},d.prototype.suppress=function(t){l.each(t,l.proxy(function(t,e){this._supress[e]=!0},this))},d.prototype.release=function(t){l.each(t,l.proxy(function(t,e){delete this._supress[e]},this))},d.prototype.pointer=function(t){var e={x:null,y:null};return(t=(t=t.originalEvent||t||n.event).touches&&t.touches.length?t.touches[0]:t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t).pageX?(e.x=t.pageX,e.y=t.pageY):(e.x=t.clientX,e.y=t.clientY),e},d.prototype.isNumeric=function(t){return!isNaN(parseFloat(t))},d.prototype.difference=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},l.fn.owlCarousel=function(e){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var t=l(this),n=t.data("owl.carousel");n||(n=new d(this,"object"==typeof e&&e),t.data("owl.carousel",n),l.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,e){n.register({type:d.Type.Event,name:e}),n.$element.on(e+".owl.carousel.core",l.proxy(function(t){t.namespace&&t.relatedTarget!==this&&(this.suppress([e]),n[e].apply(this,[].slice.call(arguments,1)),this.release([e]))},n))})),"string"==typeof e&&"_"!==e.charAt(0)&&n[e].apply(n,i)})},l.fn.owlCarousel.Constructor=d}(window.Zepto||window.jQuery,window,document),function(e,n){function i(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy(function(t){t.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=e.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers)}i.Defaults={autoRefresh:!0,autoRefreshInterval:500},i.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=n.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},i.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible)&&this._core.invalidate("width")&&this._core.refresh()},i.prototype.destroy=function(){var t,e;for(t in n.clearInterval(this._interval),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoRefresh=i}(window.Zepto||window.jQuery,window,document),function(a,o){function e(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type)){var e=this._core.settings,n=e.center&&Math.ceil(e.items/2)||e.items,i=e.center&&-1*n||0,o=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+i,s=this._core.clones().length,r=a.proxy(function(t,e){this.load(e)},this);for(0<e.lazyLoadEager&&(n+=e.lazyLoadEager,e.loop)&&(o-=e.lazyLoadEager,n++);i++<n;)this.load(s/2+this._core.relative(o)),s&&a.each(this._core.clones(this._core.relative(o)),r),o++}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)}e.Defaults={lazyLoad:!1,lazyLoadEager:0},e.prototype.load=function(t){var t=this._core.$stage.children().eq(t),e=t&&t.find(".owl-lazy");!e||-1<a.inArray(t.get(0),this._loaded)||(e.each(a.proxy(function(t,e){var n=a(e),i=1<o.devicePixelRatio&&n.attr("data-src-retina")||n.attr("data-src")||n.attr("data-srcset");this._core.trigger("load",{element:n,url:i},"lazy"),n.is("img")?n.one("load.owl.lazy",a.proxy(function(){n.css("opacity",1),this._core.trigger("loaded",{element:n,url:i},"lazy")},this)).attr("src",i):n.is("source")?n.one("load.owl.lazy",a.proxy(function(){this._core.trigger("loaded",{element:n,url:i},"lazy")},this)).attr("srcset",i):((e=new Image).onload=a.proxy(function(){n.css({"background-image":'url("'+i+'")',opacity:"1"}),this._core.trigger("loaded",{element:n,url:i},"lazy")},this),e.src=i)},this)),this._loaded.push(t.get(0)))},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this._core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(o,n){function i(t){this._core=t,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&"position"===t.property.name&&this.update()},this),"loaded.owl.lazy":o.proxy(function(t){t.namespace&&this._core.settings.autoHeight&&t.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=o.extend({},i.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var e=this;o(n).on("load",function(){e._core.settings.autoHeight&&e.update()}),o(n).resize(function(){e._core.settings.autoHeight&&(null!=e._intervalId&&clearTimeout(e._intervalId),e._intervalId=setTimeout(function(){e.update()},250))})}i.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},i.prototype.update=function(){var t=this._core._current,e=t+this._core.settings.items,n=this._core.settings.lazyLoad,t=this._core.$stage.children().toArray().slice(t,e),i=[],e=0;o.each(t,function(t,e){i.push(o(e).height())}),(e=Math.max.apply(null,i))<=1&&n&&this._previousHeight&&(e=this._previousHeight),this._previousHeight=e,this._core.$stage.parent().height(e).addClass(this._core.settings.autoHeightClass)},i.prototype.destroy=function(){var t,e;for(t in this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},o.fn.owlCarousel.Constructor.Plugins.AutoHeight=i}(window.Zepto||window.jQuery,window,document),function(u,e){function n(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":u.proxy(function(t){t.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":u.proxy(function(t){t.namespace&&this._core.settings.video&&this.isInFullScreen()&&t.preventDefault()},this),"refreshed.owl.carousel":u.proxy(function(t){t.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":u.proxy(function(t){t.namespace&&"position"===t.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":u.proxy(function(t){var e;t.namespace&&(e=u(t.content).find(".owl-video")).length&&(e.css("display","none"),this.fetch(e,u(t.content)))},this)},this._core.options=u.extend({},n.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",u.proxy(function(t){this.play(t)},this))}n.Defaults={video:!1,videoHeight:!1,videoWidth:!1},n.prototype.fetch=function(t,e){var n=t.attr("data-vimeo-id")?"vimeo":t.attr("data-vzaar-id")?"vzaar":"youtube",i=t.attr("data-vimeo-id")||t.attr("data-youtube-id")||t.attr("data-vzaar-id"),o=t.attr("data-width")||this._core.settings.videoWidth,s=t.attr("data-height")||this._core.settings.videoHeight,r=t.attr("href");if(!r)throw new Error("Missing video URL.");if(-1<(i=r.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu"))n="youtube";else if(-1<i[3].indexOf("vimeo"))n="vimeo";else{if(!(-1<i[3].indexOf("vzaar")))throw new Error("Video URL not supported.");n="vzaar"}i=i[6],this._videos[r]={type:n,id:i,width:o,height:s},e.attr("data-video",r),this.thumbnail(t,this._videos[r])},n.prototype.thumbnail=function(e,t){function n(t){i=d.lazyLoad?u("<div/>",{class:"owl-video-tn "+l,srcType:t}):u("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+t+")"}),e.after(i),e.after('<div class="owl-video-play-icon"></div>')}var i,o,s=t.width&&t.height?"width:"+t.width+"px;height:"+t.height+"px;":"",r=e.find("img"),a="src",l="",d=this._core.settings;if(e.wrap(u("<div/>",{class:"owl-video-wrapper",style:s})),this._core.settings.lazyLoad&&(a="data-src",l="owl-lazy"),r.length)return n(r.attr(a)),r.remove(),!1;"youtube"===t.type?(o="//img.youtube.com/vi/"+t.id+"/hqdefault.jpg",n(o)):"vimeo"===t.type?u.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t[0].thumbnail_large,n(o)}}):"vzaar"===t.type&&u.ajax({type:"GET",url:"//vzaar.com/api/videos/"+t.id+".json",jsonp:"callback",dataType:"jsonp",success:function(t){o=t.framegrab_url,n(o)}})},n.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},n.prototype.play=function(t){var e,t=u(t.target).closest("."+this._core.settings.itemClass),n=this._videos[t.attr("data-video")],i=n.width||"100%",o=n.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),t=this._core.items(this._core.relative(t.index())),this._core.reset(t.index()),(e=u('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>')).attr("height",o),e.attr("width",i),"youtube"===n.type?e.attr("src","//www.youtube.com/embed/"+n.id+"?autoplay=1&rel=0&v="+n.id):"vimeo"===n.type?e.attr("src","//player.vimeo.com/video/"+n.id+"?autoplay=1"):"vzaar"===n.type&&e.attr("src","//view.vzaar.com/"+n.id+"/player?autoplay=true"),u(e).wrap('<div class="owl-video-frame" />').insertAfter(t.find(".owl-video")),this._playing=t.addClass("owl-video-playing"))},n.prototype.isInFullScreen=function(){var t=e.fullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement;return t&&u(t).parent().hasClass("owl-video-frame")},n.prototype.destroy=function(){var t,e;for(t in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},u.fn.owlCarousel.Constructor.Plugins.Video=n}(window.Zepto||window.jQuery,(window,document)),function(r){function e(t){this.core=t,this.core.options=r.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=void 0,this.next=void 0,this.handlers={"change.owl.carousel":r.proxy(function(t){t.namespace&&"position"==t.property.name&&(this.previous=this.core.current(),this.next=t.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":r.proxy(function(t){t.namespace&&(this.swapping="translated"==t.type)},this),"translate.owl.carousel":r.proxy(function(t){t.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)}e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){var t,e,n,i,o,s;1===this.core.settings.items&&r.support.animation&&r.support.transition&&(this.core.speed(0),e=r.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),i=this.core.$stage.children().eq(this.next),o=this.core.settings.animateIn,s=this.core.settings.animateOut,this.core.current()!==this.previous)&&(s&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(r.support.animation.end,e).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(s)),o)&&i.one(r.support.animation.end,e).addClass("animated owl-animated-in").addClass(o)},e.prototype.clear=function(t){r(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var t,e;for(t in this.handlers)this.core.$element.off(t,this.handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},r.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,(window,document)),function(i,o,e){function n(t){this._core=t,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":i.proxy(function(t){t.namespace&&"settings"===t.property.name?this._core.settings.autoplay?this.play():this.stop():t.namespace&&"position"===t.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":i.proxy(function(t){t.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":i.proxy(function(t,e,n){t.namespace&&this.play(e,n)},this),"stop.owl.autoplay":i.proxy(function(t){t.namespace&&this.stop()},this),"mouseover.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":i.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=i.extend({},n.Defaults,this._core.options)}n.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},n.prototype._next=function(t){this._call=o.setTimeout(i.proxy(this._next,this,t),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||e.hidden||this._core.next(t||this._core.settings.autoplaySpeed)},n.prototype.read=function(){return(new Date).getTime()-this._time},n.prototype.play=function(t,e){var n;this._core.is("rotating")||this._core.enter("rotating"),t=t||this._core.settings.autoplayTimeout,n=Math.min(this._time%(this._timeout||t),t),this._paused?(this._time=this.read(),this._paused=!1):o.clearTimeout(this._call),this._time+=this.read()%t-n,this._timeout=t,this._call=o.setTimeout(i.proxy(this._next,this,e),t-n)},n.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,o.clearTimeout(this._call),this._core.leave("rotating"))},n.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,o.clearTimeout(this._call))},n.prototype.destroy=function(){var t,e;for(t in this.stop(),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.owlCarousel.Constructor.Plugins.autoplay=n}(window.Zepto||window.jQuery,window,document),function(o){"use strict";function e(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+o(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,0,this._templates.pop())},this),"remove.owl.carousel":o.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.splice(t.position,1)},this),"changed.owl.carousel":o.proxy(function(t){t.namespace&&"position"==t.property.name&&this.draw()},this),"initialized.owl.carousel":o.proxy(function(t){t.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":o.proxy(function(t){t.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=o.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)}e.Defaults={nav:!1,navText:['<span aria-label="Previous">‹</span>','<span aria-label="Next">›</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var t,n=this._core.settings;for(t in this._controls.$relative=(n.navContainer?o(n.navContainer):o("<div>").addClass(n.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=o("<"+n.navElement+">").addClass(n.navClass[0]).html(n.navText[0]).prependTo(this._controls.$relative).on("click",o.proxy(function(t){this.prev(n.navSpeed)},this)),this._controls.$next=o("<"+n.navElement+">").addClass(n.navClass[1]).html(n.navText[1]).appendTo(this._controls.$relative).on("click",o.proxy(function(t){this.next(n.navSpeed)},this)),n.dotsData||(this._templates=[o('<button role="button">').addClass(n.dotClass).append(o("<span>")).prop("outerHTML")]),this._controls.$absolute=(n.dotsContainer?o(n.dotsContainer):o("<div>").addClass(n.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",o.proxy(function(t){var e=(o(t.target).parent().is(this._controls.$absolute)?o(t.target):o(t.target).parent()).index();t.preventDefault(),this.to(e,n.dotsSpeed)},this)),this._overrides)this._core[t]=o.proxy(this[t],this)},e.prototype.destroy=function(){var t,e,n,i,o=this._core.settings;for(t in this._handlers)this.$element.off(t,this._handlers[t]);for(e in this._controls)"$relative"===e&&o.navContainer?this._controls[e].html(""):this._controls[e].remove();for(i in this.overides)this._core[i]=this._overrides[i];for(n in Object.getOwnPropertyNames(this))"function"!=typeof this[n]&&(this[n]=null)},e.prototype.update=function(){var t,e,n=this._core.clones().length/2,i=n+this._core.items().length,o=this._core.maximum(!0),s=this._core.settings,r=s.center||s.autoWidth||s.dotsData?1:s.dotsEach||s.items;if("page"!==s.slideBy&&(s.slideBy=Math.min(s.slideBy,s.items)),s.dots||"page"==s.slideBy)for(this._pages=[],t=n,e=0;t<i;t++){if(r<=e||0===e){if(this._pages.push({start:Math.min(o,t-n),end:t-n+r-1}),Math.min(o,t-n)===o)break;e=0,0}e+=this._core.mergers(this._core.relative(t))}},e.prototype.draw=function(){var t=this._core.settings,e=this._core.items().length<=t.items,n=this._core.relative(this._core.current()),i=t.loop||t.rewind;this._controls.$relative.toggleClass("disabled",!t.nav||e),t.nav&&(this._controls.$previous.toggleClass("disabled",!i&&n<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!i&&n>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!t.dots||e),t.dots&&(i=this._pages.length-this._controls.$absolute.children().length,t.dotsData&&0!=i?this._controls.$absolute.html(this._templates.join("")):0<i?this._controls.$absolute.append(new Array(1+i).join(this._templates[0])):i<0&&this._controls.$absolute.children().slice(i).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(o.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(t){var e=this._core.settings;t.page={index:o.inArray(this.current(),this._pages),count:this._pages.length,size:e&&(e.center||e.autoWidth||e.dotsData?1:e.dotsEach||e.items)}},e.prototype.current=function(){var n=this._core.relative(this._core.current());return o.grep(this._pages,o.proxy(function(t,e){return t.start<=n&&t.end>=n},this)).pop()},e.prototype.getPosition=function(t){var e,n,i=this._core.settings;return"page"==i.slideBy?(e=o.inArray(this.current(),this._pages),n=this._pages.length,t?++e:--e,e=this._pages[(e%n+n)%n].start):(e=this._core.relative(this._core.current()),n=this._core.items().length,t?e+=i.slideBy:e-=i.slideBy),e},e.prototype.next=function(t){o.proxy(this._overrides.to,this._core)(this.getPosition(!0),t)},e.prototype.prev=function(t){o.proxy(this._overrides.to,this._core)(this.getPosition(!1),t)},e.prototype.to=function(t,e,n){!n&&this._pages.length?(n=this._pages.length,o.proxy(this._overrides.to,this._core)(this._pages[(t%n+n)%n].start,e)):o.proxy(this._overrides.to,this._core)(t,e)},o.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,(window,document)),function(i,o){"use strict";function e(t){this._core=t,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":i.proxy(function(t){t.namespace&&"URLHash"===this._core.settings.startPosition&&i(o).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":i.proxy(function(t){var e;t.namespace&&(e=i(t.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash"))&&(this._hashes[e]=t.content)},this),"changed.owl.carousel":i.proxy(function(t){var n;t.namespace&&"position"===t.property.name&&(n=this._core.items(this._core.relative(this._core.current())),t=i.map(this._hashes,function(t,e){return t===n?e:null}).join())&&o.location.hash.slice(1)!==t&&(o.location.hash=t)},this)},this._core.options=i.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),i(o).on("hashchange.owl.navigation",i.proxy(function(t){var e=o.location.hash.substring(1),n=this._core.$stage.children(),n=this._hashes[e]&&n.index(this._hashes[e]);void 0!==n&&n!==this._core.current()&&this._core.to(this._core.relative(n),!1,!0)},this))}e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var t,e;for(t in i(o).off("hashchange.owl.navigation"),this._handlers)this._core.$element.off(t,this._handlers[t]);for(e in Object.getOwnPropertyNames(this))"function"!=typeof this[e]&&(this[e]=null)},i.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(o){var s=o("<support>").get(0).style,r="Webkit Moz O ms".split(" "),t={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},e=function(){return!!a("transform")},n=function(){return!!a("perspective")},i=function(){return!!a("animation")};function a(t,n){var i=!1,e=t.charAt(0).toUpperCase()+t.slice(1);return o.each((t+" "+r.join(e+" ")+e).split(" "),function(t,e){if(void 0!==s[e])return i=!n||e,!1}),i}function l(t){return a(t,!0)}!function(){return!!a("transition")}()||(o.support.transition=new String(l("transition")),o.support.transition.end=t.transition.end[o.support.transition]),i()&&(o.support.animation=new String(l("animation")),o.support.animation.end=t.animation.end[o.support.animation]),e()&&(o.support.transform=new String(l("transform")),o.support.transform3d=n())}(window.Zepto||window.jQuery,(window,document)),function(l){var o="bootstrapDualListbox",n={bootstrap2Compatible:!1,filterTextClear:"show all",filterPlaceHolder:"Filter",moveSelectedLabel:"Move selected",moveAllLabel:"Move all",removeSelectedLabel:"Remove selected",removeAllLabel:"Remove all",moveOnSelect:!0,preserveSelectionOnMove:!1,selectedListLabel:!1,nonSelectedListLabel:!1,helperSelectNamePostfix:"_helper",selectorMinimalHeight:100,showFilterInputs:!0,nonSelectedFilter:"",selectedFilter:"",infoText:"Showing all {0}",infoTextFiltered:'<span class="label label-warning">Filtered</span> {0} from {1}',infoTextEmpty:"Empty list",filterOnValues:!1,sortByInputOrder:!1,eventMoveOverride:!1,eventMoveAllOverride:!1,eventRemoveOverride:!1,eventRemoveAllOverride:!1},i=/android/i.test(navigator.userAgent.toLowerCase());function s(t,e){this.element=l(t),this.settings=l.extend({},n,e),this._defaults=n,this._name=o,this.init()}function e(t){t.element.trigger("change")}function r(n){n.element.find("option").each(function(t,e){e=l(e);void 0===e.data("original-index")&&e.data("original-index",n.elementCount++),void 0===e.data("_selected")&&e.data("_selected",!1)})}function a(n,i,o){n.element.find("option").each(function(t,e){e=l(e);e.data("original-index")===i&&(e.prop("selected",o),o?(e.attr("data-sortindex",n.sortIndex),n.sortIndex++):e.removeAttr("data-sortindex"))})}function d(t,n){return t.replace(/\{(\d+)\}/g,function(t,e){return void 0!==n[e]?n[e]:t})}function u(t){var e,n,i,o,s;t.settings.infoText&&(e=t.elements.select1.find("option").length,n=t.elements.select2.find("option").length,i=t.element.find("option").length-t.selectedElements,o=t.selectedElements,s="",s=0==i?t.settings.infoTextEmpty:d(e===i?t.settings.infoText:t.settings.infoTextFiltered,[e,i]),t.elements.info1.html(s),t.elements.box1.toggleClass("filtered",!(e===i||0==i)),s=0===o?t.settings.infoTextEmpty:d(n===o?t.settings.infoText:t.settings.infoTextFiltered,[n,o]),t.elements.info2.html(s),t.elements.box2.toggleClass("filtered",!(n===o||0===o)))}function h(n){n.selectedElements=0,n.elements.select1.empty(),n.elements.select2.empty(),n.element.find("option").each(function(t,e){e=l(e);(e.prop("selected")?(n.selectedElements++,n.elements.select2):n.elements.select1).append(e.clone(!0).prop("selected",e.data("_selected")))}),n.settings.showFilterInputs&&(t(n,1),t(n,2)),u(n)}function t(o,s){var r,a,t;o.settings.showFilterInputs&&(c(o,s),o.elements["select"+s].empty().scrollTop(0),r=new RegExp(l.trim(o.elements["filterInput"+s].val()),"gi"),a=o.element.find("option"),t=o.element,(t=1===s?a.not(":selected"):t.find("option:selected")).each(function(t,e){var n=l(e),i=!0;(e.text.match(r)||o.settings.filterOnValues&&n.attr("value").match(r))&&o.elements["select"+s].append(n.clone(!(i=!1)).prop("selected",n.data("_selected"))),a.eq(n.data("original-index")).data("filtered"+s,i)}),u(o))}function c(t,e){var n=t.element.find("option");t.elements["select"+e].find("option").each(function(t,e){e=l(e);n.eq(e.data("original-index")).data("_selected",e.prop("selected"))})}function p(t){var e=t.children("option");e.sort(function(t,e){t=parseInt(t.getAttribute("data-sortindex")),e=parseInt(e.getAttribute("data-sortindex"));return e<t?1:t<e?-1:0}),e.detach().appendTo(t)}function f(t){t.find("option").sort(function(t,e){return l(t).data("original-index")>l(e).data("original-index")?1:-1}).appendTo(t)}function g(n){"all"!==n.settings.preserveSelectionOnMove||n.settings.moveOnSelect?"moved"!==n.settings.preserveSelectionOnMove||n.settings.moveOnSelect||c(n,1):(c(n,1),c(n,2)),n.elements.select1.find("option:selected").each(function(t,e){e=l(e);e.data("filtered1")||a(n,e.data("original-index"),!0)}),h(n),e(n),(n.settings.sortByInputOrder?p:f)(n.elements.select2)}function m(n){"all"!==n.settings.preserveSelectionOnMove||n.settings.moveOnSelect?"moved"!==n.settings.preserveSelectionOnMove||n.settings.moveOnSelect||c(n,2):(c(n,1),c(n,2)),n.elements.select2.find("option:selected").each(function(t,e){e=l(e);e.data("filtered2")||a(n,e.data("original-index"),!1)}),h(n),e(n),f(n.elements.select1),n.settings.sortByInputOrder&&p(n.elements.select2)}function v(i){i.elements.form.submit(function(t){i.elements.filterInput1.is(":focus")?(t.preventDefault(),i.elements.filterInput1.focusout()):i.elements.filterInput2.is(":focus")&&(t.preventDefault(),i.elements.filterInput2.focusout())}),i.element.on("bootstrapDualListbox.refresh",function(t,e){i.refresh(e)}),i.elements.filterClear1.on("click",function(){i.setNonSelectedFilter("",!0)}),i.elements.filterClear2.on("click",function(){i.setSelectedFilter("",!0)}),!1===i.settings.eventMoveOverride&&i.elements.moveButton.on("click",function(){g(i)}),!1===i.settings.eventMoveAllOverride&&i.elements.moveAllButton.on("click",function(){var n;"all"!==(n=i).settings.preserveSelectionOnMove||n.settings.moveOnSelect?"moved"!==n.settings.preserveSelectionOnMove||n.settings.moveOnSelect||c(n,1):(c(n,1),c(n,2)),n.element.find("option").each(function(t,e){e=l(e);e.data("filtered1")||(e.prop("selected",!0),e.attr("data-sortindex",n.sortIndex),n.sortIndex++)}),h(n),e(n)}),!1===i.settings.eventRemoveOverride&&i.elements.removeButton.on("click",function(){m(i)}),!1===i.settings.eventRemoveAllOverride&&i.elements.removeAllButton.on("click",function(){var t;"all"!==(t=i).settings.preserveSelectionOnMove||t.settings.moveOnSelect?"moved"!==t.settings.preserveSelectionOnMove||t.settings.moveOnSelect||c(t,2):(c(t,1),c(t,2)),t.element.find("option").each(function(t,e){e=l(e);e.data("filtered2")||(e.prop("selected",!1),e.removeAttr("data-sortindex"))}),h(t),e(t)}),i.elements.filterInput1.on("change keyup",function(){t(i,1)}),i.elements.filterInput2.on("change keyup",function(){t(i,2)})}s.prototype={init:function(){this.container=l('<div class="bootstrap-duallistbox-container"> <div class="box1"> <label></label> <span class="info-container"> <span class="info"></span> <button type="button" class="btn clear1 pull-right"></button> </span> <input class="filter" type="text"> <div class="btn-group buttons"> <button type="button" class="btn moveall"> <i></i> <i></i> </button> <button type="button" class="btn move"> <i></i> </button> </div> <select multiple="multiple"></select> </div> <div class="box2"> <label></label> <span class="info-container"> <span class="info"></span> <button type="button" class="btn clear2 pull-right"></button> </span> <input class="filter" type="text"> <div class="btn-group buttons"> <button type="button" class="btn remove"> <i></i> </button> <button type="button" class="btn removeall"> <i></i> <i></i> </button> </div> <select multiple="multiple"></select> </div></div>').insertBefore(this.element),this.elements={originalSelect:this.element,box1:l(".box1",this.container),box2:l(".box2",this.container),filterInput1:l(".box1 .filter",this.container),filterInput2:l(".box2 .filter",this.container),filterClear1:l(".box1 .clear1",this.container),filterClear2:l(".box2 .clear2",this.container),label1:l(".box1 > label",this.container),label2:l(".box2 > label",this.container),info1:l(".box1 .info",this.container),info2:l(".box2 .info",this.container),select1:l(".box1 select",this.container),select2:l(".box2 select",this.container),moveButton:l(".box1 .move",this.container),removeButton:l(".box2 .remove",this.container),moveAllButton:l(".box1 .moveall",this.container),removeAllButton:l(".box2 .removeall",this.container),form:l(l(".box1 .filter",this.container)[0].form)},this.originalSelectName=this.element.attr("name")||"";var t="bootstrap-duallistbox-nonselected-list_"+this.originalSelectName,e="bootstrap-duallistbox-selected-list_"+this.originalSelectName;return this.elements.select1.attr("id",t),this.elements.select2.attr("id",e),this.elements.label1.attr("for",t),this.elements.label2.attr("for",e),this.selectedElements=0,this.sortIndex=0,this.elementCount=0,this.setBootstrap2Compatible(this.settings.bootstrap2Compatible),this.setFilterTextClear(this.settings.filterTextClear),this.setFilterPlaceHolder(this.settings.filterPlaceHolder),this.setMoveSelectedLabel(this.settings.moveSelectedLabel),this.setMoveAllLabel(this.settings.moveAllLabel),this.setRemoveSelectedLabel(this.settings.removeSelectedLabel),this.setRemoveAllLabel(this.settings.removeAllLabel),this.setMoveOnSelect(this.settings.moveOnSelect),this.setPreserveSelectionOnMove(this.settings.preserveSelectionOnMove),this.setSelectedListLabel(this.settings.selectedListLabel),this.setNonSelectedListLabel(this.settings.nonSelectedListLabel),this.setHelperSelectNamePostfix(this.settings.helperSelectNamePostfix),this.setSelectOrMinimalHeight(this.settings.selectorMinimalHeight),r(this),this.setShowFilterInputs(this.settings.showFilterInputs),this.setNonSelectedFilter(this.settings.nonSelectedFilter),this.setSelectedFilter(this.settings.selectedFilter),this.setInfoText(this.settings.infoText),this.setInfoTextFiltered(this.settings.infoTextFiltered),this.setInfoTextEmpty(this.settings.infoTextEmpty),this.setFilterOnValues(this.settings.filterOnValues),this.setSortByInputOrder(this.settings.sortByInputOrder),this.setEventMoveOverride(this.settings.eventMoveOverride),this.setEventMoveAllOverride(this.settings.eventMoveAllOverride),this.setEventRemoveOverride(this.settings.eventRemoveOverride),this.setEventRemoveAllOverride(this.settings.eventRemoveAllOverride),this.element.hide(),v(this),h(this),this.element},setBootstrap2Compatible:function(t,e){return(this.settings.bootstrap2Compatible=t)?(this.container.removeClass("row").addClass("row-fluid bs2compatible"),this.container.find(".box1, .box2").removeClass("col-md-6").addClass("span6"),this.container.find(".clear1, .clear2").removeClass("btn-default btn-xs").addClass("btn-mini"),this.container.find("input, select").removeClass("form-control"),this.container.find(".btn").removeClass("btn-default"),this.container.find(".moveall > i, .move > i").removeClass("glyphicon glyphicon-arrow-right").addClass("icon-arrow-right"),this.container.find(".removeall > i, .remove > i").removeClass("glyphicon glyphicon-arrow-left").addClass("icon-arrow-left")):(this.container.removeClass("row-fluid bs2compatible").addClass("row"),this.container.find(".box1, .box2").removeClass("span6").addClass("col-md-6"),this.container.find(".clear1, .clear2").removeClass("btn-mini").addClass("btn-default btn-xs"),this.container.find("input, select").addClass("form-control"),this.container.find(".btn").addClass("btn-default"),this.container.find(".moveall > i, .move > i").removeClass("icon-arrow-right").addClass("glyphicon glyphicon-arrow-right"),this.container.find(".removeall > i, .remove > i").removeClass("icon-arrow-left").addClass("glyphicon glyphicon-arrow-left")),e&&h(this),this.element},setFilterTextClear:function(t,e){return this.settings.filterTextClear=t,this.elements.filterClear1.html(t),this.elements.filterClear2.html(t),e&&h(this),this.element},setFilterPlaceHolder:function(t,e){return this.settings.filterPlaceHolder=t,this.elements.filterInput1.attr("placeholder",t),this.elements.filterInput2.attr("placeholder",t),e&&h(this),this.element},setMoveSelectedLabel:function(t,e){return this.settings.moveSelectedLabel=t,this.elements.moveButton.attr("title",t),e&&h(this),this.element},setMoveAllLabel:function(t,e){return this.settings.moveAllLabel=t,this.elements.moveAllButton.attr("title",t),e&&h(this),this.element},setRemoveSelectedLabel:function(t,e){return this.settings.removeSelectedLabel=t,this.elements.removeButton.attr("title",t),e&&h(this),this.element},setRemoveAllLabel:function(t,e){return this.settings.removeAllLabel=t,this.elements.removeAllButton.attr("title",t),e&&h(this),this.element},setMoveOnSelect:function(t,e){var n;return this.settings.moveOnSelect=t=i?!0:t,this.settings.moveOnSelect?(this.container.addClass("moveonselect"),(n=this).elements.select1.on("change",function(){g(n)}),this.elements.select2.on("change",function(){m(n)})):(this.container.removeClass("moveonselect"),this.elements.select1.off("change"),this.elements.select2.off("change")),e&&h(this),this.element},setPreserveSelectionOnMove:function(t,e){return this.settings.preserveSelectionOnMove=t=i?!1:t,e&&h(this),this.element},setSelectedListLabel:function(t,e){return((this.settings.selectedListLabel=t)?this.elements.label2.show():this.elements.label2.hide()).html(t),e&&h(this),this.element},setNonSelectedListLabel:function(t,e){return((this.settings.nonSelectedListLabel=t)?this.elements.label1.show():this.elements.label1.hide()).html(t),e&&h(this),this.element},setHelperSelectNamePostfix:function(t,e){return(this.settings.helperSelectNamePostfix=t)?(this.elements.select1.attr("name",this.originalSelectName+t+"1"),this.elements.select2.attr("name",this.originalSelectName+t+"2")):(this.elements.select1.removeAttr("name"),this.elements.select2.removeAttr("name")),e&&h(this),this.element},setSelectOrMinimalHeight:function(t,e){this.settings.selectorMinimalHeight=t;var n=this.element.height();return this.element.height()<t&&(n=t),this.elements.select1.height(n),this.elements.select2.height(n),e&&h(this),this.element},setShowFilterInputs:function(t,e){return t?(this.elements.filterInput1.show(),this.elements.filterInput2.show()):(this.setNonSelectedFilter(""),this.setSelectedFilter(""),h(this),this.elements.filterInput1.hide(),this.elements.filterInput2.hide()),this.settings.showFilterInputs=t,e&&h(this),this.element},setNonSelectedFilter:function(t,e){if(this.settings.showFilterInputs)return this.settings.nonSelectedFilter=t,this.elements.filterInput1.val(t),e&&h(this),this.element},setSelectedFilter:function(t,e){if(this.settings.showFilterInputs)return this.settings.selectedFilter=t,this.elements.filterInput2.val(t),e&&h(this),this.element},setInfoText:function(t,e){return this.settings.infoText=t,e&&h(this),this.element},setInfoTextFiltered:function(t,e){return this.settings.infoTextFiltered=t,e&&h(this),this.element},setInfoTextEmpty:function(t,e){return this.settings.infoTextEmpty=t,e&&h(this),this.element},setFilterOnValues:function(t,e){return this.settings.filterOnValues=t,e&&h(this),this.element},setSortByInputOrder:function(t,e){return this.settings.sortByInputOrder=t,e&&h(this),this.element},setEventMoveOverride:function(t,e){return this.settings.eventMoveOverride=t,e&&h(this),this.element},setEventMoveAllOverride:function(t,e){return this.settings.eventMoveAllOverride=t,e&&h(this),this.element},setEventRemoveOverride:function(t,e){return this.settings.eventRemoveOverride=t,e&&h(this),this.element},setEventRemoveAllOverride:function(t,e){return this.settings.eventRemoveAllOverride=t,e&&h(this),this.element},getContainer:function(){return this.container},refresh:function(t){var e;r(this),t?(e=this).elements.select1.find("option").each(function(){e.element.find("option").data("_selected",!1)}):(c(this,1),c(this,2)),h(this)},destroy:function(){return this.container.remove(),this.element.show(),l.data(this,"plugin_"+o,null),this.element}},l.fn[o]=function(n){var e,i=arguments;return void 0===n||"object"==typeof n?this.each(function(){l(this).is("select")?l.data(this,"plugin_"+o)||l.data(this,"plugin_"+o,new s(this,n)):l(this).find("select").each(function(t,e){l(e).bootstrapDualListbox(n)})}):"string"==typeof n&&"_"!==n[0]&&"init"!==n?(this.each(function(){var t=l.data(this,"plugin_"+o);t instanceof s&&"function"==typeof t[n]&&(e=t[n].apply(t,Array.prototype.slice.call(i,1)))}),void 0!==e?e:this):void 0}}(jQuery,(window,document)),function(e,n){"function"==typeof define&&define.amd?define(["jquery"],function(t){return e.returnExportsGlobal=n(t)}):"object"==typeof exports?module.exports=n(require("jquery")):n(jQuery)}(this,function(s){"use strict";var i,o,r,a,l,c,p,d;function t(t){this.$inputor=t,this.domInputor=this.$inputor[0]}function e(t){this.$inputor=t,this.domInputor=this.$inputor[0]}function n(t){this.$inputor=t}t.prototype.setPos=function(t){var l,d,u,h;return(h=p.getSelection())&&(u=0,d=!1,(l=function(t,e){for(var n,i,o=e.childNodes,s=[],r=0,a=o.length;r<a&&(n=o[r],!d);r++)if(3===n.nodeType){if(u+n.length>=t){d=!0,(i=c.createRange()).setStart(n,t-u),h.removeAllRanges(),h.addRange(i);break}s.push(u+=n.length)}else s.push(l(t,n));return s})(t,this.domInputor)),this.domInputor},t.prototype.getIEPosition=function(){return this.getPosition()},t.prototype.getPosition=function(){var t=this.getOffset(),e=this.$inputor.offset();return t.left-=e.left,t.top-=e.top,t},t.prototype.getOldIEPos=function(){var t=c.selection.createRange(),e=c.body.createTextRange();return e.moveToElementText(this.domInputor),e.setEndPoint("EndToEnd",t),e.text.length},t.prototype.getPos=function(){var t,e;return(e=this.range())?((t=e.cloneRange()).selectNodeContents(this.domInputor),t.setEnd(e.endContainer,e.endOffset),e=t.toString().length,t.detach(),e):c.selection?this.getOldIEPos():void 0},t.prototype.getOldIEOffset=function(){var t=c.selection.createRange().duplicate();return t.moveStart("character",-1),{height:(t=t.getBoundingClientRect()).bottom-t.top,left:t.left,top:t.top}},t.prototype.getOffset=function(t){var e,n,i,o;return p.getSelection&&(o=this.range())?(0<o.endOffset-1&&o.endContainer!==this.domInputor&&((e=o.cloneRange()).setStart(o.endContainer,o.endOffset-1),e.setEnd(o.endContainer,o.endOffset),n={height:(i=e.getBoundingClientRect()).height,left:i.left+i.width,top:i.top},e.detach()),n&&0!==(null!=n?n.height:void 0)||(e=o.cloneRange(),o=s(c.createTextNode("|")),e.insertNode(o[0]),e.selectNode(o[0]),n={height:(i=e.getBoundingClientRect()).height,left:i.left,top:i.top},o.remove(),e.detach())):c.selection&&(n=this.getOldIEOffset()),n&&(n.top+=s(p).scrollTop(),n.left+=s(p).scrollLeft()),n},t.prototype.range=function(){var t;if(p.getSelection)return 0<(t=p.getSelection()).rangeCount?t.getRangeAt(0):null},i=t,e.prototype.getIEPos=function(){var t,e,n=this.domInputor,i=c.selection.createRange(),o=0;return i&&i.parentElement()===n&&(t=n.value.replace(/\r\n/g,"\n").length,(e=n.createTextRange()).moveToBookmark(i.getBookmark()),(i=n.createTextRange()).collapse(!1),o=-1<e.compareEndPoints("StartToEnd",i)?t:-e.moveStart("character",-t)),o},e.prototype.getPos=function(){return c.selection?this.getIEPos():this.domInputor.selectionStart},e.prototype.setPos=function(t){var e,n=this.domInputor;return c.selection?((e=n.createTextRange()).move("character",t),e.select()):n.setSelectionRange&&n.setSelectionRange(t,t),n},e.prototype.getIEOffset=function(t){var e=this.domInputor.createTextRange();return t=t||this.getPos(),e.move("character",t),{left:e.boundingLeft,top:e.boundingTop,height:e.boundingHeight}},e.prototype.getOffset=function(t){var e,n=this.$inputor;return c.selection?((e=this.getIEOffset(t)).top+=s(p).scrollTop()+n.scrollTop(),e.left+=s(p).scrollLeft()+n.scrollLeft(),e):(e=n.offset(),t=this.getPosition(t),{left:e.left+t.left-n.scrollLeft(),top:e.top+t.top-n.scrollTop(),height:t.height})},e.prototype.getPosition=function(t){var e,n=this.$inputor,i=function(t){return t=t.replace(/<|>|`|"|&/g,"?").replace(/\r\n|\r|\n/g,"<br/>"),t=/firefox/i.test(navigator.userAgent)?t.replace(/\s/g," "):t};return void 0===t&&(t=this.getPos()),e=n.val().slice(0,t),t=n.val().slice(t),e="<span style='position: relative; display: inline;'>"+i(e)+"</span>",e=(e+="<span id='caret' style='position: relative; display: inline;'>|</span>")+("<span style='position: relative; display: inline;'>"+i(t)+"</span>"),new r(n).create(e).rect()},e.prototype.getIEPosition=function(t){var t=this.getIEOffset(t),e=this.$inputor.offset();return{left:t.left-e.left,top:t.top-e.top,height:t.height}},o=e,n.prototype.css_attr=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle","borderTopWidth","boxSizing","fontFamily","fontSize","fontWeight","height","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","outlineWidth","overflow","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textOverflow","textTransform","whiteSpace","wordBreak","wordWrap"],n.prototype.mirrorCss=function(){var n=this,i={position:"absolute",left:-9999,top:0,zIndex:-2e4};return"TEXTAREA"===this.$inputor.prop("tagName")&&this.css_attr.push("width"),s.each(this.css_attr,function(t,e){return i[e]=n.$inputor.css(e)}),i},n.prototype.create=function(t){return this.$mirror=s("<div></div>"),this.$mirror.css(this.mirrorCss()),this.$mirror.html(t),this.$inputor.after(this.$mirror),this},n.prototype.rect=function(){var t=this.$mirror.find("#caret"),e=t.position(),e={left:e.left,top:e.top,height:t.height()};return this.$mirror.remove(),e},r=n,a={contentEditable:function(t){return!(!t[0].contentEditable||"true"!==t[0].contentEditable)}},l={pos:function(t){return t||0===t?this.setPos(t):this.getPos()},position:function(t){return c.selection?this.getIEPosition(t):this.getPosition(t)},offset:function(t){return this.getOffset(t)}},p=c=null,d=function(t){return c=(t=null!=t?t.iframe:void 0)?(p=t.contentWindow,t.contentDocument||p.document):(p=window,document)},s.fn.caret=function(t,e,n){return l[t]?(s.isPlainObject(e)?(d(e),e=void 0):d(n),n=new(a.contentEditable(this)?i:o)(this),l[t].apply(n,[e])):s.error("Method "+t+" does not exist on jQuery.caret")},s.fn.caret.EditableCaret=i,s.fn.caret.InputCaret=o,s.fn.caret.Utils=a,s.fn.caret.apis=l}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(a){var n,r;function t(t){this.currentFlag=null,this.controllers={},this.aliasMaps={},this.$inputor=a(t),this.setupRootElement(),this.listen()}r={ESC:27,TAB:9,ENTER:13,CTRL:17,A:65,P:80,N:78,LEFT:37,UP:38,RIGHT:39,DOWN:40,BACKSPACE:8,SPACE:32},n={beforeSave:function(t){return o.arrayToDefaultHash(t)},matcher:function(t,e,n,i){var o;return t=t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),n&&(t="(?:^|\\s)"+t),n=decodeURI("%C3%80"),o=decodeURI("%C3%BF"),(n=new RegExp(t+"([A-Za-z"+n+"-"+o+"0-9_"+(i?" ":"")+"'.+-]*)$|"+t+"([^\\x00-\\xff]*)$","gi").exec(e))?n[2]||n[1]:null},filter:function(t,e,n){for(var i,o=[],s=0,r=e.length;s<r;s++)i=e[s],~new String(i[n]).toLowerCase().indexOf(t.toLowerCase())&&o.push(i);return o},remoteFilter:null,sorter:function(t,e,n){var i,o,s,r;if(!t)return e;for(i=[],o=0,r=e.length;o<r;o++)(s=e[o]).atwho_order=new String(s[n]).toLowerCase().indexOf(t.toLowerCase()),-1<s.atwho_order&&i.push(s);return i.sort(function(t,e){return t.atwho_order-e.atwho_order})},tplEval:function(t,i){var e=t;try{return(e="string"!=typeof t?t(i):e).replace(/\$\{([^\}]*)\}/g,function(t,e,n){return i[e]})}catch(t){return""}},highlighter:function(t,e){return e?(e=new RegExp(">\\s*([^<]*?)("+e.replace("+","\\+")+")([^<]*)\\s*<","ig"),t.replace(e,function(t,e,n,i){return"> "+e+"<strong>"+n+"</strong>"+i+" <"})):t},beforeInsert:function(t,e,n){return t},beforeReposition:function(t){return t},afterMatchFailed:function(t,e){}},t.prototype.createContainer=function(t){var e;return null!=(e=this.$el)&&e.remove(),a(t.body).append(this.$el=a("<div class='atwho-container'></div>"))},t.prototype.setupRootElement=function(e,t){if(null==t&&(t=!1),e)this.window=e.contentWindow,this.document=e.contentDocument||this.window.document,this.iframe=e;else{this.document=this.$inputor[0].ownerDocument,this.window=this.document.defaultView||this.document.parentWindow;try{this.iframe=this.window.frameElement}catch(t){if(e=t,this.iframe=null,a.fn.atwho.debug)throw new Error("iframe auto-discovery is failed.\nPlease use `setIframe` to set the target iframe manually.\n"+e)}}return this.createContainer((this.iframeAsRoot=t)?this.document:document)},t.prototype.controller=function(t){var e,n,i,o;if(this.aliasMaps[t])n=this.controllers[this.aliasMaps[t]];else for(i in o=this.controllers)if(e=o[i],i===t){n=e;break}return n||this.controllers[this.currentFlag]},t.prototype.setContextFor=function(t){return this.currentFlag=t,this},t.prototype.reg=function(t,e){var n=(n=this.controllers)[t]||(n[t]=new(this.$inputor.is("[contentEditable]")?u:f)(this,t));return e.alias&&(this.aliasMaps[e.alias]=t),n.init(e),this},t.prototype.listen=function(){return this.$inputor.on("compositionstart",(a=this,function(t){var e;return null!=(e=a.controller())&&e.view.hide(),a.isComposing=!0,null})).on("compositionend",(r=this,function(t){return r.isComposing=!1,setTimeout(function(t){return r.dispatch(t)}),null})).on("keyup.atwhoInner",(s=this,function(t){return s.onKeyup(t)})).on("keydown.atwhoInner",(i=this,function(t){return i.onKeydown(t)})).on("blur.atwhoInner",(n=this,function(t){var e;if(e=n.controller())return e.expectedQueryCBId=null,e.view.hide(t,e.getOpt("displayTimeout"))})).on("click.atwhoInner",(e=this,function(t){return e.dispatch(t)})).on("scroll.atwhoInner",(o=this,function(){var i=o.$inputor.scrollTop();return function(t){var e,n=t.target.scrollTop;return i!==n&&null!=(e=o.controller())&&e.view.hide(t),i=n,!0}}()));var o,e,n,i,s,r,a},t.prototype.shutdown=function(){var t,e=this.controllers;for(t in e)e[t].destroy(),delete this.controllers[t];return this.$inputor.off(".atwhoInner"),this.$el.remove()},t.prototype.dispatch=function(t){var e,n,i,o;if(void 0!==t){for(e in o=[],i=this.controllers)n=i[e],o.push(n.lookUp(t));return o}},t.prototype.onKeyup=function(t){var e;switch(t.keyCode){case r.ESC:t.preventDefault(),null!=(e=this.controller())&&e.view.hide();break;case r.DOWN:case r.UP:case r.CTRL:case r.ENTER:a.noop();break;case r.P:case r.N:t.ctrlKey||this.dispatch(t);break;default:this.dispatch(t)}},t.prototype.onKeydown=function(t){var e,n=null!=(e=this.controller())?e.view:void 0;if(n&&n.visible())switch(t.keyCode){case r.ESC:t.preventDefault(),n.hide(t);break;case r.UP:t.preventDefault(),n.prev();break;case r.DOWN:t.preventDefault(),n.next();break;case r.P:t.ctrlKey&&(t.preventDefault(),n.prev());break;case r.N:t.ctrlKey&&(t.preventDefault(),n.next());break;case r.TAB:case r.ENTER:case r.SPACE:!n.visible()||!this.controller().getOpt("spaceSelectsMatch")&&t.keyCode===r.SPACE||!this.controller().getOpt("tabSelectsMatch")&&t.keyCode===r.TAB||(n.highlighted()?(t.preventDefault(),n.choose(t)):n.hide(t));break;default:a.noop()}};var s=t,i=[].slice;function e(t,e){this.app=t,this.at=e,this.$inputor=this.app.$inputor,this.id=this.$inputor[0].id||this.uid(),this.expectedQueryCBId=null,this.setting=null,this.query=null,this.pos=0,this.range=null,0===(this.$el=a("#atwho-ground-"+this.id,this.app.$el)).length&&this.app.$el.append(this.$el=a("<div id='atwho-ground-"+this.id+"'></div>")),this.model=new h(this),this.view=new c(this)}e.prototype.uid=function(){return(Math.random().toString(16)+"000000000").substr(2,8)+(new Date).getTime()},e.prototype.init=function(t){return this.setting=a.extend({},this.setting||a.fn.atwho.default,t),this.view.init(),this.model.reload(this.setting.data)},e.prototype.destroy=function(){return this.trigger("beforeDestroy"),this.model.destroy(),this.view.destroy(),this.$el.remove()},e.prototype.callDefault=function(){var e=arguments[0],t=2<=arguments.length?i.call(arguments,1):[];try{return n[e].apply(this,t)}catch(t){return a.error(t+" Or maybe At.js doesn't have function "+e)}},e.prototype.trigger=function(t,e){var n;return(e=null==e?[]:e).push(this),n=this.getOpt("alias"),this.$inputor.trigger(n?t+"-"+n+".atwho":t+".atwho",e)},e.prototype.callbacks=function(t){return this.getOpt("callbacks")[t]||n[t]},e.prototype.getOpt=function(t,e){try{return this.setting[t]}catch(t){return null}},e.prototype.insertContentFor=function(t){var e=this.getOpt("insertTpl"),t=a.extend({},t.data("item-data"),{"atwho-at":this.at});return this.callbacks("tplEval").call(this,e,t,"onInsert")},e.prototype.renderView=function(t){var e=this.getOpt("searchKey");return t=this.callbacks("sorter").call(this,this.query.text,t.slice(0,1001),e),this.view.render(t.slice(0,this.getOpt("limit")))},e.arrayToDefaultHash=function(t){var e,n,i,o;if(!a.isArray(t))return t;for(o=[],e=0,i=t.length;e<i;e++)n=t[e],a.isPlainObject(n)?o.push(n):o.push({name:n});return o},e.prototype.lookUp=function(t){var e;if((!t||"click"!==t.type||this.getOpt("lookUpOnClick"))&&(!this.getOpt("suspendOnComposing")||!this.app.isComposing))return(t=this.catchQuery(t))?(this.app.setContextFor(this.at),(e=this.getOpt("delay"))?this._delayLookUp(t,e):this._lookUp(t)):this.expectedQueryCBId=null,t},e.prototype._delayLookUp=function(t,e){var n,i,o=Date.now?Date.now():(new Date).getTime();return this.previousCallTime||(this.previousCallTime=o),0<(n=e-(o-this.previousCallTime))&&n<e?(this.previousCallTime=o,this._stopDelayedCall(),this.delayedCallTimeout=setTimeout((i=this,function(){return i.previousCallTime=0,i.delayedCallTimeout=null,i._lookUp(t)}),e)):(this._stopDelayedCall(),this.previousCallTime!==o&&(this.previousCallTime=0),this._lookUp(t))},e.prototype._stopDelayedCall=function(){if(this.delayedCallTimeout)return clearTimeout(this.delayedCallTimeout),this.delayedCallTimeout=null},e.prototype._generateQueryCBId=function(){return{}},e.prototype._lookUp=function(t){var e=function(t,e){if(t===this.expectedQueryCBId)return e&&0<e.length?this.renderView(this.constructor.arrayToDefaultHash(e)):this.view.hide()};return this.expectedQueryCBId=this._generateQueryCBId(),this.model.query(t.text,a.proxy(e,this,this.expectedQueryCBId))};var o=e,l={}.hasOwnProperty;function d(){return d.__super__.constructor.apply(this,arguments)}(function(t,e){for(var n in e)l.call(e,n)&&(t[n]=e[n]);function i(){this.constructor=t}i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype})(d,o),d.prototype.catchQuery=function(){var t=this.$inputor.val(),e=this.$inputor.caret("pos",{iframe:this.app.iframe}),t=t.slice(0,e),t=this.callbacks("matcher").call(this,this.at,t,this.getOpt("startWithSpace"),this.getOpt("acceptSpaceBar")),n="string"==typeof t;if(!(n&&t.length<this.getOpt("minLen",0)))return n&&t.length<=this.getOpt("maxLen",20)?(e=(n=e-t.length)+t.length,this.pos=n,this.trigger("matched",[this.at,(t={text:t,headPos:n,endPos:e}).text])):(t=null,this.view.hide()),this.query=t},d.prototype.rect=function(){var t,e;if(t=this.$inputor.caret("offset",this.pos-1,{iframe:this.app.iframe}))return this.app.iframe&&!this.app.iframeAsRoot&&(e=a(this.app.iframe).offset(),t.left+=e.left,t.top+=e.top),e=this.app.document.selection?0:2,{left:t.left,top:t.top,bottom:t.top+t.height+e}},d.prototype.insert=function(t,e){var n=this.$inputor,i=n.val(),o=i.slice(0,Math.max(this.query.headPos-this.at.length,0)),s=""===(s=this.getOpt("suffix"))?s:s||" ",s=""+o+(t+=s)+i.slice(this.query.endPos||0);return n.val(s),n.caret("pos",o.length+t.length,{iframe:this.app.iframe}),n.is(":focus")||n.focus(),n.change()};var u,h,c,p,f=d,l={}.hasOwnProperty;function g(){return g.__super__.constructor.apply(this,arguments)}function m(t){this.context=t,this.at=this.context.at,this.storage=this.context.$inputor}function v(t){this.context=t,this.$el=a("<div class='atwho-view'><ul class='atwho-view-ul'></ul></div>"),this.$elUl=this.$el.children(),this.timeoutID=null,this.context.$el.append(this.$el),this.bindEvent()}(function(t,e){for(var n in e)l.call(e,n)&&(t[n]=e[n]);function i(){this.constructor=t}i.prototype=e.prototype,t.prototype=new i,t.__super__=e.prototype})(g,o),g.prototype._getRange=function(){var t=this.app.window.getSelection();if(0<t.rangeCount)return t.getRangeAt(0)},g.prototype._setRange=function(t,e,n){if((n=null==n?this._getRange():n)&&e)return e=a(e)[0],"after"===t?(n.setEndAfter(e),n.setStartAfter(e)):(n.setEndBefore(e),n.setStartBefore(e)),n.collapse(!1),this._clearRange(n)},g.prototype._clearRange=function(t){var e;if(null==t&&(t=this._getRange()),e=this.app.window.getSelection(),null==this.ctrl_a_pressed)return e.removeAllRanges(),e.addRange(t)},g.prototype._movingEvent=function(t){return"click"===t.type||(t=t.which)===r.RIGHT||t===r.LEFT||t===r.UP||t===r.DOWN},g.prototype._unwrap=function(t){var e;return(e=(t=a(t).unwrap().get(0)).nextSibling)&&e.nodeValue&&(t.nodeValue+=e.nodeValue,a(e).remove()),t},g.prototype.catchQuery=function(t){var e,n,i,o,s;if((s=this._getRange())&&s.collapsed)if(t.which===r.ENTER)(e=a(s.startContainer).closest(".atwho-query")).contents().unwrap(),e.is(":empty")&&e.remove(),(e=a(".atwho-query",this.app.document)).text(e.text()).contents().last().unwrap(),this._clearRange();else{if(/firefox/i.test(navigator.userAgent)){if(a(s.startContainer).is(this.$inputor))return void this._clearRange();t.which===r.BACKSPACE&&s.startContainer.nodeType===document.ELEMENT_NODE&&0<=(o=s.startOffset-1)?((n=s.cloneRange()).setStart(s.startContainer,o),a(n.cloneContents()).contents().last().is(".atwho-inserted")&&(o=a(s.startContainer).contents().get(o),this._setRange("after",a(o).contents().last()))):t.which===r.LEFT&&s.startContainer.nodeType===document.TEXT_NODE&&(o=a(s.startContainer.previousSibling)).is(".atwho-inserted")&&0===s.startOffset&&this._setRange("after",o.contents().last())}if(a(s.startContainer).closest(".atwho-inserted").addClass("atwho-query").siblings().removeClass("atwho-query"),0<(e=a(".atwho-query",this.app.document)).length&&e.is(":empty")&&0===e.text().length&&e.remove(),this._movingEvent(t)||e.removeClass("atwho-inserted"),0<e.length)switch(t.which){case r.LEFT:return this._setRange("before",e.get(0),s),void e.removeClass("atwho-query");case r.RIGHT:return this._setRange("after",e.get(0).nextSibling,s),void e.removeClass("atwho-query")}if(0<e.length&&(o=e.attr("data-atwho-at-query"))&&(e.empty().html(o).attr("data-atwho-at-query",null),this._setRange("after",e.get(0),s)),(n=s.cloneRange()).setStart(s.startContainer,0),n="string"==typeof(o=this.callbacks("matcher").call(this,this.at,n.toString(),this.getOpt("startWithSpace"),this.getOpt("acceptSpaceBar"))),0===e.length&&n&&0<=(i=s.startOffset-this.at.length-o.length)&&(s.setStart(s.startContainer,i),e=a("<span/>",this.app.document).attr(this.getOpt("editableAtwhoQueryAttrs")).addClass("atwho-query"),s.surroundContents(e.get(0)),i=e.contents().last().get(0))&&(/firefox/i.test(navigator.userAgent)?(s.setStart(i,i.length),s.setEnd(i,i.length),this._clearRange(s)):this._setRange("after",i,s)),!(n&&o.length<this.getOpt("minLen",0)))return n&&o.length<=this.getOpt("maxLen",20)?(this.trigger("matched",[this.at,(i={text:o,el:e}).text]),this.query=i):(this.view.hide(),this.query={el:e},0<=e.text().indexOf(this.at)&&(this._movingEvent(t)&&e.hasClass("atwho-inserted")?e.removeClass("atwho-query"):!1!==this.callbacks("afterMatchFailed").call(this,this.at,e)&&this._setRange("after",this._unwrap(e.text(e.text()).contents().first()))),null)}},g.prototype.rect=function(){var t,e=this.query.el.offset();if(e&&this.query.el[0].getClientRects().length)return this.app.iframe&&!this.app.iframeAsRoot&&(t=a(this.app.iframe).offset(),e.left+=t.left-this.$inputor.scrollLeft(),e.top+=t.top-this.$inputor.scrollTop()),e.bottom=e.top+this.query.el.height(),e},g.prototype.insert=function(t,e){var n;return this.$inputor.is(":focus")||this.$inputor.focus(),(n=this.getOpt("functionOverrides")).insert?n.insert.call(this,t,e):(n=""===(n=this.getOpt("suffix"))?n:n||" ",e=e.data("item-data"),this.query.el.removeClass("atwho-query").addClass("atwho-inserted").html(t).attr("data-atwho-at-query",""+e["atwho-at"]+this.query.text).attr("contenteditable","false"),(t=this._getRange())&&(this.query.el.length&&t.setEndAfter(this.query.el[0]),t.collapse(!1),t.insertNode(e=this.app.document.createTextNode(""+n)),this._setRange("after",e,t)),this.$inputor.is(":focus")||this.$inputor.focus(),this.$inputor.change())},u=g,m.prototype.destroy=function(){return this.storage.data(this.at,null)},m.prototype.saved=function(){return 0<this.fetch()},m.prototype.query=function(t,e){var n=this.fetch(),i=this.context.getOpt("searchKey");return n=this.context.callbacks("filter").call(this.context,t,n,i)||[],i=this.context.callbacks("remoteFilter"),0<n.length||!i&&0===n.length?e(n):i.call(this.context,t,e)},m.prototype.fetch=function(){return this.storage.data(this.at)||[]},m.prototype.save=function(t){return this.storage.data(this.at,this.context.callbacks("beforeSave").call(this.context,t||[]))},m.prototype.load=function(t){if(!this.saved()&&t)return this._load(t)},m.prototype.reload=function(t){return this._load(t)},m.prototype._load=function(t){return"string"==typeof t?a.ajax(t,{dataType:"json"}).done((e=this,function(t){return e.save(t)})):this.save(t);var e},h=m,v.prototype.init=function(){var t=this.context.getOpt("alias")||this.context.at.charCodeAt(0),e=this.context.getOpt("headerTpl");return e&&1===this.$el.children().length&&this.$el.prepend(e),this.$el.attr({id:"at-view-"+t})},v.prototype.destroy=function(){return this.$el.remove()},v.prototype.bindEvent=function(){var e,n=this.$el.find("ul"),i=0,o=0;return n.on("mousemove.atwho-view","li",function(t){if((i!==t.clientX||o!==t.clientY)&&(i=t.clientX,o=t.clientY,!(t=a(t.currentTarget)).hasClass("cur")))return n.find(".cur").removeClass("cur"),t.addClass("cur")}).on("click.atwho-view","li",(e=this,function(t){return n.find(".cur").removeClass("cur"),a(t.currentTarget).addClass("cur"),e.choose(t),t.preventDefault()}))},v.prototype.visible=function(){return a.expr.filters.visible(this.$el[0])},v.prototype.highlighted=function(){return 0<this.$el.find(".cur").length},v.prototype.choose=function(t){var e,n;if((e=this.$el.find(".cur")).length&&(n=this.context.insertContentFor(e),this.context._stopDelayedCall(),this.context.insert(this.context.callbacks("beforeInsert").call(this.context,n,e,t),e),this.context.trigger("inserted",[e,t]),this.hide(t)),this.context.getOpt("hideWithoutSuffix"))return this.stopShowing=!0},v.prototype.reposition=function(t){var e=this.context.app.iframeAsRoot?this.context.app.window:window;return t.bottom+this.$el.height()-a(e).scrollTop()>a(e).height()&&(t.bottom=t.top-this.$el.height()),t.left>(e=a(e).width()-this.$el.width()-5)&&(t.left=e),e={left:t.left,top:t.bottom},null!=(t=this.context.callbacks("beforeReposition"))&&t.call(this.context,e),this.$el.offset(e),this.context.trigger("reposition",[e])},v.prototype.next=function(){var t=this.$el.find(".cur").removeClass("cur").next();return(t=t.length?t:this.$el.find("li:first")).addClass("cur"),t=(t=t[0]).offsetTop+t.offsetHeight+(t.nextSibling?t.nextSibling.offsetHeight:0),this.scrollTop(Math.max(0,t-this.$el.height()))},v.prototype.prev=function(){var t=this.$el.find(".cur").removeClass("cur").prev();return(t=t.length?t:this.$el.find("li:last")).addClass("cur"),t=(t=t[0]).offsetTop+t.offsetHeight+(t.nextSibling?t.nextSibling.offsetHeight:0),this.scrollTop(Math.max(0,t-this.$el.height()))},v.prototype.scrollTop=function(t){var e=this.context.getOpt("scrollDuration");return e?this.$elUl.animate({scrollTop:t},e):this.$elUl.scrollTop(t)},v.prototype.show=function(){var t;if(!this.stopShowing)return this.visible()||(this.$el.show(),this.$el.scrollTop(0),this.context.trigger("shown")),(t=this.context.rect())?this.reposition(t):void 0;this.stopShowing=!1},v.prototype.hide=function(t,e){var n;if(this.visible())return isNaN(e)?(this.$el.hide(),this.context.trigger("hidden",[t])):(n=this,t=function(){return n.hide()},clearTimeout(this.timeoutID),this.timeoutID=setTimeout(t,e))},v.prototype.render=function(t){var e,n,i,o,s,r;if(a.isArray(t)&&0<t.length){for(this.$el.find("ul").empty(),e=this.$el.find("ul"),r=this.context.getOpt("displayTpl"),n=0,o=t.length;n<o;n++)i=t[n],i=a.extend({},i,{"atwho-at":this.context.at}),s=this.context.callbacks("tplEval").call(this.context,r,i,"onDisplay"),(s=a(this.context.callbacks("highlighter").call(this.context,s,this.context.query.text))).data("item-data",i),e.append(s);return this.show(),this.context.getOpt("highlightFirst")?e.find("li:first").addClass("cur"):void 0}this.hide()},c=v,p={load:function(t,e){if(t=this.controller(t))return t.model.load(e)},isSelecting:function(){var t;return!(null==(t=this.controller())||!t.view.visible())},hide:function(){var t;return null!=(t=this.controller())?t.view.hide():void 0},reposition:function(){var t;if(t=this.controller())return t.view.reposition(t.rect())},setIframe:function(t,e){return this.setupRootElement(t,e),null},run:function(){return this.dispatch()},destroy:function(){return this.shutdown(),this.$inputor.data("atwho",null)}},a.fn.atwho=function(n){var i=arguments,o=null;return this.filter('textarea, input, [contenteditable=""], [contenteditable=true]').each(function(){var t,e;return(e=(t=a(this)).data("atwho"))||t.data("atwho",e=new s(this)),"object"!=typeof n&&n?p[n]&&e?o=p[n].apply(e,Array.prototype.slice.call(i,1)):a.error("Method "+n+" does not exist on jQuery.atwho"):e.reg(n.at,n)}),null!=o?o:this},a.fn.atwho.default={at:void 0,alias:void 0,data:null,displayTpl:"<li>${name}</li>",insertTpl:"${atwho-at}${name}",headerTpl:null,callbacks:n,functionOverrides:{},searchKey:"name",suffix:void 0,hideWithoutSuffix:!1,startWithSpace:!0,acceptSpaceBar:!1,highlightFirst:!0,limit:5,maxLen:20,minLen:0,displayTimeout:300,delay:null,spaceSelectsMatch:!1,tabSelectsMatch:!0,editableAtwhoQueryAttrs:{},scrollDuration:150,suspendOnComposing:!0,lookUpOnClick:!0},a.fn.atwho.debug=!1}),function(n){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e=e||("undefined"!=typeof window?require("jquery"):require("jquery")(t)),n(e,t,t.document)}:n(jQuery,window,document)}(function(P,C,y,E){"use strict";function c(t){var e=parseInt(t,10);return!isNaN(e)&&isFinite(t)?e:null}function l(t,e,n){var i="string"==typeof t;return!!o(t)||(e&&i&&(t=G(t,e)),n&&i&&(t=t.replace(V,"")),!isNaN(parseFloat(t))&&isFinite(t))}function u(t,e,n){var i;return!!o(t)||(o(i=t)||"string"==typeof i)&&!!l(t.replace(W,""),e,n)||null}function v(t,e,n,i){var o=[],s=0,r=e.length;if(i!==E)for(;s<r;s++)t[e[s]][n]&&o.push(t[e[s]][n][i]);else for(;s<r;s++)o.push(t[e[s]][n]);return o}function h(t,e){var n,i=[];e===E?(e=0,n=t):(n=e,e=t);for(var o=e;o<n;o++)i.push(o);return i}function w(t){for(var e=[],n=0,i=t.length;n<i;n++)t[n]&&e.push(t[n]);return e}var f,e,S=function(w){this.$=function(t,e){return this.api(!0).$(t,e)},this._=function(t,e){return this.api(!0).rows(t,e).data()},this.api=function(t){return new B(t?pe(this[f.iApiIndex]):this)},this.fnAddData=function(t,e){var n=this.api(!0),t=(P.isArray(t)&&(P.isArray(t[0])||P.isPlainObject(t[0]))?n.rows:n.row).add(t);return e!==E&&!e||n.draw(),t.flatten().toArray()},this.fnAdjustColumnSizing=function(t){var e=this.api(!0).columns.adjust(),n=e.settings()[0],i=n.oScroll;t===E||t?e.draw(!1):""===i.sX&&""===i.sY||Xt(n)},this.fnClearTable=function(t){var e=this.api(!0).clear();t!==E&&!t||e.draw()},this.fnClose=function(t){this.api(!0).row(t).child.hide()},this.fnDeleteRow=function(t,e,n){var i=this.api(!0),t=i.rows(t),o=t.settings()[0],s=o.aoData[t[0][0]];return t.remove(),e&&e.call(this,o,s),n!==E&&!n||i.draw(),s},this.fnDestroy=function(t){this.api(!0).destroy(t)},this.fnDraw=function(t){this.api(!0).draw(t)},this.fnFilter=function(t,e,n,i,o,s){var r=this.api(!0);(null===e||e===E?r:r.column(e)).search(t,n,i,s),r.draw()},this.fnGetData=function(t,e){var n,i=this.api(!0);return t!==E?(n=t.nodeName?t.nodeName.toLowerCase():"",e!==E||"td"==n||"th"==n?i.cell(t,e).data():i.row(t).data()||null):i.data().toArray()},this.fnGetNodes=function(t){var e=this.api(!0);return t!==E?e.row(t).node():e.rows().nodes().flatten().toArray()},this.fnGetPosition=function(t){var e=this.api(!0),n=t.nodeName.toUpperCase();return"TR"==n?e.row(t).index():"TD"==n||"TH"==n?[(n=e.cell(t).index()).row,n.columnVisible,n.column]:null},this.fnIsOpen=function(t){return this.api(!0).row(t).child.isShown()},this.fnOpen=function(t,e,n){return this.api(!0).row(t).child(e,n).show().child()[0]},this.fnPageChange=function(t,e){t=this.api(!0).page(t);e!==E&&!e||t.draw(!1)},this.fnSetColumnVis=function(t,e,n){t=this.api(!0).column(t).visible(e);n!==E&&!n||t.columns.adjust().draw()},this.fnSettings=function(){return pe(this[f.iApiIndex])},this.fnSort=function(t){this.api(!0).order(t).draw()},this.fnSortListener=function(t,e,n){this.api(!0).order.listener(t,e,n)},this.fnUpdate=function(t,e,n,i,o){var s=this.api(!0);return(n===E||null===n?s.row(e):s.cell(e,n)).data(t),o!==E&&!o||s.columns.adjust(),i!==E&&!i||s.draw(),0},this.fnVersionCheck=f.fnVersionCheck;var t,x=this,_=w===E,C=this.length;for(t in _&&(w={}),this.oApi=this.internal=f.internal,S.ext.internal)t&&(this[t]=Ee(t));return this.each(function(){var t=1<C?fe({},w,!0):w,e=0,n=this.getAttribute("id"),i=!1,o=S.defaults,s=P(this);if("table"!=this.nodeName.toLowerCase())z(null,0,"Non-table node initialisation ("+this.nodeName+")",2);else{J(o),X(o.column),k(o,o,!0),k(o.column,o.column,!0),k(o,P.extend(t,s.data()));var r=S.settings;for(e=0,b=r.length;e<b;e++){var a=r[e];if(a.nTable==this||a.nTHead.parentNode==this||a.nTFoot&&a.nTFoot.parentNode==this){var l=(t.bRetrieve!==E?t:o).bRetrieve,d=(t.bDestroy!==E?t:o).bDestroy;if(_||l)return a.oInstance;if(d){a.oInstance.fnDestroy();break}return void z(a,0,"Cannot reinitialise DataTable",3)}if(a.sTableId==this.id){r.splice(e,1);break}}null!==n&&""!==n||(n="DataTables_Table_"+S.ext._unique++,this.id=n);var u,h,c=P.extend(!0,{},S.models.oSettings,{sDestroyWidth:s[0].style.width,sInstance:n,sTableId:n}),n=(c.nTable=this,c.oApi=x.internal,c.oInit=t,r.push(c),c.oInstance=1===x.length?x:s.dataTable(),J(t),t.oLanguage&&K(t.oLanguage),t.aLengthMenu&&!t.iDisplayLength&&(t.iDisplayLength=(P.isArray(t.aLengthMenu[0])?t.aLengthMenu[0]:t.aLengthMenu)[0]),t=fe(P.extend(!0,{},o),t),A(c.oFeatures,t,["bPaginate","bLengthChange","bFilter","bSort","bSortMulti","bInfo","bProcessing","bAutoWidth","bSortClasses","bServerSide","bDeferRender"]),A(c,t,["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"],["bJQueryUI","bJUI"]]),A(c.oScroll,t,[["sScrollX","sX"],["sScrollXInner","sXInner"],["sScrollY","sY"],["bScrollCollapse","bCollapse"]]),A(c.oLanguage,t,"fnInfoCallback"),M(c,"aoDrawCallback",t.fnDrawCallback,"user"),M(c,"aoServerParams",t.fnServerParams,"user"),M(c,"aoStateSaveParams",t.fnStateSaveParams,"user"),M(c,"aoStateLoadParams",t.fnStateLoadParams,"user"),M(c,"aoStateLoaded",t.fnStateLoaded,"user"),M(c,"aoRowCallback",t.fnRowCallback,"user"),M(c,"aoRowCreatedCallback",t.fnCreatedRow,"user"),M(c,"aoHeaderCallback",t.fnHeaderCallback,"user"),M(c,"aoFooterCallback",t.fnFooterCallback,"user"),M(c,"aoInitComplete",t.fnInitComplete,"user"),M(c,"aoPreDrawCallback",t.fnPreDrawCallback,"user"),c.rowIdFn=T(t.rowId),Z(c),c.oClasses),p=(t.bJQueryUI?(P.extend(n,S.ext.oJUIClasses,t.oClasses),t.sDom===o.sDom&&"lfrtip"===o.sDom&&(c.sDom='<"H"lfr>t<"F"ip>'),c.renderer?P.isPlainObject(c.renderer)&&!c.renderer.header&&(c.renderer.header="jqueryui"):c.renderer="jqueryui"):P.extend(n,S.ext.classes,t.oClasses),s.addClass(n.sTable),c.iInitDisplayStart===E&&(c.iInitDisplayStart=t.iDisplayStart,c._iDisplayStart=t.iDisplayStart),null!==t.iDeferLoading&&(c.bDeferLoading=!0,f=P.isArray(t.iDeferLoading),c._iRecordsDisplay=f?t.iDeferLoading[0]:t.iDeferLoading,c._iRecordsTotal=f?t.iDeferLoading[1]:t.iDeferLoading),c.oLanguage),f=(P.extend(!0,p,t.oLanguage),""!==p.sUrl&&(P.ajax({dataType:"json",url:p.sUrl,success:function(t){K(t),k(o.oLanguage,t),P.extend(!0,p,t),Ut(c)},error:function(){Ut(c)}}),i=!0),null===t.asStripeClasses&&(c.asStripeClasses=[n.sStripeOdd,n.sStripeEven]),c.asStripeClasses),g=s.children("tbody").find("tr").eq(0),m=(-1!==P.inArray(!0,P.map(f,function(t,e){return g.hasClass(t)}))&&(P("tbody tr",this).removeClass(f.join(" ")),c.asDestroyStripes=f.slice()),[]),f=this.getElementsByTagName("thead");if(0!==f.length&&(xt(c.aoHeader,f[0]),m=_t(c)),null===t.aoColumns)for(u=[],e=0,b=m.length;e<b;e++)u.push(null);else u=t.aoColumns;for(e=0,b=u.length;e<b;e++)et(c,m?m[e]:null);at(c,t.aoColumnDefs,u,function(t,e){nt(c,t,e)}),g.length&&(h=function(t,e){return null!==t.getAttribute("data-"+e)?e:null},P(g[0]).children("th, td").each(function(t,e){var n,i=c.aoColumns[t];i.mData===t&&(n=h(e,"sort")||h(e,"order"),e=h(e,"filter")||h(e,"search"),null===n&&null===e||(i.mData={_:t+".display",sort:null!==n?t+".@data-"+n:E,type:null!==n?t+".@data-"+n:E,filter:null!==e?t+".@data-"+e:E},nt(c,t)))}));var v=c.oFeatures;if(t.bStateSave&&(v.bStateSave=!0,ce(c),M(c,"aoDrawCallback",he,"state_save")),t.aaSorting===E)for(var y=c.aaSorting,e=0,b=y.length;e<b;e++)y[e][1]=c.aoColumns[e].asSorting[0];de(c),v.bSort&&M(c,"aoDrawCallback",function(){var t,n;c.bSorted&&(t=I(c),n={},P.each(t,function(t,e){n[e.src]=e.dir}),O(c,null,"order",[c,t,n]),re(c))}),M(c,"aoDrawCallback",function(){(c.bSorted||"ssp"===H(c)||v.bDeferRender)&&de(c)},"sc");var f=s.children("caption").each(function(){this._captionSide=s.css("caption-side")}),$=s.children("thead"),$=(0===$.length&&($=P("<thead/>").appendTo(this)),c.nTHead=$[0],s.children("tbody")),$=(0===$.length&&($=P("<tbody/>").appendTo(this)),c.nTBody=$[0],s.children("tfoot"));if(0===($=0===$.length&&0<f.length&&(""!==c.oScroll.sX||""!==c.oScroll.sY)?P("<tfoot/>").appendTo(this):$).length||0===$.children().length?s.addClass(n.sNoFooter):0<$.length&&(c.nTFoot=$[0],xt(c.aoFooter,c.nTFoot)),t.aaData)for(e=0;e<t.aaData.length;e++)D(c,t.aaData[e]);else!c.bDeferLoading&&"dom"!=H(c)||lt(c,P(c.nTBody).children("tr"));c.aiDisplay=c.aiDisplayMaster.slice(),!(c.bInitialised=!0)===i&&Ut(c)}}),x=null,this},x={},_=/[\r\n]/g,W=/<.*?>/g,U=/^[\w\+\-]/,q=/[\w\+\-]$/,Y=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^","-"].join("|\\")+")","g"),V=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfk]/gi,o=function(t){return!t||!0===t||"-"===t},G=function(t,e){return x[e]||(x[e]=new RegExp(Lt(e),"g")),"string"==typeof t&&"."!==e?t.replace(/\./g,"").replace(x[e],"."):t},L=function(t,e,n){var i=[],o=0,s=t.length;if(n!==E)for(;o<s;o++)t[o]&&t[o][e]&&i.push(t[o][e][n]);else for(;o<s;o++)t[o]&&i.push(t[o][e]);return i},Q=function(t){var e,n,i,o=[],s=t.length,r=0;t:for(n=0;n<s;n++){for(e=t[n],i=0;i<r;i++)if(o[i]===e)continue t;o.push(e),r++}return o};function r(n){var i,o,s={};P.each(n,function(t,e){(i=t.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(i[1]+" ")&&(o=t.replace(i[0],i[2].toLowerCase()),s[o]=t,"o"===i[1])&&r(n[t])}),n._hungarianMap=s}function k(n,i,o){var s;n._hungarianMap||r(n),P.each(i,function(t,e){(s=n._hungarianMap[t])===E||!o&&i[s]!==E||("o"===s.charAt(0)?(i[s]||(i[s]={}),P.extend(!0,i[s],i[t]),k(n[s],i[s],o)):i[s]=i[t])})}function K(t){var e=S.defaults.oLanguage,n=t.sZeroRecords,n=(!t.sEmptyTable&&n&&"No data available in table"===e.sEmptyTable&&A(t,t,"sZeroRecords","sEmptyTable"),!t.sLoadingRecords&&n&&"Loading..."===e.sLoadingRecords&&A(t,t,"sZeroRecords","sLoadingRecords"),t.sInfoThousands&&(t.sThousands=t.sInfoThousands),t.sDecimal);n&&Oe(n)}S.util={throttle:function(i,t){var o,s,r=t!==E?t:200;return function(){var t=this,e=+new Date,n=arguments;o&&e<o+r?(clearTimeout(s),s=setTimeout(function(){o=E,i.apply(t,n)},r)):(o=e,i.apply(t,n))}},escapeRegex:function(t){return t.replace(Y,"\\$1")}};var s=function(t,e,n){t[e]!==E&&(t[n]=t[e])};function J(t){s(t,"ordering","bSort"),s(t,"orderMulti","bSortMulti"),s(t,"orderClasses","bSortClasses"),s(t,"orderCellsTop","bSortCellsTop"),s(t,"order","aaSorting"),s(t,"orderFixed","aaSortingFixed"),s(t,"paging","bPaginate"),s(t,"pagingType","sPaginationType"),s(t,"pageLength","iDisplayLength"),s(t,"searching","bFilter"),"boolean"==typeof t.sScrollX&&(t.sScrollX=t.sScrollX?"100%":""),"boolean"==typeof t.scrollX&&(t.scrollX=t.scrollX?"100%":"");var e=t.aoSearchCols;if(e)for(var n=0,i=e.length;n<i;n++)e[n]&&k(S.models.oSearch,e[n])}function X(t){s(t,"orderable","bSortable"),s(t,"orderData","aDataSort"),s(t,"orderSequence","asSorting"),s(t,"orderDataType","sortDataType");var e=t.aDataSort;e&&!P.isArray(e)&&(t.aDataSort=[e])}function Z(t){var e,n,i,o;S.__browser||(S.__browser=e={},o=(i=(n=P("<div/>").css({position:"fixed",top:0,left:0,height:1,width:1,overflow:"hidden"}).append(P("<div/>").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(P("<div/>").css({width:"100%",height:10}))).appendTo("body")).children()).children(),e.barWidth=i[0].offsetWidth-i[0].clientWidth,e.bScrollOversize=100===o[0].offsetWidth&&100!==i[0].clientWidth,e.bScrollbarLeft=1!==Math.round(o.offset().left),e.bBounding=!!n[0].getBoundingClientRect().width,n.remove()),P.extend(t.oBrowser,S.__browser),t.oScroll.iBarWidth=S.__browser.barWidth}function tt(t,e,n,i,o,s){var r,a=i,l=!1;for(n!==E&&(r=n,l=!0);a!==o;)t.hasOwnProperty(a)&&(r=l?e(r,t[a],a,t):t[a],l=!0,a+=s);return r}function et(t,e){var n=S.defaults.column,i=t.aoColumns.length,n=P.extend({},S.models.oColumn,n,{nTh:e||y.createElement("th"),sTitle:n.sTitle||(e?e.innerHTML:""),aDataSort:n.aDataSort||[i],mData:n.mData||i,idx:i}),n=(t.aoColumns.push(n),t.aoPreSearchCols);n[i]=P.extend({},S.models.oSearch,n[i]),nt(t,i,P(e).data())}function nt(t,e,n){function i(t){return"string"==typeof t&&-1!==t.indexOf("@")}var e=t.aoColumns[e],o=t.oClasses,s=P(e.nTh),r=(!e.sWidthOrig&&(e.sWidthOrig=s.attr("width")||null,d=(s.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/))&&(e.sWidthOrig=d[1]),n!==E&&null!==n&&(X(n),k(S.defaults.column,n),n.mDataProp===E||n.mData||(n.mData=n.mDataProp),n.sType&&(e._sManualType=n.sType),n.className&&!n.sClass&&(n.sClass=n.className),P.extend(e,n),A(e,n,"sWidth","sWidthOrig"),n.iDataSort!==E&&(e.aDataSort=[n.iDataSort]),A(e,n,"aDataSort")),e.mData),a=T(r),l=e.mRender?T(e.mRender):null,d=(e._bAttrSrc=P.isPlainObject(r)&&(i(r.sort)||i(r.type)||i(r.filter)),e._setter=null,e.fnGetData=function(t,e,n){var i=a(t,e,E,n);return l&&e?l(i,e,t,n):i},e.fnSetData=function(t,e,n){return m(r)(t,e,n)},"number"!=typeof r&&(t._rowReadObject=!0),t.oFeatures.bSort||(e.bSortable=!1,s.addClass(o.sSortableNone)),-1!==P.inArray("asc",e.asSorting)),n=-1!==P.inArray("desc",e.asSorting);e.bSortable&&(d||n)?d&&!n?(e.sSortingClass=o.sSortableAsc,e.sSortingClassJUI=o.sSortJUIAscAllowed):!d&&n?(e.sSortingClass=o.sSortableDesc,e.sSortingClassJUI=o.sSortJUIDescAllowed):(e.sSortingClass=o.sSortable,e.sSortingClassJUI=o.sSortJUI):(e.sSortingClass=o.sSortableNone,e.sSortingClassJUI="")}function R(t){if(!1!==t.oFeatures.bAutoWidth){var e=t.aoColumns;te(t);for(var n=0,i=e.length;n<i;n++)e[n].nTh.style.width=e[n].sWidth}var o=t.oScroll;""===o.sY&&""===o.sX||Xt(t),O(t,null,"column-sizing",[t])}function N(t,e){t=st(t,"bVisible");return"number"==typeof t[e]?t[e]:null}function it(t,e){t=st(t,"bVisible"),e=P.inArray(e,t);return-1!==e?e:null}function ot(t){var n=0;return P.each(t.aoColumns,function(t,e){e.bVisible&&"none"!==P(e.nTh).css("display")&&n++}),n}function st(t,n){var i=[];return P.map(t.aoColumns,function(t,e){t[n]&&i.push(e)}),i}function rt(t){for(var e,n,i,o,s,r,a,l=t.aoColumns,d=t.aoData,u=S.ext.type.detect,h=0,c=l.length;h<c;h++)if(a=[],!(s=l[h]).sType&&s._sManualType)s.sType=s._sManualType;else if(!s.sType){for(e=0,n=u.length;e<n;e++){for(i=0,o=d.length;i<o&&(a[i]===E&&(a[i]=b(t,i,h,"type")),(r=u[e](a[i],t))||e===u.length-1)&&"html"!==r;i++);if(r){s.sType=r;break}}s.sType||(s.sType="string")}}function at(t,e,n,i){var o,s,r,a,l=t.aoColumns;if(e)for(o=e.length-1;0<=o;o--)for(var d,u=(d=e[o]).targets!==E?d.targets:d.aTargets,h=0,c=(u=P.isArray(u)?u:[u]).length;h<c;h++)if("number"==typeof u[h]&&0<=u[h]){for(;l.length<=u[h];)et(t);i(u[h],d)}else if("number"==typeof u[h]&&u[h]<0)i(l.length+u[h],d);else if("string"==typeof u[h])for(r=0,a=l.length;r<a;r++)"_all"!=u[h]&&!P(l[r].nTh).hasClass(u[h])||i(r,d);if(n)for(o=0,s=n.length;o<s;o++)i(o,n[o])}function D(t,e,n,i){for(var o=t.aoData.length,s=P.extend(!0,{},S.models.oRow,{src:n?"dom":"data",idx:o}),r=(s._aData=e,t.aoData.push(s),t.aoColumns),a=0,l=r.length;a<l;a++)r[a].sType=null;t.aiDisplayMaster.push(o);e=t.rowIdFn(e);return e!==E&&(t.aIds[e]=s),!n&&t.oFeatures.bDeferRender||vt(t,o,n,i),o}function lt(n,t){var i;return(t=t instanceof P?t:P(t)).map(function(t,e){return i=mt(n,e),D(n,i.data,e,i.cells)})}function b(t,e,n,i){var o=t.iDraw,s=t.aoColumns[n],r=t.aoData[e]._aData,a=s.sDefaultContent,l=s.fnGetData(r,i,{settings:t,row:e,col:n});if(l===E)return t.iDrawError!=o&&null===a&&(z(t,0,"Requested unknown parameter "+("function"==typeof s.mData?"{function}":"'"+s.mData+"'")+" for row "+e+", column "+n,4),t.iDrawError=o),a;if(l!==r&&null!==l||null===a||i===E){if("function"==typeof l)return l.call(r)}else l=a;return null===l&&"display"==i?"":l}function dt(t,e,n,i){var o=t.aoColumns[n],s=t.aoData[e]._aData;o.fnSetData(s,i,{settings:t,row:e,col:n})}var ut=/\[.*?\]$/,p=/\(\)$/;function ht(t){return P.map(t.match(/(\\.|[^\.])+/g)||[""],function(t){return t.replace(/\\./g,".")})}function T(o){var s,c;return P.isPlainObject(o)?(s={},P.each(o,function(t,e){e&&(s[t]=T(e))}),function(t,e,n,i){var o=s[e]||s._;return o!==E?o(t,e,n,i):t}):null===o?function(t){return t}:"function"==typeof o?function(t,e,n,i){return o(t,e,n,i)}:"string"!=typeof o||-1===o.indexOf(".")&&-1===o.indexOf("[")&&-1===o.indexOf("(")?function(t,e){return t[o]}:(c=function(t,e,n){var i,o,s;if(""!==n)for(var r=ht(n),a=0,l=r.length;a<l;a++){if(h=r[a].match(ut),i=r[a].match(p),h){if(r[a]=r[a].replace(ut,""),""!==r[a]&&(t=t[r[a]]),o=[],r.splice(0,a+1),s=r.join("."),P.isArray(t))for(var d=0,u=t.length;d<u;d++)o.push(c(t[d],e,s));var h=h[0].substring(1,h[0].length-1);t=""===h?o:o.join(h);break}if(i)r[a]=r[a].replace(p,""),t=t[r[a]]();else{if(null===t||t[r[a]]===E)return E;t=t[r[a]]}}return t},function(t,e){return c(t,e,o)})}function m(i){var c;return P.isPlainObject(i)?m(i._):null===i?function(){}:"function"==typeof i?function(t,e,n){i(t,"set",e,n)}:"string"!=typeof i||-1===i.indexOf(".")&&-1===i.indexOf("[")&&-1===i.indexOf("(")?function(t,e){t[i]=e}:(c=function(t,e,n){for(var i,o,s,r,a=ht(n),n=a[a.length-1],l=0,d=a.length-1;l<d;l++){if(i=a[l].match(ut),o=a[l].match(p),i){if(a[l]=a[l].replace(ut,""),t[a[l]]=[],(i=a.slice()).splice(0,l+1),r=i.join("."),P.isArray(e))for(var u=0,h=e.length;u<h;u++)c(s={},e[u],r),t[a[l]].push(s);else t[a[l]]=e;return}o&&(a[l]=a[l].replace(p,""),t=t[a[l]](e)),null!==t[a[l]]&&t[a[l]]!==E||(t[a[l]]={}),t=t[a[l]]}n.match(p)?t[n.replace(p,"")](e):t[n.replace(ut,"")]=e},function(t,e){return c(t,e,i)})}function ct(t){return L(t.aoData,"_aData")}function pt(t){t.aoData.length=0,t.aiDisplayMaster.length=0,t.aiDisplay.length=0,t.aIds={}}function ft(t,e,n){for(var i=-1,o=0,s=t.length;o<s;o++)t[o]==e?i=o:t[o]>e&&t[o]--;-1!=i&&n===E&&t.splice(i,1)}function gt(n,i,t,e){function o(t,e){for(;t.childNodes.length;)t.removeChild(t.firstChild);t.innerHTML=b(n,i,e,"display")}var s,r,a=n.aoData[i];if("dom"!==t&&(t&&"auto"!==t||"dom"!==a.src)){var l=a.anCells;if(l)if(e!==E)o(l[e],e);else for(s=0,r=l.length;s<r;s++)o(l[s],s)}else a._aData=mt(n,a,e,e===E?E:a._aData).data;a._aSortData=null,a._aFilterData=null;var d=n.aoColumns;if(e!==E)d[e].sType=null;else{for(s=0,r=d.length;s<r;s++)d[s].sType=null;yt(n,a)}}function mt(t,e,n,i){function o(t,e){var n;"string"==typeof t&&-1!==(n=t.indexOf("@"))&&(n=t.substring(n+1),m(t)(i,e.getAttribute(n)))}function s(t){n!==E&&n!==h||(a=c[h],l=P.trim(t.innerHTML),a&&a._bAttrSrc?(m(a.mData._)(i,l),o(a.mData.sort,t),o(a.mData.type,t),o(a.mData.filter,t)):p?(a._setter||(a._setter=m(a.mData)),a._setter(i,l)):i[h]=l),h++}var r,a,l,d=[],u=e.firstChild,h=0,c=t.aoColumns,p=t._rowReadObject;i=i!==E?i:p?{}:[];if(u)for(;u;)"TD"!=(r=u.nodeName.toUpperCase())&&"TH"!=r||(s(u),d.push(u)),u=u.nextSibling;else for(var f=0,g=(d=e.anCells).length;f<g;f++)s(d[f]);var e=e.firstChild?e:e.nTr;return e&&(e=e.getAttribute("id"))&&m(t.rowId)(i,e),{data:i,cells:d}}function vt(t,e,n,i){var o,s,r,a,l,d=t.aoData[e],u=d._aData,h=[];if(null===d.nTr){for(o=n||y.createElement("tr"),d.nTr=o,d.anCells=h,o._DT_RowIndex=e,yt(t,d),a=0,l=t.aoColumns.length;a<l;a++)r=t.aoColumns[a],(s=n?i[a]:y.createElement(r.sCellType))._DT_CellIndex={row:e,column:a},h.push(s),n&&!r.mRender&&r.mData===a||P.isPlainObject(r.mData)&&r.mData._===a+".display"||(s.innerHTML=b(t,e,a,"display")),r.sClass&&(s.className+=" "+r.sClass),r.bVisible&&!n?o.appendChild(s):!r.bVisible&&n&&s.parentNode.removeChild(s),r.fnCreatedCell&&r.fnCreatedCell.call(t.oInstance,s,b(t,e,a),u,e,a);O(t,"aoRowCreatedCallback",null,[o,u,e])}d.nTr.setAttribute("role","row")}function yt(t,e){var n=e.nTr,i=e._aData;n&&((t=t.rowIdFn(i))&&(n.id=t),i.DT_RowClass&&(t=i.DT_RowClass.split(" "),e.__rowc=e.__rowc?Q(e.__rowc.concat(t)):t,P(n).removeClass(e.__rowc.join(" ")).addClass(i.DT_RowClass)),i.DT_RowAttr&&P(n).attr(i.DT_RowAttr),i.DT_RowData)&&P(n).data(i.DT_RowData)}function bt(t){var e,n,i,o=t.nTHead,s=t.nTFoot,r=0===P("th, td",o).length,a=t.oClasses,l=t.aoColumns;for(r&&(n=P("<tr/>").appendTo(o)),u=0,h=l.length;u<h;u++)i=l[u],e=P(i.nTh).addClass(i.sClass),r&&e.appendTo(n),t.oFeatures.bSort&&(e.addClass(i.sSortingClass),!1!==i.bSortable)&&(e.attr("tabindex",t.iTabIndex).attr("aria-controls",t.sTableId),le(t,i.nTh,u)),i.sTitle!=e[0].innerHTML&&e.html(i.sTitle),ve(t,"header")(t,e,i,a);if(r&&xt(t.aoHeader,o),P(o).find(">tr").attr("role","row"),P(o).find(">tr>th, >tr>td").addClass(a.sHeaderTH),P(s).find(">tr>th, >tr>td").addClass(a.sFooterTH),null!==s)for(var d=t.aoFooter[0],u=0,h=d.length;u<h;u++)(i=l[u]).nTf=d[u].cell,i.sClass&&P(i.nTf).addClass(i.sClass)}function $t(t,e,n){var i,o,s,r,a,l,d,u,h,c=[],p=[],f=t.aoColumns.length;if(e){for(n===E&&(n=!1),i=0,o=e.length;i<o;i++){for(c[i]=e[i].slice(),c[i].nTr=e[i].nTr,s=f-1;0<=s;s--)t.aoColumns[s].bVisible||n||c[i].splice(s,1);p.push([])}for(i=0,o=c.length;i<o;i++){if(d=c[i].nTr)for(;l=d.firstChild;)d.removeChild(l);for(s=0,r=c[i].length;s<r;s++)if(h=u=1,p[i][s]===E){for(d.appendChild(c[i][s].cell),p[i][s]=1;c[i+u]!==E&&c[i][s].cell==c[i+u][s].cell;)p[i+u][s]=1,u++;for(;c[i][s+h]!==E&&c[i][s].cell==c[i][s+h].cell;){for(a=0;a<u;a++)p[i+a][s+h]=1;h++}P(c[i][s].cell).attr("rowspan",u).attr("colspan",h)}}}}function g(t){var e=O(t,"aoPreDrawCallback","preDraw",[t]);if(-1!==P.inArray(!1,e))$(t,!1);else{var n=[],i=0,o=t.asStripeClasses,s=o.length,e=(t.aoOpenRows.length,t.oLanguage),r=t.iInitDisplayStart,a="ssp"==H(t),l=t.aiDisplay,r=(t.bDrawing=!0,r!==E&&-1!==r&&(t._iDisplayStart=!a&&r>=t.fnRecordsDisplay()?0:r,t.iInitDisplayStart=-1),t._iDisplayStart),d=t.fnDisplayEnd();if(t.bDeferLoading)t.bDeferLoading=!1,t.iDraw++,$(t,!1);else if(a){if(!t.bDestroying&&!St(t))return}else t.iDraw++;if(0!==l.length)for(var u=a?t.aoData.length:d,h=a?0:r;h<u;h++){var c,p=l[h],f=t.aoData[p],p=(null===f.nTr&&vt(t,p),f.nTr);0!==s&&(c=o[i%s],f._sRowStripe!=c)&&(P(p).removeClass(f._sRowStripe).addClass(c),f._sRowStripe=c),O(t,"aoRowCallback",null,[p,f._aData,i,h]),n.push(p),i++}else{a=e.sZeroRecords;1==t.iDraw&&"ajax"==H(t)?a=e.sLoadingRecords:e.sEmptyTable&&0===t.fnRecordsTotal()&&(a=e.sEmptyTable),n[0]=P("<tr/>",{class:s?o[0]:""}).append(P("<td />",{valign:"top",colSpan:ot(t),class:t.oClasses.sRowEmpty}).html(a))[0]}O(t,"aoHeaderCallback","header",[P(t.nTHead).children("tr")[0],ct(t),r,d,l]),O(t,"aoFooterCallback","footer",[P(t.nTFoot).children("tr")[0],ct(t),r,d,l]);e=P(t.nTBody);e.children().detach(),e.append(P(n)),O(t,"aoDrawCallback","draw",[t]),t.bSorted=!1,t.bFiltered=!1,t.bDrawing=!1}}function d(t,e){var n=t.oFeatures,i=n.bSort,n=n.bFilter;i&&se(t),n?At(t,t.oPreviousSearch):t.aiDisplay=t.aiDisplayMaster.slice(),!0!==e&&(t._iDisplayStart=0),t._drawHold=e,g(t),t._drawHold=!1}function wt(t){for(var e,n,i,o,s,r,a,l=t.oClasses,d=P(t.nTable),d=P("<div/>").insertBefore(d),u=t.oFeatures,h=P("<div/>",{id:t.sTableId+"_wrapper",class:l.sWrapper+(t.nTFoot?"":" "+l.sNoFooter)}),c=(t.nHolding=d[0],t.nTableWrapper=h[0],t.nTableReinsertBefore=t.nTable.nextSibling,t.sDom.split("")),p=0;p<c.length;p++){if(e=null,"<"==(n=c[p])){if(i=P("<div/>")[0],"'"==(o=c[p+1])||'"'==o){for(s="",r=2;c[p+r]!=o;)s+=c[p+r],r++;"H"==s?s=l.sJUIHeader:"F"==s&&(s=l.sJUIFooter),-1!=s.indexOf(".")?(a=s.split("."),i.id=a[0].substr(1,a[0].length-1),i.className=a[1]):"#"==s.charAt(0)?i.id=s.substr(1,s.length-1):i.className=s,p+=r}h.append(i),h=P(i)}else if(">"==n)h=h.parent();else if("l"==n&&u.bPaginate&&u.bLengthChange)e=Vt(t);else if("f"==n&&u.bFilter)e=It(t);else if("r"==n&&u.bProcessing)e=Kt(t);else if("t"==n)e=Jt(t);else if("i"==n&&u.bInfo)e=Ht(t);else if("p"==n&&u.bPaginate)e=Gt(t);else if(0!==S.ext.feature.length)for(var f=S.ext.feature,g=0,m=f.length;g<m;g++)if(n==f[g].cFeature){e=f[g].fnInit(t);break}e&&((a=t.aanFeatures)[n]||(a[n]=[]),a[n].push(e),h.append(e))}d.replaceWith(h),t.nHolding=null}function xt(t,e){var n,i,o,s,r,a,l,d,u,h,c=P(e).children("tr");for(t.splice(0,t.length),o=0,a=c.length;o<a;o++)t.push([]);for(o=0,a=c.length;o<a;o++)for(i=(n=c[o]).firstChild;i;){if("TD"==i.nodeName.toUpperCase()||"TH"==i.nodeName.toUpperCase())for(d=(d=+i.getAttribute("colspan"))&&0!=d&&1!=d?d:1,u=(u=+i.getAttribute("rowspan"))&&0!=u&&1!=u?u:1,l=function(t,e,n){for(var i=t[e];i[n];)n++;return n}(t,o,0),h=1==d,r=0;r<d;r++)for(s=0;s<u;s++)t[o+s][l+r]={cell:i,unique:h},t[o+s].nTr=n;i=i.nextSibling}}function _t(t,e,n){var i=[];n||(n=t.aoHeader,e&&xt(n=[],e));for(var o=0,s=n.length;o<s;o++)for(var r=0,a=n[o].length;r<a;r++)!n[o][r].unique||i[r]&&t.bSortCellsTop||(i[r]=n[o][r].cell);return i}function Ct(o,t,e){function n(t){O(o,null,"xhr",[o,t,o.jqXHR]),e(t)}O(o,"aoServerParams","serverParams",[t]),t&&P.isArray(t)&&(i={},s=/(.*?)\[\]$/,P.each(t,function(t,e){var n=e.name.match(s);n?(n=n[0],i[n]||(i[n]=[]),i[n].push(e.value)):i[e.name]=e.value}),t=i);var i,s,r,a=o.ajax,l=o.oInstance,d=(P.isPlainObject(a)&&a.data&&(r=a.data,d=P.isFunction(r)?r(t,o):r,t=P.isFunction(r)&&d?d:P.extend(!0,t,d),delete a.data),{data:t,success:function(t){var e=t.error||t.sError;e&&z(o,0,e),o.json=t,n(t)},dataType:"json",cache:!1,type:o.sServerMethod,error:function(t,e,n){var i=O(o,null,"xhr",[o,null,o.jqXHR]);-1===P.inArray(!0,i)&&("parsererror"==e?z(o,0,"Invalid JSON response",1):4===t.readyState&&z(o,0,"Ajax error",7)),$(o,!1)}});o.oAjaxData=t,O(o,null,"preXhr",[o,t]),o.fnServerData?o.fnServerData.call(l,o.sAjaxSource,P.map(t,function(t,e){return{name:e,value:t}}),n,o):o.sAjaxSource||"string"==typeof a?o.jqXHR=P.ajax(P.extend(d,{url:a||o.sAjaxSource})):P.isFunction(a)?o.jqXHR=a.call(l,t,n,o):(o.jqXHR=P.ajax(P.extend(d,a)),a.data=r)}function St(e){return!e.bAjaxDataGet||(e.iDraw++,$(e,!0),Ct(e,kt(e),function(t){Dt(e,t)}),!1)}function kt(t){for(var e,n,i,o=t.aoColumns,s=o.length,r=t.oFeatures,a=t.oPreviousSearch,l=t.aoPreSearchCols,d=[],u=I(t),h=t._iDisplayStart,c=!1!==r.bPaginate?t._iDisplayLength:-1,p=function(t,e){d.push({name:t,value:e})},f=(p("sEcho",t.iDraw),p("iColumns",s),p("sColumns",L(o,"sName").join(",")),p("iDisplayStart",h),p("iDisplayLength",c),{draw:t.iDraw,columns:[],order:[],start:h,length:c,search:{value:a.sSearch,regex:a.bRegex}}),g=0;g<s;g++)n=o[g],i=l[g],e="function"==typeof n.mData?"function":n.mData,f.columns.push({data:e,name:n.sName,searchable:n.bSearchable,orderable:n.bSortable,search:{value:i.sSearch,regex:i.bRegex}}),p("mDataProp_"+g,e),r.bFilter&&(p("sSearch_"+g,i.sSearch),p("bRegex_"+g,i.bRegex),p("bSearchable_"+g,n.bSearchable)),r.bSort&&p("bSortable_"+g,n.bSortable);r.bFilter&&(p("sSearch",a.sSearch),p("bRegex",a.bRegex)),r.bSort&&(P.each(u,function(t,e){f.order.push({column:e.col,dir:e.dir}),p("iSortCol_"+t,e.col),p("sSortDir_"+t,e.dir)}),p("iSortingCols",u.length));h=S.ext.legacy.ajax;return null===h?t.sAjaxSource?d:f:h?d:f}function Dt(t,n){function e(t,e){return n[t]!==E?n[t]:n[e]}var i=Tt(t,n),o=e("sEcho","draw"),s=e("iTotalRecords","recordsTotal"),r=e("iTotalDisplayRecords","recordsFiltered");if(o){if(+o<t.iDraw)return;t.iDraw=+o}pt(t),t._iRecordsTotal=parseInt(s,10),t._iRecordsDisplay=parseInt(r,10);for(var a=0,l=i.length;a<l;a++)D(t,i[a]);t.aiDisplay=t.aiDisplayMaster.slice(),t.bAjaxDataGet=!1,g(t),t._bInitComplete||qt(t,n),t.bAjaxDataGet=!0,$(t,!1)}function Tt(t,e){t=P.isPlainObject(t.ajax)&&t.ajax.dataSrc!==E?t.ajax.dataSrc:t.sAjaxDataProp;return"data"===t?e.aaData||e[t]:""!==t?T(t)(e):e}function It(n){function t(){r.f;var t=this.value||"";t!=s.sSearch&&(At(n,{sSearch:t,bRegex:s.bRegex,bSmart:s.bSmart,bCaseInsensitive:s.bCaseInsensitive}),n._iDisplayStart=0,g(n))}var e=n.oClasses,i=n.sTableId,o=n.oLanguage,s=n.oPreviousSearch,r=n.aanFeatures,a='<input type="search" class="'+e.sFilterInput+'"/>',l=(l=o.sSearch).match(/_INPUT_/)?l.replace("_INPUT_",a):l+a,a=P("<div/>",{id:r.f?null:i+"_filter",class:e.sFilter}).append(P("<label/>").append(l)),e=null!==n.searchDelay?n.searchDelay:"ssp"===H(n)?400:0,d=P("input",a).val(s.sSearch).attr("placeholder",o.sSearchPlaceholder).bind("keyup.DT search.DT input.DT paste.DT cut.DT",e?ee(t,e):t).bind("keypress.DT",function(t){if(13==t.keyCode)return!1}).attr("aria-controls",i);return P(n.nTable).on("search.dt.DT",function(t,e){if(n===e)try{d[0]!==y.activeElement&&d.val(s.sSearch)}catch(t){}}),a[0]}function At(t,e,n){function i(t){s.sSearch=t.sSearch,s.bRegex=t.bRegex,s.bSmart=t.bSmart,s.bCaseInsensitive=t.bCaseInsensitive}function o(t){return t.bEscapeRegex!==E?!t.bEscapeRegex:t.bRegex}var s=t.oPreviousSearch,r=t.aoPreSearchCols;if(rt(t),"ssp"!=H(t)){Pt(t,e.sSearch,n,o(e),e.bSmart,e.bCaseInsensitive),i(e);for(var a=0;a<r.length;a++)Ot(t,r[a].sSearch,a,o(r[a]),r[a].bSmart,r[a].bCaseInsensitive);Mt(t)}else i(e);t.bFiltered=!0,O(t,null,"search",[t])}function Mt(t){for(var e,n,i=S.ext.search,o=t.aiDisplay,s=0,r=i.length;s<r;s++){for(var a=[],l=0,d=o.length;l<d;l++)n=o[l],e=t.aoData[n],i[s](t,e._aFilterData,n,e._aData,l)&&a.push(n);o.length=0,P.merge(o,a)}}function Ot(t,e,n,i,o,s){if(""!==e)for(var r,a=t.aiDisplay,l=Et(e,i,o,s),d=a.length-1;0<=d;d--)r=t.aoData[a[d]]._aFilterData[n],l.test(r)||a.splice(d,1)}function Pt(t,e,n,i,o,s){var r,a,l=Et(e,i,o,s),i=t.oPreviousSearch.sSearch,o=t.aiDisplayMaster;if(0!==S.ext.search.length&&(n=!0),s=Ft(t),e.length<=0)t.aiDisplay=o.slice();else for((s||n||i.length>e.length||0!==e.indexOf(i)||t.bSorted)&&(t.aiDisplay=o.slice()),a=(r=t.aiDisplay).length-1;0<=a;a--)l.test(t.aoData[r[a]]._sFilterRow)||r.splice(a,1)}function Et(t,e,n,i){return t=e?t:Lt(t),n&&(t="^(?=.*?"+P.map(t.match(/"[^"]+"|[^ ]+/g)||[""],function(t){var e;return(t='"'===t.charAt(0)?(e=t.match(/^"(.*)"$/))?e[1]:t:t).replace('"',"")}).join(")(?=.*?")+").*$"),new RegExp(t,i?"i":"")}var Lt=S.util.escapeRegex,Rt=P("<div>")[0],Nt=Rt.textContent!==E;function Ft(t){for(var e,n,i,o,s,r,a=t.aoColumns,l=S.ext.type.search,d=!1,u=0,h=t.aoData.length;u<h;u++)if(!(r=t.aoData[u])._aFilterData){for(o=[],n=0,i=a.length;n<i;n++)(e=a[n]).bSearchable?(s=b(t,u,n,"filter"),"string"!=typeof(s=null===(s=l[e.sType]?l[e.sType](s):s)?"":s)&&s.toString&&(s=s.toString())):s="",s.indexOf&&-1!==s.indexOf("&")&&(Rt.innerHTML=s,s=Nt?Rt.textContent:Rt.innerText),s.replace&&(s=s.replace(/[\r\n]/g,"")),o.push(s);r._aFilterData=o,r._sFilterRow=o.join(" "),d=!0}return d}function jt(t){return{search:t.sSearch,smart:t.bSmart,regex:t.bRegex,caseInsensitive:t.bCaseInsensitive}}function zt(t){return{sSearch:t.search,bSmart:t.smart,bRegex:t.regex,bCaseInsensitive:t.caseInsensitive}}function Ht(t){var e=t.sTableId,n=t.aanFeatures.i,i=P("<div/>",{class:t.oClasses.sInfo,id:n?null:e+"_info"});return n||(t.aoDrawCallback.push({fn:Bt,sName:"information"}),i.attr("role","status").attr("aria-live","polite"),P(t.nTable).attr("aria-describedby",e+"_info")),i[0]}function Bt(t){var e,n,i,o,s,r,a=t.aanFeatures.i;0!==a.length&&(r=t.oLanguage,e=t._iDisplayStart+1,n=t.fnDisplayEnd(),i=t.fnRecordsTotal(),s=(o=t.fnRecordsDisplay())?r.sInfo:r.sInfoEmpty,o!==i&&(s+=" "+r.sInfoFiltered),s=Wt(t,s+=r.sInfoPostFix),null!==(r=r.fnInfoCallback)&&(s=r.call(t.oInstance,t,e,n,i,o,s)),P(a).html(s))}function Wt(t,e){var n=t.fnFormatNumber,i=t._iDisplayStart+1,o=t._iDisplayLength,s=t.fnRecordsDisplay(),r=-1===o;return e.replace(/_START_/g,n.call(t,i)).replace(/_END_/g,n.call(t,t.fnDisplayEnd())).replace(/_MAX_/g,n.call(t,t.fnRecordsTotal())).replace(/_TOTAL_/g,n.call(t,s)).replace(/_PAGE_/g,n.call(t,r?1:Math.ceil(i/o))).replace(/_PAGES_/g,n.call(t,r?1:Math.ceil(s/o)))}function Ut(n){var i,t,e,o=n.iInitDisplayStart,s=n.aoColumns,r=n.oFeatures,a=n.bDeferLoading;if(n.bInitialised){for(wt(n),bt(n),$t(n,n.aoHeader),$t(n,n.aoFooter),$(n,!0),r.bAutoWidth&&te(n),i=0,t=s.length;i<t;i++)(e=s[i]).sWidth&&(e.nTh.style.width=j(e.sWidth));O(n,null,"preInit",[n]),d(n);r=H(n);"ssp"==r&&!a||("ajax"==r?Ct(n,[],function(t){var e=Tt(n,t);for(i=0;i<e.length;i++)D(n,e[i]);n.iInitDisplayStart=o,d(n),$(n,!1),qt(n,t)}):($(n,!1),qt(n)))}else setTimeout(function(){Ut(n)},200)}function qt(t,e){t._bInitComplete=!0,(e||t.oInit.aaData)&&R(t),O(t,null,"plugin-init",[t,e]),O(t,"aoInitComplete","init",[t,e])}function Yt(t,e){e=parseInt(e,10);t._iDisplayLength=e,me(t),O(t,null,"length",[t,e])}function Vt(i){for(var t=i.oClasses,e=i.sTableId,n=i.aLengthMenu,o=P.isArray(n[0]),s=o?n[0]:n,r=o?n[1]:n,a=P("<select/>",{name:e+"_length","aria-controls":e,class:t.sLengthSelect}),l=0,d=s.length;l<d;l++)a[0][l]=new Option(r[l],s[l]);var u=P("<div><label/></div>").addClass(t.sLength);return i.aanFeatures.l||(u[0].id=e+"_length"),u.children().append(i.oLanguage.sLengthMenu.replace("_MENU_",a[0].outerHTML)),P("select",u).val(i._iDisplayLength).bind("change.DT",function(t){Yt(i,P(this).val()),g(i)}),P(i.nTable).bind("length.dt.DT",function(t,e,n){i===e&&P("select",u).val(n)}),u[0]}function Gt(t){function u(t){g(t)}var e=t.sPaginationType,h=S.ext.pager[e],c="function"==typeof h,e=P("<div/>").addClass(t.oClasses.sPaging+e)[0],p=t.aanFeatures;return c||h.fnInit(t,e,u),p.p||(e.id=t.sTableId+"_paginate",t.aoDrawCallback.push({fn:function(t){if(c)for(var e=t._iDisplayStart,n=t._iDisplayLength,i=t.fnRecordsDisplay(),o=-1===n,s=o?0:Math.ceil(e/n),r=o?1:Math.ceil(i/n),a=h(s,r),l=0,d=p.p.length;l<d;l++)ve(t,"pageButton")(t,p.p[l],l,a,s,r);else h.fnUpdate(t,u)},sName:"pagination"})),e}function Qt(t,e,n){var i=t._iDisplayStart,o=t._iDisplayLength,s=t.fnRecordsDisplay(),s=(0===s||-1===o?i=0:"number"==typeof e?s<(i=e*o)&&(i=0):"first"==e?i=0:"previous"==e?(i=0<=o?i-o:0)<0&&(i=0):"next"==e?i+o<s&&(i+=o):"last"==e?i=Math.floor((s-1)/o)*o:z(t,0,"Unknown paging action: "+e,5),t._iDisplayStart!==i);return t._iDisplayStart=i,s&&(O(t,null,"page",[t]),n)&&g(t),s}function Kt(t){return P("<div/>",{id:t.aanFeatures.r?null:t.sTableId+"_processing",class:t.oClasses.sProcessing}).html(t.oLanguage.sProcessing).insertBefore(t.nTable)[0]}function $(t,e){t.oFeatures.bProcessing&&P(t.aanFeatures.r).css("display",e?"block":"none"),O(t,null,"processing",[t,e])}function Jt(t){var e,n,i,o,s,r,a,l,d,u,h,c,p=P(t.nTable),f=(p.attr("role","grid"),t.oScroll);return""===f.sX&&""===f.sY?t.nTable:(e=f.sX,n=f.sY,i=t.oClasses,s=(o=p.children("caption")).length?o[0]._captionSide:null,l=P(p[0].cloneNode(!1)),r=P(p[0].cloneNode(!1)),d=function(t){return t?j(t):null},(a=p.children("tfoot")).length||(a=null),l=P(h="<div/>",{class:i.sScrollWrapper}).append(P(h,{class:i.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:e?d(e):"100%"}).append(P(h,{class:i.sScrollHeadInner}).css({"box-sizing":"content-box",width:f.sXInner||"100%"}).append(l.removeAttr("id").css("margin-left",0).append("top"===s?o:null).append(p.children("thead"))))).append(P(h,{class:i.sScrollBody}).css({position:"relative",overflow:"auto",width:d(e)}).append(p)),a&&l.append(P(h,{class:i.sScrollFoot}).css({overflow:"hidden",border:0,width:e?d(e):"100%"}).append(P(h,{class:i.sScrollFootInner}).append(r.removeAttr("id").css("margin-left",0).append("bottom"===s?o:null).append(p.children("tfoot"))))),d=l.children(),u=d[0],h=d[1],c=a?d[2]:null,e&&P(h).on("scroll.DT",function(t){var e=this.scrollLeft;u.scrollLeft=e,a&&(c.scrollLeft=e)}),P(h).css(n&&f.bCollapse?"max-height":"height",n),t.nScrollHead=u,t.nScrollBody=h,t.nScrollFoot=c,t.aoDrawCallback.push({fn:Xt,sName:"scrolling"}),l[0])}function Xt(n){function t(t){(t=t.style).paddingTop="0",t.paddingBottom="0",t.borderTopWidth="0",t.borderBottomWidth="0",t.height=0}var e,i,o,s,r,a=n.oScroll,l=a.sX,d=a.sXInner,u=a.sY,a=a.iBarWidth,h=P(n.nScrollHead),c=h[0].style,p=h.children("div"),f=p[0].style,p=p.children("table"),g=n.nScrollBody,m=P(g),v=g.style,y=P(n.nScrollFoot).children("div"),b=y.children("table"),$=P(n.nTHead),w=P(n.nTable),x=w[0],_=x.style,C=n.nTFoot?P(n.nTFoot):null,S=n.oBrowser,k=S.bScrollOversize,D=L(n.aoColumns,"nTh"),T=[],I=[],A=[],M=[],O=g.scrollHeight>g.clientHeight;n.scrollBarVis!==O&&n.scrollBarVis!==E?(n.scrollBarVis=O,R(n)):(n.scrollBarVis=O,w.children("thead, tfoot").remove(),C&&(O=C.clone().prependTo(w),r=C.find("tr"),i=O.find("tr")),O=$.clone().prependTo(w),$=$.find("tr"),e=O.find("tr"),O.find("th, td").removeAttr("tabindex"),l||(v.width="100%",h[0].style.width="100%"),P.each(_t(n,O),function(t,e){o=N(n,t),e.style.width=n.aoColumns[o].sWidth}),C&&F(function(t){t.style.width=""},i),h=w.outerWidth(),""===l?(_.width="100%",k&&(w.find("tbody").height()>g.offsetHeight||"scroll"==m.css("overflow-y"))&&(_.width=j(w.outerWidth()-a)),h=w.outerWidth()):""!==d&&(_.width=j(d),h=w.outerWidth()),F(t,e),F(function(t){A.push(t.innerHTML),T.push(j(P(t).css("width")))},e),F(function(t,e){-1!==P.inArray(t,D)&&(t.style.width=T[e])},$),P(e).height(0),C&&(F(t,i),F(function(t){M.push(t.innerHTML),I.push(j(P(t).css("width")))},i),F(function(t,e){t.style.width=I[e]},r),P(i).height(0)),F(function(t,e){t.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+A[e]+"</div>",t.style.width=T[e]},e),C&&F(function(t,e){t.innerHTML='<div class="dataTables_sizing" style="height:0;overflow:hidden;">'+M[e]+"</div>",t.style.width=I[e]},i),w.outerWidth()<h?(s=g.scrollHeight>g.offsetHeight||"scroll"==m.css("overflow-y")?h+a:h,k&&(g.scrollHeight>g.offsetHeight||"scroll"==m.css("overflow-y"))&&(_.width=j(s-a)),""!==l&&""===d||z(n,1,"Possible column misalignment",6)):s="100%",v.width=j(s),c.width=j(s),C&&(n.nScrollFoot.style.width=j(s)),u||k&&(v.height=j(x.offsetHeight+a)),O=w.outerWidth(),p[0].style.width=j(O),f.width=j(O),$=w.height()>g.clientHeight||"scroll"==m.css("overflow-y"),f[r="padding"+(S.bScrollbarLeft?"Left":"Right")]=$?a+"px":"0px",C&&(b[0].style.width=j(O),y[0].style.width=j(O),y[0].style[r]=$?a+"px":"0px"),w.children("colgroup").insertBefore(w.children("thead")),m.scroll(),!n.bSorted&&!n.bFiltered||n._drawHold||(g.scrollTop=0))}function F(t,e,n){for(var i,o,s=0,r=0,a=e.length;r<a;){for(i=e[r].firstChild,o=n?n[r].firstChild:null;i;)1===i.nodeType&&(n?t(i,o,s):t(i,s),s++),i=i.nextSibling,o=n?o.nextSibling:null;r++}}var Zt=/<.*?>/g;function te(t){var e,n,i=t.nTable,o=t.aoColumns,s=t.oScroll,r=s.sY,a=s.sX,s=s.sXInner,l=o.length,d=st(t,"bVisible"),u=P("th",t.nTHead),h=i.getAttribute("width"),c=i.parentNode,p=!1,f=t.oBrowser,g=f.bScrollOversize,m=i.style.width;for(m&&-1!==m.indexOf("%")&&(h=m),w=0;w<d.length;w++)null!==(e=o[d[w]]).sWidth&&(e.sWidth=ne(e.sWidthOrig,c),p=!0);if(g||!p&&!a&&!r&&l==ot(t)&&l==u.length)for(w=0;w<l;w++){var v=N(t,w);null!==v&&(o[v].sWidth=j(u.eq(w).width()))}else{var m=P(i).clone().css("visibility","hidden").removeAttr("id"),y=(m.find("tbody tr").remove(),P("<tr/>").appendTo(m.find("tbody")));for(m.find("thead, tfoot").remove(),m.append(P(t.nTHead).clone()).append(P(t.nTFoot).clone()),m.find("tfoot th, tfoot td").css("width",""),u=_t(t,m.find("thead")[0]),w=0;w<d.length;w++)e=o[d[w]],u[w].style.width=null!==e.sWidthOrig&&""!==e.sWidthOrig?j(e.sWidthOrig):"",e.sWidthOrig&&a&&P(u[w]).append(P("<div/>").css({width:e.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(t.aoData.length)for(w=0;w<d.length;w++)e=o[n=d[w]],P(ie(t,n)).clone(!1).append(e.sContentPadding).appendTo(y);P("[name]",m).removeAttr("name");for(var b=P("<div/>").css(a||r?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(m).appendTo(c),$=(a&&s?m.width(s):a?(m.css("width","auto"),m.removeAttr("width"),m.width()<c.clientWidth&&h&&m.width(c.clientWidth)):r?m.width(c.clientWidth):h&&m.width(h),0),w=0;w<d.length;w++){var x=P(u[w]),_=x.outerWidth()-x.width(),x=f.bBounding?Math.ceil(u[w].getBoundingClientRect().width):x.outerWidth();$+=x,o[d[w]].sWidth=j(x-_)}i.style.width=j($),b.remove()}h&&(i.style.width=j(h)),!h&&!a||t._reszEvt||(s=function(){P(C).bind("resize.DT-"+t.sInstance,ee(function(){R(t)}))},g?setTimeout(s,1e3):s(),t._reszEvt=!0)}var ee=S.util.throttle;function ne(t,e){return t?(e=(t=P("<div/>").css("width",j(t)).appendTo(e||y.body))[0].offsetWidth,t.remove(),e):0}function ie(t,e){var n,i=oe(t,e);return i<0?null:(n=t.aoData[i]).nTr?n.anCells[e]:P("<td/>").html(b(t,i,e,"display"))[0]}function oe(t,e){for(var n,i=-1,o=-1,s=0,r=t.aoData.length;s<r;s++)(n=(n=(n=b(t,s,e,"display")+"").replace(Zt,"")).replace(/ /g," ")).length>i&&(i=n.length,o=s);return o}function j(t){return null===t?"0px":"number"==typeof t?t<0?"0px":t+"px":t.match(/\d$/)?t+"px":t}function I(t){function e(t){t.length&&!P.isArray(t[0])?p.push(t):P.merge(p,t)}var n,i,o,s,r,a,l,d=[],u=t.aoColumns,h=t.aaSortingFixed,c=P.isPlainObject(h),p=[];for(P.isArray(h)&&e(h),c&&h.pre&&e(h.pre),e(t.aaSorting),c&&h.post&&e(h.post),n=0;n<p.length;n++)for(o=(s=u[l=p[n][i=0]].aDataSort).length;i<o;i++)a=u[r=s[i]].sType||"string",p[n]._idx===E&&(p[n]._idx=P.inArray(p[n][1],u[r].asSorting)),d.push({src:l,col:r,dir:p[n][1],index:p[n]._idx,type:a,formatter:S.ext.type.order[a+"-pre"]});return d}function se(t){var e,n,i,o,u,h=[],d=S.ext.type.order,c=t.aoData,s=(t.aoColumns,0),r=t.aiDisplayMaster;for(rt(t),e=0,n=(u=I(t)).length;e<n;e++)(o=u[e]).formatter&&s++,ue(t,o.col);if("ssp"!=H(t)&&0!==u.length){for(e=0,i=r.length;e<i;e++)h[r[e]]=e;s===u.length?r.sort(function(t,e){for(var n,i,o,s,r=u.length,a=c[t]._aSortData,l=c[e]._aSortData,d=0;d<r;d++)if(0!=(o=(n=a[(s=u[d]).col])<(i=l[s.col])?-1:i<n?1:0))return"asc"===s.dir?o:-o;return(n=h[t])<(i=h[e])?-1:i<n?1:0}):r.sort(function(t,e){for(var n,i,o,s=u.length,r=c[t]._aSortData,a=c[e]._aSortData,l=0;l<s;l++)if(n=r[(o=u[l]).col],i=a[o.col],0!==(o=(d[o.type+"-"+o.dir]||d["string-"+o.dir])(n,i)))return o;return(n=h[t])<(i=h[e])?-1:i<n?1:0})}t.bSorted=!0}function re(t){for(var e=t.aoColumns,n=I(t),i=t.oLanguage.oAria,o=0,s=e.length;o<s;o++){var r=e[o],a=r.asSorting,l=r.sTitle.replace(/<.*?>/g,""),d=r.nTh;d.removeAttribute("aria-sort"),r=r.bSortable?l+("asc"===(0<n.length&&n[0].col==o&&(d.setAttribute("aria-sort","asc"==n[0].dir?"ascending":"descending"),a[n[0].index+1])||a[0])?i.sSortAscending:i.sSortDescending):l,d.setAttribute("aria-label",r)}}function ae(t,e,n,i){function o(t,e){var n=t._idx;return(n=n===E?P.inArray(t[1],l):n)+1<l.length?n+1:e?null:0}var s,r=t.aoColumns[e],a=t.aaSorting,l=r.asSorting;"number"==typeof a[0]&&(a=t.aaSorting=[a]),n&&t.oFeatures.bSortMulti?-1!==(r=P.inArray(e,L(a,"0")))?null===(s=null===(s=o(a[r],!0))&&1===a.length?0:s)?a.splice(r,1):(a[r][1]=l[s],a[r]._idx=s):(a.push([e,l[0],0]),a[a.length-1]._idx=0):a.length&&a[0][0]==e?(s=o(a[0]),a.length=1,a[0][1]=l[s],a[0]._idx=s):(a.length=0,a.push([e,l[0]]),a[0]._idx=0),d(t),"function"==typeof i&&i(t)}function le(e,t,n,i){var o=e.aoColumns[n];ge(t,{},function(t){!1!==o.bSortable&&(e.oFeatures.bProcessing?($(e,!0),setTimeout(function(){ae(e,n,t.shiftKey,i),"ssp"!==H(e)&&$(e,!1)},0)):ae(e,n,t.shiftKey,i))})}function de(t){var e,n,i,o=t.aLastSort,s=t.oClasses.sSortColumn,r=I(t),a=t.oFeatures;if(a.bSort&&a.bSortClasses){for(e=0,n=o.length;e<n;e++)i=o[e].src,P(L(t.aoData,"anCells",i)).removeClass(s+(e<2?e+1:3));for(e=0,n=r.length;e<n;e++)i=r[e].src,P(L(t.aoData,"anCells",i)).addClass(s+(e<2?e+1:3))}t.aLastSort=r}function ue(t,e){for(var n,i,o,s=t.aoColumns[e],r=S.ext.order[s.sSortDataType],a=(r&&(n=r.call(t.oInstance,t,e,it(t,e))),S.ext.type.order[s.sType+"-pre"]),l=0,d=t.aoData.length;l<d;l++)(i=t.aoData[l])._aSortData||(i._aSortData=[]),i._aSortData[e]&&!r||(o=r?n[l]:b(t,l,e,"sort"),i._aSortData[e]=a?a(o):o)}function he(n){var t;n.oFeatures.bStateSave&&!n.bDestroying&&(t={time:+new Date,start:n._iDisplayStart,length:n._iDisplayLength,order:P.extend(!0,[],n.aaSorting),search:jt(n.oPreviousSearch),columns:P.map(n.aoColumns,function(t,e){return{visible:t.bVisible,search:jt(n.aoPreSearchCols[e])}})},O(n,"aoStateSaveParams","stateSaveParams",[n,t]),n.oSavedState=t,n.fnStateSaveCallback.call(n.oInstance,n,t))}function ce(n,t){var e,i,o=n.aoColumns;if(n.oFeatures.bStateSave){var s=n.fnStateLoadCallback.call(n.oInstance,n);if(s&&s.time){var r=O(n,"aoStateLoadParams","stateLoadParams",[n,s]);if(-1===P.inArray(!1,r)){r=n.iStateDuration;if(!(0<r&&s.time<+new Date-1e3*r)&&o.length===s.columns.length){for(n.oLoadedState=P.extend(!0,{},s),s.start!==E&&(n._iDisplayStart=s.start,n.iInitDisplayStart=s.start),s.length!==E&&(n._iDisplayLength=s.length),s.order!==E&&(n.aaSorting=[],P.each(s.order,function(t,e){n.aaSorting.push(e[0]>=o.length?[0,e[1]]:e)})),s.search!==E&&P.extend(n.oPreviousSearch,zt(s.search)),e=0,i=s.columns.length;e<i;e++){var a=s.columns[e];a.visible!==E&&(o[e].bVisible=a.visible),a.search!==E&&P.extend(n.aoPreSearchCols[e],zt(a.search))}O(n,"aoStateLoaded","stateLoaded",[n,s])}}}}}function pe(t){var e=S.settings,t=P.inArray(t,L(e,"nTable"));return-1!==t?e[t]:null}function z(t,e,n,i){if(n="DataTables warning: "+(t?"table id="+t.sTableId+" - ":"")+n,i&&(n+=". For more information about this error, please see http://datatables.net/tn/"+i),e)C.console&&console.log&&console.log(n);else{e=S.ext,e=e.sErrMode||e.errMode;if(t&&O(t,null,"error",[t,i,n]),"alert"==e)alert(n);else{if("throw"==e)throw new Error(n);"function"==typeof e&&e(t,i,n)}}}function A(n,i,t,e){P.isArray(t)?P.each(t,function(t,e){P.isArray(e)?A(n,i,e[0],e[1]):A(n,i,e)}):(e===E&&(e=t),i[t]!==E&&(n[e]=i[t]))}function fe(t,e,n){var i,o;for(o in e)e.hasOwnProperty(o)&&(i=e[o],P.isPlainObject(i)?(P.isPlainObject(t[o])||(t[o]={}),P.extend(!0,t[o],i)):n&&"data"!==o&&"aaData"!==o&&P.isArray(i)?t[o]=i.slice():t[o]=i);return t}function ge(e,t,n){P(e).bind("click.DT",t,function(t){e.blur(),n(t)}).bind("keypress.DT",t,function(t){13===t.which&&(t.preventDefault(),n(t))}).bind("selectstart.DT",function(){return!1})}function M(t,e,n,i){n&&t[e].push({fn:n,sName:i})}function O(n,t,e,i){var o=[];return t&&(o=P.map(n[t].slice().reverse(),function(t,e){return t.fn.apply(n.oInstance,i)})),null!==e&&(t=P.Event(e+".dt"),P(n.nTable).trigger(t,i),o.push(t.result)),o}function me(t){var e=t._iDisplayStart,n=t.fnDisplayEnd(),i=t._iDisplayLength;n<=e&&(e=n-i),e-=e%i,t._iDisplayStart=e=-1===i||e<0?0:e}function ve(t,e){var t=t.renderer,n=S.ext.renderer[e];return P.isPlainObject(t)&&t[e]?n[t[e]]||n._:"string"==typeof t&&n[t]||n._}function H(t){return t.oFeatures.bServerSide?"ssp":t.ajax||t.sAjaxSource?"ajax":"dom"}function ye(o,s,t){var e,n;t&&(e=new B(o)).one("draw",function(){t(e.ajax.json())}),"ssp"==H(o)?d(o,s):($(o,!0),(n=o.jqXHR)&&4!==n.readyState&&n.abort(),Ct(o,[],function(t){pt(o);for(var e=Tt(o,t),n=0,i=e.length;n<i;n++)D(o,e[n]);d(o,s),$(o,!1)}))}function be(t,e,n,i,o){for(var s,r,a,l,d=[],u=typeof e,h=0,c=(e=e&&"string"!=u&&"function"!=u&&e.length!==E?e:[e]).length;h<c;h++)for(a=0,l=(r=e[h]&&e[h].split?e[h].split(","):[e[h]]).length;a<l;a++)(s=n("string"==typeof r[a]?P.trim(r[a]):r[a]))&&s.length&&(d=d.concat(s));var p=f.selector[t];if(p.length)for(h=0,c=p.length;h<c;h++)d=p[h](i,o,d);return Q(d)}function $e(t){return(t=t||{}).filter&&t.search===E&&(t.search=t.filter),P.extend({search:"none",order:"current",page:"all"},t)}function we(t){for(var e=0,n=t.length;e<n;e++)if(0<t[e].length)return t[0]=t[e],t[0].length=1,t.length=1,t.context=[t.context[e]],t;return t.length=0,t}function xe(s,t,e,n){function r(t,e){var n;if(P.isArray(t)||t instanceof P)for(var i=0,o=t.length;i<o;i++)r(t[i],e);else t.nodeName&&"tr"===t.nodeName.toLowerCase()?a.push(t):(n=P("<tr><td/></tr>").addClass(e),P("td",n).addClass(e).html(t)[0].colSpan=ot(s),a.push(n[0]))}var a=[];r(e,n),t._details&&t._details.remove(),t._details=P(a),t._detailsShow&&t._details.insertAfter(t.nTr)}function _e(t,e){if((n=t.context).length&&t.length){t=n[0].aoData[t[0]];if(t._details){(t._detailsShow=e)?t._details.insertAfter(t.nTr):t._details.detach();var l=n[0],o=new B(l),e=".dt.DT_details",t="draw"+e,n="column-visibility"+e,e="destroy"+e,d=l.aoData;if(o.off(t+" "+n+" "+e),L(d,"_details").length>0){o.on(t,function(t,e){if(l!==e)return;o.rows({page:"current"}).eq(0).each(function(t){var e=d[t];if(e._detailsShow)e._details.insertAfter(e.nTr)})});o.on(n,function(t,e,n,i){if(l!==e)return;var o,s=ot(e);for(var r=0,a=d.length;r<a;r++){o=d[r];if(o._details)o._details.children("td[colspan]").attr("colspan",s)}});o.on(e,function(t,e){if(l!==e)return;for(var n=0,i=d.length;n<i;n++)if(d[n]._details)De(o,n)})}}}}function Ce(t,e,n,i,o){for(var s=[],r=0,a=o.length;r<a;r++)s.push(b(t,o[r],e));return s}var t,Se=[],a=Array.prototype,B=function(t,e){if(!(this instanceof B))return new B(t,e);function n(t){var e,n,i,o;t=t,i=S.settings,o=P.map(i,function(t,e){return t.nTable}),(t=t?t.nTable&&t.oApi?[t]:t.nodeName&&"table"===t.nodeName.toLowerCase()?-1!==(e=P.inArray(t,o))?[i[e]]:null:t&&"function"==typeof t.settings?t.settings().toArray():("string"==typeof t?n=P(t):t instanceof P&&(n=t),n?n.map(function(t){return-1!==(e=P.inArray(this,o))?i[e]:null}).toArray():void 0):[])&&(s=s.concat(t))}var s=[];if(P.isArray(t))for(var i=0,o=t.length;i<o;i++)n(t[i]);else n(t);this.context=Q(s),e&&P.merge(this,e),this.selector={rows:null,cols:null,opts:null},B.extend(this,this,Se)},ke=(S.Api=B,P.extend(B.prototype,{any:function(){return 0!==this.count()},concat:a.concat,context:[],count:function(){return this.flatten().length},each:function(t){for(var e=0,n=this.length;e<n;e++)t.call(this,this[e],e,this);return this},eq:function(t){var e=this.context;return e.length>t?new B(e[t],this[t]):null},filter:function(t){var e=[];if(a.filter)e=a.filter.call(this,t,this);else for(var n=0,i=this.length;n<i;n++)t.call(this,this[n],n,this)&&e.push(this[n]);return new B(this.context,e)},flatten:function(){var t=[];return new B(this.context,t.concat.apply(t,this.toArray()))},join:a.join,indexOf:a.indexOf||function(t,e){for(var n=e||0,i=this.length;n<i;n++)if(this[n]===t)return n;return-1},iterator:function(t,e,n,i){var o,s,r,a,l,d,u,h,c=[],p=this.context,f=this.selector;for("string"==typeof t&&(i=n,n=e,e=t,t=!1),s=0,r=p.length;s<r;s++){var g=new B(p[s]);if("table"===e)(o=n.call(g,p[s],s))!==E&&c.push(o);else if("columns"===e||"rows"===e)(o=n.call(g,p[s],this[s],s))!==E&&c.push(o);else if("column"===e||"column-rows"===e||"row"===e||"cell"===e)for(u=this[s],"column-rows"===e&&(d=ke(p[s],f.opts)),a=0,l=u.length;a<l;a++)h=u[a],(o="cell"===e?n.call(g,p[s],h.row,h.column,s,a):n.call(g,p[s],h,s,a,d))!==E&&c.push(o)}return c.length||i?((t=(i=new B(p,t?c.concat.apply([],c):c)).selector).rows=f.rows,t.cols=f.cols,t.opts=f.opts,i):this},lastIndexOf:a.lastIndexOf||function(t,e){return this.indexOf.apply(this.toArray.reverse(),arguments)},length:0,map:function(t){var e=[];if(a.map)e=a.map.call(this,t,this);else for(var n=0,i=this.length;n<i;n++)e.push(t.call(this,this[n],n));return new B(this.context,e)},pluck:function(e){return this.map(function(t){return t[e]})},pop:a.pop,push:a.push,reduce:a.reduce||function(t,e){return tt(this,t,e,0,this.length,1)},reduceRight:a.reduceRight||function(t,e){return tt(this,t,e,this.length-1,-1,-1)},reverse:a.reverse,selector:null,shift:a.shift,sort:a.sort,splice:a.splice,toArray:function(){return a.slice.call(this)},to$:function(){return P(this)},toJQuery:function(){return P(this)},unique:function(){return new B(this.context,Q(this))},unshift:a.unshift}),B.extend=function(t,e,n){if(n.length&&e&&(e instanceof B||e.__dt_wrapper))for(var i,o=0,s=n.length;o<s;o++)e[(i=n[o]).name]="function"==typeof i.val?function(e,n,i){return function(){var t=n.apply(e,arguments);return B.extend(t,t,i.methodExt),t}}(t,i.val,i):P.isPlainObject(i.val)?{}:i.val,e[i.name].__dt_wrapper=!0,B.extend(t,e[i.name],i.propExt)},B.register=e=function(t,e){if(P.isArray(t))for(var n=0,i=t.length;n<i;n++)B.register(t[n],e);else for(var o=t.split("."),s=Se,r=0,a=o.length;r<a;r++){var l,d,u=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n].name===e)return t[n];return null}(s,d=(l=-1!==o[r].indexOf("()"))?o[r].replace("()",""):o[r]);u||s.push(u={name:d,val:{},methodExt:[],propExt:[]}),r===a-1?u.val=e:s=l?u.methodExt:u.propExt}},B.registerPlural=t=function(t,e,n){B.register(t,n),B.register(e,function(){var t=n.apply(this,arguments);return t===this?this:t instanceof B?t.length?P.isArray(t[0])?new B(t.context,t[0]):t[0]:E:t})},e("tables()",function(t){return t?new B((t=t,n=this.context,"number"==typeof t?[n[t]]:(i=P.map(n,function(t,e){return t.nTable}),P(i).filter(t).map(function(t){var e=P.inArray(this,i);return n[e]}).toArray()))):this;var n,i}),e("table()",function(t){var t=this.tables(t),e=t.context;return e.length?new B(e[0]):t}),t("tables().nodes()","table().node()",function(){return this.iterator("table",function(t){return t.nTable},1)}),t("tables().body()","table().body()",function(){return this.iterator("table",function(t){return t.nTBody},1)}),t("tables().header()","table().header()",function(){return this.iterator("table",function(t){return t.nTHead},1)}),t("tables().footer()","table().footer()",function(){return this.iterator("table",function(t){return t.nTFoot},1)}),t("tables().containers()","table().container()",function(){return this.iterator("table",function(t){return t.nTableWrapper},1)}),e("draw()",function(e){return this.iterator("table",function(t){"page"===e?g(t):d(t,!1===(e="string"==typeof e?"full-hold"!==e:e))})}),e("page()",function(e){return e===E?this.page.info().page:this.iterator("table",function(t){Qt(t,e)})}),e("page.info()",function(t){var e,n,i,o,s;return 0===this.context.length?E:(n=(e=this.context[0])._iDisplayStart,i=e.oFeatures.bPaginate?e._iDisplayLength:-1,o=e.fnRecordsDisplay(),{page:(s=-1===i)?0:Math.floor(n/i),pages:s?1:Math.ceil(o/i),start:n,end:e.fnDisplayEnd(),length:i,recordsTotal:e.fnRecordsTotal(),recordsDisplay:o,serverSide:"ssp"===H(e)})}),e("page.len()",function(e){return e===E?0!==this.context.length?this.context[0]._iDisplayLength:E:this.iterator("table",function(t){Yt(t,e)})}),e("ajax.json()",function(){var t=this.context;if(0<t.length)return t[0].json}),e("ajax.params()",function(){var t=this.context;if(0<t.length)return t[0].oAjaxData}),e("ajax.reload()",function(e,n){return this.iterator("table",function(t){ye(t,!1===n,e)})}),e("ajax.url()",function(e){var t=this.context;return e===E?0===t.length?E:(t=t[0]).ajax?P.isPlainObject(t.ajax)?t.ajax.url:t.ajax:t.sAjaxSource:this.iterator("table",function(t){P.isPlainObject(t.ajax)?t.ajax.url=e:t.ajax=e})}),e("ajax.url().load()",function(e,n){return this.iterator("table",function(t){ye(t,!1===n,e)})}),function(t,e){var n,i,o,s=[],r=t.aiDisplay,a=t.aiDisplayMaster,l=e.search,d=e.order,e=e.page;if("ssp"==H(t))return"removed"===l?[]:h(0,a.length);if("current"==e)for(n=t._iDisplayStart,i=t.fnDisplayEnd();n<i;n++)s.push(r[n]);else if("current"==d||"applied"==d)s="none"==l?a.slice():"applied"==l?r.slice():P.map(a,function(t,e){return-1===P.inArray(t,r)?t:null});else if("index"==d||"original"==d)for(n=0,i=t.aoData.length;n<i;n++)("none"==l||-1===(o=P.inArray(n,r))&&"removed"==l||0<=o&&"applied"==l)&&s.push(n);return s}),De=(e("rows()",function(e,n){e===E?e="":P.isPlainObject(e)&&(n=e,e=""),n=$e(n);var t=this.iterator("table",function(t){return be("row",e,function(n){var t=c(n);if(null!==t&&!o)return[t];var e=ke(i,o);if(null!==t&&-1!==P.inArray(t,e))return[t];if(!n)return e;if("function"==typeof n)return P.map(e,function(t){var e=i.aoData[t];return n(t,e._aData,e.nTr)?t:null});t=w(v(i.aoData,e,"nTr"));if(n.nodeName)return n._DT_RowIndex!==E?[n._DT_RowIndex]:n._DT_CellIndex?[n._DT_CellIndex.row]:(e=P(n).closest("*[data-dt-row]")).length?[e.data("dt-row")]:[];if("string"==typeof n&&"#"===n.charAt(0)){e=i.aIds[n.replace(/^#/,"")];if(e!==E)return[e.idx]}return P(t).filter(n).map(function(){return this._DT_RowIndex}).toArray()},i=t,o=n);var i,o},1);return t.selector.rows=e,t.selector.opts=n,t}),e("rows().nodes()",function(){return this.iterator("row",function(t,e){return t.aoData[e].nTr||E},1)}),e("rows().data()",function(){return this.iterator(!0,"rows",function(t,e){return v(t.aoData,e,"_aData")},1)}),t("rows().cache()","row().cache()",function(n){return this.iterator("row",function(t,e){t=t.aoData[e];return"search"===n?t._aFilterData:t._aSortData},1)}),t("rows().invalidate()","row().invalidate()",function(n){return this.iterator("row",function(t,e){gt(t,e,n)})}),t("rows().indexes()","row().index()",function(){return this.iterator("row",function(t,e){return e},1)}),t("rows().ids()","row().id()",function(t){for(var e=[],n=this.context,i=0,o=n.length;i<o;i++)for(var s=0,r=this[i].length;s<r;s++){var a=n[i].rowIdFn(n[i].aoData[this[i][s]]._aData);e.push((!0===t?"#":"")+a)}return new B(n,e)}),t("rows().remove()","row().remove()",function(){var h=this;return this.iterator("row",function(t,e,n){var i,o,s,r,a,l,d=t.aoData,u=d[e];for(d.splice(e,1),i=0,o=d.length;i<o;i++)if(l=(a=d[i]).anCells,null!==a.nTr&&(a.nTr._DT_RowIndex=i),null!==l)for(s=0,r=l.length;s<r;s++)l[s]._DT_CellIndex.row=i;ft(t.aiDisplayMaster,e),ft(t.aiDisplay,e),ft(h[n],e,!1),me(t);n=t.rowIdFn(u._aData);n!==E&&delete t.aIds[n]}),this.iterator("table",function(t){for(var e=0,n=t.aoData.length;e<n;e++)t.aoData[e].idx=e}),this}),e("rows.add()",function(s){var t=this.iterator("table",function(t){for(var e,n=[],i=0,o=s.length;i<o;i++)(e=s[i]).nodeName&&"TR"===e.nodeName.toUpperCase()?n.push(lt(t,e)[0]):n.push(D(t,e));return n},1),e=this.rows(-1);return e.pop(),P.merge(e,t),e}),e("row()",function(t,e){return we(this.rows(t,e))}),e("row().data()",function(t){var e=this.context;return t===E?e.length&&this.length?e[0].aoData[this[0]]._aData:E:(e[0].aoData[this[0]]._aData=t,gt(e[0],this[0],"data"),this)}),e("row().node()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]].nTr||null}),e("row.add()",function(e){e instanceof P&&e.length&&(e=e[0]);var t=this.iterator("table",function(t){return e.nodeName&&"TR"===e.nodeName.toUpperCase()?lt(t,e)[0]:D(t,e)});return this.row(t[0])}),function(t,e){var n=t.context;n.length&&(n=n[0].aoData[e!==E?e:t[0]])&&n._details&&(n._details.remove(),n._detailsShow=E,n._details=E)}),n="row().child",i=n+"()",Te=(e(i,function(t,e){var n=this.context;return t===E?n.length&&this.length?n[0].aoData[this[0]]._details:E:(!0===t?this.child.show():!1===t?De(this):n.length&&this.length&&xe(n[0],n[0].aoData[this[0]],t,e),this)}),e([n+".show()",i+".show()"],function(t){return _e(this,!0),this}),e([n+".hide()",i+".hide()"],function(){return _e(this,!1),this}),e([n+".remove()",i+".remove()"],function(){return De(this),this}),e(n+".isShown()",function(){var t=this.context;return t.length&&this.length&&t[0].aoData[this[0]]._detailsShow||!1}),/^(.+):(name|visIdx|visible)$/),Ie=(e("columns()",function(n,i){n===E?n="":P.isPlainObject(n)&&(i=n,n=""),i=$e(i);var t=this.iterator("table",function(t){return e=n,a=i,l=(r=t).aoColumns,d=L(l,"sName"),u=L(l,"nTh"),be("column",e,function(n){var i,t=c(n);if(""===n)return h(l.length);if(null!==t)return[0<=t?t:l.length+t];if("function"==typeof n)return i=ke(r,a),P.map(l,function(t,e){return n(e,Ce(r,e,0,0,i),u[e])?e:null});var o="string"==typeof n?n.match(Te):"";if(o)switch(o[2]){case"visIdx":case"visible":var e,s=parseInt(o[1],10);return s<0?[(e=P.map(l,function(t,e){return t.bVisible?e:null}))[e.length+s]]:[N(r,s)];case"name":return P.map(d,function(t,e){return t===o[1]?e:null});default:return[]}return n.nodeName&&n._DT_CellIndex?[n._DT_CellIndex.column]:(t=P(u).filter(n).map(function(){return P.inArray(this,u)}).toArray()).length||!n.nodeName?t:(t=P(n).closest("*[data-dt-column]")).length?[t.data("dt-column")]:[]},r,a);var r,e,a,l,d,u},1);return t.selector.cols=n,t.selector.opts=i,t}),t("columns().header()","column().header()",function(t,e){return this.iterator("column",function(t,e){return t.aoColumns[e].nTh},1)}),t("columns().footer()","column().footer()",function(t,e){return this.iterator("column",function(t,e){return t.aoColumns[e].nTf},1)}),t("columns().data()","column().data()",function(){return this.iterator("column-rows",Ce,1)}),t("columns().dataSrc()","column().dataSrc()",function(){return this.iterator("column",function(t,e){return t.aoColumns[e].mData},1)}),t("columns().cache()","column().cache()",function(s){return this.iterator("column-rows",function(t,e,n,i,o){return v(t.aoData,o,"search"===s?"_aFilterData":"_aSortData",e)},1)}),t("columns().nodes()","column().nodes()",function(){return this.iterator("column-rows",function(t,e,n,i,o){return v(t.aoData,o,"anCells",e)},1)}),t("columns().visible()","column().visible()",function(h,n){var t=this.iterator("column",function(t,e){if(h===E)return t.aoColumns[e].bVisible;var n,i,o=e,e=h,s=t.aoColumns,r=s[o],a=t.aoData;if(e===E)r.bVisible;else if(r.bVisible!==e){if(e)for(var l=P.inArray(!0,L(s,"bVisible"),o+1),d=0,u=a.length;d<u;d++)i=a[d].nTr,n=a[d].anCells,i&&i.insertBefore(n[o],n[l]||null);else P(L(t.aoData,"anCells",o)).detach();r.bVisible=e,$t(t,t.aoHeader),$t(t,t.aoFooter),he(t)}});return h!==E&&(this.iterator("column",function(t,e){O(t,null,"column-visibility",[t,e,h,n])}),n!==E&&!n||this.columns.adjust()),t}),t("columns().indexes()","column().index()",function(n){return this.iterator("column",function(t,e){return"visible"===n?it(t,e):e},1)}),e("columns.adjust()",function(){return this.iterator("table",function(t){R(t)},1)}),e("column.index()",function(t,e){var n;if(0!==this.context.length)return n=this.context[0],"fromVisible"===t||"toData"===t?N(n,e):"fromData"===t||"toVisible"===t?it(n,e):void 0}),e("column()",function(t,e){return we(this.columns(t,e))}),e("cells()",function(g,t,m){var n,i,o,s,r,a,l,e;return P.isPlainObject(g)&&(g.row===E?(m=g,g=null):(m=t,t=null)),P.isPlainObject(t)&&(m=t,t=null),null===t||t===E?this.iterator("table",function(t){return i=t,t=g,e=$e(m),h=i.aoData,c=ke(i,e),n=w(v(h,c,"anCells")),p=P([].concat.apply([],n)),f=i.aoColumns.length,be("cell",t,function(t){var e,n="function"==typeof t;if(null===t||t===E||n){for(s=[],r=0,a=c.length;r<a;r++)for(o=c[r],l=0;l<f;l++)d={row:o,column:l},(!n||(u=h[o],t(d,b(i,o,l),u.anCells?u.anCells[l]:null)))&&s.push(d);return s}return P.isPlainObject(t)?[t]:(e=p.filter(t).map(function(t,e){return{row:e._DT_CellIndex.row,column:e._DT_CellIndex.column}}).toArray()).length||!t.nodeName?e:(u=P(t).closest("*[data-dt-row]")).length?[{row:u.data("dt-row"),column:u.data("dt-column")}]:[]},i,e);var i,e,o,s,r,a,l,d,u,h,c,n,p,f}):(n=this.columns(t,m),i=this.rows(g,m),e=this.iterator("table",function(t,e){for(o=[],s=0,r=i[e].length;s<r;s++)for(a=0,l=n[e].length;a<l;a++)o.push({row:i[e][s],column:n[e][a]});return o},1),P.extend(e.selector,{cols:t,rows:g,opts:m}),e)}),t("cells().nodes()","cell().node()",function(){return this.iterator("cell",function(t,e,n){t=t.aoData[e];return t&&t.anCells?t.anCells[n]:E},1)}),e("cells().data()",function(){return this.iterator("cell",function(t,e,n){return b(t,e,n)},1)}),t("cells().cache()","cell().cache()",function(i){return i="search"===i?"_aFilterData":"_aSortData",this.iterator("cell",function(t,e,n){return t.aoData[e][i][n]},1)}),t("cells().render()","cell().render()",function(i){return this.iterator("cell",function(t,e,n){return b(t,e,n,i)},1)}),t("cells().indexes()","cell().index()",function(){return this.iterator("cell",function(t,e,n){return{row:e,column:n,columnVisible:it(t,n)}},1)}),t("cells().invalidate()","cell().invalidate()",function(i){return this.iterator("cell",function(t,e,n){gt(t,e,i,n)})}),e("cell()",function(t,e,n){return we(this.cells(t,e,n))}),e("cell().data()",function(t){var e=this.context,n=this[0];return t===E?e.length&&n.length?b(e[0],n[0].row,n[0].column):E:(dt(e[0],n[0].row,n[0].column,t),gt(e[0],n[0].row,"data",n[0].column),this)}),e("order()",function(e,t){var n=this.context;return e===E?0!==n.length?n[0].aaSorting:E:("number"==typeof e?e=[[e,t]]:e.length&&!P.isArray(e[0])&&(e=Array.prototype.slice.call(arguments)),this.iterator("table",function(t){t.aaSorting=e.slice()}))}),e("order.listener()",function(e,n,i){return this.iterator("table",function(t){le(t,e,n,i)})}),e("order.fixed()",function(e){var t;return e?this.iterator("table",function(t){t.aaSortingFixed=P.extend(!0,{},e)}):(t=(t=this.context).length?t[0].aaSortingFixed:E,P.isArray(t)?{pre:t}:t)}),e(["columns().order()","column().order()"],function(i){var o=this;return this.iterator("table",function(t,e){var n=[];P.each(o[e],function(t,e){n.push([e,i])}),t.aaSorting=n})}),e("search()",function(e,n,i,o){var t=this.context;return e===E?0!==t.length?t[0].oPreviousSearch.sSearch:E:this.iterator("table",function(t){t.oFeatures.bFilter&&At(t,P.extend({},t.oPreviousSearch,{sSearch:e+"",bRegex:null!==n&&n,bSmart:null===i||i,bCaseInsensitive:null===o||o}),1)})}),t("columns().search()","column().search()",function(i,o,s,r){return this.iterator("column",function(t,e){var n=t.aoPreSearchCols;if(i===E)return n[e].sSearch;t.oFeatures.bFilter&&(P.extend(n[e],{sSearch:i+"",bRegex:null!==o&&o,bSmart:null===s||s,bCaseInsensitive:null===r||r}),At(t,t.oPreviousSearch,1))})}),e("state()",function(){return this.context.length?this.context[0].oSavedState:null}),e("state.clear()",function(){return this.iterator("table",function(t){t.fnStateSaveCallback.call(t.oInstance,t,{})})}),e("state.loaded()",function(){return this.context.length?this.context[0].oLoadedState:null}),e("state.save()",function(){return this.iterator("table",function(t){he(t)})}),S.versionCheck=S.fnVersionCheck=function(t){for(var e,n,i=S.version.split("."),o=t.split("."),s=0,r=o.length;s<r;s++)if((e=parseInt(i[s],10)||0)!==(n=parseInt(o[s],10)||0))return n<e;return!0},S.isDataTable=S.fnIsDataTable=function(t){var o=P(t).get(0),s=!1;return P.each(S.settings,function(t,e){var n=e.nScrollHead?P("table",e.nScrollHead)[0]:null,i=e.nScrollFoot?P("table",e.nScrollFoot)[0]:null;e.nTable!==o&&n!==o&&i!==o||(s=!0)}),s},S.tables=S.fnTables=function(e){var t=!1,n=(P.isPlainObject(e)&&(t=e.api,e=e.visible),P.map(S.settings,function(t){if(!e||P(t.nTable).is(":visible"))return t.nTable}));return t?new B(n):n},S.camelToHungarian=k,e("$()",function(t,e){e=this.rows(e).nodes(),e=P(e);return P([].concat(e.filter(t).toArray(),e.find(t).toArray()))}),P.each(["on","one","off"],function(t,n){e(n+"()",function(){var t=Array.prototype.slice.call(arguments),e=(t[0].match(/\.dt\b/)||(t[0]+=".dt"),P(this.tables().nodes()));return e[n].apply(e,t),this})}),e("clear()",function(){return this.iterator("table",function(t){pt(t)})}),e("settings()",function(){return new B(this.context,this.context)}),e("init()",function(){var t=this.context;return t.length?t[0].oInit:null}),e("data()",function(){return this.iterator("table",function(t){return L(t.aoData,"_aData")}).flatten()}),e("destroy()",function(h){return h=h||!1,this.iterator("table",function(e){var n,t=e.nTableWrapper.parentNode,i=e.oClasses,o=e.nTable,s=e.nTBody,r=e.nTHead,a=e.nTFoot,l=P(o),s=P(s),d=P(e.nTableWrapper),u=P.map(e.aoData,function(t){return t.nTr}),a=(e.bDestroying=!0,O(e,"aoDestroyCallback","destroy",[e]),h||new B(e).columns().visible(!0),d.unbind(".DT").find(":not(tbody *)").unbind(".DT"),P(C).unbind(".DT-"+e.sInstance),o!=r.parentNode&&(l.children("thead").detach(),l.append(r)),a&&o!=a.parentNode&&(l.children("tfoot").detach(),l.append(a)),e.aaSorting=[],e.aaSortingFixed=[],de(e),P(u).removeClass(e.asStripeClasses.join(" ")),P("th, td",r).removeClass(i.sSortable+" "+i.sSortableAsc+" "+i.sSortableDesc+" "+i.sSortableNone),e.bJUI&&(P("th span."+i.sSortIcon+", td span."+i.sSortIcon,r).detach(),P("th, td",r).each(function(){var t=P("div."+i.sSortJUIWrapper,this);P(this).append(t.contents()),t.detach()})),s.children().detach(),s.append(u),h?"remove":"detach"),r=(l[a](),d[a](),!h&&t&&(t.insertBefore(o,e.nTableReinsertBefore),l.css("width",e.sDestroyWidth).removeClass(i.sTable),n=e.asDestroyStripes.length)&&s.children().each(function(t){P(this).addClass(e.asDestroyStripes[t%n])}),P.inArray(e,S.settings));-1!==r&&S.settings.splice(r,1)})}),P.each(["column","row","cell"],function(t,l){e(l+"s().every()",function(s){var r=this.selector.opts,a=this;return this.iterator(l,function(t,e,n,i,o){s.call(a[l](e,"cell"===l?n:r,"cell"===l?r:E),e,n,i,o)})})}),e("i18n()",function(t,e,n){var i=this.context[0],t=T(t)(i.oLanguage);return t===E&&(t=e),(t=n!==E&&P.isPlainObject(t)?t[n]!==E?t[n]:t._:t).replace("%d",n)}),S.version="1.10.12",S.settings=[],S.models={},S.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},S.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},S.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},S.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,bJQueryUI:!1,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(t){return t.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(t){try{return JSON.parse((-1===t.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+t.sInstance+"_"+location.pathname))}catch(t){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(t,e){try{(-1===t.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+t.sInstance+"_"+location.pathname,JSON.stringify(e))}catch(t){}},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:P.extend({},S.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},r(S.defaults),S.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},r(S.defaults.column),S.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:E,oAjaxData:E,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,bJUI:null,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==H(this)?+this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==H(this)?+this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var t=this._iDisplayLength,e=this._iDisplayStart,n=e+t,i=this.aiDisplay.length,o=this.oFeatures,s=o.bPaginate;return o.bServerSide?!1===s||-1===t?e+i:Math.min(e+t,this._iRecordsDisplay):!s||i<n||-1===t?i:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},S.ext=f={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:S.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:S.version},P.extend(f,{afnFiltering:f.search,aTypes:f.type.detect,ofnSearch:f.type.search,oSort:f.type.order,afnSortData:f.order,aoFeatures:f.feature,oApi:f.internal,oStdClasses:f.classes,oPagination:f.pager}),P.extend(S.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:""}),i="ui-state-default",n="css_right ui-icon ui-icon-",t="fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix",P.extend(S.ext.oJUIClasses,S.ext.classes,{sPageButton:"fg-button ui-button "+i,sPageButtonActive:"ui-state-disabled",sPageButtonDisabled:"ui-state-disabled",sPaging:"dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_",sSortAsc:i+" sorting_asc",sSortDesc:i+" sorting_desc",sSortable:i+" sorting",sSortableAsc:i+" sorting_asc_disabled",sSortableDesc:i+" sorting_desc_disabled",sSortableNone:i+" sorting_disabled",sSortJUIAsc:n+"triangle-1-n",sSortJUIDesc:n+"triangle-1-s",sSortJUI:n+"carat-2-n-s",sSortJUIAscAllowed:n+"carat-1-n",sSortJUIDescAllowed:n+"carat-1-s",sSortJUIWrapper:"DataTables_sort_wrapper",sSortIcon:"DataTables_sort_icon",sScrollHead:"dataTables_scrollHead "+i,sScrollFoot:"dataTables_scrollFoot "+i,sHeaderTH:i,sFooterTH:i,sJUIHeader:t+" ui-corner-tl ui-corner-tr",sJUIFooter:t+" ui-corner-bl ui-corner-br"}),S.ext.pager);function Ae(t,e){var n=[],i=Ie.numbers_length,o=Math.floor(i/2);return e<=i?n=h(0,e):t<=o?((n=h(0,i-2)).push("ellipsis"),n.push(e-1)):((e-1-o<=t?n=h(e-(i-2),e):((n=h(t-o+2,t+o-1)).push("ellipsis"),n.push(e-1),n)).splice(0,0,"ellipsis"),n.splice(0,0,0)),n.DT_el="span",n}P.extend(Ie,{simple:function(t,e){return["previous","next"]},full:function(t,e){return["first","previous","next","last"]},numbers:function(t,e){return[Ae(t,e)]},simple_numbers:function(t,e){return["previous",Ae(t,e),"next"]},full_numbers:function(t,e){return["first","previous",Ae(t,e),"next","last"]},_numbers:Ae,numbers_length:7}),P.extend(!0,S.ext.renderer,{pageButton:{_:function(a,t,l,e,d,u){function h(t,e){for(var n,i=function(t){Qt(a,t.data.action,!0)},o=0,s=e.length;o<s;o++)if(n=e[o],P.isArray(n)){var r=P("<"+(n.DT_el||"div")+"/>").appendTo(t);h(r,n)}else{switch(c=null,p="",n){case"ellipsis":t.append('<span class="ellipsis">…</span>');break;case"first":c=g.sFirst,p=n+(0<d?"":" "+f.sPageButtonDisabled);break;case"previous":c=g.sPrevious,p=n+(0<d?"":" "+f.sPageButtonDisabled);break;case"next":c=g.sNext,p=n+(d<u-1?"":" "+f.sPageButtonDisabled);break;case"last":c=g.sLast,p=n+(d<u-1?"":" "+f.sPageButtonDisabled);break;default:c=n+1,p=d===n?f.sPageButtonActive:""}null!==c&&(ge(P("<a>",{class:f.sPageButton+" "+p,"aria-controls":a.sTableId,"aria-label":m[n],"data-dt-idx":v,tabindex:a.iTabIndex,id:0===l&&"string"==typeof n?a.sTableId+"_"+n:null}).html(c).appendTo(t),{action:n},i),v++)}}var c,p,n,f=a.oClasses,g=a.oLanguage.oPaginate,m=a.oLanguage.oAria.paginate||{},v=0;try{n=P(t).find(y.activeElement).data("dt-idx")}catch(t){}h(P(t).empty(),e),n&&P(t).find("[data-dt-idx="+n+"]").focus()}}}),P.extend(S.ext.type.detect,[function(t,e){e=e.oLanguage.sDecimal;return l(t,e)?"num"+e:null},function(t,e){var n;return(!t||t instanceof Date||U.test(t)&&q.test(t))&&(null!==(n=Date.parse(t))&&!isNaN(n)||o(t))?"date":null},function(t,e){e=e.oLanguage.sDecimal;return l(t,e,!0)?"num-fmt"+e:null},function(t,e){e=e.oLanguage.sDecimal;return u(t,e)?"html-num"+e:null},function(t,e){e=e.oLanguage.sDecimal;return u(t,e,!0)?"html-num-fmt"+e:null},function(t,e){return o(t)||"string"==typeof t&&-1!==t.indexOf("<")?"html":null}]),P.extend(S.ext.type.search,{html:function(t){return o(t)?t:"string"==typeof t?t.replace(_," ").replace(W,""):""},string:function(t){return!o(t)&&"string"==typeof t?t.replace(_," "):t}});function Me(t,e,n,i){return 0===t||t&&"-"!==t?+(t=(t=e?G(t,e):t).replace&&(n&&(t=t.replace(n,"")),i)?t.replace(i,""):t):-1/0}function Oe(n){P.each({num:function(t){return Me(t,n)},"num-fmt":function(t){return Me(t,n,V)},"html-num":function(t){return Me(t,n,W)},"html-num-fmt":function(t){return Me(t,n,W,V)}},function(t,e){f.type.order[t+n+"-pre"]=e,t.match(/^html\-/)&&(f.type.search[t+n]=f.type.search.html)})}P.extend(f.type.order,{"date-pre":function(t){return Date.parse(t)||0},"html-pre":function(t){return o(t)?"":t.replace?t.replace(/<.*?>/g,"").toLowerCase():t+""},"string-pre":function(t){return o(t)?"":"string"==typeof t?t.toLowerCase():t.toString?t.toString():""},"string-asc":function(t,e){return t<e?-1:e<t?1:0},"string-desc":function(t,e){return t<e?1:e<t?-1:0}}),Oe(""),P.extend(!0,S.ext.renderer,{header:{_:function(o,s,r,a){P(o.nTable).on("order.dt.DT",function(t,e,n,i){o===e&&(e=r.idx,s.removeClass(r.sSortingClass+" "+a.sSortAsc+" "+a.sSortDesc).addClass("asc"==i[e]?a.sSortAsc:"desc"==i[e]?a.sSortDesc:r.sSortingClass))})},jqueryui:function(o,s,r,a){P("<div/>").addClass(a.sSortJUIWrapper).append(s.contents()).append(P("<span/>").addClass(a.sSortIcon+" "+r.sSortingClassJUI)).appendTo(s),P(o.nTable).on("order.dt.DT",function(t,e,n,i){o===e&&(e=r.idx,s.removeClass(a.sSortAsc+" "+a.sSortDesc).addClass("asc"==i[e]?a.sSortAsc:"desc"==i[e]?a.sSortDesc:r.sSortingClass),s.find("span."+a.sSortIcon).removeClass(a.sSortJUIAsc+" "+a.sSortJUIDesc+" "+a.sSortJUI+" "+a.sSortJUIAscAllowed+" "+a.sSortJUIDescAllowed).addClass("asc"==i[e]?a.sSortJUIAsc:"desc"==i[e]?a.sSortJUIDesc:r.sSortingClassJUI))})}}});function Pe(t){return"string"==typeof t?t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,"""):t}function Ee(e){return function(){var t=[pe(this[S.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return S.ext.internal[e].apply(this,t)}}return S.render={number:function(i,o,s,r,a){return{display:function(t){if("number"!=typeof t&&"string"!=typeof t)return t;var e=t<0?"-":"",n=parseFloat(t);if(isNaN(n))return Pe(t);t=Math.abs(n);n=parseInt(t,10),t=s?o+(t-n).toFixed(s).substring(2):"";return e+(r||"")+n.toString().replace(/\B(?=(\d{3})+(?!\d))/g,i)+t+(a||"")}}},text:function(){return{display:Pe}}},P.extend(S.ext.internal,{_fnExternApiFunc:Ee,_fnBuildAjax:Ct,_fnAjaxUpdate:St,_fnAjaxParameters:kt,_fnAjaxUpdateDraw:Dt,_fnAjaxDataSrc:Tt,_fnAddColumn:et,_fnColumnOptions:nt,_fnAdjustColumnSizing:R,_fnVisibleToColumnIndex:N,_fnColumnIndexToVisible:it,_fnVisbleColumns:ot,_fnGetColumns:st,_fnColumnTypes:rt,_fnApplyColumnDefs:at,_fnHungarianMap:r,_fnCamelToHungarian:k,_fnLanguageCompat:K,_fnBrowserDetect:Z,_fnAddData:D,_fnAddTr:lt,_fnNodeToDataIndex:function(t,e){return e._DT_RowIndex!==E?e._DT_RowIndex:null},_fnNodeToColumnIndex:function(t,e,n){return P.inArray(n,t.aoData[e].anCells)},_fnGetCellData:b,_fnSetCellData:dt,_fnSplitObjNotation:ht,_fnGetObjectDataFn:T,_fnSetObjectDataFn:m,_fnGetDataMaster:ct,_fnClearTable:pt,_fnDeleteIndex:ft,_fnInvalidate:gt,_fnGetRowElements:mt,_fnCreateTr:vt,_fnBuildHead:bt,_fnDrawHead:$t,_fnDraw:g,_fnReDraw:d,_fnAddOptionsHtml:wt,_fnDetectHeader:xt,_fnGetUniqueThs:_t,_fnFeatureHtmlFilter:It,_fnFilterComplete:At,_fnFilterCustom:Mt,_fnFilterColumn:Ot,_fnFilter:Pt,_fnFilterCreateSearch:Et,_fnEscapeRegex:Lt,_fnFilterData:Ft,_fnFeatureHtmlInfo:Ht,_fnUpdateInfo:Bt,_fnInfoMacros:Wt,_fnInitialise:Ut,_fnInitComplete:qt,_fnLengthChange:Yt,_fnFeatureHtmlLength:Vt,_fnFeatureHtmlPaginate:Gt,_fnPageChange:Qt,_fnFeatureHtmlProcessing:Kt,_fnProcessingDisplay:$,_fnFeatureHtmlTable:Jt,_fnScrollDraw:Xt,_fnApplyToChildren:F,_fnCalculateColumnWidths:te,_fnThrottle:ee,_fnConvertToWidth:ne,_fnGetWidestNode:ie,_fnGetMaxLenString:oe,_fnStringToCss:j,_fnSortFlatten:I,_fnSort:se,_fnSortAria:re,_fnSortListener:ae,_fnSortAttachListener:le,_fnSortingClasses:de,_fnSortData:ue,_fnSaveState:he,_fnLoadState:ce,_fnSettingsFromNode:pe,_fnLog:z,_fnMap:A,_fnBindAction:ge,_fnCallbackReg:M,_fnCallbackFire:O,_fnLengthOverflow:me,_fnRenderer:ve,_fnDataSource:H,_fnRowAttributes:yt,_fnCalculateEnd:function(){}}),((P.fn.dataTable=S).$=P).fn.dataTableSettings=S.settings,P.fn.dataTableExt=S.ext,P.fn.DataTable=function(t){return P(this).dataTable(t).api()},P.each(S,function(t,e){P.fn.DataTable[t]=e}),P.fn.dataTable}),function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),n(e,0,t.document)}:n(jQuery,window,document)}(function(b,t,i,e){"use strict";var o=b.fn.dataTable;return b.extend(!0,o.defaults,{dom:"<'row'<'col-sm-6'l><'col-sm-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-5'i><'col-sm-7'p>>",renderer:"bootstrap"}),b.extend(o.ext.classes,{sWrapper:"dataTables_wrapper form-inline dt-bootstrap",sFilterInput:"form-control input-sm",sLengthSelect:"form-control input-sm",sProcessing:"dataTables_processing panel panel-default"}),o.ext.renderer.pageButton.bootstrap=function(a,t,l,e,d,u){function h(t,e){for(var n,i,o=function(t){t.preventDefault(),b(t.currentTarget).hasClass("disabled")||f.page()==t.data.action||f.page(t.data.action).draw("page")},s=0,r=e.length;s<r;s++)if(i=e[s],b.isArray(i))h(t,i);else{switch(p=c="",i){case"ellipsis":c="…",p="disabled";break;case"first":c=m.sFirst,p=i+(0<d?"":" disabled");break;case"previous":c=m.sPrevious,p=i+(0<d?"":" disabled");break;case"next":c=m.sNext,p=i+(d<u-1?"":" disabled");break;case"last":c=m.sLast,p=i+(d<u-1?"":" disabled");break;default:c=i+1,p=d===i?"active":""}c&&(n=b("<li>",{class:g.sPageButton+" "+p,id:0===l&&"string"==typeof i?a.sTableId+"_"+i:null}).append(b("<a>",{href:"#","aria-controls":a.sTableId,"aria-label":v[i],"data-dt-idx":y,tabindex:a.iTabIndex}).html(c)).appendTo(t),a.oApi._fnBindAction(n,{action:i},o),y++)}}var c,p,n,f=new o.Api(a),g=a.oClasses,m=a.oLanguage.oPaginate,v=a.oLanguage.oAria.paginate||{},y=0;try{n=b(t).find(i.activeElement).data("dt-idx")}catch(t){}h(b(t).empty().html('<ul class="pagination"/>').children("ul"),e),n&&b(t).find("[data-dt-idx="+n+"]").focus()},o}),function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,e&&e.fn.dataTable||(e=require("datatables.net")(t,e).$),n(e,t,t.document)}:n(jQuery,window,document)}(function(p,c,r,o){"use strict";function i(t,e){if(!s.versionCheck||!s.versionCheck("1.10.3"))throw"DataTables Responsive requires DataTables 1.10.3 or newer";this.s={dt:new s.Api(t),columns:[],current:[]},this.s.dt.settings()[0].responsive||(e&&"string"==typeof e.details?e.details={type:e.details}:e&&!1===e.details?e.details={type:!1}:e&&!0===e.details&&(e.details={type:"inline"}),this.c=p.extend(!0,{},i.defaults,s.defaults.responsive,e),(t.responsive=this)._constructor())}var s=p.fn.dataTable,t=(p.extend(i.prototype,{_constructor:function(){var o=this,i=this.s.dt,t=i.settings()[0],e=p(c).width(),t=(i.settings()[0]._responsive=this,p(c).on("resize.dtr orientationchange.dtr",s.util.throttle(function(){var t=p(c).width();t!==e&&(o._resize(),e=t)})),t.oApi._fnCallbackReg(t,"aoRowCreatedCallback",function(t,e,n){-1!==p.inArray(!1,o.s.current)&&p("td, th",t).each(function(t){t=i.column.index("toData",t);!1===o.s.current[t]&&p(this).css("display","none")})}),i.on("destroy.dtr",function(){i.off(".dtr"),p(i.table().body()).off(".dtr"),p(c).off("resize.dtr orientationchange.dtr"),p.each(o.s.current,function(t,e){!1===e&&o._setColumnVis(t,!0)})}),this.c.breakpoints.sort(function(t,e){return t.width<e.width?1:t.width>e.width?-1:0}),this._classLogic(),this._resizeAuto(),this.c.details);!1!==t.type&&(o._detailsInit(),i.on("column-visibility.dtr",function(t,e,n,i){o._classLogic(),o._resizeAuto(),o._resize()}),i.on("draw.dtr",function(){o._redrawChildren()}),p(i.table().node()).addClass("dtr-"+t.type)),i.on("column-reorder.dtr",function(t,e,n){o._classLogic(),o._resizeAuto(),o._resize()}),i.on("column-sizing.dtr",function(){o._resizeAuto(),o._resize()}),i.on("init.dtr",function(t,e,n){o._resizeAuto(),o._resize(),p.inArray(!1,o.s.current)&&i.columns.adjust()}),this._resize()},_columnsVisiblity:function(e){for(var t=this.s.dt,n=this.s.columns,i=n.map(function(t,e){return{columnIdx:e,priority:t.priority}}).sort(function(t,e){return t.priority!==e.priority?t.priority-e.priority:t.columnIdx-e.columnIdx}),o=p.map(n,function(t){return(!t.auto||null!==t.minWidth)&&(!0===t.auto?"-":-1!==p.inArray(e,t.includeIn))}),s=0,r=0,a=o.length;r<a;r++)!0===o[r]&&(s+=n[r].minWidth);var l=t.settings()[0].oScroll,l=l.sY||l.sX?l.iBarWidth:0,d=t.table().container().offsetWidth-l-s;for(r=0,a=o.length;r<a;r++)n[r].control&&(d-=n[r].minWidth);var u=!1;for(r=0,a=i.length;r<a;r++){var h=i[r].columnIdx;"-"===o[h]&&!n[h].control&&n[h].minWidth&&(u||d-n[h].minWidth<0?o[h]=!(u=!0):o[h]=!0,d-=n[h].minWidth)}var c=!1;for(r=0,a=n.length;r<a;r++)if(!n[r].control&&!n[r].never&&!o[r]){c=!0;break}for(r=0,a=n.length;r<a;r++)n[r].control&&(o[r]=c);return-1===p.inArray(!0,o)&&(o[0]=!0),o},_classLogic:function(){function a(t,e,n,i){var o,s,r;if(n){if("max-"===n)for(o=l._find(e).width,s=0,r=d.length;s<r;s++)d[s].width<=o&&h(t,d[s].name);else if("min-"===n)for(o=l._find(e).width,s=0,r=d.length;s<r;s++)d[s].width>=o&&h(t,d[s].name);else if("not-"===n)for(s=0,r=d.length;s<r;s++)-1===d[s].name.indexOf(i)&&h(t,d[s].name)}else u[t].includeIn.push(e)}var l=this,d=this.c.breakpoints,i=this.s.dt,u=i.columns().eq(0).map(function(t){var e=this.column(t),n=e.header().className,t=i.settings()[0].aoColumns[t].responsivePriority;return t===o&&(t=(e=p(e.header()).data("priority"))!==o?+e:1e4),{className:n,includeIn:[],auto:!1,control:!1,never:!!n.match(/\bnever\b/),priority:t}}),h=function(t,e){t=u[t].includeIn;-1===p.inArray(e,t)&&t.push(e)};u.each(function(t,o){for(var e=t.className.split(" "),s=!1,n=0,i=e.length;n<i;n++){var r=p.trim(e[n]);if("all"===r)return s=!0,void(t.includeIn=p.map(d,function(t){return t.name}));if("none"===r||t.never)return void(s=!0);if("control"===r)return s=!0,void(t.control=!0);p.each(d,function(t,e){var n=e.name.split("-"),i=new RegExp("(min\\-|max\\-|not\\-)?("+n[0]+")(\\-[_a-zA-Z0-9])?"),i=r.match(i);i&&(s=!0,i[2]===n[0]&&i[3]==="-"+n[1]?a(o,e.name,i[1],i[2]+i[3]):i[2]!==n[0]||i[3]||a(o,e.name,i[1],i[2]))})}s||(t.auto=!0)}),this.s.columns=u},_detailsDisplay:function(t,e){var n,i=this,o=this.s.dt,s=this.c.details;!s||!1===s.type||!0!==(n=s.display(t,e,function(){return s.renderer(o,t[0],i._detailsObj(t[0]))}))&&!1!==n||p(o.table().node()).triggerHandler("responsive-display.dt",[o,t,n,e])},_detailsInit:function(){var n=this,i=this.s.dt,t=this.c.details,o=("inline"===t.type&&(t.target="td:first-child, th:first-child"),i.on("draw.dtr",function(){n._tabIndexes()}),n._tabIndexes(),p(i.table().body()).on("keyup.dtr","td, th",function(t){13===t.keyCode&&p(this).data("dtr-keyboard")&&p(this).click()}),t.target),t="string"==typeof o?o:"td, th";p(i.table().body()).on("click.dtr mousedown.dtr mouseup.dtr",t,function(t){if(p(i.table().node()).hasClass("collapsed")&&i.row(p(this).closest("tr")).length){if("number"==typeof o){var e=o<0?i.columns().eq(0).length+o:o;if(i.cell(this).index().column!==e)return}e=i.row(p(this).closest("tr"));"click"===t.type?n._detailsDisplay(e,!1):"mousedown"===t.type?p(this).css("outline","none"):"mouseup"===t.type&&p(this).blur().css("outline","")}})},_detailsObj:function(n){var i=this,o=this.s.dt;return p.map(this.s.columns,function(t,e){if(!t.never&&!t.control)return{title:o.settings()[0].aoColumns[e].sTitle,data:o.cell(n,e).render(i.c.orthogonal),hidden:o.column(e).visible()&&!i.s.current[e],columnIndex:e,rowIndex:n}})},_find:function(t){for(var e=this.c.breakpoints,n=0,i=e.length;n<i;n++)if(e[n].name===t)return e[n]},_redrawChildren:function(){var n=this,i=this.s.dt;i.rows({page:"current"}).iterator("row",function(t,e){i.row(e);n._detailsDisplay(i.row(e),!0)})},_resize:function(){for(var t,n=this,e=this.s.dt,i=p(c).width(),o=this.c.breakpoints,s=o[0].name,r=this.s.columns,a=this.s.current.slice(),l=o.length-1;0<=l;l--)if(i<=o[l].width){s=o[l].name;break}var d=this._columnsVisiblity(s),u=(this.s.current=d,!1);for(l=0,t=r.length;l<t;l++)if(!1===d[l]&&!r[l].never&&!r[l].control){u=!0;break}p(e.table().node()).toggleClass("collapsed",u);var h=!1;e.columns().eq(0).each(function(t,e){d[e]!==a[e]&&(h=!0,n._setColumnVis(t,d[e]))}),h&&(this._redrawChildren(),p(e.table().node()).trigger("responsive-resize.dt",[e,this.s.current]))},_resizeAuto:function(){var t,e,n,i,o,s=this.s.dt,r=this.s.columns;this.c.auto&&-1!==p.inArray(!0,p.map(r,function(t){return t.auto}))&&(s.table().node().offsetWidth,s.columns,t=s.table().node().cloneNode(!1),e=p(s.table().header().cloneNode(!1)).appendTo(t),i=p(s.table().body()).clone(!1,!1).empty().appendTo(t),n=s.columns().header().filter(function(t){return s.column(t).visible()}).to$().clone(!1).css("display","table-cell"),p(i).append(p(s.rows({page:"current"}).nodes()).clone(!1)).find("th, td").css("display",""),(i=s.table().footer())&&(i=p(i.cloneNode(!1)).appendTo(t),o=s.columns().footer().filter(function(t){return s.column(t).visible()}).to$().clone(!1).css("display","table-cell"),p("<tr/>").append(o).appendTo(i)),p("<tr/>").append(n).appendTo(e),"inline"===this.c.details.type&&p(t).addClass("dtr-inline collapsed"),p(t).find("[name]").removeAttr("name"),(o=p("<div/>").css({width:1,height:1,overflow:"hidden"}).append(t)).insertBefore(s.table().node()),n.each(function(t){t=s.column.index("fromVisible",t);r[t].minWidth=this.offsetWidth||0}),o.remove())},_setColumnVis:function(t,e){var n=this.s.dt,e=e?"":"none";p(n.column(t).header()).css("display",e),p(n.column(t).footer()).css("display",e),n.column(t).nodes().to$().css("display",e)},_tabIndexes:function(){var t=this.s.dt,e=t.cells({page:"current"}).nodes().to$(),n=t.settings()[0],i=this.c.details.target;e.filter("[data-dtr-keyboard]").removeData("[data-dtr-keyboard]"),p("number"==typeof i?":eq("+i+")":i,t.rows({page:"current"}).nodes()).attr("tabIndex",n.iTabIndex).data("dtr-keyboard",1)}}),i.defaults={breakpoints: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}],auto:!0,details:{display:(i.display={childRow:function(t,e,n){return e?p(t.node()).hasClass("parent")?(t.child(n(),"child").show(),!0):void 0:t.child.isShown()?(t.child(!1),p(t.node()).removeClass("parent"),!1):(t.child(n(),"child").show(),p(t.node()).addClass("parent"),!0)},childRowImmediate:function(t,e,n){return!e&&t.child.isShown()||!t.responsive.hasHidden()?(t.child(!1),p(t.node()).removeClass("parent"),!1):(t.child(n(),"child").show(),p(t.node()).addClass("parent"),!0)},modal:function(s){return function(t,e,n){var i,o;e?p("div.dtr-modal-content").empty().append(n()):(i=function(){o.remove(),p(r).off("keypress.dtr")},o=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(){i()}))).append(p('<div class="dtr-modal-background"/>').click(function(){i()})).appendTo("body"),p(r).on("keyup.dtr",function(t){27===t.keyCode&&(t.stopPropagation(),i())})),s&&s.header&&p("div.dtr-modal-content").prepend("<h2>"+s.header(t)+"</h2>")}}}).childRow,renderer:(i.renderer={listHidden:function(){return function(t,e,n){n=p.map(n,function(t){return t.hidden?'<li data-dtr-index="'+t.columnIndex+'" data-dt-row="'+t.rowIndex+'" data-dt-column="'+t.columnIndex+'"><span class="dtr-title">'+t.title+'</span> <span class="dtr-data">'+t.data+"</span></li>":""}).join("");return!!n&&p('<ul data-dtr-index="'+e+'"/>').append(n)}},tableAll:function(i){return i=p.extend({tableClass:""},i),function(t,e,n){n=p.map(n,function(t){return'<tr data-dt-row="'+t.rowIndex+'" data-dt-column="'+t.columnIndex+'"><td>'+t.title+":</td> <td>"+t.data+"</td></tr>"}).join("");return p('<table class="'+i.tableClass+'" width="100%"/>').append(n)}}}).listHidden(),target:0,type:"inline"},orthogonal:"display"},p.fn.dataTable.Api);return t.register("responsive()",function(){return this}),t.register("responsive.index()",function(t){return{column:(t=p(t)).data("dtr-index"),row:t.parent().data("dtr-index")}}),t.register("responsive.rebuild()",function(){return this.iterator("table",function(t){t._responsive&&t._responsive._classLogic()})}),t.register("responsive.recalc()",function(){return this.iterator("table",function(t){t._responsive&&(t._responsive._resizeAuto(),t._responsive._resize())})}),t.register("responsive.hasHidden()",function(){var t=this.context[0];return!!t._responsive&&-1!==p.inArray(!1,t._responsive.s.current)}),i.version="2.1.0",p.fn.dataTable.Responsive=i,p.fn.DataTable.Responsive=i,p(r).on("preInit.dt.dtr",function(t,e,n){"dt"===t.namespace&&(p(e.nTable).hasClass("responsive")||p(e.nTable).hasClass("dt-responsive")||e.oInit.responsive||s.defaults.responsive)&&!1!==(t=e.oInit.responsive)&&new i(e,p.isPlainObject(t)?t:{})}),i}),function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net-bs","datatables.net-responsive"],function(t){return n(t,window,document)}):"object"==typeof exports?module.exports=function(t,e){return t=t||window,(e=e&&e.fn.dataTable?e:require("datatables.net-bs")(t,e).$).fn.dataTable.Responsive||require("datatables.net-responsive")(t,e),n(e,0,t.document)}:n(jQuery,window,document)}(function(o,t,e,n){"use strict";var i=o.fn.dataTable,s=i.Responsive.display,r=s.modal,a=o('<div class="modal fade dtr-bs-modal" role="dialog"><div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button></div><div class="modal-body"/></div></div></div>');return s.modal=function(i){return function(t,e,n){o.fn.modal?e||(i&&i.header&&a.find("div.modal-header").empty().append('<h4 class="modal-title">'+i.header(t)+"</h4>"),a.find("div.modal-body").empty().append(n()),a.appendTo("body").modal()):r(t,e,n)}},i.Responsive}),function(e){"function"==typeof define&&define.amd?define(["jquery"],function(t){e(t,window,document)}):"object"==typeof module&&module.exports?module.exports=e(require("jquery"),window,document):e(jQuery,window,document)}(function(a,s,t,r){"use strict";var l="intlTelInput",n=1,i={allowDropdown:!0,autoHideDialCode:!0,autoPlaceholder:"polite",customPlaceholder:null,dropdownContainer:"",excludeCountries:[],formatOnDisplay:!0,geoIpLookup:null,hiddenInput:"",initialCountry:"",nationalMode:!0,onlyCountries:[],placeholderNumberType:"MOBILE",preferredCountries:["us","gb"],separateDialCode:!1,utilsScript:""},d=38,u=40,h=13,c=27,e=43,p=65,f=90,g=32,o=9,m=["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"];function v(t,e){this.telInput=a(t),this.options=a.extend({},i,e),this.ns="."+l+n++,this.isGoodBrowser=Boolean(t.setSelectionRange),this.hadInitialPlaceholder=Boolean(a(t).attr("placeholder"))}a(s).on("load",function(){a.fn[l].windowLoaded=!0}),v.prototype={_init:function(){return this.options.nationalMode&&(this.options.autoHideDialCode=!1),this.options.separateDialCode&&(this.options.autoHideDialCode=this.options.nationalMode=!1),this.isMobile=/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),this.isMobile&&(a("body").addClass("iti-mobile"),this.options.dropdownContainer||(this.options.dropdownContainer="body")),this.autoCountryDeferred=new a.Deferred,this.utilsScriptDeferred=new a.Deferred,this.selectedCountryData={},this._processCountryData(),this._generateMarkup(),this._setInitialState(),this._initListeners(),this._initRequests(),[this.autoCountryDeferred,this.utilsScriptDeferred]},_processCountryData:function(){this._processAllCountries(),this._processCountryCodes(),this._processPreferredCountries()},_addCountryCode:function(t,e,n){e in this.countryCodes||(this.countryCodes[e]=[]),this.countryCodes[e][n||0]=t},_processAllCountries:function(){var e,n;this.options.onlyCountries.length?(e=this.options.onlyCountries.map(function(t){return t.toLowerCase()}),this.countries=y.filter(function(t){return-1<e.indexOf(t.iso2)})):this.options.excludeCountries.length?(n=this.options.excludeCountries.map(function(t){return t.toLowerCase()}),this.countries=y.filter(function(t){return-1===n.indexOf(t.iso2)})):this.countries=y},_processCountryCodes:function(){this.countryCodes={};for(var t=0;t<this.countries.length;t++){var e=this.countries[t];if(this._addCountryCode(e.iso2,e.dialCode,e.priority),e.areaCodes)for(var n=0;n<e.areaCodes.length;n++)this._addCountryCode(e.iso2,e.dialCode+e.areaCodes[n])}},_processPreferredCountries:function(){this.preferredCountries=[];for(var t=0;t<this.options.preferredCountries.length;t++){var e=this.options.preferredCountries[t].toLowerCase(),e=this._getCountryData(e,!1,!0);e&&this.preferredCountries.push(e)}},_generateMarkup:function(){this.telInput.attr("autocomplete","off");var t="intl-tel-input",t=(this.options.allowDropdown&&(t+=" allow-dropdown"),this.options.separateDialCode&&(t+=" separate-dial-code"),this.telInput.wrap(a("<div>",{class:t})),this.flagsContainer=a("<div>",{class:"flag-container"}).insertBefore(this.telInput),a("<div>",{class:"selected-flag"}));t.appendTo(this.flagsContainer),this.selectedFlagInner=a("<div>",{class:"iti-flag"}).appendTo(t),this.options.separateDialCode&&(this.selectedDialCode=a("<div>",{class:"selected-dial-code"}).appendTo(t)),this.options.allowDropdown?(t.attr("tabindex","0"),a("<div>",{class:"iti-arrow"}).appendTo(t),this.countryList=a("<ul>",{class:"country-list hide"}),this.preferredCountries.length&&(this._appendListItems(this.preferredCountries,"preferred"),a("<li>",{class:"divider"}).appendTo(this.countryList)),this._appendListItems(this.countries,""),this.countryListItems=this.countryList.children(".country"),this.options.dropdownContainer?this.dropdown=a("<div>",{class:"intl-tel-input iti-container"}).append(this.countryList):this.countryList.appendTo(this.flagsContainer)):this.countryListItems=a(),this.options.hiddenInput&&(this.hiddenInput=a("<input>",{type:"hidden",name:this.options.hiddenInput}).insertBefore(this.telInput))},_appendListItems:function(t,e){for(var n="",i=0;i<t.length;i++)var o=t[i],n=(n=(n=(n+="<li class='country "+e+"' data-dial-code='"+o.dialCode+"' data-country-code='"+o.iso2+"'>")+("<div class='flag-box'><div class='iti-flag "+o.iso2+"'></div></div>"))+("<span class='country-name'>"+o.name+"</span>"))+("<span class='dial-code'>+"+o.dialCode+"</span>")+"</li>";this.countryList.append(n)},_setInitialState:function(){var t=this.telInput.val();this._getDialCode(t)&&(!this._isRegionlessNanp(t)||this.options.nationalMode&&!this.options.initialCountry)?this._updateFlagFromNumber(t):"auto"!==this.options.initialCountry&&(this.options.initialCountry?this._setFlag(this.options.initialCountry.toLowerCase()):(this.defaultCountry=(this.preferredCountries.length?this.preferredCountries:this.countries)[0].iso2,t||this._setFlag(this.defaultCountry)),t||this.options.nationalMode||this.options.autoHideDialCode||this.options.separateDialCode||this.telInput.val("+"+this.selectedCountryData.dialCode)),t&&this._updateValFromNumber(t)},_initListeners:function(){this._initKeyListeners(),this.options.autoHideDialCode&&this._initFocusListeners(),this.options.allowDropdown&&this._initDropdownListeners(),this.hiddenInput&&this._initHiddenInputListener()},_initHiddenInputListener:function(){var t=this,e=this.telInput.closest("form");e.length&&e.submit(function(){t.hiddenInput.val(t.getNumber())})},_initDropdownListeners:function(){var e=this,t=this.telInput.closest("label");t.length&&t.on("click"+this.ns,function(t){e.countryList.hasClass("hide")?e.telInput.focus():t.preventDefault()}),this.selectedFlagInner.parent().on("click"+this.ns,function(t){!e.countryList.hasClass("hide")||e.telInput.prop("disabled")||e.telInput.prop("readonly")||e._showDropdown()}),this.flagsContainer.on("keydown"+e.ns,function(t){!e.countryList.hasClass("hide")||t.which!=d&&t.which!=u&&t.which!=g&&t.which!=h||(t.preventDefault(),t.stopPropagation(),e._showDropdown()),t.which==o&&e._closeDropdown()})},_initRequests:function(){var t=this;this.options.utilsScript?a.fn[l].windowLoaded?a.fn[l].loadUtils(this.options.utilsScript,this.utilsScriptDeferred):a(s).on("load",function(){a.fn[l].loadUtils(t.options.utilsScript,t.utilsScriptDeferred)}):this.utilsScriptDeferred.resolve(),"auto"===this.options.initialCountry?this._loadAutoCountry():this.autoCountryDeferred.resolve()},_loadAutoCountry:function(){a.fn[l].autoCountry?this.handleAutoCountry():a.fn[l].startedLoadingAutoCountry||(a.fn[l].startedLoadingAutoCountry=!0,"function"==typeof this.options.geoIpLookup&&this.options.geoIpLookup(function(t){a.fn[l].autoCountry=t.toLowerCase(),setTimeout(function(){a(".intl-tel-input input").intlTelInput("handleAutoCountry")})}))},_initKeyListeners:function(){var t=this;this.telInput.on("keyup"+this.ns,function(){t._updateFlagFromNumber(t.telInput.val())&&t._triggerCountryChange()}),this.telInput.on("cut"+this.ns+" paste"+this.ns,function(){setTimeout(function(){t._updateFlagFromNumber(t.telInput.val())&&t._triggerCountryChange()})})},_cap:function(t){var e=this.telInput.attr("maxlength");return e&&t.length>e?t.substr(0,e):t},_initFocusListeners:function(){var n=this,t=(this.telInput.on("mousedown"+this.ns,function(t){n.telInput.is(":focus")||n.telInput.val()||(t.preventDefault(),n.telInput.focus())}),this.telInput.on("focus"+this.ns,function(t){n.telInput.val()||n.telInput.prop("readonly")||!n.selectedCountryData.dialCode||(n.telInput.val("+"+n.selectedCountryData.dialCode),n.telInput.one("keypress.plus"+n.ns,function(t){t.which==e&&n.telInput.val("")}),setTimeout(function(){var t,e=n.telInput[0];n.isGoodBrowser&&(t=n.telInput.val().length,e.setSelectionRange(t,t))}))}),this.telInput.prop("form"));t&&a(t).on("submit"+this.ns,function(){n._removeEmptyDialCode()}),this.telInput.on("blur"+this.ns,function(){n._removeEmptyDialCode()})},_removeEmptyDialCode:function(){var t=this.telInput.val();"+"!=t.charAt(0)||(t=this._getNumeric(t))&&this.selectedCountryData.dialCode!=t||this.telInput.val(""),this.telInput.off("keypress.plus"+this.ns)},_getNumeric:function(t){return t.replace(/\D/g,"")},_showDropdown:function(){this._setDropdownPosition();var t=this.countryList.children(".active");t.length&&(this._highlightListItem(t),this._scrollTo(t)),this._bindDropdownListeners(),this.selectedFlagInner.children(".iti-arrow").addClass("up"),this.telInput.trigger("open:countrydropdown")},_setDropdownPosition:function(){var t,e,n,i,o=this;this.options.dropdownContainer&&this.dropdown.appendTo(this.options.dropdownContainer),this.dropdownHeight=this.countryList.removeClass("hide").outerHeight(),this.isMobile||(e=(t=this.telInput.offset()).top,n=a(s).scrollTop(),i=e+this.telInput.outerHeight()+this.dropdownHeight<n+a(s).height(),n=e-this.dropdownHeight>n,this.countryList.toggleClass("dropup",!i&&n),this.options.dropdownContainer&&(i=!i&&n?0:this.telInput.innerHeight(),this.dropdown.css({top:e+i,left:t.left}),a(s).on("scroll"+this.ns,function(){o._closeDropdown()})))},_bindDropdownListeners:function(){var e=this,n=(this.countryList.on("mouseover"+this.ns,".country",function(t){e._highlightListItem(a(this))}),this.countryList.on("click"+this.ns,".country",function(t){e._selectListItem(a(this))}),!0),i=(a("html").on("click"+this.ns,function(t){n||e._closeDropdown(),n=!1}),""),o=null;a(t).on("keydown"+this.ns,function(t){t.preventDefault(),t.which==d||t.which==u?e._handleUpDownKey(t.which):t.which==h?e._handleEnterKey():t.which==c?e._closeDropdown():(t.which>=p&&t.which<=f||t.which==g)&&(o&&clearTimeout(o),i+=String.fromCharCode(t.which),e._searchForCountry(i),o=setTimeout(function(){i=""},1e3))})},_handleUpDownKey:function(t){var e=this.countryList.children(".highlight").first(),e=t==d?e.prev():e.next();e.length&&(e.hasClass("divider")&&(e=t==d?e.prev():e.next()),this._highlightListItem(e),this._scrollTo(e))},_handleEnterKey:function(){var t=this.countryList.children(".highlight").first();t.length&&this._selectListItem(t)},_searchForCountry:function(t){for(var e=0;e<this.countries.length;e++)if(this._startsWith(this.countries[e].name,t)){var n=this.countryList.children("[data-country-code="+this.countries[e].iso2+"]").not(".preferred");this._highlightListItem(n),this._scrollTo(n,!0);break}},_startsWith:function(t,e){return t.substr(0,e.length).toUpperCase()==e},_updateValFromNumber:function(t){var e;this.options.formatOnDisplay&&s.intlTelInputUtils&&this.selectedCountryData&&(e=this.options.separateDialCode||!this.options.nationalMode&&"+"==t.charAt(0)?intlTelInputUtils.numberFormat.INTERNATIONAL:intlTelInputUtils.numberFormat.NATIONAL,t=intlTelInputUtils.formatNumber(t,this.selectedCountryData.iso2,e)),t=this._beforeSetNumber(t),this.telInput.val(t)},_updateFlagFromNumber:function(t){t&&this.options.nationalMode&&"1"==this.selectedCountryData.dialCode&&"+"!=t.charAt(0)&&(t="+"+(t="1"!=t.charAt(0)?"1"+t:t));var e=this._getDialCode(t),n=null,i=this._getNumeric(t);if(e){var o=this.countryCodes[this._getNumeric(e)],s=-1<a.inArray(this.selectedCountryData.iso2,o),e="+1"==e&&4<=i.length;if(!("1"==this.selectedCountryData.dialCode&&this._isRegionlessNanp(i)||s&&!e))for(var r=0;r<o.length;r++)if(o[r]){n=o[r];break}}else"+"==t.charAt(0)&&i.length?n="":t&&"+"!=t||(n=this.defaultCountry);return null!==n&&this._setFlag(n)},_isRegionlessNanp:function(t){var t=this._getNumeric(t);return"1"==t.charAt(0)&&(t=t.substr(1,3),-1<a.inArray(t,m))},_highlightListItem:function(t){this.countryListItems.removeClass("highlight"),t.addClass("highlight")},_getCountryData:function(t,e,n){for(var i=e?y:this.countries,o=0;o<i.length;o++)if(i[o].iso2==t)return i[o];if(n)return null;throw new Error("No country data for '"+t+"'")},_setFlag:function(t){var e,n=this.selectedCountryData.iso2?this.selectedCountryData:{},i=(this.selectedCountryData=t?this._getCountryData(t,!1,!1):{},this.selectedCountryData.iso2&&(this.defaultCountry=this.selectedCountryData.iso2),this.selectedFlagInner.attr("class","iti-flag "+t),t?this.selectedCountryData.name+": +"+this.selectedCountryData.dialCode:"Unknown");return this.selectedFlagInner.parent().attr("title",i),this.options.separateDialCode&&(i=this.selectedCountryData.dialCode?"+"+this.selectedCountryData.dialCode:"",e=this.telInput.parent(),n.dialCode&&e.removeClass("iti-sdc-"+(n.dialCode.length+1)),i&&e.addClass("iti-sdc-"+i.length),this.selectedDialCode.text(i)),this._updatePlaceholder(),this.countryListItems.removeClass("active"),t&&this.countryListItems.find(".iti-flag."+t).first().closest(".country").addClass("active"),n.iso2!==t},_updatePlaceholder:function(){var t="aggressive"===this.options.autoPlaceholder||!this.hadInitialPlaceholder&&(!0===this.options.autoPlaceholder||"polite"===this.options.autoPlaceholder);s.intlTelInputUtils&&t&&(t=intlTelInputUtils.numberType[this.options.placeholderNumberType],t=this.selectedCountryData.iso2?intlTelInputUtils.getExampleNumber(this.selectedCountryData.iso2,this.options.nationalMode,t):"",t=this._beforeSetNumber(t),"function"==typeof this.options.customPlaceholder&&(t=this.options.customPlaceholder(t,this.selectedCountryData)),this.telInput.attr("placeholder",t))},_selectListItem:function(t){var e=this._setFlag(t.attr("data-country-code"));this._closeDropdown(),this._updateDialCode(t.attr("data-dial-code"),!0),this.telInput.focus(),this.isGoodBrowser&&(t=this.telInput.val().length,this.telInput[0].setSelectionRange(t,t)),e&&this._triggerCountryChange()},_closeDropdown:function(){this.countryList.addClass("hide"),this.selectedFlagInner.children(".iti-arrow").removeClass("up"),a(t).off(this.ns),a("html").off(this.ns),this.countryList.off(this.ns),this.options.dropdownContainer&&(this.isMobile||a(s).off("scroll"+this.ns),this.dropdown.detach()),this.telInput.trigger("close:countrydropdown")},_scrollTo:function(t,e){var n=this.countryList,i=n.height(),o=n.offset().top,s=o+i,r=t.outerHeight(),t=t.offset().top,a=t+r,l=t-o+n.scrollTop(),d=i/2-r/2;t<o?(e&&(l-=d),n.scrollTop(l)):s<a&&(e&&(l+=d),n.scrollTop(l-(i-r)))},_updateDialCode:function(t,e){var n=this.telInput.val();if(t="+"+t,"+"==n.charAt(0))var i=this._getDialCode(n),i=i?n.replace(i,t):t;else{if(this.options.nationalMode||this.options.separateDialCode)return;if(n)i=t+n;else{if(!e&&this.options.autoHideDialCode)return;i=t}}this.telInput.val(i)},_getDialCode:function(t){var e="";if("+"==t.charAt(0))for(var n="",i=0;i<t.length;i++){var o=t.charAt(i);if(a.isNumeric(o)&&(n+=o,this.countryCodes[n]&&(e=t.substr(0,i+1)),4==n.length))break}return e},_getFullNumber:function(){var t=a.trim(this.telInput.val()),e=this.selectedCountryData.dialCode,n=this._getNumeric(t),n="1"==n.charAt(0)?n:"1"+n,n=this.options.separateDialCode?"+"+e:"+"!=t.charAt(0)&&"1"!=t.charAt(0)&&e&&"1"==e.charAt(0)&&4==e.length&&e!=n.substr(0,4)?e.substr(1):"";return n+t},_beforeSetNumber:function(t){var e;return this.options.separateDialCode&&(e=this._getDialCode(t))&&(e=" "===t[(e=null!==this.selectedCountryData.areaCodes?"+"+this.selectedCountryData.dialCode:e).length]||"-"===t[e.length]?e.length+1:e.length,t=t.substr(e)),this._cap(t)},_triggerCountryChange:function(){this.telInput.trigger("countrychange",this.selectedCountryData)},handleAutoCountry:function(){"auto"===this.options.initialCountry&&(this.defaultCountry=a.fn[l].autoCountry,this.telInput.val()||this.setCountry(this.defaultCountry),this.autoCountryDeferred.resolve())},handleUtils:function(){s.intlTelInputUtils&&(this.telInput.val()&&this._updateValFromNumber(this.telInput.val()),this._updatePlaceholder()),this.utilsScriptDeferred.resolve()},destroy:function(){var t;this.allowDropdown&&(this._closeDropdown(),this.selectedFlagInner.parent().off(this.ns),this.telInput.closest("label").off(this.ns)),this.options.autoHideDialCode&&(t=this.telInput.prop("form"))&&a(t).off(this.ns),this.telInput.off(this.ns),this.telInput.parent().before(this.telInput).remove()},getExtension:function(){return s.intlTelInputUtils?intlTelInputUtils.getExtension(this._getFullNumber(),this.selectedCountryData.iso2):""},getNumber:function(t){return s.intlTelInputUtils?intlTelInputUtils.formatNumber(this._getFullNumber(),this.selectedCountryData.iso2,t):""},getNumberType:function(){return s.intlTelInputUtils?intlTelInputUtils.getNumberType(this._getFullNumber(),this.selectedCountryData.iso2):-99},getSelectedCountryData:function(){return this.selectedCountryData},getValidationError:function(){return s.intlTelInputUtils?intlTelInputUtils.getValidationError(this._getFullNumber(),this.selectedCountryData.iso2):-99},isValidNumber:function(){var t=a.trim(this._getFullNumber()),e=this.options.nationalMode?this.selectedCountryData.iso2:"";return s.intlTelInputUtils?intlTelInputUtils.isValidNumber(t,e):null},setCountry:function(t){t=t.toLowerCase(),this.selectedFlagInner.hasClass(t)||(this._setFlag(t),this._updateDialCode(this.selectedCountryData.dialCode,!1),this._triggerCountryChange())},setNumber:function(t){var e=this._updateFlagFromNumber(t);this._updateValFromNumber(t),e&&this._triggerCountryChange()}},a.fn[l]=function(n){var i,e,o=arguments;return n===r||"object"==typeof n?(i=[],this.each(function(){var t,e;a.data(this,"plugin_"+l)||(e=(t=new v(this,n))._init(),i.push(e[0]),i.push(e[1]),a.data(this,"plugin_"+l,t))}),a.when.apply(null,i)):"string"==typeof n&&"_"!==n[0]?(this.each(function(){var t=a.data(this,"plugin_"+l);t instanceof v&&"function"==typeof t[n]&&(e=t[n].apply(t,Array.prototype.slice.call(o,1))),"destroy"===n&&a.data(this,"plugin_"+l,null)}),e!==r?e:this):void 0},a.fn[l].getCountryData=function(){return y},a.fn[l].loadUtils=function(t,e){a.fn[l].loadedUtilsScript?e&&e.resolve():(a.fn[l].loadedUtilsScript=!0,a.ajax({type:"GET",url:t,complete:function(){a(".intl-tel-input input").intlTelInput("handleUtils")},dataType:"script",cache:!0}))},a.fn[l].defaults=i,a.fn[l].version="12.0.2";for(var y=[["Afghanistan (افغانستان)","af","93"],["Albania (Shqipëri)","al","355"],["Algeria (الجزائر)","dz","213"],["American Samoa","as","1684"],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1264"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54"],["Armenia (Հայաստան)","am","374"],["Aruba","aw","297"],["Australia","au","61",0],["Austria (Österreich)","at","43"],["Azerbaijan (Azərbaycan)","az","994"],["Bahamas","bs","1242"],["Bahrain (البحرين)","bh","973"],["Bangladesh (বাংলাদেশ)","bd","880"],["Barbados","bb","1246"],["Belarus (Беларусь)","by","375"],["Belgium (België)","be","32"],["Belize","bz","501"],["Benin (Bénin)","bj","229"],["Bermuda","bm","1441"],["Bhutan (འབྲུག)","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina (Босна и Херцеговина)","ba","387"],["Botswana","bw","267"],["Brazil (Brasil)","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1284"],["Brunei","bn","673"],["Bulgaria (България)","bg","359"],["Burkina Faso","bf","226"],["Burundi (Uburundi)","bi","257"],["Cambodia (កម្ពុជា)","kh","855"],["Cameroon (Cameroun)","cm","237"],["Canada","ca","1",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238"],["Caribbean Netherlands","bq","599",1],["Cayman Islands","ky","1345"],["Central African Republic (République centrafricaine)","cf","236"],["Chad (Tchad)","td","235"],["Chile","cl","56"],["China (中国)","cn","86"],["Christmas Island","cx","61",2],["Cocos (Keeling) Islands","cc","61",1],["Colombia","co","57"],["Comoros (جزر القمر)","km","269"],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243"],["Congo (Republic) (Congo-Brazzaville)","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["Côte d’Ivoire","ci","225"],["Croatia (Hrvatska)","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599",0],["Cyprus (Κύπρος)","cy","357"],["Czech Republic (Česká republika)","cz","420"],["Denmark (Danmark)","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1767"],["Dominican Republic (República Dominicana)","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt (مصر)","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea (Guinea Ecuatorial)","gq","240"],["Eritrea","er","291"],["Estonia (Eesti)","ee","372"],["Ethiopia","et","251"],["Falkland Islands (Islas Malvinas)","fk","500"],["Faroe Islands (Føroyar)","fo","298"],["Fiji","fj","679"],["Finland (Suomi)","fi","358",0],["France","fr","33"],["French Guiana (Guyane française)","gf","594"],["French Polynesia (Polynésie française)","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia (საქართველო)","ge","995"],["Germany (Deutschland)","de","49"],["Ghana (Gaana)","gh","233"],["Gibraltar","gi","350"],["Greece (Ελλάδα)","gr","30"],["Greenland (Kalaallit Nunaat)","gl","299"],["Grenada","gd","1473"],["Guadeloupe","gp","590",0],["Guam","gu","1671"],["Guatemala","gt","502"],["Guernsey","gg","44",1],["Guinea (Guinée)","gn","224"],["Guinea-Bissau (Guiné Bissau)","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong (香港)","hk","852"],["Hungary (Magyarország)","hu","36"],["Iceland (Ísland)","is","354"],["India (भारत)","in","91"],["Indonesia","id","62"],["Iran (ایران)","ir","98"],["Iraq (العراق)","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2],["Israel (ישראל)","il","972"],["Italy (Italia)","it","39",0],["Jamaica","jm","1876"],["Japan (日本)","jp","81"],["Jersey","je","44",3],["Jordan (الأردن)","jo","962"],["Kazakhstan (Казахстан)","kz","7",1],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait (الكويت)","kw","965"],["Kyrgyzstan (Кыргызстан)","kg","996"],["Laos (ລາວ)","la","856"],["Latvia (Latvija)","lv","371"],["Lebanon (لبنان)","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya (ليبيا)","ly","218"],["Liechtenstein","li","423"],["Lithuania (Lietuva)","lt","370"],["Luxembourg","lu","352"],["Macau (澳門)","mo","853"],["Macedonia (FYROM) (Македонија)","mk","389"],["Madagascar (Madagasikara)","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania (موريتانيا)","mr","222"],["Mauritius (Moris)","mu","230"],["Mayotte","yt","262",1],["Mexico (México)","mx","52"],["Micronesia","fm","691"],["Moldova (Republica Moldova)","md","373"],["Monaco","mc","377"],["Mongolia (Монгол)","mn","976"],["Montenegro (Crna Gora)","me","382"],["Montserrat","ms","1664"],["Morocco (المغرب)","ma","212",0],["Mozambique (Moçambique)","mz","258"],["Myanmar (Burma) (မြန်မာ)","mm","95"],["Namibia (Namibië)","na","264"],["Nauru","nr","674"],["Nepal (नेपाल)","np","977"],["Netherlands (Nederland)","nl","31"],["New Caledonia (Nouvelle-Calédonie)","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger (Nijar)","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea (조선 민주주의 인민 공화국)","kp","850"],["Northern Mariana Islands","mp","1670"],["Norway (Norge)","no","47",0],["Oman (عُمان)","om","968"],["Pakistan (پاکستان)","pk","92"],["Palau","pw","680"],["Palestine (فلسطين)","ps","970"],["Panama (Panamá)","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru (Perú)","pe","51"],["Philippines","ph","63"],["Poland (Polska)","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar (قطر)","qa","974"],["Réunion (La Réunion)","re","262",0],["Romania (România)","ro","40"],["Russia (Россия)","ru","7",0],["Rwanda","rw","250"],["Saint Barthélemy","bl","590",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Martin (Saint-Martin (partie française))","mf","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe (São Tomé e Príncipe)","st","239"],["Saudi Arabia (المملكة العربية السعودية)","sa","966"],["Senegal (Sénégal)","sn","221"],["Serbia (Србија)","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1721"],["Slovakia (Slovensko)","sk","421"],["Slovenia (Slovenija)","si","386"],["Solomon Islands","sb","677"],["Somalia (Soomaaliya)","so","252"],["South Africa","za","27"],["South Korea (대한민국)","kr","82"],["South Sudan (جنوب السودان)","ss","211"],["Spain (España)","es","34"],["Sri Lanka (ශ්රී ලංකාව)","lk","94"],["Sudan (السودان)","sd","249"],["Suriname","sr","597"],["Svalbard and Jan Mayen","sj","47",1],["Swaziland","sz","268"],["Sweden (Sverige)","se","46"],["Switzerland (Schweiz)","ch","41"],["Syria (سوريا)","sy","963"],["Taiwan (台灣)","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand (ไทย)","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia (تونس)","tn","216"],["Turkey (Türkiye)","tr","90"],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1649"],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1340"],["Uganda","ug","256"],["Ukraine (Україна)","ua","380"],["United Arab Emirates (الإمارات العربية المتحدة)","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["Uzbekistan (Oʻzbekiston)","uz","998"],["Vanuatu","vu","678"],["Vatican City (Città del Vaticano)","va","39",1],["Venezuela","ve","58"],["Vietnam (Việt Nam)","vn","84"],["Wallis and Futuna (Wallis-et-Futuna)","wf","681"],["Western Sahara (الصحراء الغربية)","eh","212",1],["Yemen (اليمن)","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["Åland Islands","ax","358",1]],b=0;b<y.length;b++){var $=y[b];y[b]={name:$[0],iso2:$[1],dialCode:$[2],priority:$[3]||0,areaCodes:$[4]||null}}}),function(){for(var R="function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,n){if(n.get||n.set)throw new TypeError("ES3 does not support getters and setters.");t!=Array.prototype&&t!=Object.prototype&&(t[e]=n.value)},t=("undefined"==typeof window||window!==this)&&"undefined"!=typeof global&&null!=global?global:this,e=["String","prototype","repeat"],n=0;n<e.length-1;n++){var i=e[n];i in t||(t[i]={}),t=t[i]}var N=e[e.length-1],F=t[N],o=F||function(t){var e;if(null==this)throw new TypeError("The 'this' value for String.prototype.repeat must not be null or undefined");if(e=this+"",t<0||1342177279<t)throw new RangeError("Invalid count value");t|=0;for(var n="";t;)1&t&&(n+=e),(t>>>=1)&&(e+=e);return n},j=(o!=F&&null!=o&&R(t,N,{configurable:!0,writable:!0,value:o}),this);function s(t){return"string"==typeof t}function r(t,e){var n,i=t.split("."),o=j;i[0]in o||!o.execScript||o.execScript("var "+i[0]);for(;i.length&&(n=i.shift());)i.length||void 0===e?o=o[n]||(o[n]={}):o[n]=e}function a(t,s){function e(){}e.prototype=s.prototype,t.aa=s.prototype,t.prototype=new e,(t.prototype.constructor=t).$=function(t,e,n){for(var i=Array(arguments.length-2),o=2;o<arguments.length;o++)i[o-2]=arguments[o];return s.prototype[e].apply(t,i)}}var l=Array.prototype.indexOf?function(t,e,n){return Array.prototype.indexOf.call(t,e,n)}:function(t,e,n){if(n=null==n?0:n<0?Math.max(0,t.length+n):n,s(t))return s(e)&&1==e.length?t.indexOf(e,n):-1;for(;n<t.length;n++)if(n in t&&t[n]===e)return n;return-1};function d(t,e){t.sort(e||z)}function z(t,e){return e<t?1:t<e?-1:0}function H(t,e){switch(this.a=t,this.h=!!e.i,this.b=e.c,this.m=e.type,this.l=!1,this.b){case U:case q:case Y:case V:case G:case W:case B:this.l=!0}this.g=e.defaultValue}var B=1,W=2,U=3,q=4,Y=6,V=16,G=18;function Q(t,e){this.b=t,this.a={};for(var n=0;n<e.length;n++){var i=e[n];this.a[i.a]=i}}function K(t){return d(t=function(t){var e,n=[],i=0;for(e in t)n[i++]=t[e];return n}(t.a),function(t,e){return t.a-e.a}),t}function u(){this.a={},this.g=this.f().a,this.b=this.h=null}function c(t,e){var n=t.a[e];if(null==n)return null;if(t.h){if(e in t.b)return t.b[e];var i=t.h,o=t.g[e];if(null!=n)if(o.h){for(var s=[],r=0;r<n.length;r++)s[r]=i.a(o,n[r]);n=s}else n=i.a(o,n);return t.b[e]=n}return n}function h(t,e,n){var i=c(t,e);return t.g[e].h?i[n||0]:i}function p(t,e){var n;if(null!=t.a[e])n=h(t,e,void 0);else t:{if(void 0===(n=t.g[e]).g){var i=n.m;if(i===Boolean)n.g=!1;else if(i===Number)n.g=0;else{if(i!==String){n=new i;break t}n.g=n.l?"0":""}}n=n.g}return n}function f(t,e){return c(t,e)||[]}function g(t,e){return t.g[e].h?null!=t.a[e]?t.a[e].length:0:null!=t.a[e]?1:0}function m(t,e,n){t.a[e]=n,t.b&&(t.b[e]=n)}function v(t,e){var n,i=[];for(n in e)0!=n&&i.push(new H(n,e[n]));return new Q(t,i)}function y(){}u.prototype.has=function(t){return null!=this.a[t.a]},u.prototype.get=function(t,e){return h(this,t.a,e)},u.prototype.set=function(t,e){m(this,t.a,e)},u.prototype.clone=function(){var t=new this.constructor;return t!=this&&(t.a={},t.b&&(t.b={}),function t(e,n){for(var i=K(e.f()),o=0;o<i.length;o++){var s=(a=i[o]).a;if(null!=n.a[s]){e.b&&delete e.b[a.a];var r=11==a.b||10==a.b;if(a.h)for(var a=f(n,s),l=0;l<a.length;l++){var d=e,u=s,h=r?a[l].clone():a[l];d.a[u]||(d.a[u]=[]),d.a[u].push(h),d.b&&delete d.b[u]}else a=c(n,s),r?(r=c(e,s))?t(r,a):m(e,s,a.clone()):m(e,s,a)}}}(t,this)),t},y.prototype.b=function(t){throw new t.b,Error("Unimplemented")},y.prototype.a=function(t,e){if(11==t.b||10==t.b)return e instanceof u?e:this.b(t.m.prototype.f(),e);if(14==t.b){if(s(e)&&J.test(e)){var n=Number(e);if(0<n)return n}}else if(t.l)if((n=t.m)===String){if("number"==typeof e)return String(e)}else if(n===Number&&s(e)&&("Infinity"===e||"-Infinity"===e||"NaN"===e||J.test(e)))return Number(e);return e};var J=/^-?[0-9]+$/;function b(){}function X(){}function $(t,e){null!=t&&this.a.apply(this,arguments)}function w(){u.call(this)}a(b,y),b.prototype.b=function(t,e){t=new t.b;return t.h=this,t.a=e,t.b={},t},a(X,b),X.prototype.a=function(t,e){return 8==t.b?!!e:y.prototype.a.apply(this,arguments)},$.prototype.b="",$.prototype.set=function(t){this.b=""+t},$.prototype.a=function(t,e,n){if(this.b+=String(t),null!=e)for(var i=1;i<arguments.length;i++)this.b+=arguments[i];return this},$.prototype.toString=function(){return this.b},a(w,u);var Z=null;function x(){u.call(this)}a(x,u);var tt=null;function _(){u.call(this)}a(_,u);var et=null;function C(){u.call(this)}w.f=w.prototype.f=function(){var t=Z;return Z||(Z=t=v(w,{0:{name:"NumberFormat",j:"i18n.phonenumbers.NumberFormat"},1:{name:"pattern",required:!0,c:9,type:String},2:{name:"format",required:!0,c:9,type:String},3:{name:"leading_digits_pattern",i:!0,c:9,type:String},4:{name:"national_prefix_formatting_rule",c:9,type:String},6:{name:"national_prefix_optional_when_formatting",c:8,defaultValue:!1,type:Boolean},5:{name:"domestic_carrier_code_formatting_rule",c:9,type:String}})),t},x.f=x.prototype.f=function(){var t=tt;return tt||(tt=t=v(x,{0:{name:"PhoneNumberDesc",j:"i18n.phonenumbers.PhoneNumberDesc"},2:{name:"national_number_pattern",c:9,type:String},9:{name:"possible_length",i:!0,c:5,type:Number},10:{name:"possible_length_local_only",i:!0,c:5,type:Number},6:{name:"example_number",c:9,type:String}})),t},_.f=_.prototype.f=function(){var t=et;return et||(et=t=v(_,{0:{name:"PhoneMetadata",j:"i18n.phonenumbers.PhoneMetadata"},1:{name:"general_desc",c:11,type:x},2:{name:"fixed_line",c:11,type:x},3:{name:"mobile",c:11,type:x},4:{name:"toll_free",c:11,type:x},5:{name:"premium_rate",c:11,type:x},6:{name:"shared_cost",c:11,type:x},7:{name:"personal_number",c:11,type:x},8:{name:"voip",c:11,type:x},21:{name:"pager",c:11,type:x},25:{name:"uan",c:11,type:x},27:{name:"emergency",c:11,type:x},28:{name:"voicemail",c:11,type:x},24:{name:"no_international_dialling",c:11,type:x},9:{name:"id",required:!0,c:9,type:String},10:{name:"country_code",c:5,type:Number},11:{name:"international_prefix",c:9,type:String},17:{name:"preferred_international_prefix",c:9,type:String},12:{name:"national_prefix",c:9,type:String},13:{name:"preferred_extn_prefix",c:9,type:String},15:{name:"national_prefix_for_parsing",c:9,type:String},16:{name:"national_prefix_transform_rule",c:9,type:String},18:{name:"same_mobile_and_fixed_line_pattern",c:8,defaultValue:!1,type:Boolean},19:{name:"number_format",i:!0,c:11,type:w},20:{name:"intl_number_format",i:!0,c:11,type:w},22:{name:"main_country_for_code",c:8,defaultValue:!1,type:Boolean},23:{name:"leading_digits",c:9,type:String},26:{name:"leading_zero_possible",c:8,defaultValue:!1,type:Boolean}})),t},a(C,u);var nt=null,it={w:0,v:1,u:5,s:10,o:20},S=(C.prototype.f=function(){var t=nt;return nt||(nt=t=v(C,{0:{name:"PhoneNumber",j:"i18n.phonenumbers.PhoneNumber"},1:{name:"country_code",required:!0,c:5,type:Number},2:{name:"national_number",required:!0,c:4,type:Number},3:{name:"extension",c:9,type:String},4:{name:"italian_leading_zero",c:8,type:Boolean},8:{name:"number_of_leading_zeros",c:5,defaultValue:1,type:Number},5:{name:"raw_input",c:9,type:String},6:{name:"country_code_source",c:14,defaultValue:0,type:it},7:{name:"preferred_domestic_carrier_code",c:9,type:String}})),t},(C.ctor=C).f=C.prototype.f,{1:"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI".split(" "),7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],800:["001"],808:["001"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],870:["001"],878:["001"],880:["BD"],881:["001"],882:["001"],883:["001"],886:["TW"],888:["001"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],979:["001"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]}),ot={AC:[,[,,"[46]\\d{4}|[01589]\\d{5}",,,,,,,[5,6]],[,,"6[2-467]\\d{3}",,,,"62889",,,[5]],[,,"4\\d{4}",,,,"40123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AC",247,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"[01589]\\d{5}",,,,"542011",,,[6]],,,[,,,,,,,,,[-1]]],AD:[,[,,"[16]\\d{5,8}|[37-9]\\d{5}",,,,,,,[6,8,9]],[,,"[78]\\d{5}",,,,"712345",,,[6]],[,,"(?:3\\d|6(?:[0-8]|90\\d{2}))\\d{4}",,,,"312345",,,[6,9]],[,,"180[02]\\d{4}",,,,"18001234",,,[8]],[,,"[19]\\d{5}",,,,"912345",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AD",376,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["[137-9]|6[0-8]"]],[,"(\\d{4})(\\d{4})","$1 $2",["180","180[02]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["690"]]],,[,,,,,,,,,[-1]],,,[,,"1800\\d{4}",,,,"18000000",,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AE:[,[,,"[2-79]\\d{7,8}|800\\d{2,9}",,,,,,,[5,6,7,8,9,10,11,12]],[,,"[2-4679][2-8]\\d{6}",,,,"22345678",,,[8],[7]],[,,"5[024-68]\\d{7}",,,,"501234567",,,[9]],[,,"400\\d{6}|800\\d{2,9}",,,,"800123456"],[,,"900[02]\\d{5}",,,,"900234567",,,[9]],[,,"700[05]\\d{5}",,,,"700012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AE",971,"00","0",,,"0",,,,[[,"([2-4679])(\\d{3})(\\d{4})","$1 $2 $3",["[2-4679][2-8]"],"0$1"],[,"(5\\d)(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"([479]00)(\\d)(\\d{5})","$1 $2 $3",["[479]0"],"$1"],[,"([68]00)(\\d{2,9})","$1 $2",["60|8"],"$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"600[25]\\d{5}",,,,"600212345",,,[9]],,,[,,,,,,,,,[-1]]],AF:[,[,,"[2-7]\\d{8}",,,,,,,[9],[7]],[,,"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}",,,,"234567890",,,,[7]],[,,"7(?:[014-9]\\d|2[89]|30)\\d{6}",,,,"701234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AF",93,"00","0",,,"0",,,,[[,"([2-7]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AG:[,[,,"[2589]\\d{9}",,,,,,,[10],[7]],[,,"268(?:4(?:6[0-38]|84)|56[0-2])\\d{4}",,,,"2684601234",,,,[7]],[,,"268(?:464|7(?:1[3-9]|2\\d|3[246]|64|7[0-689]|8[02-68]))\\d{4}",,,,"2684641234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"26848[01]\\d{4}",,,,"2684801234",,,,[7]],"AG",1,"011","1",,,"1",,,,,,[,,"26840[69]\\d{4}",,,,"2684061234",,,,[7]],,"268",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AI:[,[,,"[2589]\\d{9}",,,,,,,[10],[7]],[,,"2644(?:6[12]|9[78])\\d{4}",,,,"2644612345",,,,[7]],[,,"264(?:235|476|5(?:3[6-9]|8[1-4])|7(?:29|72))\\d{4}",,,,"2642351234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AI",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"264",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AL:[,[,,"[2-57]\\d{7}|6\\d{8}|8\\d{5,7}|9\\d{5}",,,,,,,[6,7,8,9],[5]],[,,"(?:2(?:1(?:0[2-9]|[1-9]\\d)|[247]\\d{2}|[35][2-9]\\d|[68](?:0[2-9]|[1-9]\\d)|9(?:[089][2-9]|[1-7]\\d))|3(?:1(?:[04-9][2-9]|[1-3]\\d)|[2-6]\\d{2}|[79](?:[09][2-9]|[1-8]\\d)|8(?:0[2-9]|[1-9]\\d))|4\\d{3}|5(?:1(?:[05-9][2-9]|[1-4]\\d)|[2-578]\\d{2}|6(?:[06-9][2-9]|[1-5]\\d)|9(?:[089][2-9]|[1-7]\\d))|8(?:[19](?:[06-9][2-9]|[1-5]\\d)|[2-6]\\d{2}|[78](?:[089][2-9]|[1-7]\\d)))\\d{4}",,,,"22345678",,,[8],[5,6,7]],[,,"6(?:[689][2-9]|7[2-6])\\d{6}",,,,"662123456",,,[9]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"900[1-9]\\d{2}",,,,"900123",,,[6]],[,,"808[1-9]\\d{2}",,,,"808123",,,[6]],[,,"700[2-9]\\d{4}",,,,"70021234",,,[8]],[,,,,,,,,,[-1]],"AL",355,"00","0",,,"0",,,,[[,"(4)(\\d{3})(\\d{4})","$1 $2 $3",["4[0-6]"],"0$1"],[,"(6\\d)(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4[7-9]"],"0$1"],[,"(\\d{3})(\\d{3,5})","$1 $2",["[235][16-9]|8[016-9]|[79]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AM:[,[,,"[1-9]\\d{7}",,,,,,,[8],[5,6]],[,,"(?:1[0-2]\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2|47\\d)\\d{5}",,,,"10123456",,,,[5,6]],[,,"(?:4[1349]|55|77|88|9[1-9])\\d{6}",,,,"77123456"],[,,"800\\d{5}",,,,"80012345"],[,,"90[016]\\d{5}",,,,"90012345"],[,,"80[1-4]\\d{5}",,,,"80112345"],[,,,,,,,,,[-1]],[,,"60(?:2[078]|[3-7]\\d|8[0-5])\\d{4}",,,,"60271234"],"AM",374,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],[,"(\\d{2})(\\d{6})","$1 $2",["4[1349]|[5-7]|88|9[1-9]"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["[23]"],"(0$1)"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8|90"],"0 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AO:[,[,,"[29]\\d{8}",,,,,,,[9]],[,,"2\\d(?:[26-9]\\d|\\d[26-9])\\d{5}",,,,"222123456"],[,,"9[1-49]\\d{7}",,,,"923123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AO",244,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AR:[,[,,"11\\d{8}|[2368]\\d{9}|9\\d{10}",,,,,,,[10,11],[6,7,8]],[,,"11\\d{8}|(?:2(?:2(?:[013]\\d|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[067]\\d)|4(?:7[3-8]|9\\d)|6(?:[01346]\\d|2[24-6]|5[15-8])|80\\d|9(?:[0124789]\\d|3[1-6]|5[234]|6[2-46]))|3(?:3(?:2[79]|6\\d|8[2578])|4(?:[78]\\d|0[0124-9]|[1-35]\\d|4[24-7]|6[02-9]|9[123678])|5(?:[138]\\d|2[1245]|4[1-9]|6[2-4]|7[1-6])|6[24]\\d|7(?:[0469]\\d|1[1568]|2[013-9]|3[145]|5[14-8]|7[2-57]|8[0-24-9])|8(?:[013578]\\d|2[15-7]|4[13-6]|6[1-357-9]|9[124]))|670\\d)\\d{6}",,,,"1123456789",,,[10],[6,7,8]],[,,"675\\d{7}|9(?:11[2-9]\\d{7}|(?:2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[12358]|5[138]|6[24]|7[069]|8[013578]))[2-9]\\d{6}|\\d{4}[2-9]\\d{5})",,,,"91123456789",,,,[6,7,8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"60[04579]\\d{7}",,,,"6001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AR",54,"00","0",,,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))?15)?","9$1",,,[[,"([68]\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(\\d{2})(\\d{4})","$1-$2",["[2-9]"],"$1"],[,"(\\d{3})(\\d{4})","$1-$2",["[2-9]"],"$1"],[,"(\\d{4})(\\d{4})","$1-$2",["[2-9]"],"$1"],[,"(9)(11)(\\d{4})(\\d{4})","$2 15-$3-$4",["911"],"0$1"],[,"(9)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9(?:2[234689]|3[3-8])","9(?:2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[1-358]|5[138]|6[24]|7[069]|8[013578]))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3[456]|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3(?:4|5[014]|6[1239])|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))"],"0$1"],[,"(9)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9[23]"],"0$1"],[,"(11)(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[1-358]|5[138]|6[24]|7[069]|8[013578])","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3[456]|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3(?:4|5[014]|6[1239])|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))"],"0$1",,1],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1],[,"(\\d{3})","$1",["1[012]|911"],"$1"]],[[,"([68]\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],[,"(9)(11)(\\d{4})(\\d{4})","$1 $2 $3-$4",["911"]],[,"(9)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3-$4",["9(?:2[234689]|3[3-8])","9(?:2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[1-358]|5[138]|6[24]|7[069]|8[013578]))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3[456]|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))","9(?:2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3(?:4|5[014]|6[1239])|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45])))"]],[,"(9)(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3-$4",["9[23]"]],[,"(11)(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["2(?:2[013]|3[067]|49|6[01346]|80|9[147-9])|3(?:36|4[1-358]|5[138]|6[24]|7[069]|8[013578])","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3[456]|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))","2(?:2(?:0[013-9]|[13])|3(?:0[013-9]|[67])|49|6(?:[0136]|4[0-59])|8|9(?:[19]|44|7[013-9]|8[14]))|3(?:36|4(?:[12]|3(?:4|5[014]|6[1239])|[58]4)|5(?:1|3[0-24-689]|8[46])|6|7[069]|8(?:[01]|34|[578][45]))"],"0$1",,1],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["[23]"],"0$1",,1]],[,,,,,,,,,[-1]],,,[,,"810\\d{7}",,,,"8101234567",,,[10]],[,,"810\\d{7}",,,,"8101234567",,,[10]],,,[,,,,,,,,,[-1]]],AS:[,[,,"[5689]\\d{9}",,,,,,,[10],[7]],[,,"6846(?:22|33|44|55|77|88|9[19])\\d{4}",,,,"6846221234",,,,[7]],[,,"684(?:2(?:5[2468]|72)|7(?:3[13]|70))\\d{4}",,,,"6847331234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"AS",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"684",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,"[1-9]\\d{3,12}",,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,"1\\d{3,12}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-8]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|63|7[1368]|8[2457])|5(?:12|2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[1-35-8]|5[468]|62)|7(?:2[1-8]|3[25]|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\d{3,10}",,,,"1234567890",,,,[3]],[,,"6(?:5[0-3579]|6[013-9]|[7-9]\\d)\\d{4,10}",,,,"664123456",,,[7,8,9,10,11,12,13]],[,,"800\\d{6,10}",,,,"800123456",,,[9,10,11,12,13]],[,,"9(?:0[01]|3[019])\\d{6,10}",,,,"900123456",,,[9,10,11,12,13]],[,,"8(?:10\\d|2(?:[01]\\d|8\\d?))\\d{5,9}",,,,"810123456",,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,"780\\d{6,10}",,,,"780123456",,,[9,10,11,12,13]],"AT",43,"00","0",,,"0",,,,[[,"(116\\d{3})","$1",["116"],"$1"],[,"(1)(\\d{3,12})","$1 $2",["1"],"0$1"],[,"(5\\d)(\\d{3,5})","$1 $2",["5[079]"],"0$1"],[,"(5\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["5[079]"],"0$1"],[,"(5\\d)(\\d{4})(\\d{4,7})","$1 $2 $3",["5[079]"],"0$1"],[,"(\\d{3})(\\d{3,10})","$1 $2",["316|46|51|732|6(?:5[0-3579]|[6-9])|7(?:[28]0)|[89]"],"0$1"],[,"(\\d{4})(\\d{3,9})","$1 $2",["2|3(?:1[1-578]|[3-8])|4[2378]|5[2-6]|6(?:[12]|4[1-9]|5[468])|7(?:2[1-8]|35|4[1-8]|[5-79])"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"5(?:(?:0[1-9]|17)\\d{2,10}|[79]\\d{3,11})|720\\d{6,10}",,,,"50123",,,[5,6,7,8,9,10,11,12,13]],,,[,,,,,,,,,[-1]]],AU:[,[,,"1\\d{4,9}|[2-578]\\d{8}",,,,,,,[5,6,7,8,9,10]],[,,"[237]\\d{8}|8(?:[6-8]\\d{3}|9(?:[02-9]\\d{2}|1(?:[0-57-9]\\d|6[0135-9])))\\d{4}",,,,"212345678",,,[9],[8]],[,,"14(?:5\\d|71)\\d{5}|4(?:[0-3]\\d|4[47-9]|5[0-25-9]|6[6-9]|7[02-9]|8[147-9]|9[017-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"19(?:0[0126]\\d|[679])\\d{5}",,,,"1900123456",,,[8,10]],[,,"13(?:00\\d{3}|45[0-4]|\\d)\\d{3}",,,,"1300123456",,,[6,8,10]],[,,"500\\d{6}",,,,"500123456",,,[9]],[,,"550\\d{6}",,,,"550123456",,,[9]],"AU",61,"(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011)|001[14-689]","0",,,"0",,"0011",,[[,"([2378])(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[45]|14"],"0$1"],[,"(16)(\\d{3,4})","$1 $2",["16"],"0$1"],[,"(16)(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],[,"(1[389]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[38]0|90)","1(?:[38]00|90)"],"$1"],[,"(180)(2\\d{3})","$1 $2",["180","1802"],"$1"],[,"(19\\d)(\\d{3})","$1 $2",["19[13]"],"$1"],[,"(19\\d{2})(\\d{4})","$1 $2",["19[679]"],"$1"],[,"(13)(\\d{2})(\\d{2})","$1 $2 $3",["13[1-9]"],"$1"]],,[,,"16\\d{3,7}",,,,"1612345",,,[5,6,7,8,9]],1,,[,,"1(?:3(?:00\\d{3}|45[0-4]|\\d)\\d{3}|80(?:0\\d{6}|2\\d{3}))",,,,"1300123456",,,[6,7,8,10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,"[25-9]\\d{6}",,,,,,,[7]],[,,"5(?:2\\d|8[1-9])\\d{4}",,,,"5212345"],[,,"(?:5(?:6\\d|9[2-478])|6(?:[039]0|22|4[01]|6[0-2])|7[34]\\d|9(?:6[45]|9[4-8]))\\d{4}",,,,"5601234"],[,,"800\\d{4}",,,,"8001234"],[,,"900\\d{4}",,,,"9001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"28\\d{5}|501\\d{4}",,,,"5011234"],"AW",297,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AX:[,[,,"[15]\\d{6,9}|2\\d{4,9}|3\\d{5,9}|4\\d{7,10}|[67]\\d{7,9}|8\\d{7,8}",,,,,,,[5,6,7,8,9,10,11]],[,,"18[1-8]\\d{4,6}",,,,"181234567",,,[7,8,9]],[,,"4(?:[0-8]\\d{6,8}|9\\d{9})|50\\d{6,8}",,,,"412345678",,,[8,9,10,11]],[,,"800\\d{5,6}",,,,"800123456",,,[8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AX",358,"00|99(?:[02469]|5(?:11|33|5[59]|88|9[09]))","0",,,"0",,"00",,,,[,,,,,,,,,[-1]],,,[,,"100\\d{4,6}|20(?:0\\d{4,6}|2[023]\\d{4,5}|9[89]\\d{1,6})|300\\d{3,7}|60(?:[12]\\d{5,6}|6\\d{7})|7(?:1\\d{7}|3\\d{8}|5[03-9]\\d{5,6})",,,,"1001234",,,[5,6,7,8,9,10]],[,,"10(?:0\\d{4,6}|[1-9]\\d{5,7})|2(?:0(?:0\\d{4,6}|[13-8]\\d{5,7}|2(?:[023]\\d{4,5}|[14-9]\\d{4,6})|9(?:[0-7]\\d{4,6}|[89]\\d{1,6}))|9\\d{5,8})|3(?:0(?:0\\d{3,7}|[1-57-9]\\d{5,7}|6(?:\\d{3}|\\d{5,7}))|93\\d{5,7})|60(?:[12]\\d{5,6}|6\\d{7})|7(?:1\\d{7}|3\\d{8}|5[03-9]\\d{5,6})",,,,"10112345",,,[5,6,7,8,9,10]],,,[,,,,,,,,,[-1]]],AZ:[,[,,"[1-9]\\d{8}",,,,,,,[9],[7]],[,,"(?:1[28]\\d{3}|2(?:02|1[24]|2[2-4]|33|[45]2|6[23])\\d{2}|365(?:[0-46-9]\\d|5[0-35-9]))\\d{4}",,,,"123123456",,,,[7]],[,,"(?:36554|(?:4[04]|5[015]|60|7[07])\\d{3})\\d{4}",,,,"401234567"],[,,"88\\d{7}",,,,"881234567"],[,,"900200\\d{3}",,,,"900200123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"AZ",994,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["(?:1[28]|2(?:[45]2|[0-36])|365)"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[4-8]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BA:[,[,,"[3-9]\\d{7,8}",,,,,,,[8,9],[6]],[,,"(?:[35]\\d|49)\\d{6}",,,,"30123456",,,[8],[6]],[,,"6(?:0(?:3\\d|40)|[1-356]\\d|44[0-6]|71[137])\\d{5}",,,,"61123456"],[,,"8[08]\\d{6}",,,,"80123456",,,[8]],[,,"9[0246]\\d{6}",,,,"90123456",,,[8]],[,,"8[12]\\d{6}",,,,"82123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BA",387,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-356]|[7-9]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6[047]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70[23]\\d{5}",,,,"70223456",,,[8]],,,[,,,,,,,,,[-1]]],BB:[,[,,"[2589]\\d{9}",,,,,,,[10],[7]],[,,"246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\d|3[2-9])|5(?:20|[34]\\d|54|7[1-3])|6(?:2\\d|38)|7(?:37|57)|9(?:1[89]|63))\\d{4}",,,,"2464123456",,,,[7]],[,,"246(?:2(?:[356]\\d|4[0-57-9]|8[0-79])|45\\d|8(?:[2-5]\\d|83))\\d{4}",,,,"2462501234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900\\d{7}|246976\\d{4}",,,,"9002123456",,,,[7]],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"24631\\d{5}",,,,"2463101234",,,,[7]],"BB",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"246",[,,,,,,,,,[-1]],[,,"246(?:292|367|4(?:1[7-9]|3[01]|44|67)|736)\\d{4}",,,,"2464301234",,,,[7]],,,[,,,,,,,,,[-1]]],BD:[,[,,"[2-79]\\d{5,9}|1\\d{9}|8[0-7]\\d{4,8}",,,,,,,[6,7,8,9,10]],[,,"2(?:[45]\\d{3}|7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|[139][1-6]|2[0157-9]|41|6[1-35]|7[1-5]|8[1-8]|90)|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0167]|7[15]|8[0146-9]))\\d{4}|3(?:12?[5-7]\\d{2}|0(?:2(?:[025-79]\\d|[348]\\d{1,2})|3(?:[2-4]\\d|[56]\\d?))|2(?:1\\d{2}|2(?:[12]\\d|[35]\\d{1,2}|4\\d?))|3(?:1\\d{2}|2(?:[2356]\\d|4\\d{1,2}))|4(?:1\\d{2}|2(?:2\\d{1,2}|[47]|5\\d{2}))|5(?:1\\d{2}|29)|[67]1\\d{2}|8(?:1\\d{2}|2(?:2\\d{2}|3|4\\d)))\\d{3}|4(?:0(?:2(?:[09]\\d|7)|33\\d{2})|1\\d{3}|2(?:1\\d{2}|2(?:[25]\\d?|[348]\\d|[67]\\d{1,2}))|3(?:1\\d{2}(?:\\d{2})?|2(?:[045]\\d|[236-9]\\d{1,2})|32\\d{2})|4(?:[18]\\d{2}|2(?:[2-46]\\d{2}|3)|5[25]\\d{2})|5(?:1\\d{2}|2(?:3\\d|5))|6(?:[18]\\d{2}|2(?:3(?:\\d{2})?|[46]\\d{1,2}|5\\d{2}|7\\d)|5(?:3\\d?|4\\d|[57]\\d{1,2}|6\\d{2}|8))|71\\d{2}|8(?:[18]\\d{2}|23\\d{2}|54\\d{2})|9(?:[18]\\d{2}|2[2-5]\\d{2}|53\\d{1,2}))\\d{3}|5(?:02[03489]\\d{2}|1\\d{2}|2(?:1\\d{2}|2(?:2(?:\\d{2})?|[457]\\d{2}))|3(?:1\\d{2}|2(?:[37](?:\\d{2})?|[569]\\d{2}))|4(?:1\\d{2}|2[46]\\d{2})|5(?:1\\d{2}|26\\d{1,2})|6(?:[18]\\d{2}|2|53\\d{2})|7(?:1|24)\\d{2}|8(?:1|26)\\d{2}|91\\d{2})\\d{3}|6(?:0(?:1\\d{2}|2(?:3\\d{2}|4\\d{1,2}))|2(?:2[2-5]\\d{2}|5(?:[3-5]\\d{2}|7)|8\\d{2})|3(?:1|2[3478])\\d{2}|4(?:1|2[34])\\d{2}|5(?:1|2[47])\\d{2}|6(?:[18]\\d{2}|6(?:2(?:2\\d|[34]\\d{2})|5(?:[24]\\d{2}|3\\d|5\\d{1,2})))|72[2-5]\\d{2}|8(?:1\\d{2}|2[2-5]\\d{2})|9(?:1\\d{2}|2[2-6]\\d{2}))\\d{3}|7(?:(?:02|[3-589]1|6[12]|72[24])\\d{2}|21\\d{3}|32)\\d{3}|8(?:(?:4[12]|[5-7]2|1\\d?)|(?:0|3[12]|[5-7]1|217)\\d)\\d{4}|9(?:[35]1|(?:[024]2|81)\\d|(?:1|[24]1)\\d{2})\\d{3}",,,,"27111234",,,[6,7,8,9]],[,,"(?:1[13-9]\\d|(?:3[78]|44)[02-9]|6(?:44|6[02-9]))\\d{7}",,,,"1812345678",,,[10]],[,,"80[03]\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"96(?:0[49]|1[0-4]|6[69])\\d{6}",,,,"9604123456",,,[10]],"BD",880,"00","0",,,"0",,,,[[,"(2)(\\d{7,8})","$1-$2",["2"],"0$1"],[,"(\\d{2})(\\d{4,6})","$1-$2",["[3-79]1"],"0$1"],[,"(\\d{4})(\\d{3,6})","$1-$2",["1|3(?:0|[2-58]2)|4(?:0|[25]2|3[23]|[4689][25])|5(?:[02-578]2|6[25])|6(?:[0347-9]2|[26][25])|7[02-9]2|8(?:[023][23]|[4-7]2)|9(?:[02][23]|[458]2|6[016])"],"0$1"],[,"(\\d{3})(\\d{3,7})","$1-$2",["[3-79][2-9]|8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BE:[,[,,"[1-9]\\d{7,8}",,,,,,,[8,9]],[,,"(?:1[0-69]|[23][2-8]|4[23]|5\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\d{6}|80[2-8]\\d{5}",,,,"12345678",,,[8]],[,,"4(?:6[0135-8]|[79]\\d|8[3-9])\\d{6}",,,,"470123456",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"(?:70[2-467]|90[0-79])\\d{5}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BE",32,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4[6-9]"],"0$1"],[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[23]|4[23]|9[2-4]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[156]|7[018]|8(?:0[1-9]|[1-79])"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"78\\d{6}",,,,"78123456",,,[8]],,,[,,,,,,,,,[-1]]],BF:[,[,,"[25-7]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:49|5[23]|6[56]|9[016-9])|4(?:4[569]|5[4-6]|6[56]|7[0179])|5(?:[34]\\d|50|6[5-7]))\\d{4}",,,,"20491234"],[,,"(?:5[15-8]|[67]\\d)\\d{6}",,,,"70123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BF",226,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BG:[,[,,"[23567]\\d{5,7}|[489]\\d{6,8}",,,,,,,[6,7,8,9],[4,5]],[,,"2\\d{5,7}|(?:[36]\\d|5[1-9]|8[1-6]|9[1-7])\\d{5,6}|(?:4(?:[124-7]\\d|3[1-6])|7(?:0[1-9]|[1-9]\\d))\\d{4,5}",,,,"2123456",,,[6,7,8],[4,5]],[,,"(?:8[7-9]\\d|9(?:8\\d|9[69]))\\d{6}|4(?:3[0789]|8\\d)\\d{5}",,,,"48123456",,,[8,9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,"700\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],"BG",359,"00","0",,,"0",,,,[[,"(2)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],[,"(2)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["43[124-7]|70[1-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[124-7]|70[1-9]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[78]00"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["99[69]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["48|8[7-9]|9[08]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BH:[,[,,"[136-9]\\d{7}",,,,,,,[8]],[,,"(?:1(?:3[1356]|6[0156]|7\\d)\\d|6(?:1[16]\\d|500|6(?:0\\d|3[12]|44|7[7-9])|9[69][69])|7(?:1(?:11|78)|7\\d{2}))\\d{4}",,,,"17001234"],[,,"(?:3(?:[1-4679]\\d|5[013-69]|8[0-47-9])\\d|6(?:3(?:00|33|6[16])|6(?:[69]\\d|3[03-9]|7[0-6])))\\d{4}",,,,"36001234"],[,,"80\\d{6}",,,,"80123456"],[,,"(?:87|9[014578])\\d{6}",,,,"90123456"],[,,"84\\d{6}",,,,"84123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BH",973,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BI:[,[,,"[267]\\d{7}",,,,,,,[8]],[,,"22\\d{6}",,,,"22201234"],[,,"(?:29|6[189]|7[124-9])\\d{6}",,,,"79561234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BI",257,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BJ:[,[,,"[2689]\\d{7}",,,,,,,[8]],[,,"2(?:02|1[037]|2[45]|3[68])\\d{5}",,,,"20211234"],[,,"(?:6[1-8]|9[03-9])\\d{6}",,,,"90011234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"857[58]\\d{4}",,,,"85751234"],"BJ",229,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2689]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"81\\d{6}",,,,"81123456"],,,[,,,,,,,,,[-1]]],BL:[,[,,"[56]\\d{8}",,,,,,,[9]],[,,"590(?:2[7-9]|5[12]|87)\\d{4}",,,,"590271234"],[,,"690(?:0[05-9]|[1-9]\\d)\\d{4}",,,,"690001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BL",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BM:[,[,,"[4589]\\d{9}",,,,,,,[10],[7]],[,,"441(?:2(?:02|23|61|[3479]\\d)|[46]\\d{2}|5(?:4\\d|60|89)|824)\\d{4}",,,,"4412345678",,,,[7]],[,,"441(?:[37]\\d|5[0-39])\\d{5}",,,,"4413701234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"441",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BN:[,[,,"[2-578]\\d{6}",,,,,,,[7]],[,,"2(?:[013-9]\\d|2[0-7])\\d{4}|[3-5]\\d{6}",,,,"2345678"],[,,"22[89]\\d{4}|[78]\\d{6}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BN",673,"00",,,,,,,,[[,"([2-578]\\d{2})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BO:[,[,,"[23467]\\d{7}|8\\d{8}",,,,,,,[8,9],[7]],[,,"(?:2(?:2\\d{2}|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d{2}|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:2\\d|3[234]|4[248]|5[24]|6[2-6]|7\\d))|4(?:4\\d{2}|6(?:11|[24689]\\d|72)))\\d{4}",,,,"22123456",,,[8],[7]],[,,"[67]\\d{7}",,,,"71234567",,,[8]],[,,"80017\\d{4}",,,,"800171234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BO",591,"00(1\\d)?","0",,,"0(1\\d)?",,,,[[,"([234])(\\d{7})","$1 $2",["[234]"],,"0$CC $1"],[,"([67]\\d{7})","$1",["[67]"],,"0$CC $1"],[,"(800)(\\d{2})(\\d{4})","$1 $2 $3",["800"],,"0$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BQ:[,[,,"[347]\\d{6}",,,,,,,[7]],[,,"(?:318[023]|41(?:6[023]|70)|7(?:1[578]|50)\\d)\\d{3}",,,,"7151234"],[,,"(?:31(?:8[14-8]|9[14578])|416[145-9]|7(?:0[01]|7[07]|8\\d|9[056])\\d)\\d{3}",,,,"3181234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BQ",599,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BR:[,[,,"[1-46-9]\\d{7,10}|5(?:[0-4]\\d{7,9}|5(?:[2-8]\\d{7}|9\\d{7,8}))",,,,,,,[8,9,10,11]],[,,"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\d{7}",,,,"1123456789",,,[10],[8]],[,,"(?:[189][1-9]|2[12478])(?:7|9\\d)\\d{7}|(?:3[1-578]|[46][1-9]|5[13-5]|7[13-579])(?:[6-8]|9\\d?)\\d{7}",,,,"11961234567",,,[10,11],[8]],[,,"800\\d{6,7}",,,,"800123456",,,[9,10]],[,,"(?:300|[59]00\\d?)\\d{6}",,,,"300123456",,,[9,10]],[,,"(?:300\\d(?:\\d{2})?|40(?:0\\d|20))\\d{4}",,,,"40041234",,,[8,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BR",55,"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","0",,,"0(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2",,,[[,"(\\d{4})(\\d{4})","$1-$2",["(?:300|40[02])","(?:300|40(?:0|20))"]],[,"([3589]00)(\\d{2,3})(\\d{4})","$1 $2 $3",["[3589]00"],"0$1"],[,"(\\d{3,5})","$1",["1[125689]"],"$1"],[,"(\\d{4})(\\d{4})","$1-$2",["[2-9](?:[1-9]|0[1-9])"],"$1"],[,"(\\d{5})(\\d{4})","$1-$2",["9(?:[1-9]|0[1-9])"],"$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["[1-9][1-9]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[1-9][1-9]9"],"($1)","0 $CC ($1)"]],[[,"(\\d{4})(\\d{4})","$1-$2",["(?:300|40[02])","(?:300|40(?:0|20))"]],[,"([3589]00)(\\d{2,3})(\\d{4})","$1 $2 $3",["[3589]00"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["[1-9][1-9]"],"($1)","0 $CC ($1)"],[,"(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[1-9][1-9]9"],"($1)","0 $CC ($1)"]],[,,,,,,,,,[-1]],,,[,,"(?:300\\d|40(?:0\\d|20))\\d{4}",,,,"40041234",,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BS:[,[,,"[2589]\\d{9}",,,,,,,[10],[7]],[,,"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[3467]|8[0-4]|9[2-467])|461|502|6(?:0[1-3]|12|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}",,,,"2423456789",,,,[7]],[,,"242(?:3(?:5[79]|[79]5)|4(?:[2-4][1-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|99))\\d{4}",,,,"2423591234",,,,[7]],[,,"242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456",,,,[7]],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"BS",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"242",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BT:[,[,,"[1-8]\\d{6,7}",,,,,,,[7,8],[6]],[,,"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\d{5}",,,,"2345678",,,[7],[6]],[,,"(?:1[67]|77)\\d{6}",,,,"17123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BT",975,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1|77"]],[,"([2-8])(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BW:[,[,,"[2-79]\\d{6,7}",,,,,,,[7,8]],[,,"(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[01])|4(?:6[03]|7[1267]|9[0-5])|5(?:3[0389]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[067]))\\d{4}",,,,"2401234",,,[7]],[,,"7(?:[1-6]\\d|7[014-8])\\d{5}",,,,"71123456",,,[8]],[,,,,,,,,,[-1]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"79[12][01]\\d{4}",,,,"79101234",,,[8]],"BW",267,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-6]"]],[,"(7\\d)(\\d{3})(\\d{3})","$1 $2 $3",["7"]],[,"(90)(\\d{5})","$1 $2",["9"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BY:[,[,,"[1-4]\\d{8}|800\\d{3,7}|[89]\\d{9,10}",,,,,,,[6,7,8,9,10,11],[5]],[,,"(?:1(?:5(?:1[1-5]|[24]\\d|6[2-4]|9[1-7])|6(?:[235]\\d|4[1-7])|7\\d{2})|2(?:1(?:[246]\\d|3[0-35-9]|5[1-9])|2(?:[235]\\d|4[0-8])|3(?:[26]\\d|3[02-79]|4[024-7]|5[03-7])))\\d{5}",,,,"152450911",,,[9],[5,6,7]],[,,"(?:2(?:5[5679]|9[1-9])|33\\d|44\\d)\\d{6}",,,,"294911911",,,[9]],[,,"8(?:0[13]|20\\d)\\d{7}|800\\d{3,7}",,,,"8011234567"],[,,"(?:810|902)\\d{7}",,,,"9021234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"249\\d{6}",,,,"249123456",,,[9]],"BY",375,"810","8",,,"8?0?",,"8~10",,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["17[0-3589]|2[4-9]|[34]","17(?:[02358]|1[0-2]|9[0189])|2[4-9]|[34]"],"8 0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:5[24]|6[235]|7[467])|2(?:1[246]|2[25]|3[26])","1(?:5[24]|6(?:2|3[04-9]|5[0346-9])|7(?:[46]|7[37-9]))|2(?:1[246]|2[25]|3[26])"],"8 0$1"],[,"(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],[,"([89]\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8[01]|9"],"8 $1"],[,"(82\\d)(\\d{4})(\\d{4})","$1 $2 $3",["82"],"8 $1"],[,"(800)(\\d{3})","$1 $2",["800"],"8 $1"],[,"(800)(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"]],,[,,,,,,,,,[-1]],,,[,,"8(?:0[13]|10|20\\d)\\d{7}|800\\d{3,7}|902\\d{7}",,,,"82012345678"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BZ:[,[,,"[2-8]\\d{6}|0\\d{10}",,,,,,,[7,11]],[,,"(?:2(?:[02]\\d|36)|[3-58][02]\\d|7(?:[02]\\d|32))\\d{4}",,,,"2221234",,,[7]],[,,"6[0-35-7]\\d{5}",,,,"6221234",,,[7]],[,,"0800\\d{7}",,,,"08001234123",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"BZ",501,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],[,"(0)(800)(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CA:[,[,,"[2-9]\\d{9}|3\\d{6}",,,,,,,[7,10]],[,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|65)|4(?:03|1[68]|3[178]|50)|5(?:06|1[49]|48|79|8[17])|6(?:0[04]|13|22|39|47)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}|310\\d{4}",,,,"2042345678",,,[10],[7]],[,,"(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|65)|4(?:03|1[68]|3[178]|50)|5(?:06|1[49]|48|79|8[17])|6(?:0[04]|13|22|39|47)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}",,,,"2042345678",,,[10],[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}|310\\d{4}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456",,,[10]],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678",,,[10]],[,,,,,,,,,[-1]],"CA",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CC:[,[,,"[1458]\\d{5,9}",,,,,,,[6,7,9,10],[8]],[,,"89162\\d{4}",,,,"891621234",,,[9],[8]],[,,"14(?:5\\d|71)\\d{5}|4(?:[0-2]\\d|3[0-57-9]|4[47-9]|5[0-25-9]|6[6-9]|7[02-9]|8[147-9]|9[017-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0126]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{2})?\\d{4}",,,,"1300123456",,,[6,10]],[,,"500\\d{6}",,,,"500123456",,,[9]],[,,"550\\d{6}",,,,"550123456",,,[9]],"CC",61,"(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]","0",,,"0",,"0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CD:[,[,,"[2-6]\\d{6}|[18]\\d{6,8}|9\\d{8}",,,,,,,[7,9]],[,,"1(?:2\\d{7}|\\d{6})|[2-6]\\d{6}",,,,"1234567"],[,,"8(?:[0-2459]\\d{2}|8)\\d{5}|9[017-9]\\d{7}",,,,"991234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CD",243,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["12"],"0$1"],[,"([89]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8[0-2459]|9"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CF:[,[,,"[278]\\d{7}",,,,,,,[8]],[,,"2[12]\\d{6}",,,,"21612345"],[,,"7[0257]\\d{6}",,,,"70012345"],[,,,,,,,,,[-1]],[,,"8776\\d{4}",,,,"87761234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CF",236,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CG:[,[,,"[028]\\d{8}",,,,,,,[9]],[,,"222[1-589]\\d{5}",,,,"222123456"],[,,"0[14-6]\\d{7}",,,,"061234567"],[,,,,,,,,,[-1]],[,,"80(?:0\\d{2}|11[01])\\d{4}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CG",242,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["801"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]],[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["800"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CH:[,[,,"[2-9]\\d{8}|860\\d{9}",,,,,,,[9,12]],[,,"(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\d{7}",,,,"212345678",,,[9]],[,,"7[5-9]\\d{7}",,,,"781234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[016]\\d{6}",,,,"900123456",,,[9]],[,,"84[0248]\\d{6}",,,,"840123456",,,[9]],[,,"878\\d{6}",,,,"878123456",,,[9]],[,,,,,,,,,[-1]],"CH",41,"00","0",,,"0",,,,[[,"([2-9]\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]|[89]1"],"0$1"],[,"([89]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["860"],"0$1"]],,[,,"74[0248]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,"5[18]\\d{7}",,,,"581234567",,,[9]],,,[,,"860\\d{9}",,,,"860123456789",,,[12]]],CI:[,[,,"[02-8]\\d{7}",,,,,,,[8]],[,,"(?:2(?:0[023]|1[02357]|[23][045]|4[03-5])|3(?:0[06]|1[069]|[2-4][07]|5[09]|6[08]))\\d{5}",,,,"21234567"],[,,"(?:0[1-9]|4\\d|5[14-9]|6[015-79]|[78][4-9])\\d{6}",,,,"01234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CI",225,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CK:[,[,,"[2-8]\\d{4}",,,,,,,[5]],[,,"(?:2\\d|3[13-7]|4[1-5])\\d{3}",,,,"21234"],[,,"[5-8]\\d{4}",,,,"71234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CK",682,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CL:[,[,,"(?:[2-9]|600|123)\\d{7,8}",,,,,,,[9,10,11],[7,8]],[,,"2(?:1962\\d{4}|2\\d{7}|32[0-467]\\d{5})|(?:3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|9[3-9])\\d{7}",,,,"221234567",,,[9],[7,8]],[,,"2(?:1962\\d{4}|2\\d{7}|32[0-467]\\d{5})|(?:3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|9[3-9])\\d{7}",,,,"961234567",,,[9],[8]],[,,"800\\d{6}|1230\\d{7}",,,,"800123456",,,[9,11]],[,,,,,,,,,[-1]],[,,"600\\d{7,8}",,,,"6001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,"44\\d{7}",,,,"441234567",,,[9]],"CL",56,"(?:0|1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018]))0","0",,,"0|(1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018]))",,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[23]"],"($1)","$CC ($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[357]|4[1-35]|6[13-57]"],"($1)","$CC ($1)"],[,"(9)(\\d{4})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(44)(\\d{3})(\\d{4})","$1 $2 $3",["44"],"0$1"],[,"([68]00)(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"],"$1"],[,"(600)(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"],"$1"],[,"(1230)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"$1"],[,"(\\d{5})(\\d{4})","$1 $2",["219"],"($1)","$CC ($1)"],[,"(\\d{4,5})","$1",["[1-9]"],"$1"]],[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[23]"],"($1)","$CC ($1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[357]|4[1-35]|6[13-57]"],"($1)","$CC ($1)"],[,"(9)(\\d{4})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(44)(\\d{3})(\\d{4})","$1 $2 $3",["44"],"0$1"],[,"([68]00)(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"],"$1"],[,"(600)(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"],"$1"],[,"(1230)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"$1"],[,"(\\d{5})(\\d{4})","$1 $2",["219"],"($1)","$CC ($1)"]],[,,,,,,,,,[-1]],,,[,,"600\\d{7,8}",,,,"6001234567",,,[10,11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CM:[,[,,"[2368]\\d{7,8}",,,,,,,[8,9]],[,,"2(?:22|33|4[23])\\d{6}",,,,"222123456",,,[9]],[,,"6[5-9]\\d{7}",,,,"671234567",,,[9]],[,,"88\\d{6}",,,,"88012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CM",237,"00",,,,,,,,[[,"([26])(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]"]],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[23]|88"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CN:[,[,,"[1-7]\\d{6,11}|8[0-357-9]\\d{6,9}|9\\d{7,10}",,,,,,,[7,8,9,10,11,12],[5,6]],[,,"21(?:100\\d{2}|95\\d{3,4}|\\d{8,10})|(?:10|2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[1-35])|5(?:1\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:[57]1|98))(?:100\\d{2}|95\\d{3,4}|\\d{8})|(?:3(?:1[02-9]|35|49|5\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[3-9]|5[2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\d|2[248]|3[04-9]|4[3-6]|5[0-4689]|6[2368]|9[02-9])|8(?:078|1[236-8]|2[5-7]|3\\d|5[1-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100\\d{2}|95\\d{3,4}|\\d{7})|80(?:29|6[03578]|7[018]|81)\\d{4}",,,,"1012345678",,,,[5,6]],[,,"1(?:[38]\\d|4[57]|5[0-35-9]|7[0-35-8])\\d{8}",,,,"13123456789",,,[11]],[,,"(?:10)?800\\d{7}",,,,"8001234567",,,[10,12]],[,,"16[08]\\d{5}",,,,"16812345",,,[8]],[,,"400\\d{7}|950\\d{7,8}|(?:10|2[0-57-9]|3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[4789]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[3678]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))96\\d{3,4}",,,,"4001234567",,,[7,8,9,10,11],[5,6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CN",86,"(1(?:[129]\\d{3}|79\\d{2}))?00","0",,,"(1(?:[129]\\d{3}|79\\d{2}))|0",,"00",,[[,"(80\\d{2})(\\d{4})","$1 $2",["80[2678]"],"0$1","$CC $1",1],[,"([48]00)(\\d{3})(\\d{4})","$1 $2 $3",["[48]00"]],[,"(\\d{5,6})","$1",["100|95"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2\\d)[19]","(?:10|2\\d)(?:10|9[56])","(?:10|2\\d)(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[3-9]","[3-9]\\d{2}[19]","[3-9]\\d{2}(?:10|9[56])"],"0$1","$CC $1"],[,"(\\d{3,4})(\\d{4})","$1 $2",["[2-9]"]],[,"(21)(\\d{4})(\\d{4,6})","$1 $2 $3",["21"],"0$1","$CC $1",1],[,"([12]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["10[1-9]|2[02-9]","10[1-9]|2[02-9]","10(?:[1-79]|8(?:[1-9]|0[1-9]))|2[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:1[02-9]|35|49|5|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|[35][2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[04-9]|4[3-6]|6[2368])|8(?:1[236-8]|2[5-7]|3|5[1-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3(?:11|7[179])|4(?:[15]1|3[1-35])|5(?:1|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:[57]1|98)"],"0$1","$CC $1",1],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["807","8078"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-578]"],,"$CC $1"],[,"(10800)(\\d{3})(\\d{4})","$1 $2 $3",["108","1080","10800"]],[,"(\\d{3})(\\d{7,8})","$1 $2",["950"]]],[[,"(80\\d{2})(\\d{4})","$1 $2",["80[2678]"],"0$1","$CC $1",1],[,"([48]00)(\\d{3})(\\d{4})","$1 $2 $3",["[48]00"]],[,"(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2\\d)[19]","(?:10|2\\d)(?:10|9[56])","(?:10|2\\d)(?:100|9[56])"],"0$1","$CC $1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["[3-9]","[3-9]\\d{2}[19]","[3-9]\\d{2}(?:10|9[56])"],"0$1","$CC $1"],[,"(21)(\\d{4})(\\d{4,6})","$1 $2 $3",["21"],"0$1","$CC $1",1],[,"([12]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["10[1-9]|2[02-9]","10[1-9]|2[02-9]","10(?:[1-79]|8(?:[1-9]|0[1-9]))|2[02-9]"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:1[02-9]|35|49|5|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|[35][2-9]|6[4789]|7\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[04-9]|4[3-6]|6[2368])|8(?:1[236-8]|2[5-7]|3|5[1-9]|7[02-9]|8[3678]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3(?:11|7[179])|4(?:[15]1|3[1-35])|5(?:1|2[37]|3[12]|51|7[13-79]|9[15])|7(?:31|5[457]|6[09]|91)|8(?:[57]1|98)"],"0$1","$CC $1",1],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["807","8078"],"0$1","$CC $1",1],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-578]"],,"$CC $1"],[,"(10800)(\\d{3})(\\d{4})","$1 $2 $3",["108","1080","10800"]],[,"(\\d{3})(\\d{7,8})","$1 $2",["950"]]],[,,,,,,,,,[-1]],,,[,,"(?:4|(?:10)?8)00\\d{7}|950\\d{7,8}",,,,"4001234567",,,[10,11,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CO:[,[,,"(?:[13]\\d{0,3}|[24-8])\\d{7}",,,,,,,[8,10,11],[7]],[,,"[124-8][2-9]\\d{6}",,,,"12345678",,,[8],[7]],[,,"3(?:0[0-5]|1\\d|2[0-3]|5[01])\\d{7}",,,,"3211234567",,,[10]],[,,"1800\\d{7}",,,,"18001234567",,,[11]],[,,"19(?:0[01]|4[78])\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CO",57,"00(?:4(?:[14]4|56)|[579])","0",,,"0([3579]|4(?:44|56))?",,,,[[,"(\\d)(\\d{7})","$1 $2",["1(?:8[2-9]|9[0-3]|[2-7])|[24-8]","1(?:8[2-9]|9(?:09|[1-3])|[2-7])|[24-8]"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],,"0$CC $1"],[,"(1)(\\d{3})(\\d{7})","$1-$2-$3",["1(?:80|9[04])","1(?:800|9(?:0[01]|4[78]))"],"0$1"]],[[,"(\\d)(\\d{7})","$1 $2",["1(?:8[2-9]|9[0-3]|[2-7])|[24-8]","1(?:8[2-9]|9(?:09|[1-3])|[2-7])|[24-8]"],"($1)","0$CC $1"],[,"(\\d{3})(\\d{7})","$1 $2",["3"],,"0$CC $1"],[,"(1)(\\d{3})(\\d{7})","$1 $2 $3",["1(?:80|9[04])","1(?:800|9(?:0[01]|4[78]))"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CR:[,[,,"[24-9]\\d{7,9}",,,,,,,[8,10]],[,,"2[0-24-7]\\d{6}",,,,"22123456",,,[8]],[,,"5(?:0[01]|7[0-3])\\d{5}|6(?:[0-4]\\d{3}|500[01])\\d{3}|(?:7[0-3]|8[3-9])\\d{6}",,,,"83123456",,,[8]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"90[059]\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"210[0-6]\\d{4}|4\\d{7}|5100\\d{4}",,,,"40001234",,,[8]],"CR",506,"00",,,,"(19(?:0[012468]|1[09]|20|66|77|99))",,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[24-7]|8[3-9]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]0"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CU:[,[,,"[2-57]\\d{5,7}",,,,,,,[6,7,8],[4,5]],[,,"2[1-4]\\d{5,6}|3(?:1\\d{6}|[23]\\d{4,6})|4(?:[125]\\d{5,6}|[36]\\d{6}|[78]\\d{4,6})|7\\d{6,7}",,,,"71234567",,,,[4,5]],[,,"5\\d{7}",,,,"51234567",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CU",53,"119","0",,,"0",,,,[[,"(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],[,"(\\d{2})(\\d{4,6})","$1 $2",["[2-4]"],"(0$1)"],[,"(\\d)(\\d{7})","$1 $2",["5"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CV:[,[,,"[259]\\d{6}",,,,,,,[7]],[,,"2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\d|7[1-3]|8[1-5])\\d{4}",,,,"2211234"],[,,"(?:9\\d|59)\\d{5}",,,,"9911234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CV",238,"0",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CW:[,[,,"[169]\\d{6,7}",,,,,,,[7,8]],[,,"9(?:[48]\\d{2}|50\\d|7(?:2[0-24]|[34]\\d|6[35-7]|77|8[7-9]))\\d{4}",,,,"94151234",,,[8]],[,,"9(?:5(?:[12467]\\d|3[01])|6(?:[15-9]\\d|3[01]))\\d{4}",,,,"95181234",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"60[0-2]\\d{4}",,,,"6001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"CW",599,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[13-7]"]],[,"(9)(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],,[,,"955\\d{5}",,,,"95581234",,,[8]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CX:[,[,,"[1458]\\d{5,9}",,,,,,,[6,7,8,9,10]],[,,"89164\\d{4}",,,,"891641234",,,[9],[8]],[,,"14(?:5\\d|71)\\d{5}|4(?:[0-2]\\d|3[0-57-9]|4[47-9]|5[0-25-9]|6[6-9]|7[02-9]|8[147-9]|9[017-9])\\d{6}",,,,"412345678",,,[9]],[,,"180(?:0\\d{3}|2)\\d{3}",,,,"1800123456",,,[7,10]],[,,"190[0126]\\d{6}",,,,"1900123456",,,[10]],[,,"13(?:00\\d{2})?\\d{4}",,,,"1300123456",,,[6,8,10]],[,,"500\\d{6}",,,,"500123456",,,[9]],[,,"550\\d{6}",,,,"550123456",,,[9]],"CX",61,"(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]","0",,,"0",,"0011",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CY:[,[,,"[257-9]\\d{7}",,,,,,,[8]],[,,"2[2-6]\\d{6}",,,,"22345678"],[,,"9[4-79]\\d{6}",,,,"96123456"],[,,"800\\d{5}",,,,"80001234"],[,,"90[09]\\d{5}",,,,"90012345"],[,,"80[1-9]\\d{5}",,,,"80112345"],[,,"700\\d{5}",,,,"70012345"],[,,,,,,,,,[-1]],"CY",357,"00",,,,,,,,[[,"(\\d{2})(\\d{6})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:50|77)\\d{6}",,,,"77123456"],,,[,,,,,,,,,[-1]]],CZ:[,[,,"[2-8]\\d{8}|9\\d{8,11}",,,,,,,[9,10,11,12]],[,,"2\\d{8}|(?:3[1257-9]|4[16-9]|5[13-9])\\d{7}",,,,"212345678",,,[9]],[,,"(?:60[1-8]|7(?:0[2-5]|[2379]\\d))\\d{6}",,,,"601123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:0[05689]|76)\\d{6}",,,,"900123456",,,[9]],[,,"8[134]\\d{7}",,,,"811234567",,,[9]],[,,"70[01]\\d{6}",,,,"700123456",,,[9]],[,,"9[17]0\\d{6}",,,,"910123456",,,[9]],"CZ",420,"00",,,,,,,,[[,"([2-9]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],[,"(96\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["96"]],[,"(9\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9[36]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"9(?:5\\d|7[234])\\d{6}",,,,"972123456",,,[9]],,,[,,"9(?:3\\d{9}|6\\d{7,10})",,,,"93123456789"]],DE:[,[,,"[1-35-9]\\d{3,14}|4(?:[0-8]\\d{3,12}|9(?:[0-37]\\d|4(?:[1-35-8]|4\\d?)|5\\d{1,2}|6[1-8]\\d?)\\d{2,8})",,,,,,,[4,5,6,7,8,9,10,11,12,13,14,15],[3]],[,,"2\\d{5,13}|3(?:0\\d{3,13}|2\\d{9}|[3-9]\\d{4,13})|4(?:0\\d{3,12}|\\d{5,13})|5(?:0[2-8]|[1256]\\d|[38][0-8]|4\\d{0,2}|[79][0-7])\\d{3,11}|6(?:\\d{5,13}|9\\d{3,12})|7(?:0[2-8]|[1-9]\\d)\\d{3,10}|8(?:0[2-9]|[1-8]\\d|9\\d?)\\d{3,10}|9(?:0[6-9]\\d{3,10}|1\\d{4,12}|[2-9]\\d{4,11})",,,,"30123456",,,[5,6,7,8,9,10,11,12,13,14,15],[3,4]],[,,"1(?:5[0-25-9]\\d{8}|6[023]\\d{7,8}|7\\d{8,9})",,,,"15123456789",,,[10,11]],[,,"800\\d{7,12}",,,,"8001234567890",,,[10,11,12,13,14,15]],[,,"137[7-9]\\d{6}|900(?:[135]\\d{6}|9\\d{7})",,,,"9001234567",,,[10,11]],[,,"1(?:3(?:7[1-6]\\d{6}|8\\d{4})|80\\d{5,11})",,,,"18012345",,,[7,8,9,10,11,12,13,14]],[,,"700\\d{8}",,,,"70012345678",,,[11]],[,,,,,,,,,[-1]],"DE",49,"00","0",,,"0",,,,[[,"(1\\d{2})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],[,"(15\\d{3})(\\d{6})","$1 $2",["15[0568]"],"0$1"],[,"(1\\d{3})(\\d{7})","$1 $2",["15"],"0$1"],[,"(\\d{2})(\\d{3,11})","$1 $2",["3[02]|40|[68]9"],"0$1"],[,"(\\d{3})(\\d{3,11})","$1 $2",["2(?:\\d1|0[2389]|1[24]|28|34)|3(?:[3-9][15]|40)|[4-8][1-9]1|9(?:06|[1-9]1)"],"0$1"],[,"(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|[7-9](?:\\d[1-9]|[1-9]\\d)|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])","[24-6]|[7-9](?:\\d[1-9]|[1-9]\\d)|3(?:3(?:0[1-467]|2[127-9]|3[124578]|[46][1246]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|3[1357]|4[13578]|6[1246]|7[1356]|9[1346])|5(?:0[14]|2[1-3589]|3[1357]|4[1246]|6[1-4]|7[1346]|8[13568]|9[1246])|6(?:0[356]|2[1-489]|3[124-6]|4[1347]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|3[1357]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|4[1347]|6[0135-9]|7[1467]|8[136])|9(?:0[12479]|2[1358]|3[1357]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))"],"0$1"],[,"(3\\d{4})(\\d{1,10})","$1 $2",["3"],"0$1"],[,"(800)(\\d{7,12})","$1 $2",["800"],"0$1"],[,"(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["(?:18|90)0|137","1(?:37|80)|900[1359]"],"0$1"],[,"(1\\d{2})(\\d{5,11})","$1 $2",["181"],"0$1"],[,"(18\\d{3})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],[,"(18\\d{2})(\\d{7})","$1 $2",["18[68]"],"0$1"],[,"(18\\d)(\\d{8})","$1 $2",["18[2-579]"],"0$1"],[,"(700)(\\d{4})(\\d{4})","$1 $2 $3",["700"],"0$1"],[,"(138)(\\d{4})","$1 $2",["138"],"0$1"],[,"(15[013-68])(\\d{2})(\\d{8})","$1 $2 $3",["15[013-68]"],"0$1"],[,"(15[279]\\d)(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],[,"(1[67]\\d)(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"]],,[,,"16(?:4\\d{1,10}|[89]\\d{1,11})",,,,"16412345",,,[4,5,6,7,8,9,10,11,12,13,14]],,,[,,,,,,,,,[-1]],[,,"18(?:1\\d{5,11}|[2-9]\\d{8})",,,,"18500123456",,,[8,9,10,11,12,13,14]],,,[,,"1(?:5(?:(?:2\\d55|7\\d99|9\\d33)\\d{7}|(?:[034568]00|113)\\d{8})|6(?:013|255|399)\\d{7,8}|7(?:[015]13|[234]55|[69]33|[78]99)\\d{7,8})",,,,"177991234567",,,[12,13]]],DJ:[,[,,"[27]\\d{7}",,,,,,,[8]],[,,"2(?:1[2-5]|7[45])\\d{5}",,,,"21360003"],[,,"77\\d{6}",,,,"77831001"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DJ",253,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DK:[,[,,"[2-9]\\d{7}",,,,,,,[8]],[,,"(?:[2-7]\\d|8[126-9]|9[1-36-9])\\d{6}",,,,"32123456"],[,,"(?:[2-7]\\d|8[126-9]|9[1-36-9])\\d{6}",,,,"20123456"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"DK",45,"00",,,,,,,1,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DM:[,[,,"[57-9]\\d{9}",,,,,,,[10],[7]],[,,"767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4]|70[1-3])\\d{4}",,,,"7674201234",,,,[7]],[,,"767(?:2(?:[234689]5|7[5-7])|31[5-7]|61[1-7])\\d{4}",,,,"7672251234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"767",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DO:[,[,,"[589]\\d{9}",,,,,,,[10],[7]],[,,"8(?:[04]9[2-9]\\d{6}|29(?:2(?:[0-59]\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\d|4[7-9])|[45]\\d{2}|6(?:[0-27-9]\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9]))\\d{4})",,,,"8092345678",,,,[7]],[,,"8[024]9[2-9]\\d{6}",,,,"8092345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"DO",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"8[024]9",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DZ:[,[,,"(?:[1-4]|[5-9]\\d)\\d{7}",,,,,,,[8,9]],[,,"(?:1\\d|2[013-79]|3[0-8]|4[0135689])\\d{6}|9619\\d{5}",,,,"12345678"],[,,"(?:5[4-6]|7[7-9])\\d{7}|6(?:[569]\\d|7[0-6])\\d{6}",,,,"551234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"80[3-689]1\\d{5}",,,,"808123456",,,[9]],[,,"80[12]1\\d{5}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,"98[23]\\d{6}",,,,"983123456",,,[9]],"DZ",213,"00","0",,,"0",,,,[[,"([1-4]\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],[,"([5-8]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"],[,"(9\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EC:[,[,,"1\\d{9,10}|[2-8]\\d{7}|9\\d{8}",,,,,,,[8,9,10,11],[7]],[,,"[2-7][2-7]\\d{6}",,,,"22123456",,,[8],[7]],[,,"9(?:(?:39|[45][89]|7[7-9]|[89]\\d)\\d|6(?:[017-9]\\d|2[0-4]))\\d{5}",,,,"991234567",,,[9]],[,,"1800\\d{6,7}",,,,"18001234567",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"[2-7]890\\d{4}",,,,"28901234",,,[8]],"EC",593,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[247]|[356][2-8]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(1800)(\\d{3})(\\d{3,4})","$1 $2 $3",["1"],"$1"]],[[,"(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[247]|[356][2-8]"]],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],[,"(1800)(\\d{3})(\\d{3,4})","$1 $2 $3",["1"],"$1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EE:[,[,,"[3-9]\\d{6,7}|800\\d{6,7}",,,,,,,[7,8,10]],[,,"(?:3[23589]|4[3-8]|6\\d|7[1-9]|88)\\d{5}",,,,"3212345",,,[7]],[,,"(?:5\\d|8[1-5])\\d{6}|5(?:[02]\\d{2}|1(?:[0-8]\\d|95)|5[0-478]\\d|64[0-4]|65[1-589])\\d{3}",,,,"51234567",,,[7,8]],[,,"800(?:0\\d{3}|1\\d|[2-9])\\d{3}",,,,"80012345"],[,,"(?:40\\d{2}|900)\\d{4}",,,,"9001234",,,[7,8]],[,,,,,,,,,[-1]],[,,"70[0-2]\\d{5}",,,,"70012345",,,[8]],[,,,,,,,,,[-1]],"EE",372,"00",,,,,,,,[[,"([3-79]\\d{2})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]"]],[,"(70)(\\d{2})(\\d{4})","$1 $2 $3",["70"]],[,"(8000)(\\d{3})(\\d{3})","$1 $2 $3",["800","8000"]],[,"([458]\\d{3})(\\d{3,4})","$1 $2",["40|5|8(?:00|[1-5])","40|5|8(?:00[1-9]|[1-5])"]]],,[,,,,,,,,,[-1]],,,[,,"800[2-9]\\d{3}",,,,"8002123",,,[7]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EG:[,[,,"1\\d{4,9}|[2456]\\d{8}|3\\d{7}|[89]\\d{8,9}",,,,,,,[8,9,10],[7]],[,,"(?:1(?:3[23]\\d|5(?:[23]|9\\d))|2[2-4]\\d{2}|3\\d{2}|4(?:0[2-5]|[578][23]|64)\\d|5(?:0[2-7]|[57][23])\\d|6[24-689]3\\d|8(?:2[2-57]|4[26]|6[237]|8[2-4])\\d|9(?:2[27]|3[24]|52|6[2356]|7[2-4])\\d)\\d{5}",,,,"234567890",,,[8,9],[7]],[,,"1(?:0[0-269]|1[0-245]|2[0-278]|55)\\d{7}",,,,"1001234567",,,[10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"EG",20,"00","0",,,"0",,,,[[,"(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1[012]|[89]00"],"0$1"],[,"(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|[89][2-9]"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["155"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EH:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"528[89]\\d{5}",,,,"528812345"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[07][07]|6[12]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5924[01]\\d{4}",,,,"592401234"],"EH",212,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"528[89]",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ER:[,[,,"[178]\\d{6}",,,,,,,[7],[6]],[,,"1(?:1[12568]|20|40|55|6[146])\\d{4}|8\\d{6}",,,,"8370362",,,,[6]],[,,"17[1-3]\\d{4}|7\\d{6}",,,,"7123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ER",291,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",,"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ES:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"8(?:[1356]\\d|[28][0-8]|[47][1-9])\\d{6}|9(?:[135]\\d{7}|[28][0-8]\\d{6}|4[1-9]\\d{6}|6(?:[0-8]\\d{6}|9(?:0(?:[0-57-9]\\d{4}|6(?:0[0-8]|1[1-9]|[2-9]\\d)\\d{2})|[1-9]\\d{5}))|7(?:[124-9]\\d{2}|3(?:[0-8]\\d|9[1-9]))\\d{4})",,,,"810123456"],[,,"(?:6\\d{6}|7[1-48]\\d{5}|9(?:6906(?:09|10)|7390\\d{2}))\\d{2}",,,,"612345678"],[,,"[89]00\\d{6}",,,,"800123456"],[,,"80[367]\\d{6}",,,,"803123456"],[,,"90[12]\\d{6}",,,,"901123456"],[,,"70\\d{7}",,,,"701234567"],[,,,,,,,,,[-1]],"ES",34,"00",,,,,,,,[[,"([89]00)(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],[,"([5-9]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[568]|[79][0-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"51\\d{7}",,,,"511234567"],,,[,,,,,,,,,[-1]]],ET:[,[,,"[1-59]\\d{8}",,,,,,,[9],[7]],[,,"(?:11(?:1(?:1[124]|2[2-57]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:18|2[69]|39|4[5-7]|5[1-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|22[0-6]|33[0134689]|44[04]|55[0-6]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:11[1-9]|22[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\d)))\\d{4}",,,,"111112345",,,,[7]],[,,"9(?:[1-46-8]\\d|5[89])\\d{6}",,,,"911234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ET",251,"00","0",,,"0",,,,[[,"([1-59]\\d)(\\d{3})(\\d{4})","$1 $2 $3",,"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FI:[,[,,"[16]\\d{6,9}|2\\d{4,9}|[35]\\d{5,9}|4\\d{7,10}|7\\d{7,9}|[89]\\d{6,8}",,,,,,,[5,6,7,8,9,10,11]],[,,"1[3-79][1-8]\\d{4,6}|[235689][1-8]\\d{5,7}",,,,"131234567",,,[7,8,9]],[,,"4(?:[0-8]\\d{6,8}|9\\d{9})|50\\d{4,8}",,,,"412345678",,,[6,7,8,9,10,11]],[,,"800\\d{5,6}",,,,"800123456",,,[8,9]],[,,"[67]00\\d{5,6}",,,,"600123456",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FI",358,"00|99(?:[02469]|5(?:11|33|5[59]|88|9[09]))","0",,,"0",,"00",,[[,"(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]00|[6-8]0)"],"0$1"],[,"(116\\d{3})","$1",["116"],"$1"],[,"(\\d{2})(\\d{3,9})","$1 $2",["1(?:0[1-9]|[3-9])|2(?:0[1-9]|9)|30[1-9]|4|50|7(?:[13]|5[03-9])"],"0$1"],[,"(75\\d{3})","$1",["75[12]"],"0$1"],[,"(\\d)(\\d{5,9})","$1 $2",["[235689][1-8]"],"0$1"],[,"(39\\d)(\\d{3})(\\d{3})","$1 $2 $3",["39"],"0$1"]],[[,"(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]00|[6-8]0)"],"0$1"],[,"(116\\d{3})","$1",["116"],"$1"],[,"(\\d{2})(\\d{3,9})","$1 $2",["1(?:0[1-9]|[3-9])|2(?:0[1-9]|9)|30[1-9]|4|50|7(?:[13]|5[03-9])"],"0$1"],[,"(\\d)(\\d{5,9})","$1 $2",["[235689][1-8]"],"0$1"],[,"(39\\d)(\\d{3})(\\d{3})","$1 $2 $3",["39"],"0$1"]],[,,,,,,,,,[-1]],1,,[,,"100\\d{4,6}|20(?:0\\d{4,6}|2[023]\\d{4,5}|9[89]\\d{1,6})|300\\d{3,7}|60(?:[12]\\d{5,6}|6\\d{7})|7(?:1\\d{7}|3\\d{8}|5[03-9]\\d{5,6})",,,,"1001234",,,[5,6,7,8,9,10]],[,,"10(?:0\\d{4,6}|[1-9]\\d{5,7})|2(?:0(?:0\\d{4,6}|[13-8]\\d{5,7}|2(?:[023]\\d{4,5}|[14-9]\\d{4,6})|9(?:[0-7]\\d{4,6}|[89]\\d{1,6}))|9\\d{5,8})|3(?:0(?:0\\d{3,7}|[1-57-9]\\d{5,7}|6(?:\\d{3}|\\d{5,7}))|93\\d{5,7})|60(?:[12]\\d{5,6}|6\\d{7})|7(?:1\\d{7}|3\\d{8}|5[03-9]\\d{5,6})",,,,"10112345",,,[5,6,7,8,9,10]],,,[,,,,,,,,,[-1]]],FJ:[,[,,"[35-9]\\d{6}|0\\d{10}",,,,,,,[7,11]],[,,"(?:3[0-5]|6[25-7]|8[58])\\d{5}",,,,"3212345",,,[7]],[,,"(?:5[018]|[79]\\d|8[034679])\\d{5}",,,,"7012345",,,[7]],[,,"0800\\d{7}",,,,"08001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FJ",679,"0(?:0|52)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[35-9]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FK:[,[,,"[2-7]\\d{4}",,,,,,,[5]],[,,"[2-47]\\d{4}",,,,"31234"],[,,"[56]\\d{4}",,,,"51234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FK",500,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FM:[,[,,"[39]\\d{6}",,,,,,,[7]],[,,"3[2357]0[1-9]\\d{3}|9[2-6]\\d{5}",,,,"3201234"],[,,"3[2357]0[1-9]\\d{3}|9[2-7]\\d{5}",,,,"3501234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"FM",691,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FO:[,[,,"[2-9]\\d{5}",,,,,,,[6]],[,,"(?:20|[3-4]\\d|8[19])\\d{4}",,,,"201234"],[,,"(?:[27][1-9]|5\\d)\\d{4}",,,,"211234"],[,,"80[257-9]\\d{3}",,,,"802123"],[,,"90(?:[1345][15-7]|2[125-7]|99)\\d{2}",,,,"901123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:6[0-36]|88)\\d{4}",,,,"601234"],"FO",298,"00",,,,"(10(?:01|[12]0|88))",,,,[[,"(\\d{6})","$1",,,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FR:[,[,,"[1-9]\\d{8}",,,,,,,[9]],[,,"[1-5]\\d{8}",,,,"123456789"],[,,"(?:6\\d|7[3-9])\\d{7}",,,,"612345678"],[,,"80[0-5]\\d{6}",,,,"801234567"],[,,"89[1-37-9]\\d{6}",,,,"891123456"],[,,"8(?:1[0-29]|2[0156]|84|90)\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"9\\d{8}",,,,"912345678"],"FR",33,"00","0",,,"0",,,,[[,"([1-79])(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"],[,"(1\\d{2})(\\d{3})","$1 $2",["11"],"$1"],[,"(8\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"]],[[,"([1-79])(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"],[,"(8\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"80[6-9]\\d{6}",,,,"806123456"],,,[,,,,,,,,,[-1]]],GA:[,[,,"0?\\d{7}",,,,,,,[7,8]],[,,"01\\d{6}",,,,"01441234",,,[8]],[,,"0?[2-7]\\d{6}",,,,"06031234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GA",241,"00",,,,,,,,[[,"(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GB:[,[,,"\\d{7,10}",,,,,,,[7,9,10],[4,5,6,8]],[,,"2(?:0[01378]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{7}|1(?:1(?:3[0-48]|[46][0-4]|5[0-26-9]|[78][0-49])|21[0-7]|31[0-8]|[4-69]1\\d)\\d{6}|1(?:2(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)|3(?:0\\d|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[28][02-57-9]|[37]\\d|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|2[024-9]|3[015689]|4[02-9]|5[03-9]|6\\d|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0124578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|8\\d|9[2-57]))\\d{6}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[345])))|3(?:638[2-5]|647[23]|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[123]))|5(?:24(?:3[2-79]|6\\d)|276\\d|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[567]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|955[0-4])|7(?:26(?:6[13-9]|7[0-7])|442\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|84(?:3[2-58]))|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}|176888[2-46-8]\\d{2}|16977[23]\\d{3}",,,,"1212345678",,,[9,10],[4,5,6,7,8]],[,,"7(?:[1-3]\\d{3}|4(?:[0-46-9]\\d{2}|5(?:[0-689]\\d|7[0-57-9]))|5(?:0[0-8]|[13-9]\\d|2[0-35-9])\\d|7(?:0(?:0[01]|[1-9]\\d)|[1-7]\\d{2}|8[02-9]\\d|9[0-689]\\d)|8(?:[014-9]\\d|[23][0-8])\\d|9(?:[024-9]\\d{2}|1(?:[02-9]\\d|1[028])|3[0-689]\\d))\\d{5}",,,,"7400123456",,,[10]],[,,"80(?:0(?:1111|\\d{6,7})|8\\d{7})|500\\d{6}",,,,"8001234567"],[,,"(?:87[123]|9(?:[01]\\d|8[2349]))\\d{7}",,,,"9012345678",,,[10]],[,,"8(?:4(?:5464\\d|[2-5]\\d{7})|70\\d{7})",,,,"8431234567",,,[7,10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GB",44,"00","0"," x",,"0",,,,[[,"(7\\d{3})(\\d{6})","$1 $2",["7(?:[1-57-9]|62)","7(?:[1-57-9]|624)"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2|5[56]|7[06]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:1|\\d1)|3|9[018]"],"0$1"],[,"(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:387|5(?:24|39)|697|768|946)","1(?:3873|5(?:242|39[456])|697[347]|768[347]|9467)"],"0$1"],[,"(1\\d{3})(\\d{5,6})","$1 $2",["1"],"0$1"],[,"(800)(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],[,"(845)(46)(4\\d)","$1 $2 $3",["845","8454","84546","845464"],"0$1"],[,"(8\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8(?:4[2-5]|7[0-3])"],"0$1"],[,"(80\\d)(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1"],[,"([58]00)(\\d{6})","$1 $2",["[58]00"],"0$1"]],,[,,"76(?:0[012]|2[356]|4[0134]|5[49]|6[0-369]|77|81|9[39])\\d{6}",,,,"7640123456",,,[10]],1,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GD:[,[,,"[4589]\\d{9}",,,,,,,[10],[7]],[,,"473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-49]|5[5-79]|68|73|90)|63[68]|7(?:58|84)|800|938)\\d{4}",,,,"4732691234",,,,[7]],[,,"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|58)|5(?:2[01]|3[3-8])|901)\\d{4}",,,,"4734031234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GD",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"473",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GE:[,[,,"[34578]\\d{8}",,,,,,,[9],[6]],[,,"(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}",,,,"322123456",,,,[6]],[,,"5(?:[14]4|5[0157-9]|68|7[0147-9]|9[0-35-9])\\d{6}",,,,"555123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"706\\d{6}",,,,"706123456"],"GE",995,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5"],"$1"]],,[,,,,,,,,,[-1]],,,[,,"706\\d{6}",,,,"706123456"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GF:[,[,,"[56]\\d{8}",,,,,,,[9]],[,,"594(?:10|2[012457-9]|3[0-57-9]|4[3-9]|5[7-9]|6[0-3]|9[014])\\d{4}",,,,"594101234"],[,,"694(?:[0249]\\d|1[2-9]|3[0-48])\\d{4}",,,,"694201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GF",594,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",,"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GG:[,[,,"[135789]\\d{6,9}",,,,,,,[7,9,10],[6]],[,,"1481[25-9]\\d{5}",,,,"1481256789",,,[10],[6]],[,,"7(?:781\\d|839\\d|911[17])\\d{5}",,,,"7781123456",,,[10]],[,,"80(?:0(?:1111|\\d{6,7})|8\\d{7})|500\\d{6}",,,,"8001234567"],[,,"(?:87[123]|9(?:[01]\\d|8[0-3]))\\d{7}",,,,"9012345678",,,[10]],[,,"8(?:4(?:5464\\d|[2-5]\\d{7})|70\\d{7})",,,,"8431234567",,,[7,10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],[,,"56\\d{8}",,,,"5612345678",,,[10]],"GG",44,"00","0",,,"0",,,,,,[,,"76(?:0[012]|2[356]|4[0134]|5[49]|6[0-369]|77|81|9[39])\\d{6}",,,,"7640123456",,,[10]],,,[,,,,,,,,,[-1]],[,,"(?:3[0347]|55)\\d{8}",,,,"5512345678",,,[10]],,,[,,,,,,,,,[-1]]],GH:[,[,,"[235]\\d{8}|8\\d{7}",,,,,,,[8,9],[7]],[,,"3(?:0(?:[237]\\d|80)|[167](?:2[0-6]|7\\d|80)|2(?:2[0-5]|7\\d|80)|3(?:2[0-3]|7\\d|80)|4(?:2[013-9]|3[01]|7\\d|80)|5(?:2[0-7]|7\\d|80)|8(?:2[0-2]|7\\d|80)|9(?:[28]0|7\\d))\\d{5}",,,,"302345678",,,[9],[7]],[,,"(?:2[034678]\\d|5(?:[0457]\\d|6[01]))\\d{6}",,,,"231234567",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GH",233,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"],[,"(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"800\\d{5}",,,,"80012345",,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GI:[,[,,"[256]\\d{7}",,,,,,,[8]],[,,"2(?:00\\d{2}|1(?:6[24-7]\\d|90[0-2])|2(?:2[2457]\\d|50[0-2]))\\d{3}",,,,"20012345"],[,,"(?:5[46-8]|62)\\d{6}",,,,"57123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GI",350,"00",,,,,,,,[[,"(\\d{3})(\\d{5})","$1 $2",["2"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GL:[,[,,"[1-689]\\d{5}",,,,,,,[6]],[,,"(?:19|3[1-6]|6[14689]|8[14-79]|9\\d)\\d{4}",,,,"321000"],[,,"[245][2-9]\\d{4}",,,,"221234"],[,,"80\\d{4}",,,,"801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3[89]\\d{4}",,,,"381234"],"GL",299,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GM:[,[,,"[2-9]\\d{6}",,,,,,,[7]],[,,"(?:4(?:[23]\\d{2}|4(?:1[024679]|[6-9]\\d))|5(?:54[0-7]|6(?:[67]\\d)|7(?:1[04]|2[035]|3[58]|48))|8\\d{3})\\d{3}",,,,"5661234"],[,,"[23679]\\d{6}",,,,"3012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GM",220,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GN:[,[,,"[367]\\d{7,8}",,,,,,,[8,9]],[,,"30(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])\\d{4}",,,,"30241234",,,[8]],[,,"6[02356]\\d{7}",,,,"601123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"722\\d{6}",,,,"722123456",,,[9]],"GN",224,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GP:[,[,,"[56]\\d{8}",,,,,,,[9]],[,,"590(?:0[13468]|1[012]|2[0-68]|3[28]|4[0-8]|5[579]|6[0189]|70|8[0-689]|9\\d)\\d{4}",,,,"590201234"],[,,"690(?:0[05-9]|[1-9]\\d)\\d{4}",,,,"690001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GP",590,"00","0",,,"0",,,,[[,"([56]90)(\\d{2})(\\d{4})","$1 $2-$3",,"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GQ:[,[,,"[23589]\\d{8}",,,,,,,[9]],[,,"3(?:3(?:3\\d[7-9]|[0-24-9]\\d[46])|5\\d{2}[7-9])\\d{4}",,,,"333091234"],[,,"(?:222|55[15])\\d{6}",,,,"222123456"],[,,"80\\d[1-9]\\d{5}",,,,"800123456"],[,,"90\\d[1-9]\\d{5}",,,,"900123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GQ",240,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],[,"(\\d{3})(\\d{6})","$1 $2",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GR:[,[,,"[26-9]\\d{9}",,,,,,,[10]],[,,"2(?:1\\d{2}|2(?:2[1-46-9]|3[1-8]|4[1-7]|5[1-4]|6[1-8]|7[1-5]|[89][1-9])|3(?:1\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\d|3[1245]|4[1-7]|5[13-9]|[269][1-6]|7[14]|8[1-5])|7(?:1\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\d|2[1-5]|[34][1-4]|9[1-57]))\\d{6}",,,,"2123456789"],[,,"69\\d{8}",,,,"6912345678"],[,,"800\\d{7}",,,,"8001234567"],[,,"90[19]\\d{7}",,,,"9091234567"],[,,"8(?:0[16]|12|25)\\d{7}",,,,"8011234567"],[,,"70\\d{8}",,,,"7012345678"],[,,,,,,,,,[-1]],"GR",30,"00",,,,,,,,[[,"([27]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["2[2-9]1|[689]"]],[,"(2\\d{3})(\\d{6})","$1 $2",["2[2-9][02-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GT:[,[,,"[2-7]\\d{7}|1[89]\\d{9}",,,,,,,[8,11]],[,,"[267][2-9]\\d{6}",,,,"22456789",,,[8]],[,,"[345]\\d{7}",,,,"51234567",,,[8]],[,,"18[01]\\d{8}",,,,"18001112222",,,[11]],[,,"19\\d{9}",,,,"19001112222",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GT",502,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[2-7]"]],[,"(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GU:[,[,,"[5689]\\d{9}",,,,,,,[10],[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:56|7[1-9]|8[0236-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[5-9])|7(?:[079]7|2[0167]|3[45]|47|8[789])|8(?:[2-5789]8|6[48])|9(?:2[29]|6[79]|7[179]|8[789]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:56|7[1-9]|8[0236-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[5-9])|7(?:[079]7|2[0167]|3[45]|47|8[789])|8(?:[2-5789]8|6[48])|9(?:2[29]|6[79]|7[179]|8[789]|9[78]))\\d{4}",,,,"6713001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"GU",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"671",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GW:[,[,,"(?:4(?:0\\d{5}|4\\d{7})|9\\d{8})",,,,,,,[7,9]],[,,"443\\d{6}",,,,"443201234",,,[9]],[,,"9(?:5(?:5\\d|6[0-2])|6(?:5[0-2]|6\\d|9[012])|77\\d)\\d{5}",,,,"955012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"40\\d{5}",,,,"4012345",,,[7]],"GW",245,"00",,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["44|9[567]"]],[,"(\\d{3})(\\d{4})","$1 $2",["40"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GY:[,[,,"[2-46-9]\\d{6}",,,,,,,[7]],[,,"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\d|7[0-24-79])|3(?:2[25-9]|3\\d)|4(?:4[0-24]|5[56])|77[1-57])\\d{4}",,,,"2201234"],[,,"6\\d{6}",,,,"6091234"],[,,"(?:289|862)\\d{4}",,,,"2891234"],[,,"9008\\d{3}",,,,"9008123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"GY",592,"001",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HK:[,[,,"[235-7]\\d{7}|8\\d{7,8}|9\\d{4,10}",,,,,,,[5,6,7,8,9,11]],[,,"(?:2(?:[13-8]\\d|2[013-9]|9[0-24-9])|3(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69]|89)|58[01])\\d{5}",,,,"21234567",,,[8]],[,,"(?:5(?:[1-59][0-46-9]|6[0-4689]|7[0-469])|6(?:0[1-9]|[1459]\\d|[2368][0-57-9]|7[0-79])|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\d))\\d{5}",,,,"51234567",,,[8]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900(?:[0-24-9]\\d{7}|3\\d{1,4})",,,,"90012345678",,,[5,6,7,8,11]],[,,,,,,,,,[-1]],[,,"8(?:1[1-4679]|2[0-367]|3[02-47])\\d{5}",,,,"81123456",,,[8]],[,,,,,,,,,[-1]],"HK",852,"00(?:[126-9]|30|5[09])?",,,,,,"00",,[[,"(\\d{4})(\\d{4})","$1 $2",["[235-7]|[89](?:0[1-9]|[1-9])"]],[,"(800)(\\d{3})(\\d{3})","$1 $2 $3",["800"]],[,"(900)(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["900"]],[,"(900)(\\d{2,5})","$1 $2",["900"]]],,[,,"7(?:1[0-369]|[23][0-37-9]|47|5[1578]|6[0235]|7[278]|8[236-9]|9[025-9])\\d{5}",,,,"71234567",,,[8]],,,[,,,,,,,,,[-1]],[,,"30(?:0[1-9]|[15-7]\\d|2[047]|89)\\d{4}",,,,"30161234",,,[8]],,,[,,,,,,,,,[-1]]],HN:[,[,,"[237-9]\\d{7}",,,,,,,[8]],[,,"2(?:2(?:0[019]|1[1-36]|[23]\\d|4[04-6]|5[57]|7[01389]|8[0146-9]|9[012])|4(?:07|2[3-59]|3[13-689]|4[0-68]|5[1-35])|5(?:16|4[03-5]|5\\d|6[4-6]|74)|6(?:[056]\\d|17|3[04]|4[0-378]|[78][0-8]|9[01])|7(?:6[46-9]|7[02-9]|8[034])|8(?:79|8[0-35789]|9[1-57-9]))\\d{4}",,,,"22123456"],[,,"[37-9]\\d{7}",,,,"91234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"HN",504,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1-$2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HR:[,[,,"[1-7]\\d{5,8}|[89]\\d{6,8}",,,,,,,[6,7,8,9]],[,,"1\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"9(?:01\\d|[1259]\\d{2}|7(?:[0679]\\d|51)|8\\d{1,2})\\d{5}",,,,"921234567",,,[8,9]],[,,"80[01]\\d{4,6}",,,,"800123456",,,[7,8,9]],[,,"6(?:[01]\\d{0,2}|[459]\\d{2})\\d{4}",,,,"611234",,,[6,7,8]],[,,,,,,,,,[-1]],[,,"7[45]\\d{6}",,,,"74123456",,,[8]],[,,,,,,,,,[-1]],"HR",385,"00","0",,,"0",,,,[[,"(1)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"([2-5]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-5]"],"0$1"],[,"(9\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],[,"(6[01])(\\d{2})(\\d{2,3})","$1 $2 $3",["6[01]"],"0$1"],[,"([67]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[67]"],"0$1"],[,"(80[01])(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],[,"(80[01])(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:62\\d?|72)\\d{6}",,,,"62123456",,,[8,9]],,,[,,,,,,,,,[-1]]],HT:[,[,,"[2-489]\\d{7}",,,,,,,[8]],[,,"2(?:2\\d|5[1-5]|81|9[149])\\d{5}",,,,"22453300"],[,,"[34]\\d{7}",,,,"34101234"],[,,"8\\d{7}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:9(?:[67][0-4]|8[0-3589]|9\\d))\\d{5}",,,,"98901234"],"HT",509,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HU:[,[,,"[1-9]\\d{7,8}",,,,,,,[8,9],[6]],[,,"(?:1\\d|2[2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|7[2-9]|8[2-57-9]|9[2-69])\\d{6}",,,,"12345678",,,[8],[6]],[,,"(?:[257]0|3[01])\\d{7}",,,,"201234567",,,[9]],[,,"[48]0\\d{6}",,,,"80123456",,,[8]],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"21\\d{7}",,,,"211234567",,,[9]],"HU",36,"00","06",,,"06",,,,[[,"(1)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"($1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"($1)"]],,[,,,,,,,,,[-1]],,,[,,"[48]0\\d{6}",,,,"80123456",,,[8]],[,,"38\\d{7}",,,,"381234567",,,[9]],,,[,,,,,,,,,[-1]]],ID:[,[,,"(?:[1-79]\\d{6,10}|8\\d{7,11})",,,,,,,[7,8,9,10,11,12],[5,6]],[,,"2(?:1(?:14\\d{3}|[0-8]\\d{6,7}|500\\d{3}|9\\d{6})|2\\d{6,8}|4\\d{7,8})|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:19?|[25]\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\d{5,8}",,,,"612345678",,,[7,8,9,10,11],[5,6]],[,,"(?:2(?:1(?:3[145]|4[01]|5[1-469]|60|8[0359]|9\\d)|2(?:88|9[1256])|3[1-4]9|4(?:36|91)|5(?:1[349]|[2-4]9)|6[0-7]9|7(?:[1-36]9|4[39])|8[1-5]9|9[1-48]9)|3(?:19[1-3]|2[12]9|3[13]9|4(?:1[69]|39)|5[14]9|6(?:1[69]|2[89])|709)|4[13]19|5(?:1(?:19|8[39])|4[129]9|6[12]9)|6(?:19[12]|2(?:[23]9|77))|7(?:1[13]9|2[15]9|419|5(?:1[89]|29)|6[15]9|7[178]9))\\d{5,6}|8[1-35-9]\\d{7,10}",,,,"812345678",,,[9,10,11,12]],[,,"177\\d{6,8}|800\\d{5,7}",,,,"8001234567",,,[8,9,10,11]],[,,"809\\d{7}",,,,"8091234567",,,[10]],[,,"804\\d{7}",,,,"8041234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ID",62,"0(?:0[1789]|10(?:00|1[67]))","0",,,"0",,,,[[,"(\\d{2})(\\d{5,8})","$1 $2",["2[124]|[36]1"],"(0$1)"],[,"(\\d{3})(\\d{5,8})","$1 $2",["[4579]|2[035-9]|[36][02-9]"],"(0$1)"],[,"(8\\d{2})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(8\\d{2})(\\d{4})(\\d{4,5})","$1-$2-$3",["8[1-35-9]"],"0$1"],[,"(1)(500)(\\d{3})","$1 $2 $3",["15"],"$1"],[,"(177)(\\d{6,8})","$1 $2",["17"],"0$1"],[,"(800)(\\d{5,7})","$1 $2",["800"],"0$1"],[,"(804)(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],[,"(80\\d)(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80[79]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"8071\\d{6}",,,,"8071123456",,,[10]],[,,"1500\\d{3}|8071\\d{6}",,,,"8071123456",,,[7,10]],,,[,,,,,,,,,[-1]]],IE:[,[,,"[124-9]\\d{6,9}",,,,,,,[7,8,9,10],[5,6]],[,,"1\\d{7,8}|2(?:1\\d{6,7}|3\\d{7}|[24-9]\\d{5})|4(?:0[24]\\d{5}|[1-469]\\d{7}|5\\d{6}|7\\d{5}|8[0-46-9]\\d{7})|5(?:0[45]\\d{5}|1\\d{6}|[23679]\\d{7}|8\\d{5})|6(?:1\\d{6}|[237-9]\\d{5}|[4-6]\\d{7})|7[14]\\d{7}|9(?:1\\d{6}|[04]\\d{7}|[35-9]\\d{5})",,,,"2212345",,,,[5,6]],[,,"8(?:22\\d{6}|[35-9]\\d{7})",,,,"850123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"15(?:1[2-8]|[2-8]0|9[089])\\d{6}",,,,"1520123456",,,[10]],[,,"18[59]0\\d{6}",,,,"1850123456",,,[10]],[,,"700\\d{6}",,,,"700123456",,,[9]],[,,"76\\d{7}",,,,"761234567",,,[9]],"IE",353,"00","0",,,"0",,,,[[,"(1)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],[,"(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["40[24]|50[45]"],"(0$1)"],[,"(48)(\\d{4})(\\d{4})","$1 $2 $3",["48"],"(0$1)"],[,"(818)(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[24-69]|7[14]"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["76|8[35-9]"],"0$1"],[,"(8\\d)(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8[35-9]5"],"0$1"],[,"(700)(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:8[059]|5)","1(?:8[059]0|5)"],"$1"]],,[,,,,,,,,,[-1]],,,[,,"18[59]0\\d{6}",,,,"1850123456",,,[10]],[,,"818\\d{6}",,,,"818123456",,,[9]],,,[,,"8[35-9]5\\d{7}",,,,"8551234567",,,[10]]],IL:[,[,,"1\\d{6,11}|[2-589]\\d{3}(?:\\d{3,6})?|6\\d{3}|7\\d{6,9}",,,,,,,[4,7,8,9,10,11,12]],[,,"(?:153\\d{1,2}|[2-489])\\d{7}",,,,"21234567",,,[8,11,12],[7]],[,,"5(?:[0-47-9]\\d{2}|5(?:01|2[23]|3[2-4]|4[45]|5[5689]|6[6-8]|7[0178]|8[6-9]|9[2-9])|6[2-9]\\d)\\d{5}",,,,"501234567",,,[9]],[,,"1(?:80[019]\\d{3}|255)\\d{3}",,,,"1800123456",,,[7,10]],[,,"1(?:212|(?:9(?:0[01]|19)|200)\\d{2})\\d{4}",,,,"1919123456",,,[8,9,10]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,"7(?:18\\d|2[23]\\d|3[237]\\d|47\\d|6[58]\\d|7\\d{2}|8(?:2\\d|33|55|77|81)|9[2579]\\d)\\d{5}",,,,"771234567",,,[9]],"IL",972,"0(?:0|1[2-9])","0",,,"0",,,,[[,"([2-489])(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],[,"([57]\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],[,"(153)(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["153"],"$1"],[,"(1)([7-9]\\d{2})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"],"$1"],[,"(1255)(\\d{3})","$1-$2",["125"],"$1"],[,"(1200)(\\d{3})(\\d{3})","$1-$2-$3",["120"],"$1"],[,"(1212)(\\d{2})(\\d{2})","$1-$2-$3",["121"],"$1"],[,"(1599)(\\d{6})","$1-$2",["1599"],"$1"],[,"(151)(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["151"],"$1"],[,"(\\d{4})","*$1",["[2-689]"],"$1"]],,[,,,,,,,,,[-1]],,,[,,"1700\\d{6}|[2-689]\\d{3}",,,,"1700123456",,,[4,10]],[,,"[2-689]\\d{3}|1599\\d{6}",,,,"1599123456",,,[4,10]],,,[,,"151\\d{8,9}",,,,"15112340000",,,[11,12]]],IM:[,[,,"[135789]\\d{6,9}",,,,,,,[10],[6]],[,,"1624[5-8]\\d{5}",,,,"1624756789",,,,[6]],[,,"7(?:4576|[59]24\\d|624[2-4])\\d{5}",,,,"7924123456"],[,,"808162\\d{4}",,,,"8081624567"],[,,"(?:872299|90[0167]624)\\d{4}",,,,"9016247890"],[,,"8(?:4(?:40[49]06|5624\\d)|70624\\d)\\d{3}",,,,"8456247890"],[,,"70\\d{8}",,,,"7012345678"],[,,"56\\d{8}",,,,"5612345678"],"IM",44,"00","0",,,"0",,,,,,[,,"7624[01689]\\d{5}",,,,"7624012345"],,,[,,,,,,,,,[-1]],[,,"3(?:08162\\d|3\\d{5}|4(?:40[49]06|5624\\d)|7(?:0624\\d|2299\\d))\\d{3}|55\\d{8}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],IN:[,[,,"008\\d{9}|1\\d{7,12}|[2-9]\\d{9,10}",,,,,,,[8,9,10,11,12,13],[6,7]],[,,"(?:11|2[02]|33|4[04]|79)[2-7]\\d{7}|3880\\d{6}|80[2-467]\\d{7}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|[36][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2345]1|57|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\d{6}|(?:(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[13-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1-5]|4[25-8]|5[125689]|6[235-7]|7[157-9]|8[2-467])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|[57][2-689]|6[24-578]|8[1-6])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\d|7(?:(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|9\\d)\\d|8(?:2[0-6]|[013-8]\\d)))[2-7]\\d{5}",,,,"1123456789",,,[10],[6,7,8]],[,,"(?:600[1-3]\\d|7(?:0\\d{3}|19[0-5]\\d|2(?:[0235679]\\d{2}|[14][017-9]\\d|8(?:[0-59]\\d|[678][089]))|3(?:[05-8]\\d{2}|1(?:[089]\\d|11|7[5-8])|2(?:[0-49][089]|[5-8]\\d)|3[017-9]\\d|4(?:[07-9]\\d|11)|9(?:[016-9]\\d|[2-5][089]))|4(?:0\\d{2}|1(?:[015-9]\\d|[23][089]|4[089])|2(?:0[089]|[1-7][089]|[89]\\d)|3(?:[0-8][089]|9\\d)|4(?:[089]\\d|11|7[02-8])|[56]\\d[089]|7(?:[089]\\d|11|7[02-8])|8(?:[0-24-7][089]|[389]\\d)|9(?:[0-6][089]|7[089]|[89]\\d))|5(?:[0346-8]\\d{2}|1(?:[07-9]\\d|11)|2(?:[04-9]\\d|[123][089])|5[017-9]\\d|9(?:[0-6][089]|[7-9]\\d))|6(?:0(?:[0-47]\\d|[5689][089])|(?:1[0-257-9]|[6-9]\\d)\\d|2(?:[0-4]\\d|[5-9][089])|3(?:[02-8][089]|[19]\\d)|4\\d[089]|5(?:[0-367][089]|[4589]\\d))|7(?:0(?:0[02-9]|[13-6][089]|[289]\\d|7[89])|[1-9]\\d{2})|8(?:[0-79]\\d{2}|8(?:[089]\\d|11|7[02-9]))|9(?:[089]\\d{2}|313|7(?:[02-8]\\d|9[07-9])))|8(?:0(?:[01589]\\d{2}|6[67]\\d|7(?:[02-8]\\d|9[05-9]))|1(?:[02-57-9]\\d{2}|1(?:[0-35-9]\\d|4[0-46-9])|6(?:[089]\\d|7[02-8]))|2(?:0(?:[089]\\d|7[02])|[14](?:[089]\\d|7[02-8])|[235-9]\\d{2})|3(?:[0357-9]\\d{2}|1(?:[089]\\d|7[02-6])|2(?:[09]\\d|77|8[0-689])|4(?:0[1-7]|[1-9]\\d)|6(?:[089]\\d|7[02-7]))|[45]\\d{3}|6(?:[02457-9]\\d{2}|1(?:[089]\\d|7[02-8])|3(?:[089]\\d|7[02-8])|6(?:[08]\\d|7[02-8]|9\\d))|7(?:0[07-9]\\d|[1-69]\\d{2}|[78](?:[089]\\d|7[02-8]))|8(?:[0-25-9]\\d{2}|3(?:[089]\\d|7[02-8])|4(?:[0489]\\d|7[02-68]))|9(?:[02-9]\\d{2}|1(?:[0289]\\d|7[2-6])))|9\\d{4})\\d{5}",,,,"8123456789",,,[10]],[,,"00800\\d{7}|1(?:600\\d{6}|80(?:0\\d{4,9}|3\\d{9}))",,,,"1800123456"],[,,"186[12]\\d{9}",,,,"1861123456789",,,[13]],[,,"1860\\d{7}",,,,"18603451234",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IN",91,"00","0",,,"0",,,,[[,"(\\d{8})","$1",["561","5616","56161"],"$1",,1],[,"(\\d{5})(\\d{5})","$1 $2",["600|7(?:[02-8]|19|9[037-9])|8(?:0[015-9]|[1-9])|9","600|7(?:[078]|19[0-5]|2(?:[02356-9]|[14][017-9]|9[389])|3(?:[025-9]|1[017-9]|[34][017-9])|4(?:[0-35689]|[47][017-9])|5(?:[02346-9]|1[017-9]|5[017-9])|6(?:[02-9]|1[0-257-9])|9(?:[089]|31|7[02-9]))|8(?:0(?:[01589]|6[67]|7[02-9])|1(?:[0-57-9]|6[07-9])|2(?:0[07-9]|[14][07-9]|[235-9])|3(?:[03-57-9]|[126][07-9])|[45]|6(?:[02457-9]|[136][07-9])|7(?:[078][07-9]|[1-69])|8(?:[0-25-9]|3[07-9]|4[047-9])|9(?:[02-9]|1[027-9]))|9","600|7(?:0|19[0-5]|2(?:[0235679]|[14][017-9]|8(?:[0-569]|[78][089])|9[389])|3(?:[05-8]|1(?:[0189]|7[5-9])|2(?:[5-8]|[0-49][089])|3[017-9]|4(?:[07-9]|11)|9(?:[01689]|[2345][089]|40|7[0189]))|4(?:[056]|1(?:[0135-9]|[23][089]|2[089]|4[089])|2(?:0[089]|[1-7][089]|[89])|3(?:[0-8][089]|9)|4(?:[089]|11|7[02-8])|7(?:[089]|11|7[02-8])|8(?:[0-24-7][089]|[389])|9(?:[0-7][089]|[89]))|5(?:[0346-9]|1[017-9]|2(?:[03-9]|[12][089])|5[017-9])|6(?:[0346-9]|1[0-257-9]|2(?:[0-4]\\d|[5-9][089])|5(?:[0-367][089]|[4589]))|7(?:0(?:[02-9]|1[089])|[1-9])|8(?:[0-79]|8(?:0[0189]|11|8[013-9]|9))|9(?:[089]|313|7(?:[02-8]|9[07-9])))|8(?:0(?:[01589]|6[67]|7(?:[02-8]|9[05-9]))|1(?:[02-57-9]|1(?:[0-35-9]|4[0-46-9])|6(?:[089]|7[02-8]))|2(?:0(?:[089]|7[02])|[14](?:[089]|7[02-8])|[235-9])|3(?:[0357-9]|1(?:[089]|7[02-6])|2(?:[09]|77|8[0-689])|4(?:0[1-7]|[1-9])|6(?:[089]|7[02-7]))|[45]|6(?:[02457-9]|1(?:[089]|7[02-8])|3(?:[089]|7[02-8])|6(?:[08]|7[02-8]|9\\d))|7(?:0[07-9]|[1-69]|7(?:[089]|7[02-8])|8(?:[089]|7[02-8]))|8(?:[0-25-9]|3(?:[089]|7[02-8])|4(?:[0489]|7[02-68]))|9(?:[02-9]|1(?:[0289]|7[2-6])))|9"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-9]|80[2-46]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[59][14]|7[1257]|[68][1-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|[36][25]|22|4[28]|5[12]|[78]1|9[15])|6(?:12|[2-4]1|5[17]|6[13]|7[14]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)"],"0$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[23579]|[468][1-9])|[2-8]"],"0$1",,1],[,"(\\d{2})(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3 $4",["008"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],"$1",,1],[,"(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["160","1600"],"$1",,1],[,"(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],"$1",,1],[,"(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["180","1800"],"$1",,1],[,"(\\d{4})(\\d{3,4})(\\d{4})","$1 $2 $3",["186","1860"],"$1",,1],[,"(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18[06]"],"$1",,1]],,[,,,,,,,,,[-1]],,,[,,"00800\\d{7}|1(?:600\\d{6}|8(?:0(?:0\\d{4,9}|3\\d{9})|6(?:0\\d{7}|[12]\\d{9})))",,,,"1800123456"],[,,"140\\d{7}",,,,"1409305260",,,[10]],,,[,,,,,,,,,[-1]]],IO:[,[,,"3\\d{6}",,,,,,,[7]],[,,"37\\d{5}",,,,"3709100"],[,,"38\\d{5}",,,,"3801234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IO",246,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IQ:[,[,,"[1-7]\\d{7,9}",,,,,,,[8,9,10],[6,7]],[,,"1\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\d{6,7}",,,,"12345678",,,[8,9],[6,7]],[,,"7[3-9]\\d{8}",,,,"7912345678",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"IQ",964,"00","0",,,"0",,,,[[,"(1)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"([2-6]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],[,"(7\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IR:[,[,,"[1-8]\\d{5,9}|9(?:[0-4]\\d{8}|9\\d{8})",,,,,,,[6,7,10],[4,5,8]],[,,"(?:(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:\\d{8}|(?:[16]|[289]\\d?)\\d{3}))|94(?:000|11[1-7]|2\\d{2}|440)\\d{5}",,,,"2123456789",,,,[4,5,8]],[,,"9(?:0[1-3]\\d{2}|[1-3]\\d{3}|9(?:0\\d{2}|44\\d|810|9(?:00|11|9[89])))\\d{5}",,,,"9123456789",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:[2-6]0\\d|993)\\d{7}",,,,"9932123456",,,[10]],"IR",98,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"],[,"(\\d{2})(\\d{4,5})","$1 $2",["[1-8]"],"0$1"],[,"(\\d{4,5})","$1",["96"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"]],,[,,"943\\d{7}",,,,"9432123456",,,[10]],,,[,,"(?:9411[1-7]|94440)\\d{5}",,,,"9411110000",,,[10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IS:[,[,,"[4-9]\\d{6}|38\\d{7}",,,,,,,[7,9]],[,,"(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-245]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-79]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|87[23])\\d{4}",,,,"4101234",,,[7]],[,,"38[589]\\d{6}|(?:6(?:1[1-8]|2[0-6]|3[027-9]|4[014679]|5[0159]|[67][0-69]|9\\d)|7(?:5[057]|[6-8]\\d)|8(?:2[0-59]|3[0-4]|[469]\\d|5[1-9]|88))\\d{4}",,,,"6111234"],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,"90\\d{5}",,,,"9011234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"49\\d{5}",,,,"4921234",,,[7]],"IS",354,"1(?:0(?:01|10|20)|100)|00",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],[,"(3\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"809\\d{4}",,,,"8091234",,,[7]],,,[,,"(?:6(?:2[78]|49|8\\d)|8(?:7[0189]|80)|95[48])\\d{4}",,,,"6271234",,,[7]]],IT:[,[,,"[01589]\\d{5,10}|3(?:[12457-9]\\d{8}|[36]\\d{7,9})",,,,,,,[6,7,8,9,10,11]],[,,"0(?:[26]\\d{4,9}|(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2346]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[34578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7})",,,,"0212345678"],[,,"3(?:[12457-9]\\d{8}|6\\d{7,8}|3\\d{7,9})",,,,"3123456789",,,[9,10,11]],[,,"80(?:0\\d{6}|3\\d{3})",,,,"800123456",,,[6,9]],[,,"0878\\d{5}|1(?:44|6[346])\\d{6}|89(?:2\\d{3}|4(?:[0-4]\\d{2}|[5-9]\\d{4})|5(?:[0-4]\\d{2}|[5-9]\\d{6})|9\\d{6})",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{6}|[17]\\d{3})",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"IT",39,"00",,,,,,,,[[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|55"]],[,"(0[26])(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],[,"(0[26])(\\d{4,6})","$1 $2",["0[26]"]],[,"(0\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]"]],[,"(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[245])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|[45][0-4]))"]],[,"(0\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["0[13-57-9][2-46-8]"]],[,"(0\\d{3})(\\d{2,6})","$1 $2",["0[13-57-9][2-46-8]"]],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13]|8(?:00|4[08]|9[59])","[13]|8(?:00|4[08]|9(?:5[5-9]|9))"]],[,"(\\d{4})(\\d{4})","$1 $2",["894","894[5-9]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["3"]]],,[,,,,,,,,,[-1]],1,,[,,"848\\d{6}",,,,"848123456",,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JE:[,[,,"[135789]\\d{6,9}",,,,,,,[10],[6]],[,,"1534[0-24-8]\\d{5}",,,,"1534456789",,,,[6]],[,,"7(?:509\\d|7(?:00[378]|97[7-9])|829\\d|937\\d)\\d{5}",,,,"7797712345"],[,,"80(?:07(?:35|81)|8901)\\d{4}",,,,"8007354567"],[,,"(?:871206|90(?:066[59]|1810|71(?:07|55)))\\d{4}",,,,"9018105678"],[,,"8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|70002)\\d{4}",,,,"8447034567"],[,,"701511\\d{4}",,,,"7015115678"],[,,"56\\d{8}",,,,"5612345678"],"JE",44,"00","0",,,"0",,,,,,[,,"76(?:0[012]|2[356]|4[0134]|5[49]|6[0-369]|77|81|9[39])\\d{6}",,,,"7640123456"],,,[,,,,,,,,,[-1]],[,,"3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))\\d{4}|55\\d{8}",,,,"5512345678"],,,[,,,,,,,,,[-1]]],JM:[,[,,"[589]\\d{9}",,,,,,,[10],[7]],[,,"876(?:5(?:0[12]|1[0-468]|2[35]|63)|6(?:0[1-3579]|1[027-9]|[23]\\d|40|5[06]|6[2-589]|7[05]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\d|9[2-468]))\\d{4}",,,,"8765123456",,,,[7]],[,,"876(?:2[14-9]\\d|[348]\\d{2}|5(?:0[3-9]|[2-57-9]\\d|6[0-24-9])|7(?:0[07]|7\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579]))\\d{4}",,,,"8762101234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"JM",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"876",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],JO:[,[,,"[235-9]\\d{7,8}",,,,,,,[8,9]],[,,"(?:2(?:6(?:2[0-35-9]|3[0-57-8]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\d|4[0-3]|[57][023]|6[03])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2[50]0|3(?:00|33)|4(?:0[0125]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[17-8]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[02-39]))|87(?:[02]0|7[08]|90))\\d{4}",,,,"62001234",,,[8]],[,,"7(?:55|7[025-9]|8[0-25-9]|9[0-25-9])\\d{6}",,,,"790123456",,,[9]],[,,"80\\d{6}",,,,"80012345",,,[8]],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,"85\\d{6}",,,,"85012345",,,[8]],[,,"70\\d{7}",,,,"700123456",,,[9]],[,,,,,,,,,[-1]],"JO",962,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],[,"(7)(\\d{4})(\\d{4})","$1 $2 $3",["7[457-9]"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],[,"(\\d{3})(\\d{5,6})","$1 $2",["8[0158]|9"],"0$1"]],,[,,"74(?:66|77)\\d{5}",,,,"746612345",,,[9]],,,[,,,,,,,,,[-1]],[,,"8(?:10|8\\d)\\d{5}",,,,"88101234",,,[8]],,,[,,,,,,,,,[-1]]],JP:[,[,,"[1-9]\\d{8,9}|00(?:[36]\\d{7,14}|7\\d{5,7}|8\\d{7})",,,,,,,[8,9,10,11,12,13,14,15,16,17]],[,,"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|2[2-9]\\d|[36][1-9]\\d|4(?:6[02-8]|[2-578]\\d|9[2-59])|5(?:6[1-9]|7[2-8]|[2-589]\\d)|7(?:3[4-9]|4[02-9]|[25-9]\\d)|8(?:3[2-9]|4[5-9]|5[1-9]|8[03-9]|[2679]\\d)|9(?:[679][1-9]|[2-58]\\d))\\d{6}",,,,"312345678",,,[9]],[,,"[7-9]0[1-9]\\d{7}",,,,"9012345678",,,[10]],[,,"120\\d{6}|800\\d{7}|00(?:37\\d{6,13}|66\\d{6,13}|777(?:[01]\\d{2}|5\\d{3}|8\\d{4})|882[1245]\\d{4})",,,,"120123456"],[,,"990\\d{6}",,,,"990123456",,,[9]],[,,,,,,,,,[-1]],[,,"60\\d{7}",,,,"601234567",,,[9]],[,,"50[1-9]\\d{7}",,,,"5012345678",,,[10]],"JP",81,"010","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{4})(\\d{4})","$1-$2",["0077"],"$1"],[,"(\\d{4})(\\d{2})(\\d{3,4})","$1-$2-$3",["0077"],"$1"],[,"(\\d{4})(\\d{2})(\\d{4})","$1-$2-$3",["0088"],"$1"],[,"(\\d{4})(\\d{3})(\\d{3,4})","$1-$2-$3",["00(?:37|66)"],"$1"],[,"(\\d{4})(\\d{4})(\\d{4,5})","$1-$2-$3",["00(?:37|66)"],"$1"],[,"(\\d{4})(\\d{5})(\\d{5,6})","$1-$2-$3",["00(?:37|66)"],"$1"],[,"(\\d{4})(\\d{6})(\\d{6,7})","$1-$2-$3",["00(?:37|66)"],"$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[2579]0|80[1-9]"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|5(?:76|97)|499|746|8(?:3[89]|63|47|51)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|4(?:5[67]|66)|5(?:47|58|64|8[67])|6(?:3[245]|48|5[4-68]))|5(?:76|97)9|499[2468]|7468|8(?:3(?:8[78]|96)|636|477|51[24])|9(?:496|802|9(?:1[23]|69))","1(?:267|3(?:7[247]|9[278])|4(?:5[67]|66)|5(?:47|58|64|8[67])|6(?:3[245]|48|5[4-68]))|5(?:769|979[2-69])|499[2468]|7468|8(?:3(?:8[78]|96[2457-9])|636[2-57-9]|477|51[24])|9(?:496|802|9(?:1[23]|69))"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["1(?:2[3-6]|3[3-9]|4[2-6]|5[2-8]|[68][2-7]|7[2-689]|9[1-578])|2(?:2[03-689]|3[3-58]|4[0-468]|5[04-8]|6[013-8]|7[06-9]|8[02-57-9]|9[13])|4(?:2[28]|3[689]|6[035-7]|7[05689]|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9[4-9])|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9[014-9])|8(?:2[49]|3[3-8]|4[5-8]|5[2-9]|6[35-9]|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9[3-7])","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:5[78]|7[2-4]|[0468][2-9])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[89][2-8]|[4-7]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9[2-8])|3(?:7[2-6]|[3-6][2-9]|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5[4-7]|6[2-9]|8[2-8]|9[236-9])|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3[34]|[4-7]))","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:5[78]|7[2-4]|[0468][2-9])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[89][2-8]|[4-7]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9(?:[3578]|20|4[04-9]|6[56]))|3(?:7(?:[2-5]|6[0-59])|[3-6][2-9]|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5(?:[467]|5[014-9])|6(?:[2-8]|9[02-69])|8[2-8]|9(?:[236-8]|9[23]))|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3(?:3[02-9]|4[0-24689])|4[2-69]|[5-7]))","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:5[78]|7[2-4]|[0468][2-9])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[89][2-8]|[4-7]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9(?:[3578]|20|4[04-9]|6(?:5[25]|60)))|3(?:7(?:[2-5]|6[0-59])|[3-6][2-9]|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5(?:[467]|5[014-9])|6(?:[2-8]|9[02-69])|8[2-8]|9(?:[236-8]|9[23]))|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3(?:3[02-9]|4[0-24689])|4[2-69]|[5-7]))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1|2(?:2[37]|5[5-9]|64|78|8[39]|91)|4(?:2[2689]|64|7[347])|5(?:[2-589]|39)|60|8(?:[46-9]|3[279]|2[124589])|9(?:[235-8]|93)","1|2(?:2[37]|5(?:[57]|[68]0|9[19])|64|78|8[39]|917)|4(?:2(?:[68]|20|9[178])|64|7[347])|5(?:[2-589]|39[67])|60|8(?:[46-9]|3[279]|2[124589])|9(?:[235-8]|93[34])","1|2(?:2[37]|5(?:[57]|[68]0|9(?:17|99))|64|78|8[39]|917)|4(?:2(?:[68]|20|9[178])|64|7[347])|5(?:[2-589]|39[67])|60|8(?:[46-9]|3[279]|2[124589])|9(?:[235-8]|93(?:31|4))"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["2(?:9[14-79]|74|[34]7|[56]9)|82|993"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[2479][1-9]"],"0$1"]],[[,"(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[2579]0|80[1-9]"],"0$1"],[,"(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|5(?:76|97)|499|746|8(?:3[89]|63|47|51)|9(?:49|80|9[16])","1(?:267|3(?:7[247]|9[278])|4(?:5[67]|66)|5(?:47|58|64|8[67])|6(?:3[245]|48|5[4-68]))|5(?:76|97)9|499[2468]|7468|8(?:3(?:8[78]|96)|636|477|51[24])|9(?:496|802|9(?:1[23]|69))","1(?:267|3(?:7[247]|9[278])|4(?:5[67]|66)|5(?:47|58|64|8[67])|6(?:3[245]|48|5[4-68]))|5(?:769|979[2-69])|499[2468]|7468|8(?:3(?:8[78]|96[2457-9])|636[2-57-9]|477|51[24])|9(?:496|802|9(?:1[23]|69))"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["1(?:2[3-6]|3[3-9]|4[2-6]|5[2-8]|[68][2-7]|7[2-689]|9[1-578])|2(?:2[03-689]|3[3-58]|4[0-468]|5[04-8]|6[013-8]|7[06-9]|8[02-57-9]|9[13])|4(?:2[28]|3[689]|6[035-7]|7[05689]|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9[4-9])|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9[014-9])|8(?:2[49]|3[3-8]|4[5-8]|5[2-9]|6[35-9]|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9[3-7])","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:5[78]|7[2-4]|[0468][2-9])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[89][2-8]|[4-7]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9[2-8])|3(?:7[2-6]|[3-6][2-9]|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5[4-7]|6[2-9]|8[2-8]|9[236-9])|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3[34]|[4-7]))","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:5[78]|7[2-4]|[0468][2-9])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[89][2-8]|[4-7]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9(?:[3578]|20|4[04-9]|6[56]))|3(?:7(?:[2-5]|6[0-59])|[3-6][2-9]|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5(?:[467]|5[014-9])|6(?:[2-8]|9[02-69])|8[2-8]|9(?:[236-8]|9[23]))|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3(?:3[02-9]|4[0-24689])|4[2-69]|[5-7]))","1(?:2[3-6]|3[3-9]|4[2-6]|5(?:[236-8]|[45][2-69])|[68][2-7]|7[2-689]|9[1-578])|2(?:2(?:[04-689]|3[23])|3[3-58]|4[0-468]|5(?:5[78]|7[2-4]|[0468][2-9])|6(?:[0135-8]|4[2-5])|7(?:[0679]|8[2-7])|8(?:[024578]|3[25-9]|9[6-9])|9(?:11|3[2-4]))|4(?:2(?:2[2-9]|8[237-9])|3[689]|6[035-7]|7(?:[059][2-8]|[68])|80|9[3-5])|5(?:3[1-36-9]|4[4578]|5[013-8]|6[1-9]|7[2-8]|8[14-7]|9(?:[89][2-8]|[4-7]))|7(?:2[15]|3[5-9]|4[02-9]|6[135-8]|7[0-4689]|9(?:[017-9]|4[6-8]|5[2-478]|6[2-589]))|8(?:2(?:4[4-8]|9(?:[3578]|20|4[04-9]|6(?:5[25]|60)))|3(?:7(?:[2-5]|6[0-59])|[3-6][2-9]|8[2-5])|4[5-8]|5[2-9]|6(?:[37]|5(?:[467]|5[014-9])|6(?:[2-8]|9[02-69])|8[2-8]|9(?:[236-8]|9[23]))|7[579]|8[03-579]|9[2-8])|9(?:[23]0|4[02-46-9]|5[024-79]|6[4-9]|7[2-47-9]|8[02-7]|9(?:3(?:3[02-9]|4[0-24689])|4[2-69]|[5-7]))"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1|2(?:2[37]|5[5-9]|64|78|8[39]|91)|4(?:2[2689]|64|7[347])|5(?:[2-589]|39)|60|8(?:[46-9]|3[279]|2[124589])|9(?:[235-8]|93)","1|2(?:2[37]|5(?:[57]|[68]0|9[19])|64|78|8[39]|917)|4(?:2(?:[68]|20|9[178])|64|7[347])|5(?:[2-589]|39[67])|60|8(?:[46-9]|3[279]|2[124589])|9(?:[235-8]|93[34])","1|2(?:2[37]|5(?:[57]|[68]0|9(?:17|99))|64|78|8[39]|917)|4(?:2(?:[68]|20|9[178])|64|7[347])|5(?:[2-589]|39[67])|60|8(?:[46-9]|3[279]|2[124589])|9(?:[235-8]|93(?:31|4))"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["2(?:9[14-79]|74|[34]7|[56]9)|82|993"],"0$1"],[,"(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[2479][1-9]"],"0$1"]],[,,"20\\d{8}",,,,"2012345678",,,[10]],,,[,,"00(?:37\\d{6,13}|66\\d{6,13}|777(?:[01]\\d{2}|5\\d{3}|8\\d{4})|882[1245]\\d{4})",,,,"00777012"],[,,"570\\d{6}",,,,"570123456",,,[9]],,,[,,,,,,,,,[-1]]],KE:[,[,,"20\\d{6,7}|[4-9]\\d{6,9}",,,,,,,[7,8,9,10]],[,,"20\\d{6,7}|4(?:0\\d{6,7}|[136]\\d{7}|[245]\\d{5,7})|5(?:[08]\\d{7}|[1-79]\\d{5,7})|6(?:[01457-9]\\d{5,7}|2\\d{7}|6\\d{6,7})",,,,"202012345",,,[7,8,9]],[,,"7(?:[0-3679]\\d|4[0-46-9]|5[0-6]|8[0-25-9])\\d{6}",,,,"712123456",,,[9]],[,,"800[24-8]\\d{5,6}",,,,"800223456",,,[9,10]],[,,"900[02-9]\\d{5}",,,,"900223456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KE",254,"000","0",,,"005|0",,,,[[,"(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["7"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KG:[,[,,"[235-8]\\d{8,9}",,,,,,,[9,10],[5,6]],[,,"(?:3(?:1(?:[256]\\d|3[1-9]|47)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\d)|5(?:22|3[4-7]|59|6\\d)|6(?:22|5[35-7]|6\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\d)|9(?:22|4[1-8]|6\\d))|6(?:09|12|2[2-4])\\d)\\d{5}",,,,"312123456",,,[9],[5,6]],[,,"(?:20[0-35]|5[0-24-7]\\d|7[07]\\d)\\d{6}",,,,"700123456",,,[9]],[,,"800\\d{6,7}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KG",996,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[25-7]|31[25]"],"0$1"],[,"(\\d{4})(\\d{5})","$1 $2",["3(?:1[36]|[2-9])"],"0$1"],[,"(\\d{3})(\\d{3})(\\d)(\\d{3})","$1 $2 $3 $4",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KH:[,[,,"[1-9]\\d{7,9}",,,,,,,[8,9,10],[6,7]],[,,"(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:[237-9]|4[56]|5\\d|6\\d?)\\d{5}|23(?:4[234]|8\\d{2})\\d{4}",,,,"23756789",,,[8,9],[6,7]],[,,"(?:1(?:[013-79]\\d|[28]\\d{1,2})|2[3-6]48|3(?:[18]\\d{2}|[2-6]48)|4[2-4]48|5[2-5]48|6(?:[016-9]\\d|[2-5]48)|7(?:[07-9]\\d|[16]\\d{2}|[2-5]48)|8(?:[013-79]\\d|8\\d{2})|9(?:6\\d{2}|7\\d{1,2}|[0-589]\\d))\\d{5}",,,,"91234567",,,[8,9]],[,,"1800(?:1\\d|2[019])\\d{4}",,,,"1800123456",,,[10]],[,,"1900(?:1\\d|2[09])\\d{4}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KH",855,"00[14-9]","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["1\\d[1-9]|[2-9]"],"0$1"],[,"(1[89]00)(\\d{3})(\\d{3})","$1 $2 $3",["1[89]0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KI:[,[,,"[2458]\\d{4}|3\\d{4,7}|7\\d{7}",,,,,,,[5,8]],[,,"(?:[24]\\d|3[1-9]|50|8[0-5])\\d{3}|7(?:27|31|5[0-4])\\d{5}",,,,"31234"],[,,"7[23]0\\d{5}",,,,"72012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"30(?:0[01]\\d{2}|12(?:11|20))\\d{2}",,,,"30010000",,,[8]],"KI",686,"00",,,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KM:[,[,,"[3478]\\d{6}",,,,,,,[7]],[,,"7[4-7]\\d{5}",,,,"7712345"],[,,"[34]\\d{6}",,,,"3212345"],[,,,,,,,,,[-1]],[,,"(?:39[01]|8\\d{2})\\d{4}",,,,"8001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KM",269,"00",,,,,,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KN:[,[,,"[589]\\d{9}",,,,,,,[10],[7]],[,,"869(?:2(?:29|36)|302|4(?:6[015-9]|70))\\d{4}",,,,"8692361234",,,,[7]],[,,"869(?:5(?:5[6-8]|6[5-7])|66\\d|76[02-7])\\d{4}",,,,"8697652917",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KN",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"869",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KP:[,[,,"1\\d{9}|[28]\\d{7}",,,,,,,[8,10],[6,7]],[,,"2\\d{7}|85\\d{6}",,,,"21234567",,,[8],[6,7]],[,,"19[123]\\d{7}",,,,"1921234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KP",850,"00|99","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],[,"(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"2(?:[0-24-9]\\d{2}|3(?:[0-79]\\d|8[02-9]))\\d{4}",,,,"23821234",,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KR:[,[,,"007\\d{9,11}|[1-7]\\d{3,9}|8\\d{8}",,,,,,,[4,5,6,8,9,10,12,13,14],[3,7]],[,,"(?:2|3[1-3]|[46][1-4]|5[1-5])(?:1\\d{2,3}|[1-9]\\d{6,7})",,,,"22123456",,,[4,5,6,8,9,10],[3,7]],[,,"1[0-26-9]\\d{7,8}",,,,"1000000000",,,[9,10]],[,,"(?:00798\\d{0,2}|80)\\d{7}",,,,"801234567",,,[9,12,13,14]],[,,"60[2-9]\\d{6}",,,,"602345678",,,[9]],[,,,,,,,,,[-1]],[,,"50\\d{8}",,,,"5012345678",,,[10]],[,,"70\\d{8}",,,,"7012345678",,,[10]],"KR",82,"00(?:[124-68]|3\\d{2}|7(?:[0-8]\\d|9[0-79]))","0",,,"0(8[1-46-8]|85\\d{2})?",,,,[[,"(\\d{5})(\\d{3,4})(\\d{4})","$1 $2 $3",["00798"],"$1","0$CC-$1"],[,"(\\d{5})(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["00798"],"$1","0$CC-$1"],[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["1(?:0|1[19]|[69]9|5[458])|[57]0","1(?:0|1[19]|[69]9|5(?:44|59|8))|[57]0"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["1(?:[01]|5[1-4]|6[2-8]|[7-9])|[68]0|[3-6][1-9][1-9]","1(?:[01]|5(?:[1-3]|4[56])|6[2-8]|[7-9])|[68]0|[3-6][1-9][1-9]"],"0$1","0$CC-$1"],[,"(\\d{3})(\\d)(\\d{4})","$1-$2-$3",["131","1312"],"0$1","0$CC-$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["131","131[13-9]"],"0$1","0$CC-$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["13[2-9]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3-$4",["30"],"0$1","0$CC-$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2[1-9]"],"0$1","0$CC-$1"],[,"(\\d)(\\d{3,4})","$1-$2",["21[0-46-9]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})","$1-$2",["[3-6][1-9]1","[3-6][1-9]1(?:[0-46-9])"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1(?:5[246-9]|6[04678]|8[03579])","1(?:5(?:22|44|66|77|88|99)|6(?:00|44|6[16]|70|88)|8(?:00|33|55|77|99))"],"$1","0$CC-$1"]],[[,"(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["1(?:0|1[19]|[69]9|5[458])|[57]0","1(?:0|1[19]|[69]9|5(?:44|59|8))|[57]0"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["1(?:[01]|5[1-4]|6[2-8]|[7-9])|[68]0|[3-6][1-9][1-9]","1(?:[01]|5(?:[1-3]|4[56])|6[2-8]|[7-9])|[68]0|[3-6][1-9][1-9]"],"0$1","0$CC-$1"],[,"(\\d{3})(\\d)(\\d{4})","$1-$2-$3",["131","1312"],"0$1","0$CC-$1"],[,"(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["131","131[13-9]"],"0$1","0$CC-$1"],[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["13[2-9]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3-$4",["30"],"0$1","0$CC-$1"],[,"(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2[1-9]"],"0$1","0$CC-$1"],[,"(\\d)(\\d{3,4})","$1-$2",["21[0-46-9]"],"0$1","0$CC-$1"],[,"(\\d{2})(\\d{3,4})","$1-$2",["[3-6][1-9]1","[3-6][1-9]1(?:[0-46-9])"],"0$1","0$CC-$1"],[,"(\\d{4})(\\d{4})","$1-$2",["1(?:5[246-9]|6[04678]|8[03579])","1(?:5(?:22|44|66|77|88|99)|6(?:00|44|6[16]|70|88)|8(?:00|33|55|77|99))"],"$1","0$CC-$1"]],[,,"15\\d{7,8}",,,,"1523456789",,,[9,10]],,,[,,"00798\\d{7,9}",,,,"007981234567",,,[12,13,14]],[,,"1(?:5(?:22|44|66|77|88|99)|6(?:00|44|6[16]|70|88)|8(?:00|33|55|77|99))\\d{4}",,,,"15441234",,,[8]],,,[,,,,,,,,,[-1]]],KW:[,[,,"[12569]\\d{6,7}",,,,,,,[7,8]],[,,"(?:18\\d|2(?:[23]\\d{2}|4(?:[1-35-9]\\d|44)|5(?:0[034]|[2-46]\\d|5[1-3]|7[1-7])))\\d{4}",,,,"22345678"],[,,"(?:5(?:[05]\\d{2}|1[0-7]\\d|2(?:22|5[25])|6[56]\\d)|6(?:0[034679]\\d|222|5[015-9]\\d|6\\d{2}|7(?:0[013-9]|[67]\\d)|9(?:[069]\\d|3[039]))|9(?:0[09]\\d|22\\d|4[01479]\\d|55\\d|6[0679]\\d|7(?:02|[1-9]\\d)|8[057-9]\\d|9\\d{2}))\\d{4}",,,,"50012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"KW",965,"00",,,,,,,,[[,"(\\d{4})(\\d{3,4})","$1 $2",["[16]|2(?:[0-35-9]|4[0-35-9])|9[024-9]|52[25]"]],[,"(\\d{3})(\\d{5})","$1 $2",["244|5(?:[015]|6[56])"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KY:[,[,,"[3589]\\d{9}",,,,,,,[10],[7]],[,,"345(?:2(?:22|44)|444|6(?:23|38|40)|7(?:4[35-79]|6[6-9]|77)|8(?:00|1[45]|25|[48]8)|9(?:14|4[035-9]))\\d{4}",,,,"3452221234",,,,[7]],[,,"345(?:32[1-9]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|9(?:1[67]|2[2-9]|3[689]))\\d{4}",,,,"3453231234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}|345976\\d{4}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"KY",1,"011","1",,,"1",,,,,,[,,"345849\\d{4}",,,,"3458491234"],,"345",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KZ:[,[,,"(?:33\\d|7\\d{2}|80[089])\\d{7}",,,,,,,[10]],[,,"33622\\d{5}|7(?:1(?:0(?:[23]\\d|4[0-3]|59|63)|1(?:[23]\\d|4[0-79]|59)|2(?:[23]\\d|59)|3(?:2\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\d|3[013-9]|5[1-9])|5(?:2\\d|3[1-9]|4[0-7]|59)|6(?:[234]\\d|5[19]|61)|72\\d|8(?:[27]\\d|3[1-46-9]|4[0-5]))|2(?:1(?:[23]\\d|4[46-9]|5[3469])|2(?:2\\d|3[0679]|46|5[12679])|3(?:[234]\\d|5[139])|4(?:2\\d|3[1235-9]|59)|5(?:[23]\\d|4[01246-8]|59|61)|6(?:2\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\d|40|5[279])|8(?:[23]\\d|4[0-3]|59)|9(?:2\\d|3[124578]|59)))\\d{5}",,,,"7123456789"],[,,"7(?:0[012578]|47|6[02-4]|7[15-8]|85)\\d{7}",,,,"7710009998"],[,,"800\\d{7}",,,,"8001234567"],[,,"809\\d{7}",,,,"8091234567"],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567"],[,,"751\\d{7}",,,,"7511234567"],"KZ",7,"810","8",,,"8",,"8~10",,,,[,,,,,,,,,[-1]],,,[,,"751\\d{7}",,,,"7511234567"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LA:[,[,,"[2-8]\\d{7,9}",,,,,,,[8,9,10],[6]],[,,"(?:2[13]|3(?:0\\d|[14])|[5-7][14]|41|8[1468])\\d{6}",,,,"21212862",,,[8,9],[6]],[,,"20(?:2[2389]|5[24-689]|7[6-8]|9[125-9])\\d{6}",,,,"2023123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LA",856,"00","0",,,"0",,,,[[,"(20)(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["20"],"0$1"],[,"([2-8]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],[,"(30)(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["30"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LB:[,[,,"[13-9]\\d{6,7}",,,,,,,[7,8]],[,,"(?:[14-6]\\d{2}|7(?:[2-57]\\d|62|8[0-7]|9[04-9])|8[02-9]\\d|9\\d{2})\\d{4}",,,,"1123456",,,[7]],[,,"(?:3\\d|7(?:[01]\\d|6[013-9]|8[89]|9[1-3])|81\\d)\\d{5}",,,,"71123456"],[,,,,,,,,,[-1]],[,,"9[01]\\d{6}",,,,"90123456",,,[8]],[,,"80\\d{6}",,,,"80123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LB",961,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-6]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]|9"],"0$1"],[,"([7-9]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[89][01]|7(?:[01]|6[013-9]|8[89]|9[1-3])"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LC:[,[,,"[5789]\\d{9}",,,,,,,[10],[7]],[,,"758(?:4(?:30|5[0-9]|6[2-9]|8[0-2])|57[0-2]|638)\\d{4}",,,,"7584305678",,,,[7]],[,,"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\d|3[01]))\\d{4}",,,,"7582845678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"LC",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"758",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LI:[,[,,"6\\d{8}|[23789]\\d{6}",,,,,,,[7,9]],[,,"(?:2(?:01|1[27]|3\\d|6[02-578]|96)|3(?:7[0135-7]|8[048]|9[0269]))\\d{4}",,,,"2345678",,,[7]],[,,"6(?:5(?:09|1\\d|20)|6(?:0[0-6]|10|2[06-9]|39))\\d{5}|7(?:[37-9]\\d|42|56)\\d{4}",,,,"660234567"],[,,"80(?:02[28]|9\\d{2})\\d{2}",,,,"8002222",,,[7]],[,,"90(?:02[258]|1(?:23|3[14])|66[136])\\d{2}",,,,"9002222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LI",423,"00","0",,,"0|10(?:01|20|66)",,,,[[,"(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[23789]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[56]"]],[,"(69)(7\\d{2})(\\d{4})","$1 $2 $3",["697"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"870(?:28|87)\\d{2}",,,,"8702812",,,[7]],,,[,,"697(?:42|56|[78]\\d)\\d{4}",,,,"697861234",,,[9]]],LK:[,[,,"[1-9]\\d{8}",,,,,,,[9],[7]],[,,"1(?:1[2-57]\\d{6}|973\\d{5})|(?:2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7]|[89]1)[2-57]\\d{6}",,,,"112345678",,,,[7]],[,,"7[0125-8]\\d{7}",,,,"712345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LK",94,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{1})(\\d{6})","$1 $2 $3",["[1-689]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LR:[,[,,"2\\d{7,8}|[378]\\d{8}|4\\d{6}|5\\d{6,8}",,,,,,,[7,8,9]],[,,"(?:2\\d{3}|33333)\\d{4}",,,,"21234567",,,[8,9]],[,,"(?:20\\d{2}|330\\d|4[67]|5(?:55)?\\d|77\\d{2}|88\\d{2})\\d{5}",,,,"770123456",,,[7,9]],[,,,,,,,,,[-1]],[,,"332(?:02|[2-5]\\d)\\d{4}",,,,"332021234",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LR",231,"00","0",,,"0",,,,[[,"(2\\d)(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"([4-5])(\\d{3})(\\d{3})","$1 $2 $3",["[45]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23578]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LS:[,[,,"[2568]\\d{7}",,,,,,,[8]],[,,"2\\d{7}",,,,"22123456"],[,,"[56]\\d{7}",,,,"50123456"],[,,"800[256]\\d{4}",,,,"80021234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LS",266,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LT:[,[,,"[3-9]\\d{7}",,,,,,,[8]],[,,"(?:3[1478]|4[124-6]|52)\\d{6}",,,,"31234567"],[,,"6\\d{7}",,,,"61234567"],[,,"800\\d{5}",,,,"80012345"],[,,"9(?:0[0239]|10)\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,"700\\d{5}",,,,"70012345"],[,,,,,,,,,[-1]],"LT",370,"00","8",,,"[08]",,,,[[,"([34]\\d)(\\d{6})","$1 $2",["37|4(?:1|5[45]|6[2-4])"],"(8-$1)",,1],[,"([3-6]\\d{2})(\\d{5})","$1 $2",["3[148]|4(?:[24]|6[09])|528|6"],"(8-$1)",,1],[,"([7-9]\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"8 $1",,1],[,"(5)(2\\d{2})(\\d{4})","$1 $2 $3",["52[0-79]"],"(8-$1)",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"70[67]\\d{5}",,,,"70712345"],,,[,,,,,,,,,[-1]]],LU:[,[,,"[24-9]\\d{3,10}|3(?:[0-46-9]\\d{2,9}|5[013-9]\\d{1,8})",,,,,,,[4,5,6,7,8,9,10,11]],[,,"(?:2[2-9]\\d{2,9}|(?:[3457]\\d{2}|8(?:0[2-9]|[13-9]\\d)|9(?:0[89]|[2-579]\\d))\\d{1,8})",,,,"27123456"],[,,"6[25-79][18]\\d{6}",,,,"628123456",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"90[015]\\d{5}",,,,"90012345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,"70\\d{6}",,,,"70123456",,,[8]],[,,"20(?:1\\d{5}|[2-689]\\d{1,7})",,,,"20201234",,,[4,5,6,7,8,9,10]],"LU",352,"00",,,,"(15(?:0[06]|1[12]|35|4[04]|55|6[26]|77|88|99)\\d)",,,,[[,"(\\d{2})(\\d{3})","$1 $2",["[2-5]|7[1-9]|[89](?:[1-9]|0[2-9])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[2-5]|7[1-9]|[89](?:[1-9]|0[2-9])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"],,"$CC $1"],[,"(\\d{2})(\\d{2})(\\d{2})(\\d{1,4})","$1 $2 $3 $4",["2(?:[12589]|4[12])|[3-5]|7[1-9]|8(?:[1-9]|0[2-9])|9(?:[1-9]|0[2-46-9])"],,"$CC $1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["70|80[01]|90[015]"],,"$CC $1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"],,"$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LV:[,[,,"[2689]\\d{7}",,,,,,,[8]],[,,"6\\d{7}",,,,"63123456"],[,,"2\\d{7}",,,,"21234567"],[,,"80\\d{6}",,,,"80123456"],[,,"90\\d{6}",,,,"90123456"],[,,"81\\d{6}",,,,"81123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LV",371,"00",,,,,,,,[[,"([2689]\\d)(\\d{3})(\\d{3})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LY:[,[,,"[25679]\\d{8}",,,,,,,[9],[7]],[,,"(?:2[1345]|5[1347]|6[123479]|71)\\d{7}",,,,"212345678",,,,[7]],[,,"9[1-6]\\d{7}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"LY",218,"00","0",,,"0",,,,[[,"([25679]\\d)(\\d{7})","$1-$2",,"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MA:[,[,,"[5-9]\\d{8}",,,,,,,[9]],[,,"5(?:2(?:[015-79]\\d|2[02-9]|3[2-57]|4[2-8]|8[235-7])\\d|3(?:[0-48]\\d|[57][2-9]|6[2-8]|9[3-9])\\d|4[067]\\d{2}|5[03]\\d{2})\\d{4}",,,,"520123456"],[,,"(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[07][07]|6[12]))\\d{6}",,,,"650123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89\\d{7}",,,,"891234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5924[01]\\d{4}",,,,"592401234"],"MA",212,"00","0",,,"0",,,,[[,"([5-7]\\d{2})(\\d{6})","$1-$2",["5(?:2[015-7]|3[0-4])|[67]"],"0$1"],[,"([58]\\d{3})(\\d{5})","$1-$2",["5(?:2[2-489]|3[5-9]|92)|892","5(?:2(?:[2-48]|9[0-7])|3(?:[5-79]|8[0-7])|924)|892"],"0$1"],[,"(5\\d{4})(\\d{4})","$1-$2",["5(?:29|38)","5(?:29|38)[89]"],"0$1"],[,"([5]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:4[067]|5[03])"],"0$1"],[,"(8[09])(\\d{7})","$1-$2",["8(?:0|9[013-9])"],"0$1"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MC:[,[,,"[34689]\\d{7,8}",,,,,,,[8,9]],[,,"870\\d{5}|9[2-47-9]\\d{6}",,,,"99123456",,,[8]],[,,"3\\d{7}|4(?:4\\d|5[1-9])\\d{5}|6\\d{8}",,,,"612345678"],[,,"90\\d{6}",,,,"90123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MC",377,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[39]"],"$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],[,"(6)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["6"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["8"],"$1"]],,[,,,,,,,,,[-1]],,,[,,"870\\d{5}",,,,"87012345",,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MD:[,[,,"[235-9]\\d{7}",,,,,,,[8]],[,,"(?:2[1-9]\\d|3[1-79]\\d|5(?:33|5[257]))\\d{5}",,,,"22212345"],[,,"(?:562|6\\d{2}|7(?:[189]\\d|6[07]|7[457-9]))\\d{5}",,,,"62112345"],[,,"800\\d{5}",,,,"80012345"],[,,"90[056]\\d{5}",,,,"90012345"],[,,"808\\d{5}",,,,"80812345"],[,,,,,,,,,[-1]],[,,"3[08]\\d{6}",,,,"30123456"],"MD",373,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],[,"([25-7]\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["2[13-9]|[5-7]"],"0$1"],[,"([89]\\d{2})(\\d{5})","$1 $2",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"803\\d{5}",,,,"80312345"],,,[,,,,,,,,,[-1]]],ME:[,[,,"[2-9]\\d{7,8}",,,,,,,[8],[6]],[,,"(?:20[2-8]|3(?:0[2-7]|[12][235-7]|3[24-7])|4(?:0[2-467]|1[267])|5(?:0[2467]|1[267]|2[2367]))\\d{5}",,,,"30234567",,,,[6]],[,,"6(?:00\\d|3[024]\\d|6[0-25]\\d|[7-9]\\d{2})\\d{4}",,,,"67622901"],[,,"80[0-258]\\d{5}",,,,"80080002"],[,,"(?:9(?:4[1568]|5[178]))\\d{5}",,,,"94515151"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"78[1-49]\\d{5}",,,,"78108780"],"ME",382,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]|6[036-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"77[1-9]\\d{5}",,,,"77273012"],,,[,,,,,,,,,[-1]]],MF:[,[,,"[56]\\d{8}",,,,,,,[9]],[,,"590(?:[02][79]|13|5[0-268]|[78]7)\\d{4}",,,,"590271234"],[,,"690(?:0[05-9]|[1-9]\\d)\\d{4}",,,,"690001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MF",590,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MG:[,[,,"[23]\\d{8}",,,,,,,[9],[7]],[,,"20(?:2\\d{2}|4[47]\\d|5[3467]\\d|6[279]\\d|7(?:2[29]|[35]\\d)|8[268]\\d|9[245]\\d)\\d{4}",,,,"202123456",,,,[7]],[,,"3[2-49]\\d{7}",,,,"321234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"22\\d{7}",,,,"221234567"],"MG",261,"00","0",,,"0",,,,[[,"([23]\\d)(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",,"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MH:[,[,,"[2-6]\\d{6}",,,,,,,[7]],[,,"(?:247|528|625)\\d{4}",,,,"2471234"],[,,"(?:235|329|45[56]|545)\\d{4}",,,,"2351234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"635\\d{4}",,,,"6351234"],"MH",692,"011","1",,,"1",,,,[[,"(\\d{3})(\\d{4})","$1-$2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MK:[,[,,"[2-578]\\d{7}",,,,,,,[8],[6,7]],[,,"(?:2(?:[23]\\d|5[124578]|6[01])|3(?:1[3-6]|[23][2-6]|4[2356])|4(?:[23][2-6]|4[3-6]|5[256]|6[25-8]|7[24-6]|8[4-6]))\\d{5}",,,,"22212345",,,,[6,7]],[,,"7(?:[0-25-8]\\d{2}|32\\d|421|9[23]\\d)\\d{4}",,,,"72345678"],[,,"800\\d{5}",,,,"80012345"],[,,"5[02-9]\\d{6}",,,,"50012345"],[,,"8(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"80123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MK",389,"00","0",,,"0",,,,[[,"(2)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"([347]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],[,"([58]\\d{2})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ML:[,[,,"[246-9]\\d{7}",,,,,,,[8]],[,,"(?:2(?:0(?:2\\d|7[0-8])|1(?:2[5-7]|[3-689]\\d))|44[1239]\\d)\\d{4}",,,,"20212345"],[,,"(?:2(?:079|17\\d)|[679]\\d{3}|8[239]\\d{2})\\d{4}",,,,"65012345"],[,,"80\\d{6}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ML",223,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[246-9]"]],[,"(\\d{4})","$1",["67|74"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[246-9]"]]],[,,,,,,,,,[-1]],,,[,,"80\\d{6}",,,,"80012345"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MM:[,[,,"[178]\\d{5,7}|[24-6]\\d{5,8}|9(?:[279]\\d{0,2}|5|[34]\\d{1,2}|6(?:\\d{1,2})?|8(?:\\d{2})?)\\d{6}",,,,,,,[6,7,8,9,10],[5]],[,,"1(?:2\\d{1,2}|[35]\\d|4(?:\\d|2[236]|39)|6\\d?|[89][0-6]\\d)\\d{4}|2(?:2(?:000\\d{3}|\\d{4})|3\\d{4}|4(?:0\\d{5}|26\\d{4}|39\\d{4}|\\d{4})|5(?:1\\d{3,6}|[02-9]\\d{3,5})|[6-9]\\d{4})|4(?:2[245-8]|3(?:2(?:02)?|[346]|56?)|[46][2-6]|5[3-5])\\d{4}|5(?:2(?:2(?:\\d{1,2})?|[3-8])|3[2-68]|4(?:21?|[4-8])|5[23]|6[2-4]|7[2-8]|8[24-7]|9[2-7])\\d{4}|6(?:0[23]|1(?:2(?:0|4\\d)?|[356])|2[2-6]|3[24-6]|4(?:2(?:4\\d)?|[3-6])|5[2-4]|6[2-8]|7(?:[2367]|4(?:\\d|39)|5\\d?|8[145]\\d)|8[245]|9(?:20?|4))\\d{4}|7(?:[04][24-8]|1(?:20?|[3-7])|22|3[2-4]|5[2-7])\\d{4}|8(?:1(?:2\\d{1,2}|[3-689]\\d)|2(?:2\\d|3(?:\\d|20)|[4-8]\\d)|3[24]\\d|4[24-7]\\d|5[245]\\d|6[23]\\d)\\d{3}",,,,"1234567",,,[6,7,8,9],[5]],[,,"17[01]\\d{4}|9(?:2(?:[0-4]|5\\d{2}|6[0-5]\\d)|3(?:[0-36]|4[069])\\d|4(?:0[0-4]\\d|[1379]\\d|2\\d{2}|4[0-589]\\d|5\\d{2}|88)|5[0-6]|6(?:1\\d|9\\d{2}|\\d)|7(?:3\\d|[6-9]\\d{2})|8(?:\\d|9\\d{2})|9(?:1\\d|[5-7]\\d{2}|[089]))\\d{5}",,,,"92123456",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1333\\d{4}",,,,"13331234",,,[8]],"MM",95,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["1|2[245]"],"0$1"],[,"(2)(\\d{4})(\\d{4})","$1 $2 $3",["251"],"0$1"],[,"(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["432|67|81"],"0$1"],[,"(\\d{2})(\\d{2})(\\d{3,4})","$1 $2 $3",["[4-8]"],"0$1"],[,"(9)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],[,"(9)([34]\\d{4})(\\d{4})","$1 $2 $3",["9(?:3[0-36]|4[0-57-9])"],"0$1"],[,"(9)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92[56]"],"0$1"],[,"(9)(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["93"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MN:[,[,,"[12]\\d{7,9}|[57-9]\\d{7}",,,,,,,[8,9,10],[6,7]],[,,"[12](?:1\\d|2(?:[1-3]\\d?|7\\d)|3[2-8]\\d{1,2}|4[2-68]\\d{1,2}|5[1-4689]\\d{1,2})\\d{5}|5[0568]\\d{6}",,,,"50123456",,,,[6,7]],[,,"(?:8(?:[05689]\\d|3[01])|9[013-9]\\d)\\d{5}",,,,"88123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"7[05-8]\\d{6}",,,,"75123456",,,[8]],"MN",976,"001","0",,,"0",,,,[[,"([12]\\d)(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],[,"([12]2\\d)(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],[,"([12]\\d{3})(\\d{5})","$1 $2",["[12](?:27|[3-5])","[12](?:27|[3-5]\\d)2"],"0$1"],[,"(\\d{4})(\\d{4})","$1 $2",["[57-9]"],"$1"],[,"([12]\\d{4})(\\d{4,5})","$1 $2",["[12](?:27|[3-5])","[12](?:27|[3-5]\\d)[4-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MO:[,[,,"[268]\\d{7}",,,,,,,[8]],[,,"(?:28[2-57-9]|8[2-57-9]\\d)\\d{5}",,,,"28212345"],[,,"6(?:[2356]\\d|8[158])\\d{5}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MO",853,"00",,,,,,,,[[,"([268]\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MP:[,[,,"[5689]\\d{9}",,,,,,,[10],[7]],[,,"670(?:2(?:3[3-7]|56|8[5-8])|32[1238]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"670(?:2(?:3[3-7]|56|8[5-8])|32[1238]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\d{4}",,,,"6702345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MP",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"670",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MQ:[,[,,"[56]\\d{8}",,,,,,,[9]],[,,"596(?:0[2-5]|[12]0|3[05-9]|4[024-8]|[5-7]\\d|89|9[4-8])\\d{4}",,,,"596301234"],[,,"696(?:[0-47-9]\\d|5[0-6]|6[0-4])\\d{4}",,,,"696201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MQ",596,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",,"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MR:[,[,,"[2-48]\\d{7}",,,,,,,[8]],[,,"25[08]\\d{5}|35\\d{6}|45[1-7]\\d{5}",,,,"35123456"],[,,"[234][0-46-9]\\d{6}",,,,"22123456"],[,,"800\\d{5}",,,,"80012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MR",222,"00",,,,,,,,[[,"([2-48]\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MS:[,[,,"[5689]\\d{9}",,,,,,,[10],[7]],[,,"664491\\d{4}",,,,"6644912345",,,,[7]],[,,"66449[2-6]\\d{4}",,,,"6644923456",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"MS",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"664",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MT:[,[,,"[2357-9]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:[169]\\d|3[1-4])|[1-357]\\d{2})\\d{4}",,,,"21001234"],[,,"(?:7(?:210|[79]\\d{2})|9(?:2(?:1[01]|31)|69[67]|8(?:1[1-3]|89|97)|9\\d{2}))\\d{4}",,,,"96961234"],[,,"800[3467]\\d{4}",,,,"80071234"],[,,"5(?:0(?:0(?:37|43)|6\\d{2}|70\\d|9[0168]\\d)|[12]\\d0[1-5])\\d{3}",,,,"50037123"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3550\\d{4}",,,,"35501234"],"MT",356,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,"7117\\d{4}",,,,"71171234"],,,[,,,,,,,,,[-1]],[,,"501\\d{5}",,,,"50112345"],,,[,,,,,,,,,[-1]]],MU:[,[,,"[2-9]\\d{6,7}",,,,,,,[7,8]],[,,"(?:2(?:[03478]\\d|1[0-7]|6[1-69])|4(?:[013568]\\d|2[4-7])|5(?:44\\d|471)|6\\d{2}|8(?:14|3[129]))\\d{4}",,,,"2012345"],[,,"5(?:2[59]\\d|4(?:2[1-389]|4\\d|7[1-9]|9\\d)|7\\d{2}|8(?:[0-25689]\\d|4[3479]|7[15-8])|9[0-8]\\d)\\d{4}",,,,"52512345",,,[8]],[,,"80[012]\\d{4}",,,,"8001234",,,[7]],[,,"30\\d{5}",,,,"3012345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3(?:20|9\\d)\\d{4}",,,,"3201234",,,[7]],"MU",230,"0(?:0|[2-7]0|33)",,,,,,"020",,[[,"([2-46-9]\\d{2})(\\d{4})","$1 $2",["[2-46-9]"]],[,"(5\\d{3})(\\d{4})","$1 $2",["5"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MV:[,[,,"[346-8]\\d{6,9}|9(?:00\\d{7}|\\d{6})",,,,,,,[7,10]],[,,"(?:3(?:0[0-3]|3[0-59])|6(?:[57][02468]|6[024568]|8[024689]|90))\\d{4}",,,,"6701234",,,[7]],[,,"(?:46[46]|7[3-9]\\d|9[15-9]\\d)\\d{4}",,,,"7712345",,,[7]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MV",960,"0(?:0|19)",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1-$2",["[3467]|9(?:[1-9]|0[1-9])"]],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]00"]]],,[,,"781\\d{4}",,,,"7812345",,,[7]],,,[,,,,,,,,,[-1]],[,,"4[05]0\\d{4}",,,,"4001234",,,[7]],,,[,,,,,,,,,[-1]]],MW:[,[,,"(?:1(?:\\d{2})?|[2789]\\d{2})\\d{6}",,,,,,,[7,9]],[,,"(?:1[2-9]|21\\d{2})\\d{5}",,,,"1234567"],[,,"(?:111|77\\d|88\\d|99\\d)\\d{6}",,,,"991234567",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MW",265,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1"],"0$1"],[,"(2\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1789]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MX:[,[,,"[1-9]\\d{9,10}",,,,,,,[10,11],[7,8]],[,,"(?:33|55|81)\\d{8}|(?:2(?:0[01]|2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-6][1-9]|[37][1-8]|8[1-35-9]|9[2-689])|5(?:88|9[1-79])|6(?:1[2-68]|[234][1-9]|5[1-3689]|6[12457-9]|7[1-7]|8[67]|9[4-8])|7(?:[13467][1-9]|2[1-8]|5[13-9]|8[1-69]|9[17])|8(?:2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))\\d{7}",,,,"2221234567",,,[10],[7,8]],[,,"1(?:(?:33|55|81)\\d{8}|(?:2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-6][1-9]|[37][1-8]|8[1-35-9]|9[2-689])|5(?:88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[12457-9]|7[1-7]|8[67]|9[4-8])|7(?:[13467][1-9]|2[1-8]|5[13-9]|8[1-69]|9[17])|8(?:2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))\\d{7})",,,,"12221234567",,,[11]],[,,"8(?:00|88)\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,"300\\d{7}",,,,"3001234567",,,[10]],[,,"500\\d{7}",,,,"5001234567",,,[10]],[,,,,,,,,,[-1]],"MX",52,"0[09]","01",,,"0[12]|04[45](\\d{10})","1$1",,,[[,"([358]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["33|55|81"],"01 $1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2467]|3[0-2457-9]|5[089]|8[02-9]|9[0-35-9]"],"01 $1",,1],[,"(1)([358]\\d)(\\d{4})(\\d{4})","044 $2 $3 $4",["1(?:33|55|81)"],"$1",,1],[,"(1)(\\d{3})(\\d{3})(\\d{4})","044 $2 $3 $4",["1(?:[2467]|3[0-2457-9]|5[089]|8[2-9]|9[1-35-9])"],"$1",,1]],[[,"([358]\\d)(\\d{4})(\\d{4})","$1 $2 $3",["33|55|81"],"01 $1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2467]|3[0-2457-9]|5[089]|8[02-9]|9[0-35-9]"],"01 $1",,1],[,"(1)([358]\\d)(\\d{4})(\\d{4})","$1 $2 $3 $4",["1(?:33|55|81)"]],[,"(1)(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1(?:[2467]|3[0-2457-9]|5[089]|8[2-9]|9[1-35-9])"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MY:[,[,,"[13-9]\\d{7,9}",,,,,,,[8,9,10],[6,7]],[,,"(?:3[2-9]\\d|[4-9][2-9])\\d{6}",,,,"323456789",,,[8,9],[6,7]],[,,"1(?:1[1-6]\\d{2}|[02-4679][2-9]\\d|59\\d{2}|8(?:1[23]|[2-9]\\d))\\d{5}",,,,"123456789",,,[9,10]],[,,"1[378]00\\d{6}",,,,"1300123456",,,[10]],[,,"1600\\d{6}",,,,"1600123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"154\\d{7}",,,,"1541234567",,,[10]],"MY",60,"00","0",,,"0",,,,[[,"([4-79])(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],[,"(3)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],[,"([18]\\d)(\\d{3})(\\d{3,4})","$1-$2 $3",["1[02-46-9][1-9]|8"],"0$1"],[,"(1)([36-8]00)(\\d{2})(\\d{4})","$1-$2-$3-$4",["1[36-8]0"]],[,"(11)(\\d{4})(\\d{4})","$1-$2 $3",["11"],"0$1"],[,"(15[49])(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MZ:[,[,,"[28]\\d{7,8}",,,,,,,[8,9]],[,,"2(?:[1346]\\d|5[0-2]|[78][12]|93)\\d{5}",,,,"21123456",,,[8]],[,,"8[2-7]\\d{7}",,,,"821234567",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"MZ",258,"00",,,,,,,,[[,"([28]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-7]"]],[,"(80\\d)(\\d{3})(\\d{3})","$1 $2 $3",["80"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NA:[,[,,"[68]\\d{7,8}",,,,,,,[8,9]],[,,"6(?:1(?:17|2(?:[0189]\\d|[2-6]|7\\d?)|3(?:[01378]|2\\d)|4(?:[024]|10?|3[15]?)|69|7[014])|2(?:17|5(?:[0-36-8]|4\\d?)|69|70)|3(?:17|2(?:[0237]\\d?|[14-689])|34|6[289]|7[01]|81)|4(?:17|2(?:[012]|7\\d?)|4(?:[06]|1\\d?)|5(?:[01357]|[25]\\d?)|69|7[01])|5(?:17|2(?:[0459]|[23678]\\d?)|69|7[01])|6(?:17|2(?:5|6\\d?)|38|42|69|7[01])|7(?:17|2(?:[569]|[234]\\d?)|3(?:0\\d?|[13])|6[89]|7[01]))\\d{4}",,,,"61221234"],[,,"(?:60|8[125])\\d{7}",,,,"811234567",,,[9]],[,,,,,,,,,[-1]],[,,"8701\\d{5}",,,,"870123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8(?:3\\d{2}|86)\\d{5}",,,,"88612345"],"NA",264,"00","0",,,"0",,,,[[,"(8\\d)(\\d{3})(\\d{4})","$1 $2 $3",["8[1235]"],"0$1"],[,"(6\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],[,"(88)(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],[,"(870)(\\d{3})(\\d{3})","$1 $2 $3",["870"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NC:[,[,,"[2-57-9]\\d{5}",,,,,,,[6]],[,,"(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}",,,,"201234"],[,,"(?:5[0-4]|[79]\\d|8[0-79])\\d{4}",,,,"751234"],[,,,,,,,,,[-1]],[,,"36\\d{4}",,,,"366711"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NC",687,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[2-46-9]|5[0-4]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NE:[,[,,"[0289]\\d{7}",,,,,,,[8]],[,,"2(?:0(?:20|3[1-7]|4[134]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\d{4}",,,,"20201234"],[,,"(?:8[089]|9\\d)\\d{6}",,,,"93123456"],[,,"08\\d{6}",,,,"08123456"],[,,"09\\d{6}",,,,"09123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NE",227,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[289]|09"]],[,"(08)(\\d{3})(\\d{3})","$1 $2 $3",["08"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NF:[,[,,"[13]\\d{5}",,,,,,,[6],[5]],[,,"(?:1(?:06|17|28|39)|3[012]\\d)\\d{3}",,,,"106609",,,,[5]],[,,"3[58]\\d{4}",,,,"381234",,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NF",672,"00",,,,,,,,[[,"(\\d{2})(\\d{4})","$1 $2",["1"]],[,"(\\d)(\\d{5})","$1 $2",["3"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NG:[,[,,"[1-6]\\d{5,8}|9\\d{5,9}|[78]\\d{5,13}",,,,,,,[7,8,10,11,12,13,14],[5,6]],[,,"[12]\\d{6,7}|9(?:0[3-9]|[1-9]\\d)\\d{5}|(?:3\\d|4[023568]|5[02368]|6[02-469]|7[4-69]|8[2-9])\\d{6}|(?:4[47]|5[14579]|6[1578]|7[0-357])\\d{5,6}|(?:78|41)\\d{5}",,,,"12345678",,,[7,8],[5,6]],[,,"(?:1(?:7[34]\\d|8(?:04|[124579]\\d|8[0-3])|95\\d)|287[0-7]|3(?:18[1-8]|88[0-7]|9(?:8[5-9]|6[1-5]))|4(?:28[0-2]|6(?:7[1-9]|8[02-47])|88[0-2])|5(?:2(?:7[7-9]|8\\d)|38[1-79]|48[0-7]|68[4-7])|6(?:2(?:7[7-9]|8\\d)|4(?:3[7-9]|[68][129]|7[04-69]|9[1-8])|58[0-2]|98[7-9])|7(?:38[0-7]|69[1-8]|78[2-4])|8(?:28[3-9]|38[0-2]|4(?:2[12]|3[147-9]|5[346]|7[4-9]|8[014-689]|90)|58[1-8]|78[2-9]|88[5-7])|98[07]\\d)\\d{4}|(?:70(?:[1-689]\\d|7[0-3])|8(?:0(?:1[01]|[2-9]\\d)|1(?:[0-8]\\d|9[01]))|90[235-9]\\d)\\d{6}",,,,"8021234567",,,[8,10]],[,,"800\\d{7,11}",,,,"80017591759",,,[10,11,12,13,14]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NG",234,"009","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|9(?:0[3-9]|[1-9])"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[3-6]|7(?:[1-79]|0[1-9])|8[2-9]"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["70|8[01]|90[235-9]"],"0$1"],[,"([78]00)(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]00"],"0$1"],[,"([78]00)(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]00"],"0$1"],[,"(78)(\\d{2})(\\d{3})","$1 $2 $3",["78"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"700\\d{7,11}",,,,"7001234567",,,[10,11,12,13,14]],,,[,,,,,,,,,[-1]]],NI:[,[,,"[125-8]\\d{7}",,,,,,,[8]],[,,"2\\d{7}",,,,"21234567"],[,,"(?:5(?:5[0-7]|[78]\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|7[5-8]\\d|8\\d{2})\\d{5}",,,,"81234567"],[,,"1800\\d{4}",,,,"18001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NI",505,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NL:[,[,,"1\\d{4,8}|[2-7]\\d{8}|[89]\\d{6,9}",,,,,,,[5,6,7,8,9,10]],[,,"(?:1[0135-8]|2[02-69]|3[0-68]|4[0135-9]|[57]\\d|8[478])\\d{7}",,,,"101234567",,,[9]],[,,"6[1-58]\\d{7}",,,,"612345678",,,[9]],[,,"800\\d{4,7}",,,,"8001234",,,[7,8,9,10]],[,,"90[069]\\d{4,7}",,,,"9061234",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:6760|85\\d{2})\\d{5}",,,,"851234567",,,[9]],"NL",31,"00","0",,,"0",,,,[[,"([1-578]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1[035]|2[0346]|3[03568]|4[0356]|5[0358]|7|8[4578]"],"0$1"],[,"([1-5]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],[,"(6)(\\d{8})","$1 $2",["6[0-57-9]"],"0$1"],[,"(66)(\\d{7})","$1 $2",["66"],"0$1"],[,"(14)(\\d{3,4})","$1 $2",["14"],"$1"],[,"([89]0\\d)(\\d{4,7})","$1 $2",["80|9"],"0$1"]],,[,,"66\\d{7}",,,,"662345678",,,[9]],,,[,,"14\\d{3,4}",,,,"14123",,,[5,6]],[,,"140(?:1(?:[035]|[16-8]\\d)|2(?:[0346]|[259]\\d)|3(?:[03568]|[124]\\d)|4(?:[0356]|[17-9]\\d)|5(?:[0358]|[124679]\\d)|7\\d|8[458])",,,,"14020",,,[5,6]],,,[,,,,,,,,,[-1]]],NO:[,[,,"0\\d{4}|[2-9]\\d{7}",,,,,,,[5,8]],[,,"(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\d{6}",,,,"21234567",,,[8]],[,,"(?:4[015-8]|5[89]|87|9\\d)\\d{6}",,,,"40612345",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"NO",47,"00",,,,,,,,[[,"([489]\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["[489]"]],[,"([235-7]\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-7]"]]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,"0\\d{4}|81(?:0(?:0[7-9]|1\\d)|5\\d{2})\\d{3}",,,,"01234"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],NP:[,[,,"[1-8]\\d{7}|9(?:[1-69]\\d{6,8}|7[2-6]\\d{5,7}|8\\d{8})",,,,,,,[8,10],[6,7]],[,,"(?:1[0-6]\\d|2[13-79][2-6]|3[135-8][2-6]|4[146-9][2-6]|5[135-7][2-6]|6[13-9][2-6]|7[15-9][2-6]|8[1-46-9][2-6]|9[1-79][2-6])\\d{5}",,,,"14567890",,,[8],[6,7]],[,,"9(?:6[013]|7[245]|8[0-24-6])\\d{7}",,,,"9841234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NP",977,"00","0",,,"0",,,,[[,"(1)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],[,"(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-69]|7[15-9])"],"0$1"],[,"(9\\d{2})(\\d{7})","$1-$2",["9(?:6[013]|7[245]|8)"],"$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NR:[,[,,"[458]\\d{6}",,,,,,,[7]],[,,"(?:444|888)\\d{4}",,,,"4441234"],[,,"55[5-9]\\d{4}",,,,"5551234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NR",674,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NU:[,[,,"[1-5]\\d{3}",,,,,,,[4]],[,,"[34]\\d{3}",,,,"4002"],[,,"[125]\\d{3}",,,,"1234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"NU",683,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NZ:[,[,,"6[235-9]\\d{6}|[2-57-9]\\d{7,9}",,,,,,,[8,9,10],[7]],[,,"(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\d{6}|24099\\d{3}",,,,"32345678",,,[8],[7]],[,,"2(?:[028]\\d{7,8}|1(?:[03]\\d{5,7}|[12457]\\d{5,6}|[689]\\d{5})|[79]\\d{7})",,,,"211234567"],[,,"508\\d{6,7}|80\\d{6,8}",,,,"800123456"],[,,"90\\d{6,7}",,,,"900123456",,,[8,9]],[,,,,,,,,,[-1]],[,,"70\\d{7}",,,,"701234567",,,[9]],[,,,,,,,,,[-1]],"NZ",64,"0(?:0|161)","0",,,"0",,"00",,[[,"(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["240|[346]|7[2-57-9]|9[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["21"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:1[1-9]|[69]|7[0-35-9])|70|86"],"0$1"],[,"(2\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["2[028]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["90"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|5|[89]0"],"0$1"]],,[,,"[28]6\\d{6,7}",,,,"26123456",,,[8,9]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],OM:[,[,,"(?:5|[279]\\d)\\d{6}|800\\d{5,6}",,,,,,,[7,8,9]],[,,"2[2-6]\\d{6}",,,,"23123456",,,[8]],[,,"7[19]\\d{6}|9(?:0[1-9]|[1-9]\\d)\\d{5}",,,,"92123456",,,[8]],[,,"8007\\d{4,5}|500\\d{4}",,,,"80071234"],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"OM",968,"00",,,,,,,,[[,"(2\\d)(\\d{6})","$1 $2",["2"]],[,"([79]\\d{3})(\\d{4})","$1 $2",["[79]"]],[,"([58]00)(\\d{4,6})","$1 $2",["[58]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PA:[,[,,"[1-9]\\d{6,7}",,,,,,,[7,8]],[,,"(?:1(?:0[0-8]|1[49]|2[37]|3[0137]|4[147]|5[05]|6[58]|7[0167]|8[58]|9[139])|2(?:[0235679]\\d|1[0-7]|4[04-9]|8[028])|3(?:[09]\\d|1[014-7]|2[0-3]|3[03]|4[03-57]|55|6[068]|7[06-8]|8[06-9])|4(?:3[013-69]|4\\d|7[0-589])|5(?:[01]\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-267]|3[06]|[469]0|5[06-9]|7[0-24-79]|8[7-9])|8(?:09|[34]\\d|5[0134]|8[02])|9(?:0[6-9]|1[016-8]|2[036-8]|3[3679]|40|5[0489]|6[06-9]|7[046-9]|8[36-8]|9[1-9]))\\d{4}",,,,"2001234",,,[7]],[,,"(?:1[16]1|21[89]|8(?:1[01]|7[23]))\\d{4}|6(?:[024-9]\\d|1[0-5]|3[0-24-9])\\d{5}",,,,"60012345"],[,,"80[09]\\d{4}",,,,"8001234",,,[7]],[,,"(?:779|8(?:55|60|7[78])|9(?:00|81))\\d{4}",,,,"8601234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PA",507,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],[,"(\\d{4})(\\d{4})","$1-$2",["6"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PE:[,[,,"[14-9]\\d{7,8}",,,,,,,[8,9],[6,7]],[,,"(?:1\\d|4[1-4]|5[1-46]|6[1-7]|7[2-46]|8[2-4])\\d{6}",,,,"11234567",,,[8],[6,7]],[,,"9\\d{8}",,,,"912345678",,,[9]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"805\\d{5}",,,,"80512345",,,[8]],[,,"801\\d{5}",,,,"80112345",,,[8]],[,,"80[24]\\d{5}",,,,"80212345",,,[8]],[,,,,,,,,,[-1]],"PE",51,"19(?:1[124]|77|90)00","0"," Anexo ",,"0",,,,[[,"(1)(\\d{7})","$1 $2",["1"],"(0$1)"],[,"([4-8]\\d)(\\d{6})","$1 $2",["[4-7]|8[2-4]"],"(0$1)"],[,"(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],[,"(9\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PF:[,[,,"4\\d{5,7}|8\\d{7}",,,,,,,[6,8]],[,,"4(?:[09][45689]\\d|4)\\d{4}",,,,"40412345"],[,,"8[79]\\d{6}",,,,"87123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PF",689,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4[09]|8[79]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]]],,[,,,,,,,,,[-1]],,,[,,"44\\d{4}",,,,"441234",,,[6]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PG:[,[,,"[1-9]\\d{6,7}",,,,,,,[7,8]],[,,"(?:3[0-2]\\d|4[257]\\d|5[34]\\d|64[1-9]|77(?:[0-24]\\d|30)|85[02-46-9]|9[78]\\d)\\d{4}",,,,"3123456",,,[7]],[,,"7(?:[0-689]\\d|75)\\d{5}",,,,"70123456",,,[8]],[,,"180\\d{4}",,,,"1801234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"2(?:0[0-47]|7[568])\\d{4}",,,,"2751234",,,[7]],"PG",675,"140[1-3]|00",,,,,,"00",,[[,"(\\d{3})(\\d{4})","$1 $2",["[13-689]|27"]],[,"(\\d{4})(\\d{4})","$1 $2",["20|7"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PH:[,[,,"2\\d{5,7}|[3-9]\\d{7,9}|1800\\d{7,9}",,,,,,,[6,8,9,10,11,12,13],[5,7]],[,,"2\\d{5}(?:\\d{2})?|(?:3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578]|8[2-8])\\d{7}|88(?:22\\d{6}|42\\d{4})",,,,"21234567",,,[6,8,9,10],[5,7]],[,,"(?:81[37]|9(?:0[5-9]|1[024-9]|2[0-35-9]|3[02-9]|4[235-9]|5[056]|6[5-7]|7[34-79]|89|9[4-9]))\\d{7}",,,,"9051234567",,,[10]],[,,"1800\\d{7,9}",,,,"180012345678",,,[11,12,13]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PH",63,"00","0",,,"0",,,,[[,"(2)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],[,"(2)(\\d{5})","$1 $2",["2"],"(0$1)"],[,"(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|5(?:22|44)|642|8(?:62|8[245])","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],[,"(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],[,"([3-8]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[3-8]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["81|9"],"0$1"],[,"(1800)(\\d{3})(\\d{4})","$1 $2 $3",["1"]],[,"(1800)(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PK:[,[,,"1\\d{8}|[2-8]\\d{5,11}|9(?:[013-9]\\d{4,9}|2\\d(?:111\\d{6}|\\d{3,7}))",,,,,,,[8,9,10,11,12],[6,7]],[,,"(?:21|42)[2-9]\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\d{6}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\d{5,6}|58[126]\\d{7}",,,,"2123456789",,,[9,10],[6,7,8]],[,,"3(?:[014]\\d|2[0-5]|3[0-7]|55|64)\\d{7}",,,,"3012345678",,,[10]],[,,"800\\d{5}",,,,"80012345",,,[8]],[,,"900\\d{5}",,,,"90012345",,,[8]],[,,,,,,,,,[-1]],[,,"122\\d{6}",,,,"122044444",,,[9]],[,,,,,,,,,[-1]],"PK",92,"00","0",,,"0",,,,[[,"(\\d{2})(111)(\\d{3})(\\d{3})","$1 $2 $3 $4",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)1","(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)11","(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)111"],"(0$1)"],[,"(\\d{3})(111)(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[349]|45|54|60|72|8[2-5]|9[2-9]","(?:2[349]|45|54|60|72|8[2-5]|9[2-9])\\d1","(?:2[349]|45|54|60|72|8[2-5]|9[2-9])\\d11","(?:2[349]|45|54|60|72|8[2-5]|9[2-9])\\d111"],"(0$1)"],[,"(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],[,"(\\d{3})(\\d{6,7})","$1 $2",["2[349]|45|5(?:4|8[12])|60|72|8[2-5]|9[2-9]","(?:2[349]|45|5(?:4|8[12])|60|72|8[2-5]|9[2-9])\\d[2-9]"],"(0$1)"],[,"(3\\d{2})(\\d{7})","$1 $2",["3"],"0$1"],[,"(1\\d{3})(\\d{5,6})","$1 $2",["1"],"$1"],[,"(586\\d{2})(\\d{5})","$1 $2",["586"],"(0$1)"],[,"([89]00)(\\d{3})(\\d{2})","$1 $2 $3",["[89]00"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:[1-8]|0[468])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\d{6}",,,,"21111825888",,,[11,12]],,,[,,,,,,,,,[-1]]],PL:[,[,,"[1-57-9]\\d{6,8}|6\\d{5,8}",,,,,,,[6,7,8,9]],[,,"(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:\\d{7}|19\\d{3})",,,,"123456789",,,[7,9]],[,,"(?:45|5[0137]|6[069]|7[2389]|88)\\d{7}",,,,"512345678",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"70[01346-8]\\d{6}",,,,"701234567",,,[9]],[,,"801\\d{6}",,,,"801234567",,,[9]],[,,,,,,,,,[-1]],[,,"39\\d{7}",,,,"391234567",,,[9]],"PL",48,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1 $2",["11[68]|64"]],[,"(\\d{5})","$1",["19"]],[,"(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145]"]],[,"(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["26|39|45|5[0137]|6[0469]|7[02389]|8[08]"]],[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[14]|2[0-57-9]|3[2-4]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145]"]]],,[,,"64\\d{4,7}",,,,"641234567"],,,[,,,,,,,,,[-1]],[,,"804\\d{6}",,,,"804123456",,,[9]],,,[,,,,,,,,,[-1]]],PM:[,[,,"[45]\\d{5}",,,,,,,[6]],[,,"41\\d{4}",,,,"411234"],[,,"(?:40|55)\\d{4}",,,,"551234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PM",508,"00","0",,,"0",,,,[[,"([45]\\d)(\\d{2})(\\d{2})","$1 $2 $3",,"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PR:[,[,,"[5789]\\d{9}",,,,,,,[10],[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"(?:787|939)[2-9]\\d{6}",,,,"7872345678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"PR",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"787|939",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PS:[,[,,"1\\d{9}|[24589]\\d{7,8}",,,,,,,[8,9,10],[7]],[,,"(?:22[234789]|42[45]|82[01458]|92[369])\\d{5}",,,,"22234567",,,[8],[7]],[,,"5[69]\\d{7}",,,,"599123456",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,,,,,,,,[-1]],[,,"1700\\d{6}",,,,"1700123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PS",970,"00","0",,,"0",,,,[[,"([2489])(2\\d{2})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],[,"(5[69]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],[,"(1[78]00)(\\d{3})(\\d{3})","$1 $2 $3",["1"],"$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PT:[,[,,"[2-46-9]\\d{8}",,,,,,,[9]],[,,"2(?:[12]\\d|[35][1-689]|4[1-59]|6[1-35689]|7[1-9]|8[1-69]|9[1256])\\d{6}",,,,"212345678"],[,,"9(?:[1236]\\d{2}|480)\\d{5}",,,,"912345678"],[,,"80[02]\\d{6}",,,,"800123456"],[,,"6(?:0[178]|4[68])\\d{6}|76(?:0[1-57]|1[2-47]|2[237])\\d{5}",,,,"760123456"],[,,"80(?:8\\d|9[1579])\\d{5}",,,,"808123456"],[,,"884[0-4689]\\d{5}",,,,"884123456"],[,,"30\\d{7}",,,,"301234567"],"PT",351,"00",,,,,,,,[[,"(2\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],[,"([2-46-9]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[3-9]|[346-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7(?:0(?:7\\d|8[17]))\\d{5}",,,,"707123456"],,,[,,"600\\d{6}",,,,"600110000"]],PW:[,[,,"[2-8]\\d{6}",,,,,,,[7]],[,,"2552255|(?:277|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76))\\d{4}",,,,"2771234"],[,,"(?:6[234689]0|77[45789])\\d{4}",,,,"6201234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"PW",680,"01[12]",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PY:[,[,,"5[0-5]\\d{4,7}|[2-46-9]\\d{5,8}",,,,,,,[6,7,8,9],[5]],[,,"(?:[26]1|3[289]|4[124678]|7[123]|8[1236])\\d{5,7}|(?:2(?:2[4568]|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51)|4(?:18|2[45]|3[12]|5[13]|64|71|9[1-47])|5(?:[1-4]\\d|5[0234])|6(?:3[1-3]|44|7[1-4678])|7(?:17|4[0-4]|6[1-578]|75|8[0-8])|858)\\d{5,6}",,,,"212345678",,,[7,8,9],[5,6]],[,,"9(?:6[12]|[78][1-6]|9[1-5])\\d{6}",,,,"961456789",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"8700[0-4]\\d{4}",,,,"870012345",,,[9]],"PY",595,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{5})","$1 $2",["(?:[26]1|3[289]|4[124678]|7[123]|8[1236])"],"(0$1)"],[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["(?:[26]1|3[289]|4[124678]|7[123]|8[1236])"],"(0$1)"],[,"(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],[,"(\\d{3})(\\d{6})","$1 $2",["9[1-9]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8700"]],[,"(\\d{3})(\\d{4,5})","$1 $2",["[2-8][1-9]"],"(0$1)"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8][1-9]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"[2-9]0\\d{4,7}",,,,"201234567"],,,[,,,,,,,,,[-1]]],QA:[,[,,"[2-8]\\d{6,7}",,,,,,,[7,8]],[,,"4[04]\\d{6}",,,,"44123456",,,[8]],[,,"[3567]\\d{7}",,,,"33123456",,,[8]],[,,"800\\d{4}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"QA",974,"00",,,,,,,,[[,"([28]\\d{2})(\\d{4})","$1 $2",["[28]"]],[,"([3-7]\\d{3})(\\d{4})","$1 $2",["[3-7]"]]],,[,,"2(?:[12]\\d|61)\\d{4}",,,,"2123456",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RE:[,[,,"[268]\\d{8}",,,,,,,[9]],[,,"262\\d{6}",,,,"262161234"],[,,"69(?:2\\d{2}|3(?:0[0-46]|1[013]|2[0-2]|3[039]|4[0-7]|5[05]|6[06]|7[07]|8[0-38]|9[0-479]))\\d{4}",,,,"692123456"],[,,"80\\d{7}",,,,"801234567"],[,,"89[1-37-9]\\d{6}",,,,"891123456"],[,,"8(?:1[019]|2[0156]|84|90)\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RE",262,"00","0",,,"0",,,,[[,"([268]\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",,"0$1"]],,[,,,,,,,,,[-1]],1,"262|69|8",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RO:[,[,,"[23]\\d{5,8}|[7-9]\\d{8}",,,,,,,[6,9]],[,,"2(?:1(?:\\d{7}|9\\d{3})|[3-6](?:\\d{7}|\\d9\\d{2}))|3(?:1\\d{4}(?:\\d{3})?|[3-6]\\d{7})",,,,"211234567"],[,,"7(?:[0-8]\\d{2}|99\\d)\\d{5}",,,,"712345678",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"90[036]\\d{6}",,,,"900123456",,,[9]],[,,"801\\d{6}",,,,"801123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RO",40,"00","0"," int ",,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],[,"(\\d{2})(\\d{4})","$1 $2",["[23]1"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[23][3-7]|[7-9]"],"0$1"],[,"(2\\d{2})(\\d{3})","$1 $2",["2[3-6]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"37\\d{7}",,,,"372123456",,,[9]],,,[,,,,,,,,,[-1]]],RS:[,[,,"[126-9]\\d{4,11}|3(?:[0-79]\\d{3,10}|8[2-9]\\d{2,9})",,,,,,,[6,7,8,9,10,11,12],[5]],[,,"(?:1(?:[02-9][2-9]|1[1-9])\\d|2(?:[0-24-7][2-9]\\d|[389](?:0[2-9]|[2-9]\\d))|3(?:[0-8][2-9]\\d|9(?:[2-9]\\d|0[2-9])))\\d{3,8}",,,,"10234567",,,[7,8,9,10,11,12],[5,6]],[,,"6(?:[0-689]|7\\d)\\d{6,7}",,,,"601234567",,,[8,9,10]],[,,"800\\d{3,9}",,,,"80012345"],[,,"(?:90[0169]|78\\d)\\d{3,7}",,,,"90012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RS",381,"00","0",,,"0",,,,[[,"([23]\\d{2})(\\d{4,9})","$1 $2",["(?:2[389]|39)0"],"0$1"],[,"([1-3]\\d)(\\d{5,10})","$1 $2",["1|2(?:[0-24-7]|[389][1-9])|3(?:[0-8]|9[1-9])"],"0$1"],[,"(6\\d)(\\d{6,8})","$1 $2",["6"],"0$1"],[,"([89]\\d{2})(\\d{3,9})","$1 $2",["[89]"],"0$1"],[,"(7[26])(\\d{4,9})","$1 $2",["7[26]"],"0$1"],[,"(7[08]\\d)(\\d{4,9})","$1 $2",["7[08]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7[06]\\d{4,10}",,,,"700123456"],,,[,,,,,,,,,[-1]]],RU:[,[,,"[3489]\\d{9}",,,,,,,[10]],[,,"(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\d{7}",,,,"3011234567"],[,,"9\\d{9}",,,,"9123456789"],[,,"80[04]\\d{7}",,,,"8001234567"],[,,"80[39]\\d{7}",,,,"8091234567"],[,,,,,,,,,[-1]],[,,"808\\d{7}",,,,"8081234567"],[,,,,,,,,,[-1]],"RU",7,"810","8",,,"8",,"8~10",,[[,"(\\d{3})(\\d{2})(\\d{2})","$1-$2-$3",["[1-79]"],"$1",,1],[,"([3489]\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[34689]"],"8 ($1)",,1],[,"(7\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1]],[[,"([3489]\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[34689]"],"8 ($1)",,1],[,"(7\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",,1]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RW:[,[,,"[027-9]\\d{7,8}",,,,,,,[8,9]],[,,"2[258]\\d{7}|06\\d{6}",,,,"250123456"],[,,"7[238]\\d{7}",,,,"720123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"900\\d{6}",,,,"900123456",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"RW",250,"00","0",,,"0",,,,[[,"(2\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"$1"],[,"([7-9]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"],[,"(0\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SA:[,[,,"1\\d{7,8}|(?:[2-467]|92)\\d{7}|5\\d{8}|8\\d{9}",,,,,,,[8,9,10],[7]],[,,"11\\d{7}|1?(?:2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\d{6}",,,,"112345678",,,[8,9],[7]],[,,"(?:5(?:[013-689]\\d|7[0-36-8])|811\\d)\\d{6}",,,,"512345678",,,[9,10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,,,,,,,,[-1]],[,,"92[05]\\d{6}",,,,"920012345",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SA",966,"00","0",,,"0",,,,[[,"([1-467])(\\d{3})(\\d{4})","$1 $2 $3",["[1-467]"],"0$1"],[,"(1\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1[1-467]"],"0$1"],[,"(5\\d)(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],[,"(92\\d{2})(\\d{5})","$1 $2",["92"],"$1"],[,"(800)(\\d{3})(\\d{4})","$1 $2 $3",["80"],"$1"],[,"(811)(\\d{3})(\\d{3,4})","$1 $2 $3",["81"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SB:[,[,,"[1-9]\\d{4,6}",,,,,,,[5,7]],[,,"(?:1[4-79]|[23]\\d|4[0-2]|5[03]|6[0-37])\\d{3}",,,,"40123",,,[5]],[,,"48\\d{3}|7(?:30|[46-8]\\d|5[025-9]|9[0-5])\\d{4}|8[4-9]\\d{5}|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8])\\d{4}",,,,"7421234"],[,,"1[38]\\d{3}",,,,"18123",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[12]\\d{3}",,,,"51123",,,[5]],"SB",677,"0[01]",,,,,,,,[[,"(\\d{2})(\\d{5})","$1 $2",["[7-9]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SC:[,[,,"[24689]\\d{5,6}",,,,,,,[7]],[,,"4[2-46]\\d{5}",,,,"4217123"],[,,"2[5-8]\\d{5}",,,,"2510123"],[,,"8000\\d{3}",,,,"8000000"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:64\\d|971)\\d{4}",,,,"6412345"],"SC",248,"0(?:[02]|10?)",,,,,,"00",,[[,"(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SD:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"1(?:[125]\\d|8[3567])\\d{6}",,,,"121231234"],[,,"9[0-3569]\\d{7}",,,,"911231234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SD",249,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",,"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SE:[,[,,"[1-35-9]\\d{5,11}|4\\d{6,8}",,,,,,,[6,7,8,9,10,12]],[,,"1(?:0[1-8]\\d{6}|[136]\\d{5,7}|(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\d)\\d{5,6})|2(?:[136]\\d{5,7}|(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])\\d{5,6})|3(?:[356]\\d{5,7}|(?:0[0-4]|1\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])\\d{5,6})|4(?:[0246]\\d{5,7}|(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])\\d{5,6})|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\d|6[03-5]|7[013]|8[0-79]|9[01])\\d{5,6}|6(?:[03]\\d{5,7}|(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])\\d{5,6})|8\\d{6,8}|9(?:0[1-9]\\d{4,6}|(?:1[0-68]|2\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8])\\d{5,6})",,,,"8123456",,,[7,8,9]],[,,"7[02369]\\d{7}",,,,"701234567",,,[9]],[,,"20\\d{4,7}",,,,"20123456",,,[6,7,8,9]],[,,"649\\d{6}|9(?:00|39|44)[1-8]\\d{3,6}",,,,"9001234567",,,[7,8,9,10]],[,,"77(?:0\\d{3}(?:\\d{3})?|[1-7]\\d{6})",,,,"771234567",,,[6,9]],[,,"75[1-8]\\d{6}",,,,"751234567",,,[9]],[,,,,,,,,,[-1]],"SE",46,"00","0",,,"0",,,,[[,"(8)(\\d{2,3})(\\d{2,3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1"],[,"([1-69]\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[013689]|2[0136]|3[1356]|4[0246]|54|6[03]|90"],"0$1"],[,"([1-469]\\d)(\\d{3})(\\d{2})","$1-$2 $3",["1[136]|2[136]|3[356]|4[0246]|6[03]|90"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[0-5]|4[0-3])"],"0$1"],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[0-5]|4[0-3])"],"0$1"],[,"(7\\d)(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["7"],"0$1"],[,"(77)(\\d{2})(\\d{2})","$1-$2$3",["7"],"0$1"],[,"(20)(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1"],[,"(9[034]\\d)(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9[034]"],"0$1"],[,"(9[034]\\d)(\\d{4})","$1-$2",["9[034]"],"0$1"],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["25[245]|67[3-6]"],"0$1"]],[[,"(8)(\\d{2,3})(\\d{2,3})(\\d{2})","$1 $2 $3 $4",["8"]],[,"([1-69]\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[013689]|2[0136]|3[1356]|4[0246]|54|6[03]|90"]],[,"([1-469]\\d)(\\d{3})(\\d{2})","$1 $2 $3",["1[136]|2[136]|3[356]|4[0246]|6[03]|90"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[0-5]|4[0-3])"]],[,"(\\d{3})(\\d{2,3})(\\d{2})","$1 $2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[0-5]|4[0-3])"]],[,"(7\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7"]],[,"(77)(\\d{2})(\\d{2})","$1 $2 $3",["7"]],[,"(20)(\\d{2,3})(\\d{2})","$1 $2 $3",["20"]],[,"(9[034]\\d)(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["9[034]"]],[,"(9[034]\\d)(\\d{4})","$1 $2",["9[034]"]],[,"(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["25[245]|67[3-6]"]]],[,,"74[02-9]\\d{6}",,,,"740123456",,,[9]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"(?:25[245]|67[3-6])\\d{9}",,,,"254123456789",,,[12]]],SG:[,[,,"[36]\\d{7}|[17-9]\\d{7,10}",,,,,,,[8,10,11]],[,,"6[1-9]\\d{6}",,,,"61234567",,,[8]],[,,"(?:8[1-8]|9[0-8])\\d{6}",,,,"81234567",,,[8]],[,,"1?800\\d{7}",,,,"18001234567",,,[10,11]],[,,"1900\\d{7}",,,,"19001234567",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"3[12]\\d{6}",,,,"31234567",,,[8]],"SG",65,"0[0-3]\\d",,,,,,,,[[,"([3689]\\d{3})(\\d{4})","$1 $2",["[369]|8[1-9]"]],[,"(1[89]00)(\\d{3})(\\d{4})","$1 $2 $3",["1[89]"]],[,"(7000)(\\d{4})(\\d{3})","$1 $2 $3",["70"]],[,"(800)(\\d{3})(\\d{4})","$1 $2 $3",["80"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"7000\\d{7}",,,,"70001234567",,,[11]],,,[,,,,,,,,,[-1]]],SH:[,[,,"[256]\\d{4}",,,,,,,[4,5]],[,,"2(?:[0-57-9]\\d|6[4-9])\\d{2}",,,,"22158"],[,,"[56]\\d{4}",,,,"51234",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"262\\d{2}",,,,"26212",,,[5]],"SH",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SI:[,[,,"[1-7]\\d{6,7}|[89]\\d{4,7}",,,,,,,[5,6,7,8]],[,,"(?:1\\d|[25][2-8]|3[24-8]|4[24-8]|7[3-8])\\d{6}",,,,"11234567",,,[8],[7]],[,,"(?:[37][01]\\d|4[0139]\\d|51\\d|6(?:[48]\\d|9[69]))\\d{5}",,,,"31234567",,,[8]],[,,"80\\d{4,6}",,,,"80123456",,,[6,7,8]],[,,"90\\d{4,6}|89[1-3]\\d{2,5}",,,,"90123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"(?:59|8[1-3])\\d{6}",,,,"59012345",,,[8]],"SI",386,"00","0",,,"0",,,,[[,"(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[12]|3[24-8]|4[24-8]|5[2-8]|7[3-8]"],"(0$1)"],[,"([3-7]\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],[,"([89][09])(\\d{3,6})","$1 $2",["[89][09]"],"0$1"],[,"([58]\\d{2})(\\d{5})","$1 $2",["59|8[1-3]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SJ:[,[,,"0\\d{4}|[45789]\\d{7}",,,,,,,[5,8]],[,,"79\\d{6}",,,,"79123456",,,[8]],[,,"(?:4[015-8]|5[89]|9\\d)\\d{6}",,,,"41234567",,,[8]],[,,"80[01]\\d{5}",,,,"80012345",,,[8]],[,,"82[09]\\d{5}",,,,"82012345",,,[8]],[,,"810(?:0[0-6]|[2-8]\\d)\\d{3}",,,,"81021234",,,[8]],[,,"880\\d{5}",,,,"88012345",,,[8]],[,,"85[0-5]\\d{5}",,,,"85012345",,,[8]],"SJ",47,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"0\\d{4}|81(?:0(?:0[7-9]|1\\d)|5\\d{2})\\d{3}",,,,"01234"],,,[,,"81[23]\\d{5}",,,,"81212345",,,[8]]],SK:[,[,,"(?:[2-68]\\d{5,8}|9\\d{6,8})",,,,,,,[6,7,9]],[,,"2(?:1(?:6\\d{3,4}|7\\d{3})|[2-9]\\d{7})|[3-5][1-8](?:1(?:6\\d{2,3}|7\\d{3})|\\d{7})",,,,"221234567"],[,,"9(?:0(?:[1-8]\\d|9[1-9])|(?:1[0-24-9]|[45]\\d)\\d)\\d{5}",,,,"912123456",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"9(?:[78]\\d{7}|00\\d{6})",,,,"900123456",,,[9]],[,,"8[5-9]\\d{7}",,,,"850123456",,,[9]],[,,,,,,,,,[-1]],[,,"6(?:02|5[0-4]|9[0-6])\\d{6}",,,,"690123456",,,[9]],"SK",421,"00","0",,,"0",,,,[[,"(2)(1[67])(\\d{3,4})","$1 $2 $3",["21[67]"],"0$1"],[,"([3-5]\\d)(1[67])(\\d{2,3})","$1 $2 $3",["[3-5]"],"0$1"],[,"(2)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],[,"([3-5]\\d)(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"],[,"([689]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],[,"(9090)(\\d{3})","$1 $2",["9090"],"0$1"]],,[,,"9090\\d{3}",,,,"9090123",,,[7]],,,[,,"(?:602|8(?:00|[5-9]\\d)|9(?:00|[78]\\d))\\d{6}|9090\\d{3}",,,,"800123456",,,[7,9]],[,,"96\\d{7}",,,,"961234567",,,[9]],,,[,,,,,,,,,[-1]]],SL:[,[,,"[2-9]\\d{7}",,,,,,,[8],[6]],[,,"[235]2[2-4][2-9]\\d{4}",,,,"22221234",,,,[6]],[,,"(?:2[15]|3[03-5]|4[04]|5[05]|66|7[6-9]|8[08]|99)\\d{6}",,,,"25123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SL",232,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{6})","$1 $2",,"(0$1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SM:[,[,,"[05-7]\\d{7,9}",,,,,,,[8,10],[6]],[,,"0549(?:8[0157-9]|9\\d)\\d{4}",,,,"0549886377",,,[10],[6]],[,,"6[16]\\d{6}",,,,"66661212",,,[8]],[,,,,,,,,,[-1]],[,,"7[178]\\d{6}",,,,"71123456",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"5[158]\\d{6}",,,,"58001110",,,[8]],"SM",378,"00",,,,"(?:0549)?([89]\\d{5})","0549$1",,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(0549)(\\d{6})","$1 $2",["0"]],[,"(\\d{6})","0549 $1",["[89]"]]],[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],[,"(0549)(\\d{6})","($1) $2",["0"]],[,"(\\d{6})","(0549) $1",["[89]"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SN:[,[,,"[3789]\\d{8}",,,,,,,[9]],[,,"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\d{5}",,,,"301012345"],[,,"7(?:[06-8]\\d|21|90)\\d{6}",,,,"701234567"],[,,"800\\d{6}",,,,"800123456"],[,,"88[4689]\\d{6}",,,,"884123456"],[,,"81[02468]\\d{6}",,,,"810123456"],[,,,,,,,,,[-1]],[,,"39[01]\\d{6}|3392\\d{5}|93330\\d{4}",,,,"933301234"],"SN",221,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]],[,"(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SO:[,[,,"[1-9]\\d{5,8}",,,,,,,[6,7,8,9]],[,,"(?:1\\d{1,2}|2[0-79]\\d|3[0-46-8]?\\d|4[0-7]?\\d|59\\d|8[125])\\d{4}",,,,"4012345",,,[6,7]],[,,"(?:15\\d|2(?:4\\d|8)|3[59]\\d{2}|4[89]\\d{2}|6[1-9]?\\d{2}|7(?:[1-8]\\d|9\\d{1,2})|8[08]\\d{2}|9(?:0[67]|[2-9])\\d)\\d{5}",,,,"71123456",,,[7,8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SO",252,"00","0",,,"0",,,,[[,"(\\d{6})","$1",["[134]"]],[,"(\\d)(\\d{6})","$1 $2",["2[0-79]|[13-5]"]],[,"(\\d)(\\d{7})","$1 $2",["24|[67]"]],[,"(\\d{2})(\\d{4})","$1 $2",["8[125]"]],[,"(\\d{2})(\\d{5,7})","$1 $2",["15|28|6[1-35-9]|799|9[2-9]"]],[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3[59]|4[89]|6[24-6]|79|8[08]|90"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SR:[,[,,"[2-8]\\d{5,6}",,,,,,,[6,7]],[,,"(?:2[1-3]|3[0-7]|4\\d|5[2-58]|68\\d)\\d{4}",,,,"211234"],[,,"(?:7[124-7]|8[1-9])\\d{5}",,,,"7412345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"56\\d{4}",,,,"561234",,,[6]],"SR",597,"00",,,,,,,,[[,"(\\d{3})(\\d{3})","$1-$2",["[2-4]|5[2-58]"]],[,"(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],[,"(\\d{3})(\\d{4})","$1-$2",["[6-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SS:[,[,,"[19]\\d{8}",,,,,,,[9]],[,,"18\\d{7}",,,,"181234567"],[,,"(?:12|9[1257])\\d{7}",,,,"977123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SS",211,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",,"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ST:[,[,,"[29]\\d{6}",,,,,,,[7]],[,,"22\\d{5}",,,,"2221234"],[,,"9(?:0(?:0[5-9]|[1-9]\\d)|[89]\\d{2})\\d{3}",,,,"9812345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ST",239,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SV:[,[,,"[267]\\d{7}|[89]\\d{6}(?:\\d{4})?",,,,,,,[7,8,11]],[,,"2[1-6]\\d{6}",,,,"21234567",,,[8]],[,,"[67]\\d{7}",,,,"70123456",,,[8]],[,,"800\\d{4}(?:\\d{4})?",,,,"8001234",,,[7,11]],[,,"900\\d{4}(?:\\d{4})?",,,,"9001234",,,[7,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SV",503,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[267]"]],[,"(\\d{3})(\\d{4})","$1 $2",["[89]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SX:[,[,,"[5789]\\d{9}",,,,,,,[10],[7]],[,,"7215(?:4[2-8]|8[239]|9[056])\\d{4}",,,,"7215425678",,,,[7]],[,,"7215(?:1[02]|2\\d|5[034679]|8[014-8])\\d{4}",,,,"7215205678",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002123456"],[,,"900[2-9]\\d{6}",,,,"9002123456"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"SX",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"721",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SY:[,[,,"[1-59]\\d{7,8}",,,,,,,[8,9],[6,7]],[,,"(?:1(?:1\\d?|4\\d|[2356])|2(?:1\\d?|[235])|3(?:[13]\\d|4)|4[13]|5[1-3])\\d{6}",,,,"112345678",,,,[6,7]],[,,"9(?:22|[3-589]\\d|6[024-9])\\d{6}",,,,"944567890",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SY",963,"00","0",,,"0",,,,[[,"(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-5]"],"0$1",,1],[,"(9\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SZ:[,[,,"[027]\\d{7}",,,,,,,[8]],[,,"2[2-9]\\d{6}",,,,"22171234"],[,,"7[6-9]\\d{6}",,,,"76123456"],[,,"0800\\d{4}",,,,"08001234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"SZ",268,"00",,,,,,,,[[,"(\\d{4})(\\d{4})","$1 $2",["[027]"]]],,[,,,,,,,,,[-1]],,,[,,"0800\\d{4}",,,,"08001234"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TA:[,[,,"8\\d{3}",,,,,,,[4]],[,,"8\\d{3}",,,,"8999"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TA",290,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TC:[,[,,"[5689]\\d{9}",,,,,,,[10],[7]],[,,"649(?:712|9(?:4\\d|50))\\d{4}",,,,"6497121234",,,,[7]],[,,"649(?:2(?:3[129]|4[1-7])|3(?:3[1-389]|4[1-8])|4[34][1-3])\\d{4}",,,,"6492311234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,"64971[01]\\d{4}",,,,"6497101234",,,,[7]],"TC",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"649",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TD:[,[,,"[2679]\\d{7}",,,,,,,[8]],[,,"22(?:[3789]0|5[0-5]|6[89])\\d{4}",,,,"22501234"],[,,"(?:6[023568]\\d|77\\d|9\\d{2})\\d{5}",,,,"63012345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TD",235,"00|16",,,,,,"00",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TG:[,[,,"[29]\\d{7}",,,,,,,[8]],[,,"2(?:2[2-7]|3[23]|44|55|66|77)\\d{5}",,,,"22212345"],[,,"9[0-36-9]\\d{6}",,,,"90112345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TG",228,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[29]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TH:[,[,,"1\\d{8,9}|[2-9]\\d{7,8}",,,,,,,[8,9,10]],[,,"(?:2\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\d{6}",,,,"21234567",,,[8]],[,,"(?:14|6[1-6]|[89]\\d)\\d{7}",,,,"812345678",,,[9]],[,,"1800\\d{6}",,,,"1800123456",,,[10]],[,,"1900\\d{6}",,,,"1900123456",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"6[08]\\d{7}",,,,"601234567",,,[9]],"TH",66,"00","0",,,"0",,,,[[,"(2)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],[,"([13-9]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["14|[3-9]"],"0$1"],[,"(1[89]00)(\\d{3})(\\d{3})","$1 $2 $3",["1"],"$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TJ:[,[,,"[3-57-9]\\d{8}",,,,,,,[9],[3,5,7]],[,,"(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\d{6}",,,,"372123456",,,,[3,5,7]],[,,"(?:41[18]|(?:5[05]|77|88|9[0-35-9])\\d)\\d{6}",,,,"917123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TJ",992,"810","8",,,"8",,"8~10",,[[,"([349]\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[34]7|91[78]"],"$1",,1],[,"([457-9]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[148]|[578]|9(?:1[59]|[0235-9])"],"$1",,1],[,"(331700)(\\d)(\\d{2})","$1 $2 $3",["331","3317","33170","331700"],"$1",,1],[,"(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3[1-5]","3(?:[1245]|3(?:[02-9]|1[0-589]))"],"$1",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TK:[,[,,"[2-47]\\d{3,6}",,,,,,,[4,5,6,7]],[,,"(?:2[2-4]|[34]\\d)\\d{2,5}",,,,"3101"],[,,"7[2-4]\\d{2,5}",,,,"7290"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TK",690,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TL:[,[,,"[2-489]\\d{6}|7\\d{6,7}",,,,,,,[7,8]],[,,"(?:2[1-5]|3[1-9]|4[1-4])\\d{5}",,,,"2112345",,,[7]],[,,"7[3-8]\\d{6}",,,,"77212345",,,[8]],[,,"80\\d{5}",,,,"8012345",,,[7]],[,,"90\\d{5}",,,,"9012345",,,[7]],[,,,,,,,,,[-1]],[,,"70\\d{5}",,,,"7012345",,,[7]],[,,,,,,,,,[-1]],"TL",670,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],[,"(\\d{4})(\\d{4})","$1 $2",["7[3-8]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TM:[,[,,"[1-6]\\d{7}",,,,,,,[8]],[,,"(?:1(?:2\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\d{5}",,,,"12345678"],[,,"6[1-9]\\d{6}",,,,"66123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TM",993,"810","8",,,"8",,"8~10",,[[,"(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],[,"(\\d{2})(\\d{6})","$1 $2",["6"],"8 $1"],[,"(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["13|[2-5]"],"(8 $1)"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TN:[,[,,"[2-57-9]\\d{7}",,,,,,,[8]],[,,"3(?:[012]\\d|6[0-4]|91)\\d{5}|7\\d{7}|81200\\d{3}",,,,"71234567"],[,,"(?:[259]\\d|4[0-6])\\d{6}",,,,"20123456"],[,,"8010\\d{4}",,,,"80101234"],[,,"88\\d{6}",,,,"88123456"],[,,"8[12]10\\d{4}",,,,"81101234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TN",216,"00",,,,,,,,[[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TO:[,[,,"[02-8]\\d{4,6}",,,,,,,[5,7]],[,,"(?:2\\d|3[1-8]|4[1-4]|[56]0|7[0149]|8[05])\\d{3}",,,,"20123",,,[5]],[,,"(?:7[578]|8[47-9])\\d{5}",,,,"7715123",,,[7]],[,,"0800\\d{3}",,,,"0800222",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TO",676,"00",,,,,,,,[[,"(\\d{2})(\\d{3})","$1-$2",["[1-6]|7[0-4]|8[05]"]],[,"(\\d{3})(\\d{4})","$1 $2",["7[5-9]|8[47-9]"]],[,"(\\d{4})(\\d{3})","$1 $2",["0"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TR:[,[,,"[2-589]\\d{9}|444\\d{4}",,,,,,,[7,10]],[,,"(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\d{7}",,,,"2123456789",,,[10]],[,,"5(?:(?:0[1-7]|22|[34]\\d|5[1-59]|9[246])\\d{2}|6161)\\d{5}",,,,"5012345678",,,[10]],[,,"800\\d{7}",,,,"8001234567",,,[10]],[,,"900\\d{7}",,,,"9001234567",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TR",90,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[23]|4(?:[0-35-9]|4[0-35-9])"],"(0$1)",,1],[,"(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[02-69]"],"0$1",,1],[,"(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["51|[89]"],"0$1",,1],[,"(444)(\\d{1})(\\d{3})","$1 $2 $3",["444"]]],,[,,"512\\d{7}",,,,"5123456789",,,[10]],,,[,,"444\\d{4}",,,,"4441444",,,[7]],[,,"444\\d{4}|850\\d{7}",,,,"4441444"],,,[,,,,,,,,,[-1]]],TT:[,[,,"[589]\\d{9}",,,,,,,[10],[7]],[,,"868(?:2(?:01|[23]\\d)|6(?:0[79]|1[02-8]|2[1-9]|[3-69]\\d|7[0-79])|82[124])\\d{4}",,,,"8682211234",,,,[7]],[,,"868(?:2(?:6[6-9]|[789]\\d)|3(?:0[1-9]|1[02-9]|[2-9]\\d)|4[6-9]\\d|6(?:20|78|8\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\d))\\d{4}",,,,"8682911234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"TT",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"868",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"868619\\d{4}",,,,"8686191234",,,,[7]]],TV:[,[,,"[279]\\d{4,6}",,,,,,,[5,6,7]],[,,"2[02-9]\\d{3}",,,,"20123",,,[5]],[,,"(?:70\\d|90)\\d{4}",,,,"901234",,,[6,7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"TV",688,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TW:[,[,,"2\\d{6,8}|[3-689]\\d{7,8}|7\\d{7,9}",,,,,,,[7,8,9,10]],[,,"2(?:[235-8]\\d{7}|4\\d{6,7})|[3-8]\\d{7,8}",,,,"221234567",,,[8,9]],[,,"9\\d{8}",,,,"912345678",,,[9]],[,,"800\\d{6}",,,,"800123456",,,[9]],[,,"20(?:2|[013-9]\\d{2})\\d{4}",,,,"203123456",,,[7,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"70\\d{8}",,,,"7012345678",,,[10]],"TW",886,"0(?:0[25679]|19)","0","#",,"0",,,,[[,"(20)(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],[,"(20)(\\d{3})(\\d{4})","$1 $2 $3",["20[013-9]"],"0$1"],[,"([2-8])(\\d{3,4})(\\d{4})","$1 $2 $3",["2[23-8]|[3-6]|[78][1-9]"],"0$1"],[,"([89]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["80|9"],"0$1"],[,"(70)(\\d{4})(\\d{4})","$1 $2 $3",["70"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TZ:[,[,,"\\d{9}",,,,,,,[7,9]],[,,"2[2-8]\\d{7}",,,,"222345678"],[,,"(?:6[2-9]|7[13-9])\\d{7}",,,,"621234567",,,[9]],[,,"80[08]\\d{6}",,,,"800123456",,,[9]],[,,"90\\d{7}",,,,"900123456",,,[9]],[,,"8(?:40|6[01])\\d{6}",,,,"840123456",,,[9]],[,,,,,,,,,[-1]],[,,"41\\d{7}",,,,"412345678",,,[9]],"TZ",255,"00[056]","0",,,"0",,,,[[,"([24]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],[,"([67]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"],[,"([89]\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,"(?:8(?:[04]0|6[01])|90\\d)\\d{6}",,,,"800123456",,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UA:[,[,,"[3-9]\\d{8}",,,,,,,[9],[5,6,7]],[,,"(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\d{7}",,,,"311234567",,,,[5,6,7]],[,,"(?:39|50|6[36-8]|7[1-3]|9[1-9])\\d{7}",,,,"391234567"],[,,"800\\d{6}",,,,"800123456"],[,,"900[2-49]\\d{5}",,,,"900212345"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"89\\d{7}",,,,"891234567"],"UA",380,"00","0",,,"0",,"0~0",,[[,"([3-9]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[38]9|4(?:[45][0-5]|87)|5(?:0|6[37]|7[37])|6[36-8]|7|9[1-9]","[38]9|4(?:[45][0-5]|87)|5(?:0|6(?:3[14-7]|7)|7[37])|6[36-8]|7|9[1-9]"],"0$1"],[,"([3-689]\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["3[1-8]2|4[13678]2|5(?:[12457]2|6[24])|6(?:[49]2|[12][29]|5[24])|8[0-8]|90","3(?:[1-46-8]2[013-9]|52)|4(?:[1378]2|62[013-9])|5(?:[12457]2|6[24])|6(?:[49]2|[12][29]|5[24])|8[0-8]|90"],"0$1"],[,"([3-6]\\d{3})(\\d{5})","$1 $2",["3(?:5[013-9]|[1-46-8])|4(?:[137][013-9]|6|[45][6-9]|8[4-6])|5(?:[1245][013-9]|6[0135-9]|3|7[4-6])|6(?:[49][013-9]|5[0135-9]|[12][13-8])","3(?:5[013-9]|[1-46-8](?:22|[013-9]))|4(?:[137][013-9]|6(?:[013-9]|22)|[45][6-9]|8[4-6])|5(?:[1245][013-9]|6(?:3[02389]|[015689])|3|7[4-6])|6(?:[49][013-9]|5[0135-9]|[12][13-8])"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UG:[,[,,"\\d{9}",,,,,,,[9],[5,6,7]],[,,"20(?:[0147]\\d{2}|2(?:40|[5-9]\\d)|3(?:0[0-4]|[23]\\d)|5[0-4]\\d|6[035-9]\\d|8[0-2]\\d)\\d{4}|[34]\\d{8}",,,,"312345678",,,,[5,6,7]],[,,"7(?:(?:0[0-7]|[15789]\\d|30|4[0-4])\\d|2(?:[03]\\d|60))\\d{5}",,,,"712345678"],[,,"800[123]\\d{5}",,,,"800123456"],[,,"90[123]\\d{6}",,,,"901123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UG",256,"00[057]","0",,,"0",,,,[[,"(\\d{3})(\\d{6})","$1 $2",["[7-9]|20(?:[013-8]|2[5-9])|4(?:6[45]|[7-9])"],"0$1"],[,"(\\d{2})(\\d{7})","$1 $2",["3|4(?:[1-5]|6[0-36-9])"],"0$1"],[,"(2024)(\\d{5})","$1 $2",["2024"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],US:[,[,,"[2-9]\\d{9}",,,,,,,[10],[7]],[,,"(?:2(?:0[1-35-9]|1[02-9]|2[04589]|3[149]|4[08]|5[1-46]|6[0279]|7[026]|8[13])|3(?:0[1-57-9]|1[02-9]|2[0135]|3[0-24679]|4[67]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|6[39]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[013-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[16]|5[017]|6[0-279]|78|8[012])|7(?:0[1-46-8]|1[02-9]|2[0457]|3[1247]|4[037]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|28|3[0-25]|4[3578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[014678]|4[0179]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"(?:2(?:0[1-35-9]|1[02-9]|2[04589]|3[149]|4[08]|5[1-46]|6[0279]|7[026]|8[13])|3(?:0[1-57-9]|1[02-9]|2[0135]|3[0-24679]|4[67]|5[12]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[0235]|58|6[39]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[013-5]|8[056])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[16]|5[017]|6[0-279]|78|8[012])|7(?:0[1-46-8]|1[02-9]|2[0457]|3[1247]|4[037]|5[47]|6[02359]|7[02-59]|8[156])|8(?:0[1-68]|1[02-8]|28|3[0-25]|4[3578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[014678]|4[0179]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}",,,,"2015550123",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"US",1,"011","1",,,"1",,,1,[[,"(\\d{3})(\\d{4})","$1-$2",,,,1],[,"(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",,,,1]],[[,"(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3"]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UY:[,[,,"[2489]\\d{6,7}",,,,,,,[7,8]],[,,"2\\d{7}|4[2-7]\\d{6}",,,,"21231234",,,[8],[7]],[,,"9[1-9]\\d{6}",,,,"94231234",,,[8]],[,,"80[05]\\d{4}",,,,"8001234",,,[7]],[,,"90[0-8]\\d{4}",,,,"9001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UY",598,"0(?:1[3-9]\\d|0)","0"," int. ",,"0",,"00",,[[,"(\\d{4})(\\d{4})","$1 $2",["[24]"]],[,"(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9[1-9]"],"0$1"],[,"(\\d{3})(\\d{4})","$1 $2",["[89]0"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UZ:[,[,,"[679]\\d{8}",,,,,,,[9],[7]],[,,"(?:6(?:1(?:22|3[124]|4[1-4]|5[123578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\d{2}|7(?:[23]\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[12456]|9[135-8])|1[12]\\d|2(?:22|3[1345789]|4[123579]|5[14])|3(?:2\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|6(?:22|3[12457]|4[13-8])|9(?:22|5[1-9])))\\d{5}",,,,"662345678",,,,[7]],[,,"6(?:1(?:2(?:98|2[01])|35[0-4]|50\\d|61[23]|7(?:[01][017]|4\\d|55|9[5-9]))|2(?:11\\d|2(?:[12]1|9[01379])|5(?:[126]\\d|3[0-4])|7\\d{2})|5(?:19[01]|2(?:27|9[26])|30\\d|59\\d|7\\d{2})|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|3[79]\\d|4(?:56|83)|7(?:[07]\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79])|9[0-3]\\d)|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\d|[39][07])|9(?:0\\d|7[079]))|9(?:2(?:1[1267]|5\\d|3[01]|7[0-4])|5[67]\\d|6(?:2[0-26]|8\\d)|7\\d{2}))\\d{4}|7(?:0\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\d|7(?:0\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|33\\d|5(?:0[0-4]|5[579]|9\\d)|7(?:[0-3579]\\d|4[0467]|6[67]|8[078])|9[4-6]\\d)|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\d|9[5-9])|7(?:0\\d|1[024589]|2[0127]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\d))|5(?:112|2(?:0\\d|2[29]|[49]4)|3[1568]\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39\\d|41[179]|5(?:[349]\\d|5[0-2])|7(?:0[017]|[13]\\d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7\\d)|57[05629]|7(?:2[05-9]|3[37]|4\\d|60|7[2579]|87|9[07])))\\d{4}|9[0-57-9]\\d{7}",,,,"912345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"UZ",998,"810","8",,,"8",,"8~10",,[[,"([679]\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",,"8 $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VA:[,[,,"(?:0(?:878\\d{5}|6698\\d{5})|[1589]\\d{5,10}|3(?:[12457-9]\\d{8}|[36]\\d{7,9}))",,,,,,,[6,8,9,10,11]],[,,"06698\\d{5}",,,,"0669812345",,,[10]],[,,"3(?:[12457-9]\\d{8}|6\\d{7,8}|3\\d{7,9})",,,,"3123456789",,,[9,10,11]],[,,"80(?:0\\d{6}|3\\d{3})",,,,"800123456",,,[6,9]],[,,"0878\\d{5}|1(?:44|6[346])\\d{6}|89(?:2\\d{3}|4(?:[0-4]\\d{2}|[5-9]\\d{4})|5(?:[0-4]\\d{2}|[5-9]\\d{6})|9\\d{6})",,,,"899123456",,,[6,8,9,10]],[,,"84(?:[08]\\d{6}|[17]\\d{3})",,,,"848123456",,,[6,9]],[,,"1(?:78\\d|99)\\d{6}",,,,"1781234567",,,[9,10]],[,,"55\\d{8}",,,,"5512345678",,,[10]],"VA",39,"00",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,"848\\d{6}",,,,"848123456",,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VC:[,[,,"[5789]\\d{9}",,,,,,,[10],[7]],[,,"784(?:266|3(?:6[6-9]|7\\d|8[0-24-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\d{4}",,,,"7842661234",,,,[7]],[,,"784(?:4(?:3[0-5]|5[45]|89|9[0-58])|5(?:2[6-9]|3[0-4]))\\d{4}",,,,"7844301234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VC",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"784",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VE:[,[,,"[24589]\\d{9}",,,,,,,[10],[7]],[,,"(?:2(?:12|3[457-9]|[58][1-9]|[467]\\d|9[1-6])|50[01])\\d{7}",,,,"2121234567",,,,[7]],[,,"4(?:1[24-8]|2[46])\\d{7}",,,,"4121234567"],[,,"800\\d{7}",,,,"8001234567"],[,,"900\\d{7}",,,,"9001234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VE",58,"00","0",,,"0",,,,[[,"(\\d{3})(\\d{7})","$1-$2",,"0$1","$CC $1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VG:[,[,,"[2589]\\d{9}",,,,,,,[10],[7]],[,,"284(?:(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\d{4}|496[0-5]\\d{3})",,,,"2842291234",,,,[7]],[,,"284(?:(?:3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|99)|54[0-57])\\d{4}|496[6-9]\\d{3})",,,,"2843001234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VG",1,"011","1",,,"1",,,,,,[,,,,,,,,,[-1]],,"284",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VI:[,[,,"[3589]\\d{9}",,,,,,,[10],[7]],[,,"340(?:2(?:01|2[0678]|44|77)|3(?:32|44)|4(?:22|7[34])|5(?:1[34]|55)|6(?:26|4[23]|77|9[023])|7(?:1[2-589]|27|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"340(?:2(?:01|2[0678]|44|77)|3(?:32|44)|4(?:22|7[34])|5(?:1[34]|55)|6(?:26|4[23]|77|9[023])|7(?:1[2-589]|27|7\\d)|884|998)\\d{4}",,,,"3406421234",,,,[7]],[,,"8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",,,,"8002345678"],[,,"900[2-9]\\d{6}",,,,"9002345678"],[,,,,,,,,,[-1]],[,,"5(?:00|22|33|44|66|77|88)[2-9]\\d{6}",,,,"5002345678"],[,,,,,,,,,[-1]],"VI",1,"011","1",,,"1",,,1,,,[,,,,,,,,,[-1]],,"340",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VN:[,[,,"[167]\\d{6,9}|[2-59]\\d{7,9}|8\\d{6,8}",,,,,,,[7,8,9,10]],[,,"(?:2(?:0[3-9]|1[0-689]|2[0-25-9]|3[2-9]|[48][2-7]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])|4\\d|5(?:0[01]|[5-9])|6(?:[0-46-8]|5[01])|7[0235])\\d{7}|8(?:[2-5]\\d|6[236]|7[13])\\d{6}",,,,"2101234567",,,[9,10]],[,,"(?:9\\d|1(?:2\\d|6[2-9]|8[68]|99))\\d{7}|8(?:6[89]|8\\d|9[89])\\d{6}",,,,"912345678",,,[9,10]],[,,"1800\\d{4,6}",,,,"1800123456",,,[8,9,10]],[,,"1900\\d{4,6}",,,,"1900123456",,,[8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VN",84,"00","0",,,"0",,,,[[,"([17]99)(\\d{4})","$1 $2",["[17]99"],"0$1",,1],[,"([48])(\\d{4})(\\d{4})","$1 $2 $3",["4|8(?:[2-5]|6[236]|7[13])"],"0$1",,1],[,"(\\d{2})(\\d{4})(\\d{3,4})","$1 $2 $3",["2[48]|5[5-9]|6[0-46-8]|7[0235]"],"0$1",,1],[,"(80)(\\d{5})","$1 $2",["80"],"0$1",,1],[,"(69\\d)(\\d{4,5})","$1 $2",["69"],"0$1",,1],[,"(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2[0-35-79]|50|65"],"0$1",,1],[,"([89]\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8(?:8|9[89])|9"],"0$1",,1],[,"(1[2689]\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1(?:[26]|8[68]|99)"],"0$1",,1],[,"(86[89])(\\d{3})(\\d{3})","$1 $2 $3",["86[89]"],"0$1",,1],[,"(1[89]00)(\\d{4,6})","$1 $2",["1[89]0"],"$1",,1]],,[,,,,,,,,,[-1]],,,[,,"[17]99\\d{4}|69\\d{5,6}",,,,"1992000",,,[7,8]],[,,"[17]99\\d{4}|69\\d{5,6}|80\\d{5}",,,,"1992000",,,[7,8]],,,[,,,,,,,,,[-1]]],VU:[,[,,"[2-57-9]\\d{4,6}",,,,,,,[5,7]],[,,"(?:2[02-9]\\d|3(?:[5-7]\\d|8[0-8])|48[4-9]|88\\d)\\d{2}",,,,"22123",,,[5]],[,,"(?:5(?:7[2-5]|[0-689]\\d)|7[013-7]\\d)\\d{4}",,,,"5912345",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"VU",678,"00",,,,,,,,[[,"(\\d{3})(\\d{4})","$1 $2",["[579]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"3[03]\\d{3}|900\\d{4}",,,,"30123"],,,[,,,,,,,,,[-1]]],WF:[,[,,"[4-8]\\d{5}",,,,,,,[6]],[,,"(?:50|68|72)\\d{4}",,,,"501234"],[,,"(?:50|68|72|8[23])\\d{4}",,,,"501234"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WF",681,"00",,,,,,,,[[,"(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"[48]0\\d{4}",,,,"401234"]],WS:[,[,,"[2-8]\\d{4,6}",,,,,,,[5,6,7]],[,,"(?:[2-5]\\d|6[1-9]|84\\d{2})\\d{3}",,,,"22123",,,[5,7]],[,,"(?:60|7[25-7]\\d)\\d{4}",,,,"601234",,,[6,7]],[,,"800\\d{3}",,,,"800123",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"WS",685,"0",,,,,,,,[[,"(8\\d{2})(\\d{3,4})","$1 $2",["8"]],[,"(7\\d)(\\d{5})","$1 $2",["7"]],[,"(\\d{5})","$1",["[2-6]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YE:[,[,,"[1-7]\\d{6,8}",,,,,,,[7,8,9],[6]],[,,"(?:1(?:7\\d|[2-68])|2[2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-68])\\d{5}",,,,"1234567",,,[7,8],[6]],[,,"7[0137]\\d{7}",,,,"712345678",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YE",967,"00","0",,,"0",,,,[[,"([1-7])(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7[24-68]"],"0$1"],[,"(7\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["7[0137]"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YT:[,[,,"[268]\\d{8}",,,,,,,[9]],[,,"269(?:6[0-4]|50)\\d{4}",,,,"269601234"],[,,"639(?:0[0-79]|1[019]|[26]\\d|3[09]|[45]0|7[06]|9[04-79])\\d{4}",,,,"639012345"],[,,"80\\d{7}",,,,"801234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"YT",262,"00","0",,,"0",,,,,,[,,,,,,,,,[-1]],,"269|63",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZA:[,[,,"[1-79]\\d{8}|8\\d{4,8}",,,,,,,[5,6,7,8,9]],[,,"(?:1[0-8]|2[1-378]|3[1-69]|4\\d|5[1346-8])\\d{7}",,,,"101234567",,,[9]],[,,"(?:6\\d|7[0-46-9])\\d{7}|8(?:[1-4]\\d{1,5}|5\\d{5})\\d{2}",,,,"711234567"],[,,"80\\d{7}",,,,"801234567",,,[9]],[,,"86[2-9]\\d{6}|9[0-2]\\d{7}",,,,"862345678",,,[9]],[,,"860\\d{6}",,,,"860123456",,,[9]],[,,,,,,,,,[-1]],[,,"87\\d{7}",,,,"871234567",,,[9]],"ZA",27,"00","0",,,"0",,,,[[,"(860)(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],[,"(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],[,"(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-79]|8(?:[0-57]|6[1-9])"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"861\\d{6}",,,,"861123456",,,[9]],,,[,,,,,,,,,[-1]]],ZM:[,[,,"[289]\\d{8}",,,,,,,[9]],[,,"21[1-8]\\d{6}",,,,"211234567"],[,,"9(?:5[034589]|[67]\\d)\\d{6}",,,,"955123456"],[,,"800\\d{6}",,,,"800123456"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"ZM",260,"00","0",,,"0",,,,[[,"([29]\\d)(\\d{7})","$1 $2",["[29]"],"0$1"],[,"(800)(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZW:[,[,,"2(?:[0-2457-9]\\d{3,8}|6(?:[14]\\d{7}|\\d{4}))|[13-79]\\d{4,9}|8[06]\\d{5,8}",,,,,,,[5,6,7,8,9,10],[3,4]],[,,"(?:2(?:0(?:4\\d|5\\d{2})|2[278]\\d|48\\d|7(?:[1-7]\\d|[089]\\d{2})|8(?:[2-57-9]|[146]\\d{2})|98)|3(?:08|17|3[78]|7(?:[19]|[56]\\d)|8[37]|98)|5[15][78]|6(?:28\\d{2}|37|6[78]|75\\d|98|8(?:7\\d|8)))\\d{3}|(?:2(?:1[39]|2[0157]|31|[56][14]|7[35]|84)|329)\\d{7}|(?:1(?:3\\d{2}|[4-8]|9\\d)|2(?:0\\d{2}|12|292|[569]\\d)|3(?:[26]|[013459]\\d)|5(?:0|1[2-4]|26|[37]2|5\\d{2}|[689]\\d)|6(?:[39]|[01246]\\d|[78]\\d{2}))\\d{3}|(?:29\\d|39|54)\\d{6}|(?:(?:25|54)83\\d|2582\\d{2}|65[2-8])\\d{2}|(?:4\\d{6,7}|9[2-9]\\d{4,5})",,,,"1312345",,,,[3,4]],[,,"(?:7(?:1[2-8]|3[2-9]|7[1-9]|8[2-5])|8644)\\d{6}",,,,"712345678",,,[9,10]],[,,"80(?:[01]\\d|20|8[0-8])\\d{3}",,,,"8001234",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"86(?:1[12]|30|55|77|8[368])\\d{6}",,,,"8686123456",,,[10]],"ZW",263,"00","0",,,"0",,,,[[,"([49])(\\d{3})(\\d{2,4})","$1 $2 $3",["4|9[2-9]"],"0$1"],[,"(7\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["7"],"0$1"],[,"(86\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["86[24]"],"0$1"],[,"([2356]\\d{2})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8|[78])|3(?:08|17|3[78]|7[1569]|8[37]|98)|5[15][78]|6(?:[29]8|[38]7|6[78]|75|[89]8)"],"0$1"],[,"(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|31|[56][14]|7[35]|84)|329"],"0$1"],[,"([1-356]\\d)(\\d{3,5})","$1 $2",["1[3-9]|2[02569]|3[0-69]|5[05689]|6\\d"],"0$1"],[,"([235]\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[23]9|54"],"0$1"],[,"([25]\\d{3})(\\d{3,5})","$1 $2",["(?:25|54)8","258[23]|5483"],"0$1"],[,"(8\\d{3})(\\d{6})","$1 $2",["86"],"0$1"],[,"(80\\d)(\\d{4})","$1 $2",["80"],"0$1"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],800:[,[,,"\\d{8}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"\\d{8}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",800,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],808:[,[,,"\\d{8}",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"\\d{8}",,,,"12345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",808,,,,,,,,1,[[,"(\\d{4})(\\d{4})","$1 $2"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],870:[,[,,"[35-7]\\d{8}",,,,,,,[9]],[,,,,,,,,,[-1]],[,,"(?:[356]\\d|7[6-8])\\d{7}",,,,"301234567"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",870,,,,,,,,,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],878:[,[,,"1\\d{11}",,,,,,,[12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"10\\d{10}",,,,"101234567890"],"001",878,,,,,,,,1,[[,"(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],881:[,[,,"[67]\\d{8}",,,,,,,[9]],[,,,,,,,,,[-1]],[,,"[67]\\d{8}",,,,"612345678"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",881,,,,,,,,,[[,"(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[67]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],882:[,[,,"[13]\\d{6,11}",,,,,,,[7,8,9,10,11,12]],[,,,,,,,,,[-1]],[,,"3(?:2\\d{3}|37\\d{2}|4(?:2|7\\d{3}))\\d{4}",,,,"3421234",,,[7,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15678]|9[0689])\\d{4}|6\\d{5,10})|3(?:45|9\\d{3})\\d{7}",,,,"390123456789"],"001",882,,,,,,,,,[[,"(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],[,"(\\d{2})(\\d{5})","$1 $2",["16|342"]],[,"(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["34[57]"]],[,"(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["348"]],[,"(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1"]],[,"(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],[,"(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["16|39"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,"348[57]\\d{7}",,,,"34851234567",,,[11]]],883:[,[,,"51\\d{7}(?:\\d{3})?",,,,,,,[9,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"51(?:00\\d{5}(?:\\d{3})?|[13]0\\d{8})",,,,"510012345"],"001",883,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],[,"(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["510"]],[,"(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],888:[,[,,"\\d{11}",,,,,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",888,,,,,,,,1,[[,"(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,"\\d{11}",,,,"12345678901"],,,[,,,,,,,,,[-1]]],979:[,[,,"\\d{9}",,,,,,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,"\\d{9}",,,,"123456789"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],"001",979,,,,,,,,1,[[,"(\\d)(\\d{4})(\\d{4})","$1 $2 $3"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]]};function k(){this.a={}}k.a=function(){return k.b||(k.b=new k)};var st={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"},rt={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",A:"2",B:"2",C:"2",D:"3",E:"3",F:"3",G:"4",H:"4",I:"4",J:"5",K:"5",L:"5",M:"6",N:"6",O:"6",P:"7",Q:"7",R:"7",S:"7",T:"8",U:"8",V:"8",W:"9",X:"9",Y:"9",Z:"9"},D=RegExp("^[++]+"),at=RegExp("([0-90-9٠-٩۰-۹])"),lt=RegExp("[++0-90-9٠-٩۰-۹]"),dt=/[\\\/] *x/,ut=RegExp("[^0-90-9٠-٩۰-۹A-Za-z#]+$"),ht=/(?:.*?[A-Za-z]){3}.*/,ct=RegExp("(?:;ext=([0-90-9٠-٩۰-۹]{1,7})|[ \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|[;,xx##~~]|int|anexo|int)[:\\..]?[ \\t,-]*([0-90-9٠-٩۰-۹]{1,7})#?|[- ]+([0-90-9٠-٩۰-۹]{1,5})#)$","i"),pt=RegExp("^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~*A-Za-z0-90-9٠-٩۰-۹]*(?:;ext=([0-90-9٠-٩۰-۹]{1,7})|[ \\t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|[;,xx##~~]|int|anexo|int)[:\\..]?[ \\t,-]*([0-90-9٠-٩۰-۹]{1,7})#?|[- ]+([0-90-9٠-٩۰-۹]{1,5})#)?$","i"),ft=/(\$\d)/;function gt(t){return!(t.length<2)&&L(pt,t)}function mt(t){return L(ht,t)?bt(t,rt):bt(t,st)}function vt(t){var e=mt(t.toString());t.b="",t.a(e)}function yt(t){return t&&(1!=g(t,9)||-1!=f(t,9)[0])}function bt(t,e){for(var n,i=new $,o=t.length,s=0;s<o;++s)null!=(n=e[(n=t.charAt(s)).toUpperCase()])&&i.a(n);return i.toString()}function $t(t){return null!=t&&isNaN(t)&&t.toUpperCase()in ot}function wt(t,e,n){if(0==h(e,2)&&null!=e.a[5]&&0<(i=p(e,5)).length)return i;var i=p(e,1),o=I(e);if(0==n)return xt(i,0,o,"");if(!(i in S))return o;t=T(t,i,St(i)),e=null!=e.a[3]&&h(e,3).length?3==n?";ext="+h(e,3):null!=t.a[13]?h(t,13)+p(e,3):" ext. "+p(e,3):"";t:{for(var s=(t=f(t,20).length&&2!=n?f(t,20):f(t,19)).length,r=0;r<s;++r){var a,l=g(a=t[r],3);if((!l||!o.search(h(a,3,l-1)))&&L(new RegExp(h(a,1)),o)){t=a;break t}}t=null}return xt(i,n,o=t&&(t=p(s=t,2),a=new RegExp(h(s,1)),p(s,5),s=p(s,4),o=2==n&&null!=s&&0<s.length?o.replace(a,t.replace(ft,s)):o.replace(a,t),3==n)?(o=o.replace(RegExp("^[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~]+"),"")).replace(RegExp("[-x‐-―−ー--/ ()()[].\\[\\]/~⁓∼~]+","g"),"-"):o,e)}function T(t,e,n){return M(t,"001"==n?""+e:n)}function I(t){var e;return null==t.a[2]?"":(e=""+h(t,2),null!=t.a[4]&&h(t,4)&&0<p(t,8)?Array(p(t,8)+1).join("0")+e:e)}function xt(t,e,n,i){switch(e){case 0:return"+"+t+n+i;case 1:return"+"+t+" "+n+i;case 3:return"tel:+"+t+"-"+n+i;default:return n+i}}function A(t,e){switch(e){case 4:return h(t,5);case 3:return h(t,4);case 1:return h(t,3);case 0:case 2:return h(t,2);case 5:return h(t,6);case 6:return h(t,8);case 7:return h(t,7);case 8:return h(t,21);case 9:return h(t,25);case 10:return h(t,28);default:return h(t,1)}}function _t(t,e){return O(t,h(e,1))?O(t,h(e,5))?4:O(t,h(e,4))?3:O(t,h(e,6))?5:O(t,h(e,8))?6:O(t,h(e,7))?7:O(t,h(e,21))?8:O(t,h(e,25))?9:O(t,h(e,28))?10:O(t,h(e,2))?h(e,18)||O(t,h(e,3))?2:0:!h(e,18)&&O(t,h(e,3))?1:-1:-1}function M(t,e){if(null==e)return null;e=e.toUpperCase();var n=t.a[e];if(!n){if(!(n=ot[e]))return null;n=(new X).b(_.f(),n),t.a[e]=n}return n}function O(t,e){var n=t.length;return!(0<g(e,9)&&-1==l(f(e,9),n))&&L(p(e,2),t)}function Ct(t,e){if(!e)return null;var n=p(e,1);if(n=S[n])if(1==n.length)n=n[0];else t:{for(var i=I(e),o=n.length,s=0;s<o;s++){var r,a=M(t,r=n[s]);if(null!=a.a[23]){if(!i.search(h(a,23))){n=r;break t}}else if(-1!=_t(i,a)){n=r;break t}}n=null}else n=null;return n}function St(t){return(t=S[t])?t[0]:"ZZ"}function P(t,e,n,i){var o=g(s=A(n,i),9)?f(s,9):f(h(n,1),9),s=f(s,10);if(2==i){if(!yt(A(n,0)))return P(t,e,n,1);yt(t=A(n,1))&&(d(o=o.concat(g(t,9)?f(t,9):f(h(n,1),9))),s.length?d(s=s.concat(f(t,10))):s=f(t,10))}return-1==o[0]?5:(e=e.length,-1<l(s,e)?4:(n=o[0])==e?0:e<n?2:o[o.length-1]<e?3:-1<l(o,e,1)?0:5)}function kt(t,e,n,i,o,s){if(e.length){e=new $(e),null==(a=n?h(n,11):a)&&(a="NonMatch");var r,a,l=e.toString();if(a=l.length?D.test(l)?(l=l.replace(D,""),e.b="",e.a(mt(l)),1):(l=new RegExp(a),vt(e),(a=!((a=e.toString()).search(l)||(l=a.match(l)[0].length,(r=a.substring(l).match(at))&&null!=r[1]&&0<r[1].length&&"0"==bt(r[1],st))||(e.b="",e.a(a.substring(l)),0)))?5:20):20,o&&m(s,6,a),20!=a){if(e.b.length<=2)throw Error("Phone number too short after IDD");t:{if((t=e.toString()).length&&"0"!=t.charAt(0))for(o=t.length,e=1;e<=3&&e<=o;++e)if((n=parseInt(t.substring(0,e),10))in S){i.a(t.substring(e)),i=n;break t}i=0}if(i)return m(s,1,i),i;throw Error("Invalid country calling code")}if(n&&(l=""+(a=p(n,10)),!(r=e.toString()).lastIndexOf(l,0))&&(l=new $(r.substring(l.length)),r=h(n,1),r=new RegExp(p(r,2)),Dt(l,n,null),l=l.toString(),!L(r,e.toString())&&L(r,l)||3==P(t,e.toString(),n,-1)))return i.a(l),o&&m(s,6,10),m(s,1,a),a;m(s,1,0)}return 0}function Dt(t,e,n){var i,o,s,r=t.toString(),a=r.length,l=h(e,15);a&&null!=l&&l.length&&(a=(i=new RegExp("^(?:"+l+")")).exec(r))&&(o=L(l=new RegExp(p(h(e,1),2)),r),s=a.length-1,null!=(e=h(e,16))&&e.length&&null!=a[s]&&a[s].length?(r=r.replace(i,e),o&&!L(l,r)||(n&&0<s&&n.a(a[1]),t.set(r))):o&&!L(l,r.substring(a[0].length))||(n&&0<s&&null!=a[s]&&n.a(a[1]),t.set(r.substring(a[0].length))))}function E(t,e,n){if(!$t(n)&&0<e.length&&"+"!=e.charAt(0))throw Error("Invalid country calling code");return Tt(t,e,n,!0)}function Tt(e,n,t,i){if(null==n)throw Error("The string supplied did not seem to be a phone number");if(250<n.length)throw Error("The string supplied is too long to be a phone number");var o,s,r,a=new $,l=n.indexOf(";phone-context=");if(0<=l?("+"==n.charAt(o=l+15)&&(0<(d=n.indexOf(";",o))?a.a(n.substring(o,d)):a.a(n.substring(o))),o=n.indexOf("tel:"),a.a(n.substring(0<=o?o+4:0,l))):a.a((0<=(r=(s=n).search(lt))?0<=(r=(s=(s=s.substring(r)).replace(ut,"")).search(dt))&&(s=s.substring(0,r)):s="",s)),0<(o=(l=a.toString()).indexOf(";isub="))&&(a.b="",a.a(l.substring(0,o))),!gt(a.toString()))throw Error("The string supplied did not seem to be a phone number");if(l=a.toString(),!($t(t)||null!=l&&0<l.length&&D.test(l)))throw Error("Invalid country calling code");l=new C,i&&m(l,5,n);t:{if(0<=(o=(n=a.toString()).search(ct))&>(n.substring(0,o)))for(var d,u=(d=n.match(ct)).length,h=1;h<u;++h)if(null!=d[h]&&0<d[h].length){a.b="",a.a(n.substring(0,o)),n=d[h];break t}n=""}0<n.length&&m(l,3,n),o=M(e,t),n=new $,d=0,u=a.toString();try{d=kt(e,u,o,n,i,l)}catch(t){if("Invalid country calling code"!=t.message||!D.test(u))throw t;if(!(d=kt(e,u=u.replace(D,""),o,n,i,l)))throw t}if(d?(a=St(d))!=t&&(o=T(e,d,a)):(vt(a),n.a(a.toString()),null!=t?m(l,1,d=p(o,10)):i&&(delete l.a[6],l.b)&&delete l.b[6]),n.b.length<2)throw Error("The string supplied is too short to be a phone number");if(o&&(t=new $,Dt(a=new $(n.toString()),o,t),2!=(e=P(e,a.toString(),o,-1)))&&4!=e&&5!=e&&(n=a,i)&&0<t.toString().length&&m(l,7,t.toString()),(e=(i=n.toString()).length)<2)throw Error("The string supplied is too short to be a phone number");if(17<e)throw Error("The string supplied is too long to be a phone number");if(1<i.length&&"0"==i.charAt(0)){for(m(l,4,!0),e=1;e<i.length-1&&"0"==i.charAt(e);)e++;1!=e&&m(l,8,e)}return m(l,2,parseInt(i,10)),l}function L(t,e){t="string"==typeof t?e.match("^(?:"+t+")$"):e.match(t);return!(!t||t[0].length!=e.length)}r("intlTelInputUtils",{}),r("intlTelInputUtils.formatNumber",function(e,t,n){try{var i=k.a();return wt(i,E(i,e,t),void 0===n?0:n)}catch(t){return e}}),r("intlTelInputUtils.getExampleNumber",function(t,e,n){try{var i=k.a();t:{if($t(t)){var o=A(M(i,t),n);try{if(null!=o.a[6]){var s=Tt(i,h(o,6),t,!1);break t}}catch(t){}}s=null}return wt(i,s,e?2:1)}catch(t){return""}}),r("intlTelInputUtils.getExtension",function(t,e){try{return h(E(k.a(),t,e),3)}catch(t){return""}}),r("intlTelInputUtils.getNumberType",function(t,e){try{var n=k.a(),i=E(n,t,e),o=Ct(n,i),s=T(n,p(i,1),o);return s?_t(I(i),s):-1}catch(t){return-99}}),r("intlTelInputUtils.getValidationError",function(t,e){try{var n=k.a(),i=E(n,t,e),o=I(i),s=p(i,1);return s in S?P(n,o,T(n,s,St(s)),-1):1}catch(t){return"Invalid country calling code"==t.message?1:"The string supplied did not seem to be a phone number"==t.message?4:"Phone number too short after IDD"==t.message||"The string supplied is too short to be a phone number"==t?2:"The string supplied is too long to be a phone number"==t.message?3:-99}}),r("intlTelInputUtils.isValidNumber",function(t,e){try{var n,i,o=k.a(),s=E(o,t,e),r=Ct(o,s),a=p(s,1),l=T(o,a,r);if(!(n=!l)){if(i="001"!=r){var d=M(o,r);if(!d)throw Error("Invalid region code: "+r);i=a!=p(d,10)}n=i}return!n&&-1!=_t(I(s),l)}catch(t){return!1}}),r("intlTelInputUtils.numberFormat",{E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3}),r("intlTelInputUtils.numberType",{FIXED_LINE:0,MOBILE:1,FIXED_LINE_OR_MOBILE:2,TOLL_FREE:3,PREMIUM_RATE:4,SHARED_COST:5,VOIP:6,PERSONAL_NUMBER:7,PAGER:8,UAN:9,VOICEMAIL:10,UNKNOWN:-1}),r("intlTelInputUtils.validationError",{IS_POSSIBLE:0,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,TOO_LONG:3,NOT_A_NUMBER:4})}(),function(){function t(l,d){return function(t){var e=arguments.length;if(!(e<2||null==t))for(var n=1;n<e;n++)for(var i=arguments[n],o=l(i),s=o.length,r=0;r<s;r++){var a=o[r];d&&void 0!==t[a]||(t[a]=i[a])}return t}}function e(e){return function(t){return null==t?void 0:t[e]}}var n=this,i=n._,o=Array.prototype,r=Object.prototype,s=Function.prototype,a=o.push,l=o.slice,u=r.toString,d=r.hasOwnProperty,h=Array.isArray,c=Object.keys,p=s.bind,f=Object.create,g=function(){},m=function(t){return t instanceof m?t:this instanceof m?void(this._wrapped=t):new m(t)},v=("undefined"!=typeof exports?(exports="undefined"!=typeof module&&module.exports?module.exports=m:exports)._=m:n._=m,m.VERSION="1.8.3",function(o,s,t){if(void 0===s)return o;switch(null==t?3:t){case 1:return function(t){return o.call(s,t)};case 2:return function(t,e){return o.call(s,t,e)};case 3:return function(t,e,n){return o.call(s,t,e,n)};case 4:return function(t,e,n,i){return o.call(s,t,e,n,i)}}return function(){return o.apply(s,arguments)}}),y=function(t,e,n){return null==t?m.identity:m.isFunction(t)?v(t,e,n):m.isObject(t)?m.matcher(t):m.property(t)},b=(m.iteratee=function(t,e){return y(t,e,1/0)},function(t){if(!m.isObject(t))return{};if(f)return f(t);g.prototype=t;t=new g;return g.prototype=null,t}),L=Math.pow(2,53)-1,$=e("length"),w=function(t){t=$(t);return"number"==typeof t&&0<=t&&t<=L};function x(f){return function(t,e,n,i){e=v(e,i,4);for(var o=!w(t)&&m.keys(t),s=(o||t).length,r=0<f?0:s-1,a=(arguments.length<3&&(n=t[o?o[r]:r],r+=f),t),l=e,d=n,u=o,h=r,c=s;0<=h&&h<c;h+=f){var p=u?u[h]:h;d=l(d,a[p],p,a)}return d}}m.each=m.forEach=function(t,e,n){if(e=v(e,n),w(t))for(o=0,s=t.length;o<s;o++)e(t[o],o,t);else for(var i=m.keys(t),o=0,s=i.length;o<s;o++)e(t[i[o]],i[o],t);return t},m.map=m.collect=function(t,e,n){e=y(e,n);for(var i=!w(t)&&m.keys(t),o=(i||t).length,s=Array(o),r=0;r<o;r++){var a=i?i[r]:r;s[r]=e(t[a],a,t)}return s},m.reduce=m.foldl=m.inject=x(1),m.reduceRight=m.foldr=x(-1),m.find=m.detect=function(t,e,n){e=w(t)?m.findIndex(t,e,n):m.findKey(t,e,n);if(void 0!==e&&-1!==e)return t[e]},m.filter=m.select=function(t,i,e){var o=[];return i=y(i,e),m.each(t,function(t,e,n){i(t,e,n)&&o.push(t)}),o},m.reject=function(t,e,n){return m.filter(t,m.negate(y(e)),n)},m.every=m.all=function(t,e,n){e=y(e,n);for(var i=!w(t)&&m.keys(t),o=(i||t).length,s=0;s<o;s++){var r=i?i[s]:s;if(!e(t[r],r,t))return!1}return!0},m.some=m.any=function(t,e,n){e=y(e,n);for(var i=!w(t)&&m.keys(t),o=(i||t).length,s=0;s<o;s++){var r=i?i[s]:s;if(e(t[r],r,t))return!0}return!1},m.contains=m.includes=m.include=function(t,e,n,i){return w(t)||(t=m.values(t)),0<=m.indexOf(t,e,n="number"==typeof n&&!i?n:0)},m.invoke=function(t,n){var i=l.call(arguments,2),o=m.isFunction(n);return m.map(t,function(t){var e=o?n:t[n];return null==e?e:e.apply(t,i)})},m.pluck=function(t,e){return m.map(t,m.property(e))},m.where=function(t,e){return m.filter(t,m.matcher(e))},m.findWhere=function(t,e){return m.find(t,m.matcher(e))},m.max=function(t,i,e){var n,o,s=-1/0,r=-1/0;if(null==i&&null!=t)for(var a=0,l=(t=w(t)?t:m.values(t)).length;a<l;a++)n=t[a],s<n&&(s=n);else i=y(i,e),m.each(t,function(t,e,n){o=i(t,e,n),(r<o||o===-1/0&&s===-1/0)&&(s=t,r=o)});return s},m.min=function(t,i,e){var n,o,s=1/0,r=1/0;if(null==i&&null!=t)for(var a=0,l=(t=w(t)?t:m.values(t)).length;a<l;a++)(n=t[a])<s&&(s=n);else i=y(i,e),m.each(t,function(t,e,n){((o=i(t,e,n))<r||o===1/0&&s===1/0)&&(s=t,r=o)});return s},m.shuffle=function(t){for(var e,n=w(t)?t:m.values(t),i=n.length,o=Array(i),s=0;s<i;s++)(e=m.random(0,s))!==s&&(o[s]=o[e]),o[e]=n[s];return o},m.sample=function(t,e,n){return null==e||n?(t=w(t)?t:m.values(t))[m.random(t.length-1)]:m.shuffle(t).slice(0,Math.max(0,e))},m.sortBy=function(t,i,e){return i=y(i,e),m.pluck(m.map(t,function(t,e,n){return{value:t,index:e,criteria:i(t,e,n)}}).sort(function(t,e){var n=t.criteria,i=e.criteria;if(n!==i){if(i<n||void 0===n)return 1;if(n<i||void 0===i)return-1}return t.index-e.index}),"value")};function _(s){return function(n,i,t){var o={};return i=y(i,t),m.each(n,function(t,e){e=i(t,e,n);s(o,t,e)}),o}}m.groupBy=_(function(t,e,n){m.has(t,n)?t[n].push(e):t[n]=[e]}),m.indexBy=_(function(t,e,n){t[n]=e}),m.countBy=_(function(t,e,n){m.has(t,n)?t[n]++:t[n]=1}),m.toArray=function(t){return t?m.isArray(t)?l.call(t):w(t)?m.map(t,m.identity):m.values(t):[]},m.size=function(t){return null==t?0:(w(t)?t:m.keys(t)).length},m.partition=function(t,i,e){i=y(i,e);var o=[],s=[];return m.each(t,function(t,e,n){(i(t,e,n)?o:s).push(t)}),[o,s]},m.first=m.head=m.take=function(t,e,n){if(null!=t)return null==e||n?t[0]:m.initial(t,t.length-e)},m.initial=function(t,e,n){return l.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))},m.last=function(t,e,n){if(null!=t)return null==e||n?t[t.length-1]:m.rest(t,Math.max(0,t.length-e))},m.rest=m.tail=m.drop=function(t,e,n){return l.call(t,null==e||n?1:e)},m.compact=function(t){return m.filter(t,m.identity)};var C=function(t,e,n,i){for(var o=[],s=0,r=i||0,a=$(t);r<a;r++){var l=t[r];if(w(l)&&(m.isArray(l)||m.isArguments(l))){var d=0,u=(l=e?l:C(l,e,n)).length;for(o.length+=u;d<u;)o[s++]=l[d++]}else n||(o[s++]=l)}return o};function S(s){return function(t,e,n){e=y(e,n);for(var i=$(t),o=0<s?0:i-1;0<=o&&o<i;o+=s)if(e(t[o],o,t))return o;return-1}}function k(s,r,a){return function(t,e,n){var i=0,o=$(t);if("number"==typeof n)0<s?i=0<=n?n:Math.max(n+o,i):o=0<=n?Math.min(n+1,o):n+o+1;else if(a&&n&&o)return t[n=a(t,e)]===e?n:-1;if(e!=e)return 0<=(n=r(l.call(t,i,o),m.isNaN))?n+i:-1;for(n=0<s?i:o-1;0<=n&&n<o;n+=s)if(t[n]===e)return n;return-1}}m.flatten=function(t,e){return C(t,e,!1)},m.without=function(t){return m.difference(t,l.call(arguments,1))},m.uniq=m.unique=function(t,e,n,i){m.isBoolean(e)||(i=n,n=e,e=!1),null!=n&&(n=y(n,i));for(var o=[],s=[],r=0,a=$(t);r<a;r++){var l=t[r],d=n?n(l,r,t):l;e?(r&&s===d||o.push(l),s=d):n?m.contains(s,d)||(s.push(d),o.push(l)):m.contains(o,l)||o.push(l)}return o},m.union=function(){return m.uniq(C(arguments,!0,!0))},m.intersection=function(t){for(var e=[],n=arguments.length,i=0,o=$(t);i<o;i++){var s=t[i];if(!m.contains(e,s)){for(var r=1;r<n&&m.contains(arguments[r],s);r++);r===n&&e.push(s)}}return e},m.difference=function(t){var e=C(arguments,!0,!0,1);return m.filter(t,function(t){return!m.contains(e,t)})},m.zip=function(){return m.unzip(arguments)},m.unzip=function(t){for(var e=t&&m.max(t,$).length||0,n=Array(e),i=0;i<e;i++)n[i]=m.pluck(t,i);return n},m.object=function(t,e){for(var n={},i=0,o=$(t);i<o;i++)e?n[t[i]]=e[i]:n[t[i][0]]=t[i][1];return n},m.findIndex=S(1),m.findLastIndex=S(-1),m.sortedIndex=function(t,e,n,i){for(var o=(n=y(n,i,1))(e),s=0,r=$(t);s<r;){var a=Math.floor((s+r)/2);n(t[a])<o?s=a+1:r=a}return s},m.indexOf=k(1,m.findIndex,m.sortedIndex),m.lastIndexOf=k(-1,m.findLastIndex),m.range=function(t,e,n){null==e&&(e=t||0,t=0),n=n||1;for(var i=Math.max(Math.ceil((e-t)/n),0),o=Array(i),s=0;s<i;s++,t+=n)o[s]=t;return o};function D(t,e,n,i,o){return i instanceof e?(i=b(t.prototype),e=t.apply(i,o),m.isObject(e)?e:i):t.apply(n,o)}m.bind=function(t,e){if(p&&t.bind===p)return p.apply(t,l.call(arguments,1));var n,i;if(m.isFunction(t))return n=l.call(arguments,2),i=function(){return D(t,i,e,this,n.concat(l.call(arguments)))};throw new TypeError("Bind must be called on a function")},m.partial=function(o){function s(){for(var t=0,e=r.length,n=Array(e),i=0;i<e;i++)n[i]=r[i]===m?arguments[t++]:r[i];for(;t<arguments.length;)n.push(arguments[t++]);return D(o,s,this,this,n)}var r=l.call(arguments,1);return s},m.bindAll=function(t){var e,n,i=arguments.length;if(i<=1)throw new Error("bindAll must be passed function names");for(e=1;e<i;e++)t[n=arguments[e]]=m.bind(t[n],t);return t},m.memoize=function(i,o){function s(t){var e=s.cache,n=""+(o?o.apply(this,arguments):t);return m.has(e,n)||(e[n]=i.apply(this,arguments)),e[n]}return s.cache={},s},m.delay=function(t,e){var n=l.call(arguments,2);return setTimeout(function(){return t.apply(null,n)},e)},m.defer=m.partial(m.delay,m,1),m.throttle=function(n,i,o){function s(){u=!1===o.leading?0:m.now(),d=null,l=n.apply(r,a),d||(r=a=null)}var r,a,l,d=null,u=0;o=o||{};return function(){var t=m.now(),e=(u||!1!==o.leading||(u=t),i-(t-u));return r=this,a=arguments,e<=0||i<e?(d&&(clearTimeout(d),d=null),u=t,l=n.apply(r,a),d||(r=a=null)):d||!1===o.trailing||(d=setTimeout(s,e)),l}},m.debounce=function(e,n,i){function o(){var t=m.now()-l;t<n&&0<=t?s=setTimeout(o,n-t):(s=null,i||(d=e.apply(a,r),s)||(a=r=null))}var s,r,a,l,d;return function(){a=this,r=arguments,l=m.now();var t=i&&!s;return s=s||setTimeout(o,n),t&&(d=e.apply(a,r),a=r=null),d}},m.wrap=function(t,e){return m.partial(e,t)},m.negate=function(t){return function(){return!t.apply(this,arguments)}},m.compose=function(){var n=arguments,i=n.length-1;return function(){for(var t=i,e=n[i].apply(this,arguments);t--;)e=n[t].call(this,e);return e}},m.after=function(t,e){return function(){if(--t<1)return e.apply(this,arguments)}},m.before=function(t,e){var n;return function(){return 0<--t&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}},m.once=m.partial(m.before,2);var T=!{toString:null}.propertyIsEnumerable("toString"),I=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];function A(t,e){var n=I.length,i=t.constructor,o=m.isFunction(i)&&i.prototype||r,s="constructor";for(m.has(t,s)&&!m.contains(e,s)&&e.push(s);n--;)(s=I[n])in t&&t[s]!==o[s]&&!m.contains(e,s)&&e.push(s)}m.keys=function(t){if(!m.isObject(t))return[];if(c)return c(t);var e,n=[];for(e in t)m.has(t,e)&&n.push(e);return T&&A(t,n),n},m.allKeys=function(t){if(!m.isObject(t))return[];var e,n=[];for(e in t)n.push(e);return T&&A(t,n),n},m.values=function(t){for(var e=m.keys(t),n=e.length,i=Array(n),o=0;o<n;o++)i[o]=t[e[o]];return i},m.mapObject=function(t,e,n){e=y(e,n);for(var i,o=m.keys(t),s=o.length,r={},a=0;a<s;a++)r[i=o[a]]=e(t[i],i,t);return r},m.pairs=function(t){for(var e=m.keys(t),n=e.length,i=Array(n),o=0;o<n;o++)i[o]=[e[o],t[e[o]]];return i},m.invert=function(t){for(var e={},n=m.keys(t),i=0,o=n.length;i<o;i++)e[t[n[i]]]=n[i];return e},m.functions=m.methods=function(t){var e,n=[];for(e in t)m.isFunction(t[e])&&n.push(e);return n.sort()},m.extend=t(m.allKeys),m.extendOwn=m.assign=t(m.keys),m.findKey=function(t,e,n){e=y(e,n);for(var i,o=m.keys(t),s=0,r=o.length;s<r;s++)if(e(t[i=o[s]],i,t))return i},m.pick=function(t,e,n){var i,o,s={},r=t;if(null!=r){m.isFunction(e)?(o=m.allKeys(r),i=v(e,n)):(o=C(arguments,!1,!1,1),i=function(t,e,n){return e in n},r=Object(r));for(var a=0,l=o.length;a<l;a++){var d=o[a],u=r[d];i(u,d,r)&&(s[d]=u)}}return s},m.omit=function(t,e,n){var i;return e=m.isFunction(e)?m.negate(e):(i=m.map(C(arguments,!1,!1,1),String),function(t,e){return!m.contains(i,e)}),m.pick(t,e,n)},m.defaults=t(m.allKeys,!0),m.create=function(t,e){t=b(t);return e&&m.extendOwn(t,e),t},m.clone=function(t){return m.isObject(t)?m.isArray(t)?t.slice():m.extend({},t):t},m.tap=function(t,e){return e(t),t},m.isMatch=function(t,e){var n=m.keys(e),i=n.length;if(null==t)return!i;for(var o=Object(t),s=0;s<i;s++){var r=n[s];if(e[r]!==o[r]||!(r in o))return!1}return!0};function M(e){function n(t){return e[t]}var t="(?:"+m.keys(e).join("|")+")",i=RegExp(t),o=RegExp(t,"g");return function(t){return i.test(t=null==t?"":""+t)?t.replace(o,n):t}}function R(t){return"\\"+F[t]}function O(t,e){return t._chain?m(e).chain():e}var P=function(t,e,n,i){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return t===e;t instanceof m&&(t=t._wrapped),e instanceof m&&(e=e._wrapped);var o=u.call(t);if(o!==u.call(e))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e}o="[object Array]"===o;if(!o){if("object"!=typeof t||"object"!=typeof e)return!1;var s=t.constructor,r=e.constructor;if(s!==r&&!(m.isFunction(s)&&s instanceof s&&m.isFunction(r)&&r instanceof r)&&"constructor"in t&&"constructor"in e)return!1}i=i||[];for(var a=(n=n||[]).length;a--;)if(n[a]===t)return i[a]===e;if(n.push(t),i.push(e),o){if((a=t.length)!==e.length)return!1;for(;a--;)if(!P(t[a],e[a],n,i))return!1}else{var l,d=m.keys(t),a=d.length;if(m.keys(e).length!==a)return!1;for(;a--;)if(l=d[a],!m.has(e,l)||!P(t[l],e[l],n,i))return!1}return n.pop(),i.pop(),!0},s=(m.isEqual=function(t,e){return P(t,e)},m.isEmpty=function(t){return null==t||(w(t)&&(m.isArray(t)||m.isString(t)||m.isArguments(t))?0===t.length:0===m.keys(t).length)},m.isElement=function(t){return!(!t||1!==t.nodeType)},m.isArray=h||function(t){return"[object Array]"===u.call(t)},m.isObject=function(t){var e=typeof t;return"function"==e||"object"==e&&!!t},m.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(e){m["is"+e]=function(t){return u.call(t)==="[object "+e+"]"}}),m.isArguments(arguments)||(m.isArguments=function(t){return m.has(t,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(m.isFunction=function(t){return"function"==typeof t||!1}),m.isFinite=function(t){return isFinite(t)&&!isNaN(parseFloat(t))},m.isNaN=function(t){return m.isNumber(t)&&t!==+t},m.isBoolean=function(t){return!0===t||!1===t||"[object Boolean]"===u.call(t)},m.isNull=function(t){return null===t},m.isUndefined=function(t){return void 0===t},m.has=function(t,e){return null!=t&&d.call(t,e)},m.noConflict=function(){return n._=i,this},m.identity=function(t){return t},m.constant=function(t){return function(){return t}},m.noop=function(){},m.property=e,m.propertyOf=function(e){return null==e?function(){}:function(t){return e[t]}},m.matcher=m.matches=function(e){return e=m.extendOwn({},e),function(t){return m.isMatch(t,e)}},m.times=function(t,e,n){var i=Array(Math.max(0,t));e=v(e,n,1);for(var o=0;o<t;o++)i[o]=e(o);return i},m.random=function(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))},m.now=Date.now||function(){return(new Date).getTime()},{"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"}),h=m.invert(s),N=(m.escape=M(s),m.unescape=M(h),m.result=function(t,e,n){e=null==t?void 0:t[e];return m.isFunction(e=void 0===e?n:e)?e.call(t):e},0),E=(m.uniqueId=function(t){var e=++N+"";return t?t+e:e},m.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},/(.)^/),F={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},j=/\\|'|\r|\n|\u2028|\u2029/g;m.template=function(s,t,e){t=m.defaults({},t=!t&&e?e:t,m.templateSettings);var e=RegExp([(t.escape||E).source,(t.interpolate||E).source,(t.evaluate||E).source].join("|")+"|$","g"),r=0,a="__p+='";s.replace(e,function(t,e,n,i,o){return a+=s.slice(r,o).replace(j,R),r=o+t.length,e?a+="'+\n((__t=("+e+"))==null?'':_.escape(__t))+\n'":n?a+="'+\n((__t=("+n+"))==null?'':__t)+\n'":i&&(a+="';\n"+i+"\n__p+='"),t}),a+="';\n",a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+(a=t.variable?a:"with(obj||{}){\n"+a+"}\n")+"return __p;\n";try{var n=new Function(t.variable||"obj","_",a)}catch(t){throw t.source=a,t}function i(t){return n.call(this,t,m)}e=t.variable||"obj";return i.source="function("+e+"){\n"+a+"}",i},m.chain=function(t){t=m(t);return t._chain=!0,t};m.mixin=function(n){m.each(m.functions(n),function(t){var e=m[t]=n[t];m.prototype[t]=function(){var t=[this._wrapped];return a.apply(t,arguments),O(this,e.apply(m,t))}})},m.mixin(m),m.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var n=o[e];m.prototype[e]=function(){var t=this._wrapped;return n.apply(t,arguments),"shift"!==e&&"splice"!==e||0!==t.length||delete t[0],O(this,t)}}),m.each(["concat","join","slice"],function(t){var e=o[t];m.prototype[t]=function(){return O(this,e.apply(this._wrapped,arguments))}}),m.prototype.value=function(){return this._wrapped},m.prototype.valueOf=m.prototype.toJSON=m.prototype.value,m.prototype.toString=function(){return""+this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return m})}.call(this),function(t,n){var e,i;"function"==typeof define&&define.amd?define(["moment","jquery"],function(t,e){return e.fn||(e.fn={}),"function"!=typeof t&&t.default&&(t=t.default),n(t,e)}):"object"==typeof module&&module.exports?((e="undefined"!=typeof window?window.jQuery:void 0)||(e=require("jquery")).fn||(e.fn={}),i="undefined"!=typeof window&&void 0!==window.moment?window.moment:require("moment"),module.exports=n(i,e)):t.daterangepicker=n(t.moment,t.jQuery)}(this,function(M,O){function i(t,e,n){var i,o,s,r;if(this.parentEl="body",this.element=O(t),this.startDate=M().startOf("day"),this.endDate=M().endOf("day"),this.minDate=!1,this.maxDate=!1,this.maxSpan=!1,this.autoApply=!1,this.singleDatePicker=!1,this.showDropdowns=!1,this.minYear=M().subtract(100,"year").format("YYYY"),this.maxYear=M().add(100,"year").format("YYYY"),this.showWeekNumbers=!1,this.showISOWeekNumbers=!1,this.showCustomRangeLabel=!0,this.timePicker=!1,this.timePicker24Hour=!1,this.timePickerIncrement=1,this.timePickerSeconds=!1,this.linkedCalendars=!0,this.autoUpdateInput=!0,this.alwaysShowCalendars=!1,this.ranges={},this.opens="right",this.element.hasClass("pull-right")&&(this.opens="left"),this.drops="down",this.element.hasClass("dropup")&&(this.drops="up"),this.buttonClasses="btn btn-sm",this.applyButtonClasses="btn-primary",this.cancelButtonClasses="btn-default",this.locale={direction:"ltr",format:M.localeData().longDateFormat("L"),separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:M.weekdaysMin(),monthNames:M.monthsShort(),firstDay:M.localeData().firstDayOfWeek()},this.callback=function(){},this.isShowing=!1,this.leftCalendar={},this.rightCalendar={},"object"==typeof e&&null!==e||(e={}),"string"==typeof(e=O.extend(this.element.data(),e)).template||e.template instanceof O||(e.template='<div class="daterangepicker"><div class="ranges"></div><div class="drp-calendar left"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-calendar right"><div class="calendar-table"></div><div class="calendar-time"></div></div><div class="drp-buttons"><span class="drp-selected"></span><button class="cancelBtn" type="button"></button><button class="applyBtn" disabled="disabled" type="button"></button> </div></div>'),this.parentEl=e.parentEl&&O(e.parentEl).length?O(e.parentEl):O(this.parentEl),this.container=O(e.template).appendTo(this.parentEl),"object"==typeof e.locale&&("string"==typeof e.locale.direction&&(this.locale.direction=e.locale.direction),"string"==typeof e.locale.format&&(this.locale.format=e.locale.format),"string"==typeof e.locale.separator&&(this.locale.separator=e.locale.separator),"object"==typeof e.locale.daysOfWeek&&(this.locale.daysOfWeek=e.locale.daysOfWeek.slice()),"object"==typeof e.locale.monthNames&&(this.locale.monthNames=e.locale.monthNames.slice()),"number"==typeof e.locale.firstDay&&(this.locale.firstDay=e.locale.firstDay),"string"==typeof e.locale.applyLabel&&(this.locale.applyLabel=e.locale.applyLabel),"string"==typeof e.locale.cancelLabel&&(this.locale.cancelLabel=e.locale.cancelLabel),"string"==typeof e.locale.weekLabel&&(this.locale.weekLabel=e.locale.weekLabel),"string"==typeof e.locale.customRangeLabel)&&((l=document.createElement("textarea")).innerHTML=e.locale.customRangeLabel,d=l.value,this.locale.customRangeLabel=d),this.container.addClass(this.locale.direction),"string"==typeof e.startDate&&(this.startDate=M(e.startDate,this.locale.format)),"string"==typeof e.endDate&&(this.endDate=M(e.endDate,this.locale.format)),"string"==typeof e.minDate&&(this.minDate=M(e.minDate,this.locale.format)),"string"==typeof e.maxDate&&(this.maxDate=M(e.maxDate,this.locale.format)),"object"==typeof e.startDate&&(this.startDate=M(e.startDate)),"object"==typeof e.endDate&&(this.endDate=M(e.endDate)),"object"==typeof e.minDate&&(this.minDate=M(e.minDate)),"object"==typeof e.maxDate&&(this.maxDate=M(e.maxDate)),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),"string"==typeof e.applyButtonClasses&&(this.applyButtonClasses=e.applyButtonClasses),"string"==typeof e.applyClass&&(this.applyButtonClasses=e.applyClass),"string"==typeof e.cancelButtonClasses&&(this.cancelButtonClasses=e.cancelButtonClasses),"string"==typeof e.cancelClass&&(this.cancelButtonClasses=e.cancelClass),"object"==typeof e.maxSpan&&(this.maxSpan=e.maxSpan),"object"==typeof e.dateLimit&&(this.maxSpan=e.dateLimit),"string"==typeof e.opens&&(this.opens=e.opens),"string"==typeof e.drops&&(this.drops=e.drops),"boolean"==typeof e.showWeekNumbers&&(this.showWeekNumbers=e.showWeekNumbers),"boolean"==typeof e.showISOWeekNumbers&&(this.showISOWeekNumbers=e.showISOWeekNumbers),"string"==typeof e.buttonClasses&&(this.buttonClasses=e.buttonClasses),"object"==typeof e.buttonClasses&&(this.buttonClasses=e.buttonClasses.join(" ")),"boolean"==typeof e.showDropdowns&&(this.showDropdowns=e.showDropdowns),"number"==typeof e.minYear&&(this.minYear=e.minYear),"number"==typeof e.maxYear&&(this.maxYear=e.maxYear),"boolean"==typeof e.showCustomRangeLabel&&(this.showCustomRangeLabel=e.showCustomRangeLabel),"boolean"==typeof e.singleDatePicker&&(this.singleDatePicker=e.singleDatePicker,this.singleDatePicker)&&(this.endDate=this.startDate.clone()),"boolean"==typeof e.timePicker&&(this.timePicker=e.timePicker),"boolean"==typeof e.timePickerSeconds&&(this.timePickerSeconds=e.timePickerSeconds),"number"==typeof e.timePickerIncrement&&(this.timePickerIncrement=e.timePickerIncrement),"boolean"==typeof e.timePicker24Hour&&(this.timePicker24Hour=e.timePicker24Hour),"boolean"==typeof e.autoApply&&(this.autoApply=e.autoApply),"boolean"==typeof e.autoUpdateInput&&(this.autoUpdateInput=e.autoUpdateInput),"boolean"==typeof e.linkedCalendars&&(this.linkedCalendars=e.linkedCalendars),"function"==typeof e.isInvalidDate&&(this.isInvalidDate=e.isInvalidDate),"function"==typeof e.isCustomDate&&(this.isCustomDate=e.isCustomDate),"boolean"==typeof e.alwaysShowCalendars&&(this.alwaysShowCalendars=e.alwaysShowCalendars),0!=this.locale.firstDay)for(var a=this.locale.firstDay;0<a;)this.locale.daysOfWeek.push(this.locale.daysOfWeek.shift()),a--;if(void 0===e.startDate&&void 0===e.endDate&&O(this.element).is(":text")&&(r=i=null,2==(s=(t=O(this.element).val()).split(this.locale.separator)).length?(r=M(s[0],this.locale.format),i=M(s[1],this.locale.format)):this.singleDatePicker&&""!==t&&(r=M(t,this.locale.format),i=M(t,this.locale.format)),null!==r)&&null!==i&&(this.setStartDate(r),this.setEndDate(i)),"object"==typeof e.ranges){for(o in e.ranges){r="string"==typeof e.ranges[o][0]?M(e.ranges[o][0],this.locale.format):M(e.ranges[o][0]),i="string"==typeof e.ranges[o][1]?M(e.ranges[o][1],this.locale.format):M(e.ranges[o][1]),this.minDate&&r.isBefore(this.minDate)&&(r=this.minDate.clone());var l,d,u=this.maxDate;(u=this.maxSpan&&u&&r.clone().add(this.maxSpan).isAfter(u)?r.clone().add(this.maxSpan):u)&&i.isAfter(u)&&(i=u.clone()),this.minDate&&i.isBefore(this.minDate,this.timepicker?"minute":"day")||u&&r.isAfter(u,this.timepicker?"minute":"day")||((l=document.createElement("textarea")).innerHTML=o,d=l.value,this.ranges[d]=[r,i])}var h="<ul>";for(o in this.ranges)h+='<li data-range-key="'+o+'">'+o+"</li>";this.showCustomRangeLabel&&(h+='<li data-range-key="'+this.locale.customRangeLabel+'">'+this.locale.customRangeLabel+"</li>"),h+="</ul>",this.container.find(".ranges").prepend(h)}"function"==typeof n&&(this.callback=n),this.timePicker||(this.startDate=this.startDate.startOf("day"),this.endDate=this.endDate.endOf("day"),this.container.find(".calendar-time").hide()),this.timePicker&&this.autoApply&&(this.autoApply=!1),this.autoApply&&this.container.addClass("auto-apply"),"object"==typeof e.ranges&&this.container.addClass("show-ranges"),this.singleDatePicker&&(this.container.addClass("single"),this.container.find(".drp-calendar.left").addClass("single"),this.container.find(".drp-calendar.left").show(),this.container.find(".drp-calendar.right").hide(),this.timePicker||this.container.addClass("auto-apply")),(void 0===e.ranges&&!this.singleDatePicker||this.alwaysShowCalendars)&&this.container.addClass("show-calendar"),this.container.addClass("opens"+this.opens),this.container.find(".applyBtn, .cancelBtn").addClass(this.buttonClasses),this.applyButtonClasses.length&&this.container.find(".applyBtn").addClass(this.applyButtonClasses),this.cancelButtonClasses.length&&this.container.find(".cancelBtn").addClass(this.cancelButtonClasses),this.container.find(".applyBtn").html(this.locale.applyLabel),this.container.find(".cancelBtn").html(this.locale.cancelLabel),this.container.find(".drp-calendar").on("click.daterangepicker",".prev",O.proxy(this.clickPrev,this)).on("click.daterangepicker",".next",O.proxy(this.clickNext,this)).on("mousedown.daterangepicker","td.available",O.proxy(this.clickDate,this)).on("mouseenter.daterangepicker","td.available",O.proxy(this.hoverDate,this)).on("change.daterangepicker","select.yearselect",O.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.monthselect",O.proxy(this.monthOrYearChanged,this)).on("change.daterangepicker","select.hourselect,select.minuteselect,select.secondselect,select.ampmselect",O.proxy(this.timeChanged,this)),this.container.find(".ranges").on("click.daterangepicker","li",O.proxy(this.clickRange,this)),this.container.find(".drp-buttons").on("click.daterangepicker","button.applyBtn",O.proxy(this.clickApply,this)).on("click.daterangepicker","button.cancelBtn",O.proxy(this.clickCancel,this)),this.element.is("input")||this.element.is("button")?this.element.on({"click.daterangepicker":O.proxy(this.show,this),"focus.daterangepicker":O.proxy(this.show,this),"keyup.daterangepicker":O.proxy(this.elementChanged,this),"keydown.daterangepicker":O.proxy(this.keydown,this)}):(this.element.on("click.daterangepicker",O.proxy(this.toggle,this)),this.element.on("keydown.daterangepicker",O.proxy(this.toggle,this))),this.updateElement()}return i.prototype={constructor:i,setStartDate:function(t){"string"==typeof t&&(this.startDate=M(t,this.locale.format)),"object"==typeof t&&(this.startDate=M(t)),this.timePicker||(this.startDate=this.startDate.startOf("day")),this.timePicker&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.minDate&&this.startDate.isBefore(this.minDate)&&(this.startDate=this.minDate.clone(),this.timePicker)&&this.timePickerIncrement&&this.startDate.minute(Math.round(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.maxDate&&this.startDate.isAfter(this.maxDate)&&(this.startDate=this.maxDate.clone(),this.timePicker)&&this.timePickerIncrement&&this.startDate.minute(Math.floor(this.startDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.isShowing||this.updateElement(),this.updateMonthsInView()},setEndDate:function(t){"string"==typeof t&&(this.endDate=M(t,this.locale.format)),"object"==typeof t&&(this.endDate=M(t)),this.timePicker||(this.endDate=this.endDate.endOf("day")),this.timePicker&&this.timePickerIncrement&&this.endDate.minute(Math.round(this.endDate.minute()/this.timePickerIncrement)*this.timePickerIncrement),this.endDate.isBefore(this.startDate)&&(this.endDate=this.startDate.clone()),this.maxDate&&this.endDate.isAfter(this.maxDate)&&(this.endDate=this.maxDate.clone()),this.maxSpan&&this.startDate.clone().add(this.maxSpan).isBefore(this.endDate)&&(this.endDate=this.startDate.clone().add(this.maxSpan)),this.previousRightTime=this.endDate.clone(),this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.isShowing||this.updateElement(),this.updateMonthsInView()},isInvalidDate:function(){return!1},isCustomDate:function(){return!1},updateView:function(){this.timePicker&&(this.renderTimePicker("left"),this.renderTimePicker("right"),this.endDate?this.container.find(".right .calendar-time select").removeAttr("disabled").removeClass("disabled"):this.container.find(".right .calendar-time select").attr("disabled","disabled").addClass("disabled")),this.endDate&&this.container.find(".drp-selected").html(this.startDate.format(this.locale.format)+this.locale.separator+this.endDate.format(this.locale.format)),this.updateMonthsInView(),this.updateCalendars(),this.updateFormInputs()},updateMonthsInView:function(){if(this.endDate){if(!this.singleDatePicker&&this.leftCalendar.month&&this.rightCalendar.month&&(this.startDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.startDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM"))&&(this.endDate.format("YYYY-MM")==this.leftCalendar.month.format("YYYY-MM")||this.endDate.format("YYYY-MM")==this.rightCalendar.month.format("YYYY-MM")))return;this.leftCalendar.month=this.startDate.clone().date(2),this.linkedCalendars||this.endDate.month()==this.startDate.month()&&this.endDate.year()==this.startDate.year()?this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"):this.rightCalendar.month=this.endDate.clone().date(2)}else this.leftCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&this.rightCalendar.month.format("YYYY-MM")!=this.startDate.format("YYYY-MM")&&(this.leftCalendar.month=this.startDate.clone().date(2),this.rightCalendar.month=this.startDate.clone().date(2).add(1,"month"));this.maxDate&&this.linkedCalendars&&!this.singleDatePicker&&this.rightCalendar.month>this.maxDate&&(this.rightCalendar.month=this.maxDate.clone().date(2),this.leftCalendar.month=this.maxDate.clone().date(2).subtract(1,"month"))},updateCalendars:function(){var t,e,n,i;this.timePicker&&(this.endDate?(e=parseInt(this.container.find(".left .hourselect").val(),10),n=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(n)&&(n=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),t=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,this.timePicker24Hour||("PM"===(i=this.container.find(".left .ampmselect").val())&&e<12&&(e+=12),"AM"===i&&12===e&&(e=0))):(e=parseInt(this.container.find(".right .hourselect").val(),10),n=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(n)&&(n=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),t=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,this.timePicker24Hour||("PM"===(i=this.container.find(".right .ampmselect").val())&&e<12&&(e+=12),"AM"===i&&12===e&&(e=0))),this.leftCalendar.month.hour(e).minute(n).second(t),this.rightCalendar.month.hour(e).minute(n).second(t)),this.renderCalendar("left"),this.renderCalendar("right"),this.container.find(".ranges li").removeClass("active"),null!=this.endDate&&this.calculateChosenLabel()},renderCalendar:function(t){var e="left"==t?this.leftCalendar:this.rightCalendar,n=e.month.month(),i=e.month.year(),o=e.month.hour(),s=e.month.minute(),r=e.month.second(),a=M([i,n]).daysInMonth(),l=M([i,n,1]),i=M([i,n,a]),n=M(l).subtract(1,"month").month(),a=M(l).subtract(1,"month").year(),d=M([a,n]).daysInMonth(),u=l.day();(e=[]).firstDay=l,e.lastDay=i;for(var h=0;h<6;h++)e[h]=[];for(var l=d-u+this.locale.firstDay+1,c=(d<l&&(l-=7),u==this.locale.firstDay&&(l=d-6),M([a,n,l,12,s,r])),h=0,p=0,f=0;h<42;h++,p++,c=M(c).add(24,"hour"))0<h&&p%7==0&&(p=0,f++),e[f][p]=c.clone().hour(o).minute(s).second(r),c.hour(12),this.minDate&&e[f][p].format("YYYY-MM-DD")==this.minDate.format("YYYY-MM-DD")&&e[f][p].isBefore(this.minDate)&&"left"==t&&(e[f][p]=this.minDate.clone()),this.maxDate&&e[f][p].format("YYYY-MM-DD")==this.maxDate.format("YYYY-MM-DD")&&e[f][p].isAfter(this.maxDate)&&"right"==t&&(e[f][p]=this.maxDate.clone());"left"==t?this.leftCalendar.calendar=e:this.rightCalendar.calendar=e;var g="left"==t?this.minDate:this.startDate,m=this.maxDate,v=("left"==t?this.startDate:this.endDate,this.locale.direction,'<table class="table-condensed">'),i=(v=v+"<thead>"+"<tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(v+="<th></th>"),g&&!g.isBefore(e.firstDay)||this.linkedCalendars&&"left"!=t?v+="<th></th>":v+='<th class="prev available"><span></span></th>',this.locale.monthNames[e[1][1].month()]+e[1][1].format(" YYYY"));if(this.showDropdowns){for(var y=e[1][1].month(),b=e[1][1].year(),$=m&&m.year()||this.maxYear,u=g&&g.year()||this.minYear,w=b==u,x=b==$,_='<select class="monthselect">',C=0;C<12;C++)(!w||g&&C>=g.month())&&(!x||m&&C<=m.month())?_+="<option value='"+C+"'"+(C===y?" selected='selected'":"")+">"+this.locale.monthNames[C]+"</option>":_+="<option value='"+C+"'"+(C===y?" selected='selected'":"")+" disabled='disabled'>"+this.locale.monthNames[C]+"</option>";_+="</select>";for(var S='<select class="yearselect">',k=u;k<=$;k++)S+='<option value="'+k+'"'+(k===b?' selected="selected"':"")+">"+k+"</option>";i=_+(S+="</select>")}v+='<th colspan="5" class="month">'+i+"</th>",m&&!m.isAfter(e.lastDay)||this.linkedCalendars&&"right"!=t&&!this.singleDatePicker?v+="<th></th>":v+='<th class="next available"><span></span></th>',v+="</tr><tr>",(this.showWeekNumbers||this.showISOWeekNumbers)&&(v+='<th class="week">'+this.locale.weekLabel+"</th>"),O.each(this.locale.daysOfWeek,function(t,e){v+="<th>"+e+"</th>"}),v+="</tr></thead><tbody>",null==this.endDate&&this.maxSpan&&(d=this.startDate.clone().add(this.maxSpan).endOf("day"),m&&!d.isBefore(m)||(m=d));for(f=0;f<6;f++){v+="<tr>",this.showWeekNumbers?v+='<td class="week">'+e[f][0].week()+"</td>":this.showISOWeekNumbers&&(v+='<td class="week">'+e[f][0].isoWeek()+"</td>");for(p=0;p<7;p++){for(var D=[],T=(e[f][p].isSame(new Date,"day")&&D.push("today"),5<e[f][p].isoWeekday()&&D.push("weekend"),e[f][p].month()!=e[1][1].month()&&D.push("off","ends"),this.minDate&&e[f][p].isBefore(this.minDate,"day")&&D.push("off","disabled"),m&&e[f][p].isAfter(m,"day")&&D.push("off","disabled"),this.isInvalidDate(e[f][p])&&D.push("off","disabled"),e[f][p].format("YYYY-MM-DD")==this.startDate.format("YYYY-MM-DD")&&D.push("active","start-date"),null!=this.endDate&&e[f][p].format("YYYY-MM-DD")==this.endDate.format("YYYY-MM-DD")&&D.push("active","end-date"),null!=this.endDate&&e[f][p]>this.startDate&&e[f][p]<this.endDate&&D.push("in-range"),this.isCustomDate(e[f][p])),I=(!1!==T&&("string"==typeof T?D.push(T):Array.prototype.push.apply(D,T)),""),A=!1,h=0;h<D.length;h++)I+=D[h]+" ","disabled"==D[h]&&(A=!0);A||(I+="available"),v+='<td class="'+I.replace(/^\s+|\s+$/g,"")+'" data-title="r'+f+"c"+p+'">'+e[f][p].date()+"</td>"}v+="</tr>"}v+="</tbody></table>",this.container.find(".drp-calendar."+t+" .calendar-table").html(v)},renderTimePicker:function(t){if("right"!=t||this.endDate){for(var e,n,i=this.maxDate,o=(!this.maxSpan||this.maxDate&&!this.startDate.clone().add(this.maxSpan).isBefore(this.maxDate)||(i=this.startDate.clone().add(this.maxSpan)),"left"==t?(e=this.startDate.clone(),n=this.minDate):"right"==t&&(e=this.endDate.clone(),n=this.startDate,""!=(o=this.container.find(".drp-calendar.right .calendar-time")).html()&&(e.hour(isNaN(e.hour())?o.find(".hourselect option:selected").val():e.hour()),e.minute(isNaN(e.minute())?o.find(".minuteselect option:selected").val():e.minute()),e.second(isNaN(e.second())?o.find(".secondselect option:selected").val():e.second()),this.timePicker24Hour||("PM"===(o=o.find(".ampmselect option:selected").val())&&e.hour()<12&&e.hour(e.hour()+12),"AM"===o&&12===e.hour()&&e.hour(0))),e.isBefore(this.startDate)&&(e=this.startDate.clone()),i)&&e.isAfter(i)&&(e=i.clone()),h='<select class="hourselect">',this.timePicker24Hour?0:1),s=this.timePicker24Hour?23:12,r=o;r<=s;r++){var a=r,l=(this.timePicker24Hour||(a=12<=e.hour()?12==r?12:r+12:12==r?0:r),e.clone().hour(a)),d=!1;n&&l.minute(59).isBefore(n)&&(d=!0),i&&l.minute(0).isAfter(i)&&(d=!0),a!=e.hour()||d?h+=d?'<option value="'+r+'" disabled="disabled" class="disabled">'+r+"</option>":'<option value="'+r+'">'+r+"</option>":h+='<option value="'+r+'" selected="selected">'+r+"</option>"}for(var u,h=h+"</select> "+': <select class="minuteselect">',r=0;r<60;r+=this.timePickerIncrement){var c=r<10?"0"+r:r,l=e.clone().minute(r),d=!1;n&&l.second(59).isBefore(n)&&(d=!0),i&&l.second(0).isAfter(i)&&(d=!0),e.minute()!=r||d?h+=d?'<option value="'+r+'" disabled="disabled" class="disabled">'+c+"</option>":'<option value="'+r+'">'+c+"</option>":h+='<option value="'+r+'" selected="selected">'+c+"</option>"}if(h+="</select> ",this.timePickerSeconds){h+=': <select class="secondselect">';for(r=0;r<60;r++){c=r<10?"0"+r:r,l=e.clone().second(r),d=!1;n&&l.isBefore(n)&&(d=!0),i&&l.isAfter(i)&&(d=!0),e.second()!=r||d?h+=d?'<option value="'+r+'" disabled="disabled" class="disabled">'+c+"</option>":'<option value="'+r+'">'+c+"</option>":h+='<option value="'+r+'" selected="selected">'+c+"</option>"}h+="</select> "}this.timePicker24Hour||(h+='<select class="ampmselect">',u=o="",n&&e.clone().hour(12).minute(0).second(0).isBefore(n)&&(o=' disabled="disabled" class="disabled"'),i&&e.clone().hour(0).minute(0).second(0).isAfter(i)&&(u=' disabled="disabled" class="disabled"'),12<=e.hour()?h+='<option value="AM"'+o+'>AM</option><option value="PM" selected="selected"'+u+">PM</option>":h+='<option value="AM" selected="selected"'+o+'>AM</option><option value="PM"'+u+">PM</option>",h+="</select>"),this.container.find(".drp-calendar."+t+" .calendar-time").html(h)}},updateFormInputs:function(){this.singleDatePicker||this.endDate&&(this.startDate.isBefore(this.endDate)||this.startDate.isSame(this.endDate))?this.container.find("button.applyBtn").removeAttr("disabled"):this.container.find("button.applyBtn").attr("disabled","disabled")},move:function(){var t,e,n={top:0,left:0},i=O(window).width(),o=(this.parentEl.is("body")||(n={top:this.parentEl.offset().top-this.parentEl.scrollTop(),left:this.parentEl.offset().left-this.parentEl.scrollLeft()},i=this.parentEl[0].clientWidth+this.parentEl.offset().left),t="up"==this.drops?this.element.offset().top-this.container.outerHeight()-n.top:this.element.offset().top+this.element.outerHeight()-n.top,this.container.css({top:0,left:0,right:"auto"}),this.container.outerWidth());this.container["up"==this.drops?"addClass":"removeClass"]("drop-up"),"left"==this.opens?o+(i=i-this.element.offset().left-this.element.outerWidth())>O(window).width()?this.container.css({top:t,right:"auto",left:9}):this.container.css({top:t,right:i,left:"auto"}):"center"==this.opens?(e=this.element.offset().left-n.left+this.element.outerWidth()/2-o/2)<0?this.container.css({top:t,right:"auto",left:9}):e+o>O(window).width()?this.container.css({top:t,left:"auto",right:0}):this.container.css({top:t,left:e,right:"auto"}):(e=this.element.offset().left-n.left)+o>O(window).width()?this.container.css({top:t,left:"auto",right:0}):this.container.css({top:t,left:e,right:"auto"})},show:function(t){this.isShowing||(this._outsideClickProxy=O.proxy(function(t){this.outsideClick(t)},this),O(document).on("mousedown.daterangepicker",this._outsideClickProxy).on("touchend.daterangepicker",this._outsideClickProxy).on("click.daterangepicker","[data-toggle=dropdown]",this._outsideClickProxy).on("focusin.daterangepicker",this._outsideClickProxy),O(window).on("resize.daterangepicker",O.proxy(function(t){this.move(t)},this)),this.oldStartDate=this.startDate.clone(),this.oldEndDate=this.endDate.clone(),this.previousRightTime=this.endDate.clone(),this.updateView(),this.container.show(),this.move(),this.element.trigger("show.daterangepicker",this),this.isShowing=!0)},hide:function(t){this.isShowing&&(this.endDate||(this.startDate=this.oldStartDate.clone(),this.endDate=this.oldEndDate.clone()),this.startDate.isSame(this.oldStartDate)&&this.endDate.isSame(this.oldEndDate)||this.callback(this.startDate.clone(),this.endDate.clone(),this.chosenLabel),this.updateElement(),O(document).off(".daterangepicker"),O(window).off(".daterangepicker"),this.container.hide(),this.element.trigger("hide.daterangepicker",this),this.isShowing=!1)},toggle:function(t){this.isShowing?this.hide():this.show()},outsideClick:function(t){var e=O(t.target);"focusin"==t.type||e.closest(this.element).length||e.closest(this.container).length||e.closest(".calendar-table").length||(this.hide(),this.element.trigger("outsideClick.daterangepicker",this))},showCalendars:function(){this.container.addClass("show-calendar"),this.move(),this.element.trigger("showCalendar.daterangepicker",this)},hideCalendars:function(){this.container.removeClass("show-calendar"),this.element.trigger("hideCalendar.daterangepicker",this)},clickRange:function(t){var t=t.target.getAttribute("data-range-key");(this.chosenLabel=t)==this.locale.customRangeLabel?this.showCalendars():(t=this.ranges[t],this.startDate=t[0],this.endDate=t[1],this.timePicker||(this.startDate.startOf("day"),this.endDate.endOf("day")),this.alwaysShowCalendars||this.hideCalendars(),this.clickApply())},clickPrev:function(t){O(t.target).parents(".drp-calendar").hasClass("left")&&(this.leftCalendar.month.subtract(1,"month"),!this.linkedCalendars)||this.rightCalendar.month.subtract(1,"month"),this.updateCalendars()},clickNext:function(t){(O(t.target).parents(".drp-calendar").hasClass("left")||(this.rightCalendar.month.add(1,"month"),this.linkedCalendars))&&this.leftCalendar.month.add(1,"month"),this.updateCalendars()},hoverDate:function(t){var e,n,o,s,r,a;O(t.target).hasClass("available")&&(e=(n=O(t.target).attr("data-title")).substr(1,1),n=n.substr(3,1),o=(O(t.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar:this.rightCalendar).calendar[e][n],s=this.leftCalendar,r=this.rightCalendar,a=this.startDate,this.endDate||this.container.find(".drp-calendar tbody td").each(function(t,e){var n,i;O(e).hasClass("week")||(i=(n=O(e).attr("data-title")).substr(1,1),n=n.substr(3,1),(i=(O(e).parents(".drp-calendar").hasClass("left")?s:r).calendar[i][n]).isAfter(a)&&i.isBefore(o)||i.isSame(o,"day")?O(e).addClass("in-range"):O(e).removeClass("in-range"))}))},clickDate:function(t){var e,n,i,o,s,r;O(t.target).hasClass("available")&&(n=(e=O(t.target).attr("data-title")).substr(1,1),e=e.substr(3,1),n=(O(t.target).parents(".drp-calendar").hasClass("left")?this.leftCalendar:this.rightCalendar).calendar[n][e],this.endDate||n.isBefore(this.startDate,"day")?(this.timePicker&&(i=parseInt(this.container.find(".left .hourselect").val(),10),this.timePicker24Hour||("PM"===(o=this.container.find(".left .ampmselect").val())&&i<12&&(i+=12),"AM"===o&&12===i&&(i=0)),s=parseInt(this.container.find(".left .minuteselect").val(),10),isNaN(s)&&(s=parseInt(this.container.find(".left .minuteselect option:last").val(),10)),r=this.timePickerSeconds?parseInt(this.container.find(".left .secondselect").val(),10):0,n=n.clone().hour(i).minute(s).second(r)),this.endDate=null,this.setStartDate(n.clone())):!this.endDate&&n.isBefore(this.startDate)?this.setEndDate(this.startDate.clone()):(this.timePicker&&(i=parseInt(this.container.find(".right .hourselect").val(),10),this.timePicker24Hour||("PM"===(o=this.container.find(".right .ampmselect").val())&&i<12&&(i+=12),"AM"===o&&12===i&&(i=0)),s=parseInt(this.container.find(".right .minuteselect").val(),10),isNaN(s)&&(s=parseInt(this.container.find(".right .minuteselect option:last").val(),10)),r=this.timePickerSeconds?parseInt(this.container.find(".right .secondselect").val(),10):0,n=n.clone().hour(i).minute(s).second(r)),this.setEndDate(n.clone()),this.autoApply&&(this.calculateChosenLabel(),this.clickApply())),this.singleDatePicker&&(this.setEndDate(this.startDate),this.timePicker||this.clickApply()),this.updateView(),t.stopPropagation())},calculateChosenLabel:function(){var t,e=!0,n=0;for(t in this.ranges){if(this.timePicker){var i=this.timePickerSeconds?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD HH:mm";if(this.startDate.format(i)==this.ranges[t][0].format(i)&&this.endDate.format(i)==this.ranges[t][1].format(i)){e=!1,this.chosenLabel=this.container.find(".ranges li:eq("+n+")").addClass("active").attr("data-range-key");break}}else if(this.startDate.format("YYYY-MM-DD")==this.ranges[t][0].format("YYYY-MM-DD")&&this.endDate.format("YYYY-MM-DD")==this.ranges[t][1].format("YYYY-MM-DD")){e=!1,this.chosenLabel=this.container.find(".ranges li:eq("+n+")").addClass("active").attr("data-range-key");break}n++}e&&(this.showCustomRangeLabel?this.chosenLabel=this.container.find(".ranges li:last").addClass("active").attr("data-range-key"):this.chosenLabel=null,this.showCalendars())},clickApply:function(t){this.hide(),this.element.trigger("apply.daterangepicker",this)},clickCancel:function(t){this.startDate=this.oldStartDate,this.endDate=this.oldEndDate,this.hide(),this.element.trigger("cancel.daterangepicker",this)},monthOrYearChanged:function(t){var t=O(t.target).closest(".drp-calendar").hasClass("left"),e=this.container.find(".drp-calendar."+(t?"left":"right")),n=parseInt(e.find(".monthselect").val(),10),e=e.find(".yearselect").val();t||(e<this.startDate.year()||e==this.startDate.year()&&n<this.startDate.month())&&(n=this.startDate.month(),e=this.startDate.year()),this.minDate&&(e<this.minDate.year()||e==this.minDate.year()&&n<this.minDate.month())&&(n=this.minDate.month(),e=this.minDate.year()),this.maxDate&&(e>this.maxDate.year()||e==this.maxDate.year()&&n>this.maxDate.month())&&(n=this.maxDate.month(),e=this.maxDate.year()),t?(this.leftCalendar.month.month(n).year(e),this.linkedCalendars&&(this.rightCalendar.month=this.leftCalendar.month.clone().add(1,"month"))):(this.rightCalendar.month.month(n).year(e),this.linkedCalendars&&(this.leftCalendar.month=this.rightCalendar.month.clone().subtract(1,"month"))),this.updateCalendars()},timeChanged:function(t){var t=O(t.target).closest(".drp-calendar"),e=t.hasClass("left"),n=parseInt(t.find(".hourselect").val(),10),i=parseInt(t.find(".minuteselect").val(),10),o=(isNaN(i)&&(i=parseInt(t.find(".minuteselect option:last").val(),10)),this.timePickerSeconds?parseInt(t.find(".secondselect").val(),10):0);this.timePicker24Hour||("PM"===(t=t.find(".ampmselect").val())&&n<12&&(n+=12),"AM"===t&&12===n&&(n=0)),e?((t=this.startDate.clone()).hour(n),t.minute(i),t.second(o),this.setStartDate(t),this.singleDatePicker?this.endDate=this.startDate.clone():this.endDate&&this.endDate.format("YYYY-MM-DD")==t.format("YYYY-MM-DD")&&this.endDate.isBefore(t)&&this.setEndDate(t.clone())):this.endDate&&((e=this.endDate.clone()).hour(n),e.minute(i),e.second(o),this.setEndDate(e)),this.updateCalendars(),this.updateFormInputs(),this.renderTimePicker("left"),this.renderTimePicker("right")},elementChanged:function(){var t,e,n;this.element.is("input")&&this.element.val().length&&(n=e=null,2===(t=this.element.val().split(this.locale.separator)).length&&(e=M(t[0],this.locale.format),n=M(t[1],this.locale.format)),!this.singleDatePicker&&null!==e&&null!==n||(n=e=M(this.element.val(),this.locale.format)),e.isValid())&&n.isValid()&&(this.setStartDate(e),this.setEndDate(n),this.updateView())},keydown:function(t){9!==t.keyCode&&13!==t.keyCode||this.hide(),27===t.keyCode&&(t.preventDefault(),t.stopPropagation(),this.hide())},updateElement:function(){var t;this.element.is("input")&&this.autoUpdateInput&&(t=this.startDate.format(this.locale.format),this.singleDatePicker||(t+=this.locale.separator+this.endDate.format(this.locale.format)),t!==this.element.val())&&this.element.val(t).trigger("change")},remove:function(){this.container.remove(),this.element.off(".daterangepicker"),this.element.removeData()}},O.fn.daterangepicker=function(t,e){var n=O.extend(!0,{},O.fn.daterangepicker.defaultOptions,t);return this.each(function(){var t=O(this);t.data("daterangepicker")&&t.data("daterangepicker").remove(),t.data("daterangepicker",new i(t,n,e))}),this},i});