PageSourceSearch

https://www.patenteonline.it/js/patenteonline.js

js patenteonline.it collected 2026-09-24 13:17:06 UTC 343,313 bytes, 1 lines download raw bytes

1if(!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(h,_){function R(t,e){return e.toUpperCase()}var u=[],c=u.slice,B=u.concat,P=u.push,F=u.indexOf,n={},j=n.toString,m=n.hasOwnProperty,v={},t="1.11.1",x=function(t,e){return new x.fn.init(t,e)},z=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,H=/^-ms-/,U=/-([\da-z])/gi;function W(t){var e=t.length,n=x.type(t);return"function"!==n&&!x.isWindow(t)&&(!(1!==t.nodeType||!e)||"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 c.call(this)},get:function(t){return null!=t?t<0?this[t+this.length]:this[t]:c.call(this)},pushStack:function(t){t=x.merge(this.constructor(),t);return t.prevObject=this,t.context=this.context,t},each:function(t,e){return x.each(this,t,e)},map:function(n){return this.pushStack(x.map(this,function(t,e){return n.call(t,e,t)}))},slice:function(){return this.pushStack(c.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(null)},push:P,sort:u.sort,splice:u.splice},x.extend=x.fn.extend=function(){var t,e,n,i,a,r=arguments[0]||{},o=1,s=arguments.length,l=!1;for("boolean"==typeof r&&(l=r,r=arguments[o]||{},o++),"object"==typeof r||x.isFunction(r)||(r={}),o===s&&(r=this,o--);o<s;o++)if(null!=(i=arguments[o]))for(n in i)a=r[n],e=i[n],r!==e&&(l&&e&&(x.isPlainObject(e)||(t=x.isArray(e)))?(a=t?(t=!1,a&&x.isArray(a)?a:[]):a&&x.isPlainObject(a)?a:{},r[n]=x.extend(l,a,e)):void 0!==e&&(r[n]=e));return r},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){return!x.isArray(t)&&0<=t-parseFloat(t)},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&&!m.call(t,"constructor")&&!m.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(v.ownLast)for(var e in t)return m.call(t,e);for(e in t);return void 0===e||m.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?n[j.call(t)]||"object":typeof t},globalEval:function(t){t&&x.trim(t)&&(h.execScript||function(t){h.eval.call(h,t)})(t)},camelCase:function(t){return t.replace(H,"ms-").replace(U,R)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var i,a=0,r=t.length,o=W(t);if(n){if(o)for(;a<r&&!1!==(i=e.apply(t[a],n));a++);else for(a in t)if(i=e.apply(t[a],n),!1===i)break}else if(o)for(;a<r&&!1!==(i=e.call(t[a],a,t[a]));a++);else for(a in t)if(i=e.call(t[a],a,t[a]),!1===i)break;return t},trim:function(t){return null==t?"":(t+"").replace(z,"")},makeArray:function(t,e){e=e||[];return null!=t&&(W(Object(t))?x.merge(e,"string"==typeof t?[t]:t):P.call(e,t)),e},inArray:function(t,e,n){var i;if(e){if(F)return F.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,a=t.length;i<n;)t[a++]=e[i++];if(n!=n)for(;void 0!==e[i];)t[a++]=e[i++];return t.length=a,t},grep:function(t,e,n){for(var i=[],a=0,r=t.length,o=!n;a<r;a++)!e(t[a],a)!=o&&i.push(t[a]);return i},map:function(t,e,n){var i,a=0,r=t.length,o=[];if(W(t))for(;a<r;a++)null!=(i=e(t[a],a,n))&&o.push(i);else for(a in t)i=e(t[a],a,n),null!=i&&o.push(i);return B.apply([],o)},guid:1,proxy:function(t,e){var n,i;return"string"==typeof e&&(i=t[e],e=t,t=i),x.isFunction(t)?(n=c.call(arguments,2),(i=function(){return t.apply(e||this,n.concat(c.call(arguments)))}).guid=t.guid=t.guid||x.guid++,i):void 0},now:function(){return+new Date},support:v}),x.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){n["[object "+e+"]"]=e.toLowerCase()});var t=function(_){function u(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)}var t,p,w,r,R,f,B,P,x,d,c,h,S,e,m,v,i,a,g,y="sizzle"+-new Date,b=_.document,A=0,F=0,j=dt(),z=dt(),H=dt(),U=function(t,e){return t===e&&(c=!0),0}
1,n="undefined",W={}.hasOwnProperty,o=[],G=o.pop,Z=o.push,C=o.push,q=o.slice,T=o.indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(this[e]===t)return e;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",s="[\\x20\\t\\r\\n\\f]",l="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",Q=l.replace("w","w#"),Y="\\["+s+"*("+l+")(?:"+s+"*([*^$|!~]?=)"+s+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+Q+"))|)"+s+"*\\]",X=":("+l+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+Y+")*)|.*)\\)|)",I=new RegExp("^"+s+"+|((?:^|[^\\\\])(?:\\\\.)*)"+s+"+$","g"),J=new RegExp("^"+s+"*,"+s+"*"),tt=new RegExp("^"+s+"*([>+~]|"+s+")"+s+"*"),et=new RegExp("="+s+"*([^\\]'\"]*?)"+s+"*\\]","g"),nt=new RegExp(X),it=new RegExp("^"+Q+"$"),E={ID:new RegExp("^#("+l+")"),CLASS:new RegExp("^\\.("+l+")"),TAG:new RegExp("^("+l.replace("w","w*")+")"),ATTR:new RegExp("^"+Y),PSEUDO:new RegExp("^"+X),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+s+"*(even|odd|(([+-]|)(\\d*)n|)"+s+"*(?:([+-]|)"+s+"*(\\d+)|))"+s+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+s+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+s+"*((?:-\\d)?\\d*)"+s+"*\\)|)(?=[^-]|$)","i")},at=/^(?:input|select|textarea|button)$/i,rt=/^h\d$/i,k=/^[^{]+\{\s*\[native \w/,ot=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,st=/[+~]/,lt=/'|\\/g,N=new RegExp("\\\\([\\da-f]{1,6}"+s+"?|("+s+")|.)","ig");try{C.apply(o=q.call(b.childNodes),b.childNodes),o[b.childNodes.length].nodeType}catch(t){C={apply:o.length?function(t,e){Z.apply(t,q.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function $(t,e,n,i){var a,r,o,s,l,d,c;if((e?e.ownerDocument||e:b)!==S&&h(e),n=n||[],!t||"string"!=typeof t)return n;if(1!==(a=(e=e||S).nodeType)&&9!==a)return[];if(m&&!i){if(d=ot.exec(t))if(c=d[1]){if(9===a){if(!(s=e.getElementById(c))||!s.parentNode)return n;if(s.id===c)return n.push(s),n}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(c))&&g(e,s)&&s.id===c)return n.push(s),n}else{if(d[2])return C.apply(n,e.getElementsByTagName(t)),n;if((c=d[3])&&p.getElementsByClassName&&e.getElementsByClassName)return C.apply(n,e.getElementsByClassName(c)),n}if(p.qsa&&(!v||!v.test(t))){if(l=s=y,d=e,c=9===a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(o=f(t),(s=e.getAttribute("id"))?l=s.replace(lt,"\\$&"):e.setAttribute("id",l),l="[id='"+l+"'] ",r=o.length;r--;)o[r]=l+O(o[r]);d=st.test(t)&&pt(e.parentNode)||e,c=o.join(",")}if(c)try{return C.apply(n,d.querySelectorAll(c)),n}catch(t){}finally{s||e.removeAttribute("id")}}}return P(t.replace(I,"$1"),e,n,i)}function dt(){var n=[];function i(t,e){return n.push(t+" ")>w.cacheLength&&delete i[n.shift()],i[t+" "]=e}return i}function D(t){return t[y]=!0,t}function M(t){var e=S.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e)}}function ct(t,e){for(var n=t.split("|"),i=t.length;i--;)w.attrHandle[n[i]]=e}function ut(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 L(o){return D(function(r){return r=+r,D(function(t,e){for(var n,i=o([],t.length,r),a=i.length;a--;)t[n=i[a]]&&(t[n]=!(e[n]=t[n]))})})}function pt(t){return t&&typeof t.getElementsByTagName!==n&&t}for(t in p=$.support={},R=$.isXML=function(t){t=t&&(t.ownerDocument||t).documentElement;return!!t&&"HTML"!==t.nodeName},h=$.setDocument=function(t){var l=t?t.ownerDocument||t:b,t=l.defaultView;return l!==S&&9===l.nodeType&&l.documentElement?(e=(S=l).documentElement,m=!R(l),t&&t!==t.top&&(t.addEventListener?t.addEventListener("unload",function(){h()},!1):t.attachEvent&&t.attachEvent("onunload",function(){h()})),p.attributes=M(function(t){return t.className="i",!t.getAttribute("className")}),p.getElementsByTagName=M(function(t){return t.appendChild(l.createComment("")),!t.getElementsByTagName("*").length}),p.getElementsByClassName=k.test(l.getElementsByClassName)&&M(function(t){return t.innerHTML="<div class='a'></div><div class='a i'></div>",t.firstChild.className="i",2===t.getElementsByClassName("i").length}),p.getById=M(function(t){return e.appendChild(t).id=y,!l.getElementsByName||!l.getElementsByName(y).length}),p.getById?(w.find.ID=function(t,e){if(typeof e.getElementById!==n&&m)return(e=e.getElementById(t))&&e.parentNode?[e]:[]},w.filter.ID=function(t){var e=t.replace(N,u);return function(t){return t.getAttribute("id")===e}}):(delete w.find.ID,w.filter.ID=function(t){var e=t.replace(N,u);return function(t){t=typeof t.getAttributeNode!==n&&t.getAttributeNode("id");return t&&t.value===e}}),w.find.TAG=p.getElementsByTagName?function(t,e){return typeof e.getElementsByTagName!==n?e.getElementsByTagName(t):void 0}:function(t,e){var n,i=[],a=0,r=e.getElementsByTagName(t);if("*"!==t)return r;for(;n=r[a++];)1===n.nodeType&&i.push(n);return i},w.find.CLASS=p.getElementsByClassName&&function(t,e){return typeof e.getElementsByClassName!==n&&m?e.getElementsByClassName(t):void 0},i=[],v=[],(p.qsa=k.test(l.querySelectorAll))&&(M(function(t){t.innerHTML="<select msallowclip=''><option selected=''></option></select>",t.querySelectorAll("[msallowclip^='']").length&&v.push("[*^$]="+s+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||v.push("\\["+s+"*(?:value|"+K+")"),t.querySelectorAll(":checked").length||v.push(":checked")}),M(function(t){var e=l.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&v.push("name"+s+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||v.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),v.push(",.*:")})),(p.matchesSelector=k.test(a=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.msMatchesSelector))&&M(function(t){p.disconnectedMatch=a.call(t,"div"),a.call(t,"[s!='']:x"),i.push("!=",X)}
vendor: 12,296 bytes, line 1
1),v=v.length&&new RegExp(v.join("|")),i=i.length&&new RegExp(i.join("|")),t=k.test(e.compareDocumentPosition),g=t||k.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?(c=!0,0):(n=!t.compareDocumentPosition-!e.compareDocumentPosition)||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!p.sortDetached&&e.compareDocumentPosition(t)===n?t===l||t.ownerDocument===b&&g(b,t)?-1:e===l||e.ownerDocument===b&&g(b,e)?1:d?T.call(d,t)-T.call(d,e):0:4&n?-1:1)}:function(t,e){if(t===e)return c=!0,0;var n,i=0,a=t.parentNode,r=e.parentNode,o=[t],s=[e];if(!a||!r)return t===l?-1:e===l?1:a?-1:r?1:d?T.call(d,t)-T.call(d,e):0;if(a===r)return ut(t,e);for(n=t;n=n.parentNode;)o.unshift(n);for(n=e;n=n.parentNode;)s.unshift(n);for(;o[i]===s[i];)i++;return i?ut(o[i],s[i]):o[i]===b?-1:s[i]===b?1:0},l):S},$.matches=function(t,e){return $(t,null,null,e)},$.matchesSelector=function(t,e){if((t.ownerDocument||t)!==S&&h(t),e=e.replace(et,"='$1']"),!(!p.matchesSelector||!m||i&&i.test(e)||v&&v.test(e)))try{var n=a.call(t,e);if(n||p.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0<$(e,S,null,[t]).length},$.contains=function(t,e){return(t.ownerDocument||t)!==S&&h(t),g(t,e)},$.attr=function(t,e){(t.ownerDocument||t)!==S&&h(t);var n=w.attrHandle[e.toLowerCase()],n=n&&W.call(w.attrHandle,e.toLowerCase())?n(t,e,!m):void 0;return void 0!==n?n:p.attributes||!m?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},$.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},$.uniqueSort=function(t){var e,n=[],i=0,a=0;if(c=!p.detectDuplicates,d=!p.sortStable&&t.slice(0),t.sort(U),c){for(;e=t[a++];)e===t[a]&&(i=n.push(a));for(;i--;)t.splice(n[i],1)}return d=null,t},r=$.getText=function(t){var e,n="",i=0,a=t.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=r(t)}else if(3===a||4===a)return t.nodeValue}else for(;e=t[i++];)n+=r(e);return n},(w=$.selectors={cacheLength:50,createPseudo:D,match:E,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(N,u),t[3]=(t[3]||t[4]||t[5]||"").replace(N,u),"~="===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]||$.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]&&$.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return E.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&nt.test(n)&&(e=(e=f(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(N,u).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=j[t+" "];return e||(e=new RegExp("(^|"+s+")"+t+"("+s+"|$)"))&&j(t,function(t){return e.test("string"==typeof t.className&&t.className||typeof t.getAttribute!==n&&t.getAttribute("class")||"")})},ATTR:function(e,n,i){return function(t){t=$.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+" ").indexOf(i):"|="===n&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(f,t,e,h,m){var v="nth"!==f.slice(0,3),g="last"!==f.slice(-4),b="of-type"===t;return 1===h&&0===m?function(t){return!!t.parentNode}:function(t,e,n){var i,a,r,o,s,l,d=v!=g?"nextSibling":"previousSibling",c=t.parentNode,u=b&&t.nodeName.toLowerCase(),p=!n&&!b;if(c){if(v){for(;d;){for(r=t;r=r[d];)if(b?r.nodeName.toLowerCase()===u:1===r.nodeType)return!1;l=d="only"===f&&!l&&"nextSibling"}return!0}if(l=[g?c.firstChild:c.lastChild],g&&p){for(s=(i=(a=c[y]||(c[y]={}))[f]||[])[0]===A&&i[1],o=i[0]===A&&i[2],r=s&&c.childNodes[s];r=++s&&r&&r[d]||(o=s=0,l.pop());)if(1===r.nodeType&&++o&&r===t){a[f]=[A,s,o];break}}else if(p&&(i=(t[y]||(t[y]={}))[f])&&i[0]===A)o=i[1];else for(;(r=++s&&r&&r[d]||(o=s=0,l.pop()))&&((b?r.nodeName.toLowerCase()!==u:1!==r.nodeType)||!++o||(p&&((r[y]||(r[y]={}))[f]=[A,o]),r!==t)););return(o-=m)===h||o%h==0&&0<=o/h}}},PSEUDO:function(t,r){var e,o=w.pseudos[t]||w.setFilters[t.toLowerCase()]||$.error("unsupported pseudo: "+t);return o[y]?o(r):1<o.length?(e=[t,t,"",r],w.setFilters.hasOwnProperty(t.toLowerCase())?D(function(t,e){for(var n,i=o(t,r),a=i.length;a--;)t[n=T.call(t,i[a])]=!(e[n]=i[a])}):function(t){return o(t,0,e)}):o}},pseudos:{not:D(function(t){var i=[],a=[],s=B(t.replace(I,"$1"));return s[y]?D(function(t,e,n,i){for(var a,r=s(t,null,i,[]),o=t.length;o--;)(a=r[o])&&(t[o]=!(e[o]=a))}):function(t,e,n){return i[0]=t,s(i,null,n,a),!a.pop()}}),has:D(function(e){return function(t){return 0<$(e,t).length}}),contains:D(function(e){return function(t){return-1<(t.textContent||t.innerText||r(t)).indexOf(e)}}),lang:D(function(n){return it.test(n||"")||$.error("unsupported lang: "+n),n=n.replace(N,u).toLowerCase(),function(t){var e;do{if(e=m?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=_.location&&_.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===e},focus:function(t){return t===S.activeElement&&(!S.hasFocus||S.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!w.pseudos.empty(t)},header:function(t){return rt.test(t.nodeName)},input:function(t){return at.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:L(function(){return[0]}),last:L(function(t,e){return[e-1]}),eq:L(function(t,e,n){return[n<0?n+e:n]}),even:L(function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t}),odd:L(function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t}),lt:L(function(t,e,n){for(var i=n<0?n+e:n;0<=--i;)t.push(i);return t}),gt:L(function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[t]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(t);for(t in{submit:!0,reset:!0})w.pseudos[t]=function(n){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===n}}(t);function ft(){}function O(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function ht(o,t,e){var s=t.dir,l=e&&"parentNode"===s,d=F++;return t.first?function(t,e,n){for(;t=t[s];)if(1===t.nodeType||l)return o(t,e,n)}:function(t,e,n){var i,a,r=[A,d];if(n){for(;t=t[s];)if((1===t.nodeType||l)&&o(t,e,n))return!0}else for(;t=t[s];)if(1===t.nodeType||l){if((i=(a=t[y]||(t[y]={}))[s])&&i[0]===A&&i[1]===d)return r[2]=i[2];if((a[s]=r)[2]=o(t,e,n))return!0}}}function mt(a){return 1<a.length?function(t,e,n){for(var i=a.length;i--;)if(!a[i](t,e,n))return!1;return!0}:a[0]}function V(t,e,n,i,a){for(var r,o=[],s=0,l=t.length,d=null!=e;s<l;s++)(r=t[s])&&(!n||n(r,i,a))&&(o.push(r),d)&&e.push(s);return o}function vt(f,h,m,v,g,t){return v&&!v[y]&&(v=vt(v)),g&&!g[y]&&(g=vt(g,t)),D(function(t,e,n,i){var a,r,o,s=[],l=[],d=e.length,c=t||function(t,e,n){for(var i=0,a=e.length;i<a;i++)$(t,e[i],n);return n}(h||"*",n.nodeType?[n]:n,[]),u=!f||!t&&h?c:V(c,s,f,n,i),p=m?g||(t?f:d||v)?[]:e:u;if(m&&m(u,p,n,i),v)for(a=V(p,l),v(a,[],n,i),r=a.length;r--;)(o=a[r])&&(p[l[r]]=!(u[l[r]]=o));if(t){if(g||f){if(g){for(a=[],r=p.length;r--;)(o=p[r])&&a.push(u[r]=o);g(null,p=[],a,i)}for(r=p.length;r--;)(o=p[r])&&-1<(a=g?T.call(t,o):s[r])&&(t[a]=!(e[a]=o))}}else p=V(p===e?p.splice(d,p.length):p),g?g(null,e,p,i):C.apply(e,p)})}function gt(v,g){function t(t,e,n,i,a){var r,o,s,l=0,d="0",c=t&&[],u=[],p=x,f=t||y&&w.find.TAG("*",a),h=A+=null==p?1:Math.random()||.1,m=f.length;for(a&&(x=e!==S&&e);d!==m&&null!=(r=f[d]);d++){if(y&&r){for(o=0;s=v[o++];)if(s(r,e,n)){i.push(r);break}a&&(A=h)}b&&((r=!s&&r)&&l--,t)&&c.push(r)}if(l+=d,b&&d!==l){for(o=0;s=g[o++];)s(c,u,e,n);if(t){if(0<l)for(;d--;)c[d]||u[d]||(u[d]=G.call(i));u=V(u)}C.apply(i,u),a&&!t&&0<u.length&&1<l+g.length&&$.uniqueSort(i)}return a&&(A=h,x=p),c}var b=0<g.length,y=0<v.length;return b?D(t):t}return ft.prototype=w.filters=w.pseudos,w.setFilters=new ft,f=$.tokenize=function(t,e){var n,i,a,r,o,s,l,d=z[t+" "];if(d)return e?0:d.slice(0);for(o=t,s=[],l=w.preFilter;o;){for(r in n&&!(i=J.exec(o))||(i&&(o=o.slice(i[0].length)||o),s.push(a=[])),n=!1,(i=tt.exec(o))&&(n=i.shift(),a.push({value:n,type:i[0].replace(I," ")}),o=o.slice(n.length)),w.filter)!(i=E[r].exec(o))||l[r]&&!(i=l[r](i))||(n=i.shift(),a.push({value:n,type:r,matches:i}),o=o.slice(n.length));if(!n)break}return e?o.length:o?$.error(t):z(t,s).slice(0)},B=$.compile=function(t,e){var n,i=[],a=[],r=H[t+" "];if(!r){for(n=(e=e||f(t)).length;n--;)((r=function t(e){for(var i,n,a,r=e.length,o=w.relative[e[0].type],s=o||w.relative[" "],l=o?1:0,d=ht(function(t){return t===i},s,!0),c=ht(function(t){return-1<T.call(i,t)},s,!0),u=[function(t,e,n){return!o&&(n||e!==x)||((i=e).nodeType?d:c)(t,e,n)}];l<r;l++)if(n=w.relative[e[l].type])u=[ht(mt(u),n)];else{if((n=w.filter[e[l].type].apply(null,e[l].matches))[y]){for(a=++l;a<r&&!w.relative[e[a].type];a++);return vt(1<l&&mt(u),1<l&&O(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(I,"$1"),n,l<a&&t(e.slice(l,a)),a<r&&t(e=e.slice(a)),a<r&&O(e))}u.push(n)}return mt(u)}(e[n]))[y]?i:a).push(r);(r=H(t,gt(a,i))).selector=t}return r},P=$.select=function(t,e,n,i){var a,r,o,s,l,d="function"==typeof t&&t,c=!i&&f(t=d.selector||t);if(n=n||[],1===c.length){if(2<(r=c[0]=c[0].slice(0)).length&&"ID"===(o=r[0]).type&&p.getById&&9===e.nodeType&&m&&w.relative[r[1].type]){if(!(e=(w.find.ID(o.matches[0].replace(N,u),e)||[])[0]))return n;d&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(a=E.needsContext.test(t)?0:r.length;a--&&(o=r[a],!w.relative[s=o.type]);)if((l=w.find[s])&&(i=l(o.matches[0].replace(N,u),st.test(r[0].type)&&pt(e.parentNode)||e))){if(r.splice(a,1),t=i.length&&O(r))break;return C.apply(n,i),n}}return(d||B(t,c))(i,e,!m,n,st.test(t)&&pt(e.parentNode)||e),n},p.sortStable=y.split("").sort(U).join("")===y,p.detectDuplicates=!!c,h(),p.sortDetached=M(function(t){return 1&t.compareDocumentPosition(S.createElement("div"))}),M(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||ct("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),p.attributes&&M(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||ct("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),M(function(t){return null==t.getAttribute("disabled")})||ct(K,function(t,e,n){return n?void 0:!0===t[e]?e.toLowerCase():(n=t.getAttributeNode(e))&&n.specified?n.value:null}),$}(h),G=(x.find=t,x.expr=t.selectors,x.expr[":"]=x.expr.pseudos,x.unique=t.uniqueSort,x.text=t.getText,x.isXMLDoc=t.isXML,x.contains=t.contains,x.expr.match.needsContext),Z=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,q=/^.[^:#\[\.,]*$/;function K(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(q.test(n))return x.filter(n,t,i);n=x.filter(n,t)}return x.grep(t,function(t){return 0<=x.inArray(t,n)!==i})}
1x.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,a=i.length;if("string"!=typeof t)return this.pushStack(x(t).filter(function(){for(e=0;e<a;e++)if(x.contains(i[e],this))return!0}));for(e=0;e<a;e++)x.find(t,i[e],n);return(n=this.pushStack(1<a?x.unique(n):n)).selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(K(this,t||[],!1))},not:function(t){return this.pushStack(K(this,t||[],!0))},is:function(t){return!!K(this,"string"==typeof t&&G.test(t)?x(t):t||[],!1).length}});var a,g=h.document,Q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,Y=((x.fn.init=function(t,e){var n,i;if(t){if("string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):x.isFunction(t)?void 0!==a.ready?a.ready(t):t(x):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),x.makeArray(t,this));if(!(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:Q.exec(t))||!n[1]&&e)return(!e||e.jquery?e||a:this.constructor(e)).find(t);if(n[1]){if(e=e instanceof x?e[0]:e,x.merge(this,x.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:g,!0)),Z.test(n[1])&&x.isPlainObject(e))for(n in e)x.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n])}else{if((i=g.getElementById(n[2]))&&i.parentNode){if(i.id!==n[2])return a.find(t);this.length=1,this[0]=i}this.context=g,this.selector=t}}return this}).prototype=x.fn,a=x(g),/^(?:parents|prev(?:Until|All))/),X={children:!0,contents:!0,next:!0,prev:!0};function J(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}x.extend({dir:function(t,e,n){for(var i=[],a=t[e];a&&9!==a.nodeType&&(void 0===n||1!==a.nodeType||!x(a).is(n));)1===a.nodeType&&i.push(a),a=a[e];return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),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,a=this.length,r=[],o=G.test(t)||"string"!=typeof t?x(t,e||this.context):0;i<a;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(o?-1<o.index(n):1===n.nodeType&&x.find.matchesSelector(n,t))){r.push(n);break}return this.pushStack(1<r.length?x.unique(r):r)},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.unique(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 x.dir(t,"parentNode")},parentsUntil:function(t,e,n){return x.dir(t,"parentNode",n)},next:function(t){return J(t,"nextSibling")},prev:function(t){return J(t,"previousSibling")},nextAll:function(t){return x.dir(t,"nextSibling")},prevAll:function(t){return x.dir(t,"previousSibling")},nextUntil:function(t,e,n){return x.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return x.dir(t,"previousSibling",n)},siblings:function(t){return x.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return x.sibling(t.firstChild)},contents:function(t){return x.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:x.merge([],t.childNodes)}},function(i,a){x.fn[i]=function(t,e){var n=x.map(this,a,t);return(e="Until"!==i.slice(-5)?t:e)&&"string"==typeof e&&(n=x.filter(e,n)),1<this.length&&(X[i]||(n=x.unique(n)),Y.test(i))&&(n=n.reverse()),this.pushStack(n)}});var e,S=/\S+/g,tt={};function et(){g.addEventListener?(g.removeEventListener("DOMContentLoaded",i,!1),h.removeEventListener("load",i,!1)):(g.detachEvent("onreadystatechange",i),h.detachEvent("onload",i))}function i(){!g.addEventListener&&"load"!==event.type&&"complete"!==g.readyState||(et(),x.ready())}x.Callbacks=function(a){var t,n;a="string"==typeof a?tt[a]||(n=tt[t=a]={},x.each(t.match(S)||[],function(t,e){n[e]=!0}),n):x.extend({},a);function i(t){for(e=a.memory&&t,o=!0,l=d||0,d=0,s=c.length,r=!0;c&&l<s;l++)if(!1===c[l].apply(t[0],t[1])&&a.stopOnFalse){e=!1;break}r=!1,c&&(u?u.length&&i(u.shift()):e?c=[]:p.disable())}var r,e,o,s,l,d,c=[],u=!a.once&&[],p={add:function(){var t;return c&&(t=c.length,function i(t){x.each(t,function(t,e){var n=x.type(e);"function"===n?a.unique&&p.has(e)||c.push(e):e&&e.length&&"string"!==n&&i(e)})}(arguments),r?s=c.length:e&&(d=t,i(e))),this},remove:function(){return c&&x.each(arguments,function(t,e){for(var n;-1<(n=x.inArray(e,c,n));)c.splice(n,1),r&&(n<=s&&s--,n<=l)&&l--}),this},has:function(t){return t?-1<x.inArray(t,c):!(!c||!c.length)},empty:function(){return c=[],s=0,this}
1,disable:function(){return c=u=e=void 0,this},disabled:function(){return!c},lock:function(){return u=void 0,e||p.disable(),this},locked:function(){return!u},fireWith:function(t,e){return!c||o&&!u||(e=[t,(e=e||[]).slice?e.slice():e],r?u.push(e):i(e)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!o}};return p},x.extend({Deferred:function(t){var r=[["resolve","done",x.Callbacks("once memory"),"resolved"],["reject","fail",x.Callbacks("once memory"),"rejected"],["notify","progress",x.Callbacks("memory")]],a="pending",o={state:function(){return a},always:function(){return s.done(arguments).fail(arguments),this},then:function(){var a=arguments;return x.Deferred(function(i){x.each(r,function(t,e){var n=x.isFunction(a[t])&&a[t];s[e[1]](function(){var t=n&&n.apply(this,arguments);t&&x.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[e[0]+"With"](this===o?i.promise():this,n?[t]:arguments)})}),a=null}).promise()},promise:function(t){return null!=t?x.extend(t,o):o}},s={};return o.pipe=o.then,x.each(r,function(t,e){var n=e[2],i=e[3];o[e[1]]=n.add,i&&n.add(function(){a=i},r[1^t][2].disable,r[2][2].lock),s[e[0]]=function(){return s[e[0]+"With"](this===s?o:this,arguments),this},s[e[0]+"With"]=n.fireWith}),o.promise(s),t&&t.call(s,s),s},when:function(t){function e(e,n,i){return function(t){n[e]=this,i[e]=1<arguments.length?c.call(arguments):t,i===a?d.notifyWith(n,i):--l||d.resolveWith(n,i)}}var a,n,i,r=0,o=c.call(arguments),s=o.length,l=1!==s||t&&x.isFunction(t.promise)?s:0,d=1===l?t:x.Deferred();if(1<s)for(a=new Array(s),n=new Array(s),i=new Array(s);r<s;r++)o[r]&&x.isFunction(o[r].promise)?o[r].promise().done(e(r,i,o)).fail(d.reject).progress(e(r,n,a)):--l;return l||d.resolveWith(i,o),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){if(!0===t?!--x.readyWait:!x.isReady){if(!g.body)return setTimeout(x.ready);(x.isReady=!0)!==t&&0<--x.readyWait||(e.resolveWith(g,[x]),x.fn.triggerHandler&&(x(g).triggerHandler("ready"),x(g).off("ready")))}}}),x.ready.promise=function(t){if(!e)if(e=x.Deferred(),"complete"===g.readyState)setTimeout(x.ready);else if(g.addEventListener)g.addEventListener("DOMContentLoaded",i,!1),h.addEventListener("load",i,!1);else{g.attachEvent("onreadystatechange",i),h.attachEvent("onload",i);var n=!1;try{n=null==h.frameElement&&g.documentElement}catch(t){}n&&n.doScroll&&!function e(){if(!x.isReady){try{n.doScroll("left")}catch(t){return setTimeout(e,50)}et(),x.ready()}}()}return e.promise(t)};var nt,b="undefined";for(nt in x(v))break;v.ownLast="0"!==nt,v.inlineBlockNeedsLayout=!1,x(function(){var t,e,n=g.getElementsByTagName("body")[0];n&&n.style&&(t=g.createElement("div"),(e=g.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(e).appendChild(t),typeof t.style.zoom!=b&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",v.inlineBlockNeedsLayout=t=3===t.offsetWidth,t)&&(n.style.zoom=1),n.removeChild(e))});t=g.createElement("div");if(null==v.deleteExpando){v.deleteExpando=!0;try{delete t.test}catch(t){v.deleteExpando=!1}}x.acceptData=function(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 it=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,at=/([A-Z])/g;function rt(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:it.test(n)?x.parseJSON(n):n)}catch(t){}x.data(t,e,n)}else n=void 0}return n}function ot(t){for(var e in t)if(("data"!==e||!x.isEmptyObject(t[e]))&&"toJSON"!==e)return;return 1}function st(t,e,n,i){if(x.acceptData(t)){var a,r=x.expando,o=t.nodeType,s=o?x.cache:t,l=o?t[r]:t[r]&&r;if(l&&s[l]&&(i||s[l].data)||void 0!==n||"string"!=typeof e)return s[l=l||(o?t[r]=u.pop()||x.guid++:r)]||(s[l]=o?{}:{toJSON:x.noop}),"object"!=typeof e&&"function"!=typeof e||(i?s[l]=x.extend(s[l],e):s[l].data=x.extend(s[l].data,e)),t=s[l],i||(t.data||(t.data={}),t=t.data),void 0!==n&&(t[x.camelCase(e)]=n),"string"==typeof e?null==(a=t[e])&&(a=t[x.camelCase(e)]):a=t,a}}function lt(t,e,n){if(x.acceptData(t)){var i,a,r=t.nodeType,o=r?x.cache:t,s=r?t[x.expando]:x.expando;if(o[s]){if(e&&(i=n?o[s]:o[s].data)){a=(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(;a--;)delete i[e[a]];if(n?!ot(i):!x.isEmptyObject(i))return}
1(n||(delete o[s].data,ot(o[s])))&&(r?x.cleanData([t],!0):v.deleteExpando||o!=o.window?delete o[s]:o[s]=null)}}}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])&&!ot(t)},data:function(t,e,n){return st(t,e,n)},removeData:function(t,e){return lt(t,e)},_data:function(t,e,n){return st(t,e,n,!0)},_removeData:function(t,e){return lt(t,e,!0)}}),x.fn.extend({data:function(t,e){var n,i,a,r=this[0],o=r&&r.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)}):r?rt(r,t,x.data(r,t)):void 0;if(this.length&&(a=x.data(r),1===r.nodeType)&&!x._data(r,"parsedAttrs")){for(n=o.length;n--;)o[n]&&0===(i=o[n].name).indexOf("data-")&&rt(r,i=x.camelCase(i.slice(5)),a[i]);x._data(r,"parsedAttrs",!0)}return a},removeData:function(t){return this.each(function(){x.removeData(this,t)})}}),x.extend({queue:function(t,e,n){var i;return t?(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||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=x.queue(t,e),i=n.length,a=n.shift(),r=x._queueHooks(t,e);"inprogress"===a&&(a=n.shift(),i--),a&&("fx"===e&&n.unshift("inprogress"),delete r.stop,a.call(t,function(){x.dequeue(t,e)},r)),!i&&r&&r.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(){--a||r.resolveWith(o,[o])}var i,a=1,r=x.Deferred(),o=this,s=this.length;for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(i=x._data(o[s],t+"queueHooks"))&&i.empty&&(a++,i.empty.add(n));return n(),r.promise(e)}});function y(t,e){return"none"===x.css(t=e||t,"display")||!x.contains(t.ownerDocument,t)}var t=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,s=["Top","Right","Bottom","Left"],l=x.access=function(t,e,n,i,a,r,o){var s=0,l=t.length,d=null==n;if("object"===x.type(n))for(s in a=!0,n)x.access(t,e,s,n[s],!0,r,o);else if(void 0!==i&&(a=!0,x.isFunction(i)||(o=!0),e=d?o?(e.call(t,i),null):(d=e,function(t,e,n){return d.call(x(t),n)}):e))for(;s<l;s++)e(t[s],n,o?i:i.call(t[s],s,e(t[s],n)));return a?t:d?e.call(t):l?e(t[0],n):r},dt=/^(?:checkbox|radio)$/i,r=g.createElement("input"),o=g.createElement("div"),d=g.createDocumentFragment();if(o.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",v.leadingWhitespace=3===o.firstChild.nodeType,v.tbody=!o.getElementsByTagName("tbody").length,v.htmlSerialize=!!o.getElementsByTagName("link").length,v.html5Clone="<:nav></:nav>"!==g.createElement("nav").cloneNode(!0).outerHTML,r.type="checkbox",r.checked=!0,d.appendChild(r),v.appendChecked=r.checked,o.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!o.cloneNode(!0).lastChild.defaultValue,d.appendChild(o),o.innerHTML="<input type='radio' checked='checked' name='t'/>",v.checkClone=o.cloneNode(!0).cloneNode(!0).lastChild.checked,v.noCloneEvent=!0,o.attachEvent&&(o.attachEvent("onclick",function(){v.noCloneEvent=!1}),o.cloneNode(!0).click()),null==v.deleteExpando){v.deleteExpando=!0;try{delete o.test}catch(t){v.deleteExpando=!1}}var p,ct,ut=g.createElement("div");for(p in{submit:!0,change:!0,focusin:!0})ct="on"+p,(v[p+"Bubbles"]=ct in h)||(ut.setAttribute(ct,"t"),v[p+"Bubbles"]=!1===ut.attributes[ct].expando);var pt=/^(?:input|select|textarea)$/i,ft=/^key/,ht=/^(?:mouse|pointer|contextmenu)|click/,mt=/^(?:focusinfocus|focusoutblur)$/,vt=/^([^.]*)(?:\.(.+)|)$/;function gt(){return!0}function f(){return!1}function bt(){try{return g.activeElement}catch(t){}}function yt(t){var e=wt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}x.event={global:{},add:function(t,e,n,i,a){var r,o,s,l,d,c,u,p,f,h=x._data(t);
1if(h)for(n.handler&&(n=(s=n).handler,a=s.selector),n.guid||(n.guid=x.guid++),r=(r=h.events)||(h.events={}),(d=h.handle)||((d=h.handle=function(t){return typeof x==b||t&&x.event.triggered===t.type?void 0:x.event.dispatch.apply(d.elem,arguments)}).elem=t),o=(e=(e||"").match(S)||[""]).length;o--;)u=f=(p=vt.exec(e[o])||[])[1],p=(p[2]||"").split(".").sort(),u&&(l=x.event.special[u]||{},u=(a?l.delegateType:l.bindType)||u,l=x.event.special[u]||{},f=x.extend({type:u,origType:f,data:i,handler:n,guid:n.guid,selector:a,needsContext:a&&x.expr.match.needsContext.test(a),namespace:p.join(".")},s),(c=r[u])||((c=r[u]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(t,i,p,d))||(t.addEventListener?t.addEventListener(u,d,!1):t.attachEvent&&t.attachEvent("on"+u,d)),l.add&&(l.add.call(t,f),f.handler.guid||(f.handler.guid=n.guid)),a?c.splice(c.delegateCount++,0,f):c.push(f),x.event.global[u]=!0)},remove:function(t,e,n,i,a){var r,o,s,l,d,c,u,p,f,h,m,v=x.hasData(t)&&x._data(t);if(v&&(c=v.events)){for(d=(e=(e||"").match(S)||[""]).length;d--;)if(f=m=(s=vt.exec(e[d])||[])[1],h=(s[2]||"").split(".").sort(),f){for(u=x.event.special[f]||{},p=c[f=(i?u.delegateType:u.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=r=p.length;r--;)o=p[r],!a&&m!==o.origType||n&&n.guid!==o.guid||s&&!s.test(o.namespace)||i&&i!==o.selector&&("**"!==i||!o.selector)||(p.splice(r,1),o.selector&&p.delegateCount--,u.remove&&u.remove.call(t,o));l&&!p.length&&(u.teardown&&!1!==u.teardown.call(t,h,v.handle)||x.removeEvent(t,f,v.handle),delete c[f])}else for(f in c)x.event.remove(t,f+e[d],n,i,!0);x.isEmptyObject(c)&&(delete v.handle,x._removeData(t,"events"))}},trigger:function(t,e,n,i){var a,r,o,s,l,d,c=[n||g],u=m.call(t,"type")?t.type:t,p=m.call(t,"namespace")?t.namespace.split("."):[],f=l=n=n||g;if(3!==n.nodeType&&8!==n.nodeType&&!mt.test(u+x.event.triggered)&&(0<=u.indexOf(".")&&(u=(p=u.split(".")).shift(),p.sort()),r=u.indexOf(":")<0&&"on"+u,(t=t[x.expando]?t:new x.Event(u,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=p.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:x.makeArray(e,[t]),s=x.event.special[u]||{},i||!s.trigger||!1!==s.trigger.apply(n,e))){if(!i&&!s.noBubble&&!x.isWindow(n)){for(o=s.delegateType||u,mt.test(o+u)||(f=f.parentNode);f;f=f.parentNode)c.push(f),l=f;l===(n.ownerDocument||g)&&c.push(l.defaultView||l.parentWindow||h)}for(d=0;(f=c[d++])&&!t.isPropagationStopped();)t.type=1<d?o:s.bindType||u,(a=(x._data(f,"events")||{})[t.type]&&x._data(f,"handle"))&&a.apply(f,e),(a=r&&f[r])&&a.apply&&x.acceptData(f)&&(t.result=a.apply(f,e),!1===t.result)&&t.preventDefault();if(t.type=u,!i&&!t.isDefaultPrevented()&&(!s._default||!1===s._default.apply(c.pop(),e))&&x.acceptData(n)&&r&&n[u]&&!x.isWindow(n)){(l=n[r])&&(n[r]=null),x.event.triggered=u;try{n[u]()}catch(t){}x.event.triggered=void 0,l&&(n[r]=l)}return t.result}},dispatch:function(t){t=x.event.fix(t);var e,n,i,a,r,o=c.call(arguments),s=(x._data(this,"events")||{})[t.type]||[],l=x.event.special[t.type]||{};if((o[0]=t).delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,t)){for(r=x.event.handlers.call(this,t,s),e=0;(i=r[e++])&&!t.isPropagationStopped();)for(t.currentTarget=i.elem,a=0;(n=i.handlers[a++])&&!t.isImmediatePropagationStopped();)t.namespace_re&&!t.namespace_re.test(n.namespace)||(t.handleObj=n,t.data=n.data,void 0===(n=((x.event.special[n.origType]||{}).handle||n.handler).apply(i.elem,o)))||!1!==(t.result=n)||(t.preventDefault(),t.stopPropagation());return l.postDispatch&&l.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,a,r,o=[],s=e.delegateCount,l=t.target;if(s&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(a=[],r=0;r<s;r++)void 0===a[n=(i=e[r]).selector+" "]&&(a[n]=i.needsContext?0<=x(n,this).index(l):x.find(n,this,null,[l]).length),a[n]&&a.push(i);a.length&&o.push({elem:l,handlers:a})}return s<e.length&&o.push({elem:this,handlers:e.slice(s)}),o},fix:function(t){if(t[x.expando])return t;var e,n,i,a=t.type,r=t,o=this.fixHooks[a];for(o||(this.fixHooks[a]=o=ht.test(a)?this.mouseHooks:ft.test(a)?this.keyHooks:{}),i=o.props?this.props.concat(o.props):this.props,t=new x.Event(r),e=i.length;e--;)t[n=i[e]]=r[n];return t.target||(t.target=r.srcElement||g),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,o.filter?o.filter(t,r):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{}
vendor: 2,544 bytes, line 1
1,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,a=e.button,r=e.fromElement;return null==t.pageX&&null!=e.clientX&&(i=(n=t.target.ownerDocument||g).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&&r&&(t.relatedTarget=r===t.target?e.toElement:r),t.which||void 0===a||(t.which=1&a?1:2&a?3:4&a?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==bt()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===bt()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return x.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_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,i){t=x.extend(new x.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?x.event.trigger(t,null,e):x.event.dispatch.call(e,t),t.isDefaultPrevented()&&n.preventDefault()}},x.removeEvent=g.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){e="on"+e;t.detachEvent&&(typeof t[e]==b&&(t[e]=null),t.detachEvent(e,n))},x.Event=function(t,e){return this instanceof x.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?gt:f):this.type=t,e&&x.extend(this,e),this.timeStamp=t&&t.timeStamp||x.now(),void(this[x.expando]=!0)):new x.Event(t,e)},x.Event.prototype={isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=gt,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=gt,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=gt,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}}
1,x.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,a){x.event.special[t]={delegateType:a,bindType:a,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=a),e}}}),v.submitBubbles||(x.event.special.submit={setup:function(){return!x.nodeName(this,"form")&&void x.event.add(this,"click._submit keypress._submit",function(t){t=t.target,t=x.nodeName(t,"input")||x.nodeName(t,"button")?t.form:void 0;t&&!x._data(t,"submitBubbles")&&(x.event.add(t,"submit._submit",function(t){t._submit_bubble=!0}),x._data(t,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode)&&!t.isTrigger&&x.event.simulate("submit",this.parentNode,t,!0)},teardown:function(){return!x.nodeName(this,"form")&&void x.event.remove(this,"._submit")}}),v.changeBubbles||(x.event.special.change={setup:function(){return pt.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(x.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),x.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),x.event.simulate("change",this,t,!0)})),!1):void x.event.add(this,"beforeactivate._change",function(t){t=t.target;pt.test(t.nodeName)&&!x._data(t,"changeBubbles")&&(x.event.add(t,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||x.event.simulate("change",this.parentNode,t,!0)}),x._data(t,"changeBubbles",!0))})},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return x.event.remove(this,"._change"),!pt.test(this.nodeName)}}),v.focusinBubbles||x.each({focus:"focusin",blur:"focusout"},function(n,i){function a(t){x.event.simulate(i,t.target,x.event.fix(t),!0)}x.event.special[i]={setup:function(){var t=this.ownerDocument||this,e=x._data(t,i);e||t.addEventListener(n,a,!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,a,!0),x._removeData(t,i))}}}),x.fn.extend({on:function(t,e,n,i,a){var r,o;if("object"==typeof t){for(r in"string"!=typeof e&&(n=n||e,e=void 0),t)this.on(r,e,n,t[r],a);return this}if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0):(i=n,n=e,e=void 0)),!1===i)i=f;else if(!i)return this;return 1===a&&(o=i,(i=function(t){return x().off(t),o.apply(this,arguments)}).guid=o.guid||(o.guid=x.guid++)),this.each(function(){x.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,a;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=f),this.each(function(){x.event.remove(this,t,n,e)});for(a in t)this.off(a,e,t[a])}return this},trigger:function(t,e){return this.each(function(){x.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?x.event.trigger(t,e,n,!0):void 0}});var wt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",xt=/ jQuery\d+="(?:null|\d+)"/g,St=new RegExp("<(?:"+wt+")[\\s/>]","i"),At=/^\s+/,Ct=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Tt=/<([\w:]+)/,It=/<tbody/i,Et=/<|&#?\w+;/,kt=/<(?:script|style|link)/i,Nt=/checked\s*(?:[^=]|=\s*.checked.)/i,$t=/^$|\/(?:java|ecma)script/i,Dt=/^true\/(.*)/,Mt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,w={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:v.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Lt=yt(g).appendChild(g.createElement("div"));function A(t,e){var n,i,a=0,r=typeof t.getElementsByTagName!=b?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!=b?t.querySelectorAll(e||"*"):void 0;if(!r)for(r=[],n=t.childNodes||t;null!=(i=n[a]);a++)!e||x.nodeName(i,e)?r.push(i):x.merge(r,A(i,e));
1return void 0===e||e&&x.nodeName(t,e)?x.merge([t],r):r}function Ot(t){dt.test(t.type)&&(t.defaultChecked=t.checked)}function Vt(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 _t(t){return t.type=(null!==x.find.attr(t,"type"))+"/"+t.type,t}function Rt(t){var e=Dt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Bt(t,e){for(var n,i=0;null!=(n=t[i]);i++)x._data(n,"globalEval",!e||x._data(e[i],"globalEval"))}function Pt(t,e){if(1===e.nodeType&&x.hasData(t)){var n,i,a,t=x._data(t),r=x._data(e,t),o=t.events;if(o)for(n in delete r.handle,r.events={},o)for(i=0,a=o[n].length;i<a;i++)x.event.add(e,n,o[n][i]);r.data&&(r.data=x.extend({},r.data))}}w.optgroup=w.option,w.tbody=w.tfoot=w.colgroup=w.caption=w.thead,w.th=w.td,x.extend({clone:function(t,e,n){var i,a,r,o,s,l,d,c,u=x.contains(t.ownerDocument,t);if(v.html5Clone||x.isXMLDoc(t)||!St.test("<"+t.nodeName+">")?r=t.cloneNode(!0):(Lt.innerHTML=t.outerHTML,Lt.removeChild(r=Lt.firstChild)),!(v.noCloneEvent&&v.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||x.isXMLDoc(t)))for(i=A(r),s=A(t),o=0;null!=(a=s[o]);++o)if(i[o]){p=void 0;f=void 0;l=void 0;d=void 0;c=void 0;var p=a;var f=i[o];if(1===f.nodeType){if(l=f.nodeName.toLowerCase(),!v.noCloneEvent&&f[x.expando]){for(d in(c=x._data(f)).events)x.removeEvent(f,d,c.handle);f.removeAttribute(x.expando)}"script"===l&&f.text!==p.text?(_t(f).text=p.text,Rt(f)):"object"===l?(f.parentNode&&(f.outerHTML=p.outerHTML),v.html5Clone&&p.innerHTML&&!x.trim(f.innerHTML)&&(f.innerHTML=p.innerHTML)):"input"===l&&dt.test(p.type)?(f.defaultChecked=f.checked=p.checked,f.value!==p.value&&(f.value=p.value)):"option"===l?f.defaultSelected=f.selected=p.defaultSelected:"input"!==l&&"textarea"!==l||(f.defaultValue=p.defaultValue)}}if(e)if(n)for(s=s||A(t),i=i||A(r),o=0;null!=(a=s[o]);o++)Pt(a,i[o]);else Pt(t,r);return 0<(i=A(r,"script")).length&&Bt(i,!u&&A(t,"script")),i=s=a=null,r},buildFragment:function(t,e,n,i){for(var a,r,o,s,l,d,c,u=t.length,p=yt(e),f=[],h=0;h<u;h++)if((r=t[h])||0===r)if("object"===x.type(r))x.merge(f,r.nodeType?[r]:r);else if(Et.test(r)){for(s=s||p.appendChild(e.createElement("div")),l=(Tt.exec(r)||["",""])[1].toLowerCase(),s.innerHTML=(c=w[l]||w._default)[1]+r.replace(Ct,"<$1></$2>")+c[2],a=c[0];a--;)s=s.lastChild;if(!v.leadingWhitespace&&At.test(r)&&f.push(e.createTextNode(At.exec(r)[0])),!v.tbody)for(a=(r="table"!==l||It.test(r)?"<table>"!==c[1]||It.test(r)?0:s:s.firstChild)&&r.childNodes.length;a--;)x.nodeName(d=r.childNodes[a],"tbody")&&!d.childNodes.length&&r.removeChild(d);for(x.merge(f,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=p.lastChild}else f.push(e.createTextNode(r));for(s&&p.removeChild(s),v.appendChecked||x.grep(A(f,"input"),Ot),h=0;r=f[h++];)if((!i||-1===x.inArray(r,i))&&(o=x.contains(r.ownerDocument,r),s=A(p.appendChild(r),"script"),o&&Bt(s),n))for(a=0;r=s[a++];)$t.test(r.type||"")&&n.push(r);return s=null,p},cleanData:function(t,e){for(var n,i,a,r,o=0,s=x.expando,l=x.cache,d=v.deleteExpando,c=x.event.special;null!=(n=t[o]);o++)if((e||x.acceptData(n))&&(r=(a=n[s])&&l[a])){if(r.events)for(i in r.events)c[i]?x.event.remove(n,i):x.removeEvent(n,i,r.handle);l[a]&&(delete l[a],d?delete n[s]:typeof n.removeAttribute!=b?n.removeAttribute(s):n[s]=null,u.push(a))}}}),x.fn.extend({text:function(t){return l(this,function(t){return void 0===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||g).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Vt(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){var e;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(e=Vt(this,t)).insertBefore(t,e.firstChild)})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?x.filter(t,this):this,a=0;null!=(n=i[a]);a++)e||1!==n.nodeType||x.cleanData(A(n)),n.parentNode&&(e&&x.contains(n.ownerDocument,n)&&Bt(A(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&x.cleanData(A(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 l(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(xt,""):void 0;if(!("string"!=typeof t||kt.test(t)||!v.htmlSerialize&&St.test(t)||!v.leadingWhitespace&&At.test(t)||w[(Tt.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(Ct,"<$1></$2>");try{for(;n<i;n++)1===(e=this[n]||{}
1).nodeType&&(x.cleanData(A(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,x.cleanData(A(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(n,i){n=B.apply([],n);var t,e,a,r,o,s,l=0,d=this.length,c=this,u=d-1,p=n[0],f=x.isFunction(p);if(f||1<d&&"string"==typeof p&&!v.checkClone&&Nt.test(p))return this.each(function(t){var e=c.eq(t);f&&(n[0]=p.call(this,t,e.html())),e.domManip(n,i)});if(d&&(t=(s=x.buildFragment(n,this[0].ownerDocument,!1,this)).firstChild,1===s.childNodes.length&&(s=t),t)){for(a=(r=x.map(A(s,"script"),_t)).length;l<d;l++)e=s,l!==u&&(e=x.clone(e,!0,!0),a)&&x.merge(r,A(e,"script")),i.call(this[l],e,l);if(a)for(o=r[r.length-1].ownerDocument,x.map(r,Rt),l=0;l<a;l++)e=r[l],$t.test(e.type||"")&&!x._data(e,"globalEval")&&x.contains(o,e)&&(e.src?x._evalUrl&&x._evalUrl(e.src):x.globalEval((e.text||e.textContent||e.innerHTML||"").replace(Mt,"")));s=t=null}return this}}),x.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,o){x.fn[t]=function(t){for(var e,n=0,i=[],a=x(t),r=a.length-1;n<=r;n++)e=n===r?this:this.clone(!0),x(a[n])[o](e),P.apply(i,e.get());return this.pushStack(i)}});var Ft,C,jt={};function zt(t,e){t=x(e.createElement(t)).appendTo(e.body),e=h.getDefaultComputedStyle&&(e=h.getDefaultComputedStyle(t[0]))?e.display:x.css(t[0],"display");return t.detach(),e}function Ht(t){var e=g,n=jt[t];return n||("none"!==(n=zt(t,e))&&n||((e=((Ft=(Ft||x("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement))[0].contentWindow||Ft[0].contentDocument).document).write(),e.close(),n=zt(t,e),Ft.detach()),jt[t]=n),n}v.shrinkWrapBlocks=function(){var t,e,n;return null!=C?C:(C=!1,(e=g.getElementsByTagName("body")[0])&&e.style?(t=g.createElement("div"),(n=g.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",e.appendChild(n).appendChild(t),typeof t.style.zoom!=b&&(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(g.createElement("div")).style.width="5px",C=3!==t.offsetWidth),e.removeChild(n),C):void 0)};var T,I,Ut,Wt,Gt,Zt,qt=/^margin/,Kt=new RegExp("^("+t+")(?!px)[a-z%]+$","i"),Qt=/^(top|right|bottom|left)$/;function Yt(e,n){return{get:function(){var t=e();if(null!=t)return t?void delete this.get:(this.get=n).apply(this,arguments)}}}function Xt(){var t,e,n,i=g.getElementsByTagName("body")[0];i&&i.style&&(t=g.createElement("div"),(e=g.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",i.appendChild(e).appendChild(t),t.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",Ut=Wt=!1,Zt=!0,h.getComputedStyle&&(Ut="1%"!==(h.getComputedStyle(t,null)||{}).top,Wt="4px"===(h.getComputedStyle(t,null)||{width:"4px"}).width,(n=t.appendChild(g.createElement("div"))).style.cssText=t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",t.style.width="1px",Zt=!parseFloat((h.getComputedStyle(n,null)||{}).marginRight)),t.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(n=t.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(Gt=0===n[0].offsetHeight)&&(n[0].style.display="",n[1].style.display="none",Gt=0===n[0].offsetHeight),i.removeChild(e))}h.getComputedStyle?(T=function(t){return t.ownerDocument.defaultView.getComputedStyle(t,null)},I=function(t,e,n){var i,a=t.style,r=(n=n||T(t))?n.getPropertyValue(e)||n[e]:void 0;return n&&(""!==r||x.contains(t.ownerDocument,t)||(r=x.style(t,e)),Kt.test(r))&&qt.test(e)&&(t=a.width,e=a.minWidth,i=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=n.width,a.width=t,a.minWidth=e,a.maxWidth=i),void 0===r?r:r+""}):g.documentElement.currentStyle&&(T=function(t){return t.currentStyle},I=function(t,e,n){var i,a,r,o=t.style;return null==(n=(n=n||T(t))?n[e]:void 0)&&o&&o[e]&&(n=o[e]),Kt.test(n)&&!Qt.test(e)&&(i=o.left,(r=(a=t.runtimeStyle)&&a.left)&&(a.left=t.currentStyle.left),o.left
1="fontSize"===e?"1em":n,n=o.pixelLeft+"px",o.left=i,r)&&(a.left=r),void 0===n?n:n+""||"auto"}),(r=g.createElement("div")).innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",(d=(d=r.getElementsByTagName("a")[0])&&d.style)&&(d.cssText="float:left;opacity:.5",v.opacity="0.5"===d.opacity,v.cssFloat=!!d.cssFloat,r.style.backgroundClip="content-box",r.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===r.style.backgroundClip,v.boxSizing=""===d.boxSizing||""===d.MozBoxSizing||""===d.WebkitBoxSizing,x.extend(v,{reliableHiddenOffsets:function(){return null==Gt&&Xt(),Gt},boxSizingReliable:function(){return null==Wt&&Xt(),Wt},pixelPosition:function(){return null==Ut&&Xt(),Ut},reliableMarginRight:function(){return null==Zt&&Xt(),Zt}})),x.swap=function(t,e,n,i){var a,r={};for(a in e)r[a]=t.style[a],t.style[a]=e[a];for(a in n=n.apply(t,i||[]),e)t.style[a]=r[a];return n};var Jt=/alpha\([^)]*\)/i,te=/opacity\s*=\s*([^)]*)/,ee=/^(none|table(?!-c[ea]).+)/,ne=new RegExp("^("+t+")(.*)$","i"),ie=new RegExp("^([+-])=("+t+")","i"),ae={position:"absolute",visibility:"hidden",display:"block"},re={letterSpacing:"0",fontWeight:"400"},oe=["Webkit","O","Moz","ms"];function se(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,a=oe.length;a--;)if((e=oe[a]+n)in t)return e;return i}function le(t,e){for(var n,i,a,r=[],o=0,s=t.length;o<s;o++)(i=t[o]).style&&(r[o]=x._data(i,"olddisplay"),n=i.style.display,e?(r[o]||"none"!==n||(i.style.display=""),""===i.style.display&&y(i)&&(r[o]=x._data(i,"olddisplay",Ht(i.nodeName)))):(a=y(i),(n&&"none"!==n||!a)&&x._data(i,"olddisplay",a?n:x.css(i,"display"))));for(o=0;o<s;o++)!(i=t[o]).style||e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?r[o]||"":"none");return t}function de(t,e,n){var i=ne.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function ce(t,e,n,i,a){for(var r=n===(i?"border":"content")?4:"width"===e?1:0,o=0;r<4;r+=2)"margin"===n&&(o+=x.css(t,n+s[r],!0,a)),i?("content"===n&&(o-=x.css(t,"padding"+s[r],!0,a)),"margin"!==n&&(o-=x.css(t,"border"+s[r]+"Width",!0,a))):(o+=x.css(t,"padding"+s[r],!0,a),"padding"!==n&&(o+=x.css(t,"border"+s[r]+"Width",!0,a)));return o}function ue(t,e,n){var i=!0,a="width"===e?t.offsetWidth:t.offsetHeight,r=T(t),o=v.boxSizing&&"border-box"===x.css(t,"boxSizing",!1,r);if(a<=0||null==a){if(((a=I(t,e,r))<0||null==a)&&(a=t.style[e]),Kt.test(a))return a;i=o&&(v.boxSizingReliable()||a===t.style[e]),a=parseFloat(a)||0}return a+ce(t,e,n||(o?"border":"content"),i,r)+"px"}function E(t,e,n,i,a){return new E.prototype.init(t,e,n,i,a)}x.extend({cssHooks:{opacity:{get:function(t,e){if(e)return""===(e=I(t,"opacity"))?"1":e}}},cssNumber:{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:v.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var a,r,o,s=x.camelCase(e),l=t.style;if(e=x.cssProps[s]||(x.cssProps[s]=se(l,s)),o=x.cssHooks[e]||x.cssHooks[s],void 0===n)return o&&"get"in o&&void 0!==(a=o.get(t,!1,i))?a:l[e];if("string"===(r=typeof n)&&(a=ie.exec(n))&&(n=(a[1]+1)*a[2]+parseFloat(x.css(t,e)),r="number"),null!=n&&n==n&&("number"!==r||x.cssNumber[s]||(n+="px"),v.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),!(o&&"set"in o&&void 0===(n=o.set(t,n,i)))))try{l[e]=n}catch(t){}}},css:function(t,e,n,i){var a,r=x.camelCase(e);return e=x.cssProps[r]||(x.cssProps[r]=se(t.style,r)),"normal"===(a=void 0===(a=(r=x.cssHooks[e]||x.cssHooks[r])&&"get"in r?r.get(t,!0,n):a)?I(t,e,i):a)&&e in re&&(a=re[e]),(""===n||n)&&(r=parseFloat(a),!0===n||x.isNumeric(r))?r||0:a}}),x.each(["height","width"],function(t,a){x.cssHooks[a]={get:function(t,e,n){return e?ee.test(x.css(t,"display"))&&0===t.offsetWidth?x.swap(t,ae,function(){return ue(t,a,n)}):ue(t,a,n):void 0},set:function(t,e,n){var i=n&&T(t);return de(0,e,n?ce(t,a,n,v.boxSizing&&"border-box"===x.css(t,"boxSizing",!1,i),i):0)}}}),v.opacity||(x.cssHooks.opacity={get:function(t,e){return te.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+")":"",a=t&&t.filter||n.filter||"";((n.zoom=1)<=e||""===e)&&""===x.trim(a.replace(Jt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||t&&!t.filter)||(n.filter=Jt.test(a)?a.replace(Jt,i):a+" "+i)}}),x.cssHooks.marginRight=Yt(v.reliableMarginRight,function(t,e){return e?x.swap(t,{display:"inline-block"},I,[t,"marginRight"]):void 0}),x.each({margin:"",padding:"",border:"Width"},function(a,r){x.cssHooks[a+r]={expand:function(t){for(var e=0,n={},i="string"==typeof t?t.split(" "):[t];e<4;e++)n[a+s[e]+r]=i[e]||i[e-2]||i[0];return n}},qt.test(a)||(x.cssHooks[a+r].set=de)}),x.fn.extend({css:function(t,e){return l(this,function(t,e,n){var i,a,r={},o=0;if(x.isArray(e)){for(i=T(t),a=e.length;o<a;o++)r[e[o]]=x.css(t,e[o],!1,i);return r}return void 0!==n?x.style(t,e,n):x.css(t,e)},t,e,1<arguments.length)},show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){y(this)?x(this).show():x(this).hide()})}}),((x.Tween=E).prototype={constructor:E,init:function(t,e,n,i,a,r){this.elem=t,this.prop=n,this.easing=a||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(x.cssNumber[n]?"":"px")},cur:function(){var t=E.propHooks[this.prop];return(t&&t.get?t:E.propHooks._default).get(this)},run:function(t){var e=E.propHooks[this.prop];return this.pos=t=this.options.duration?x.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(e&&e.set?e:E.propHooks._default).set(this),this}}).init.prototype=E.prototype,(E.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=x.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){x.fx.step[t.prop]?x.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[x.cssProps[t.prop]]||x.cssHooks[t.prop])?x.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}}).scrollTop=E.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}},x.fx=E.prototype.init,x.fx.step={};var k,pe,N,fe=/^(?:toggle|show|hide)$/,he=new RegExp("^(?:([+-])=|)("+t+")([a-z%]*)$","i"),me=/queueHooks$/,ve=[function(e,t,n){var i,a,r,o,s,l,d,c=this,u={},p=e.style,f=e.nodeType&&y(e),h=x._data(e,"fxshow");for(i in n.queue||(null==(s=x._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,c.always(function(){c.always(function(){s.unqueued--,x.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],d=x.css(e,"display"),"inline"===("none"===d?x._data(e,"olddisplay")||Ht(e.nodeName):d))&&"none"===x.css(e,"float")&&(v.inlineBlockNeedsLayout&&"inline"!==Ht(e.nodeName)?p.zoom=1:p.display="inline-block"),n.overflow&&(p.overflow="hidden",v.shrinkWrapBlocks()||c.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]})),t)if(a=t[i],fe.exec(a)){if(delete t[i],r=r||"toggle"===a,a===(f?"hide":"show")){if("show"!==a||!h||void 0===h[i])continue;f=!0}u[i]=h&&h[i]||x.style(e,i)}else d=void 0;if(x.isEmptyObject(u))"inline"===("none"===d?Ht(e.nodeName):d)&&(p.display=d);else for(i in h?"hidden"in h&&(f=h.hidden):h=x._data(e,"fxshow",{}),r&&(h.hidden=!f),f?x(e).show():c.done(function(){x(e).hide()}),c.done(function(){for(var t in x._removeData(e,"fxshow"),u)x.style(e,t,u[t])}),u)o=ye(f?h[i]:0,i,c),i in h||(h[i]=o.start,f&&(o.end=o.start,o.start="width"===i||"height"===i?1:0))}],$={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),e=he.exec(e),a=e&&e[3]||(x.cssNumber[t]?"":"px"),r=(x.cssNumber[t]||"px"!==a&&+i)&&he.exec(x.css(n.elem,t)),o=1,s=20;if(r&&r[3]!==a)for(a=a||r[3],e=e||[],r=+i||1;x.style(n.elem,t,(r/=o=o||".5")+a),o!==(o=n.cur()/i)&&1!==o&&--s;);return e&&(r=n.start=+r||+i||0,n.unit=a,n.end=e[1]?r+(e[1]+1)*e[2]:+e[2]),n}]};function ge(){return setTimeout(function(){k=void 0}),k=x.now()}function be(t,e){var n,i={height:t},a=0;for(e=e?1:0;a<4;a+=2-e)i["margin"+(n=s[a])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function ye(t,e,n){for(var i,a=($[e]||[]).concat($["*"]),r=0,o=a.length;r<o;r++)if(i=a[r].call(n,e,t))return i}function we(a,t,e){var n,r,i,o,s,l,d,c=0,u=ve.length,p=x.Deferred().always(function(){delete f.elem}),f=function(){if(r)return!1;for(var t=k||ge(),t=Math.max(0,h.startTime+h.duration-t),e=1-(t/h.duration||0),n=0,i=h.tweens.length;n<i;n++)h.tweens[n].run(e);
1return p.notifyWith(a,[h,e,t]),e<1&&i?t:(p.resolveWith(a,[h]),!1)},h=p.promise({elem:a,props:x.extend({},t),opts:x.extend(!0,{specialEasing:{}},e),originalProperties:t,originalOptions:e,startTime:k||ge(),duration:e.duration,tweens:[],createTween:function(t,e){e=x.Tween(a,h.opts,t,e,h.opts.specialEasing[t]||h.opts.easing);return h.tweens.push(e),e},stop:function(t){var e=0,n=t?h.tweens.length:0;if(!r){for(r=!0;e<n;e++)h.tweens[e].run(1);t?p.resolveWith(a,[h,t]):p.rejectWith(a,[h,t])}return this}}),m=h.props,v=m,g=h.opts.specialEasing;for(i in v)if(o=x.camelCase(i),s=g[o],l=v[i],x.isArray(l)&&(s=l[1],l=v[i]=l[0]),i!==o&&(v[o]=l,delete v[i]),d=x.cssHooks[o],d&&"expand"in d)for(i in l=d.expand(l),delete v[o],l)i in v||(v[i]=l[i],g[i]=s);else g[o]=s;for(;c<u;c++)if(n=ve[c].call(h,a,m,h.opts))return n;return x.map(m,ye,h),x.isFunction(h.opts.start)&&h.opts.start.call(a,h),x.fx.timer(x.extend(f,{elem:a,anim:h,queue:h.opts.queue})),h.progress(h.opts.progress).done(h.opts.done,h.opts.complete).fail(h.opts.fail).always(h.opts.always)}x.Animation=x.extend(we,{tweener:function(t,e){for(var n,i=0,a=(t=x.isFunction(t)?(e=t,["*"]):t.split(" ")).length;i<a;i++)n=t[i],$[n]=$[n]||[],$[n].unshift(e)},prefilter:function(t,e){e?ve.unshift(t):ve.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(y).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(e,t,n,i){function a(){var t=we(this,x.extend({},e),o);(r||x._data(this,"finish"))&&t.stop(!0)}
1var r=x.isEmptyObject(e),o=x.speed(t,n,i);return a.finish=a,r||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(a,t,r){function o(t){var e=t.stop;delete t.stop,e(r)}return"string"!=typeof a&&(r=t,t=a,a=void 0),t&&!1!==a&&this.queue(a||"fx",[]),this.each(function(){var t=!0,e=null!=a&&a+"queueHooks",n=x.timers,i=x._data(this);if(e)i[e]&&i[e].stop&&o(i[e]);else for(e in i)i[e]&&i[e].stop&&me.test(e)&&o(i[e]);for(e=n.length;e--;)n[e].elem!==this||null!=a&&n[e].queue!==a||(n[e].anim.stop(r),t=!1,n.splice(e,1));!t&&r||x.dequeue(this,a)})},finish:function(o){return!1!==o&&(o=o||"fx"),this.each(function(){var t,e=x._data(this),n=e[o+"queue"],i=e[o+"queueHooks"],a=x.timers,r=n?n.length:0;for(e.finish=!0,x.queue(this,o,[]),i&&i.stop&&i.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===o&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<r;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete e.finish})}}),x.each(["toggle","show","hide"],function(t,i){var a=x.fn[i];x.fn[i]=function(t,e,n){return null==t||"boolean"==typeof t?a.apply(this,arguments):this.animate(be(i,!0),t,e,n)}}),x.each({slideDown:be("show"),slideUp:be("hide"),slideToggle:be("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(k=x.now();n<e.length;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||x.fx.stop(),k=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(){pe=pe||setInterval(x.fx.tick,x.fx.interval)},x.fx.stop=function(){clearInterval(pe),pe=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=setTimeout(t,i);e.stop=function(){clearTimeout(n)}})},(o=g.createElement("div")).setAttribute("className","t"),o.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",r=o.getElementsByTagName("a")[0],t=(d=g.createElement("select")).appendChild(g.createElement("option")),N=o.getElementsByTagName("input")[0],r.style.cssText="top:1px",v.getSetAttribute="t"!==o.className,v.style=/top/.test(r.getAttribute("style")),v.hrefNormalized="/a"===r.getAttribute("href"),v.checkOn=!!N.value,v.optSelected=t.selected,v.enctype=!!g.createElement("form").enctype,d.disabled=!0,v.optDisabled=!t.disabled,(N=g.createElement("input")).setAttribute("value",""),v.input=""===N.getAttribute("value"),N.value="t",N.setAttribute("type","radio"),v.radioValue="t"===N.value;var xe=/\r/g;x.fn.extend({val:function(e){var n,t,i,a=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))})):a?(n=x.valHooks[a.type]||x.valHooks[a.nodeName.toLowerCase()])&&"get"in n&&void 0!==(t=n.get(a,"value"))?t:"string"==typeof(t=a.value)?t.replace(xe,""):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))}},select:{get:function(t){for(var e,n=t.options,i=t.selectedIndex,a="select-one"===t.type||i<0,r=a?null:[],o=a?i+1:n.length,s=i<0?o:a?i:0;s<o;s++)if(!(!(e=n[s]).selected&&s!==i||(v.optDisabled?e.disabled:null!==e.getAttribute("disabled"))||e.parentNode.disabled&&x.nodeName(e.parentNode,"optgroup"))){if(e=x(e).val(),a)return e;r.push(e)}return r},set:function(t,e){for(var n,i,a=t.options,r=x.makeArray(e),o=a.length;o--;)if(i=a[o],0<=x.inArray(x.valHooks.option.get(i),r))try{i.selected=n=!0}catch(t){i.scrollHeight}else i.selected=!1;return n||(t.selectedIndex=-1),a}}}}),x.each(["radio","checkbox"],function(){x.valHooks[this]={set:function(t,e){return x.isArray(e)?t.checked=0<=x.inArray(x(t).val(),e):void 0}},v.checkOn||(x.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var D,Se,M=x.expr.attrHandle,Ae=/^(?:checked|selected)$/i,L=v.getSetAttribute,Ce=v.input,Te=(x.fn.extend({attr:function(t,e){return l(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,a,r=t.nodeType;if(t&&3!==r&&8!==r&&2!==r)return typeof t.getAttribute==b?x.prop(t,e,n):(1===r&&x.isXMLDoc(t)||(e=e.toLowerCase(),i=x.attrHooks[e]||(x.expr.match.bool.test(e)?Se:D)),void 0===n?!(i&&"get"in i&&null!==(a=i.get(t,e)))&&null==(a=x.find.attr(t,e))?void 0:a:null!==n?i&&"set"in i&&void 0!==(a=i.set(t,n,e))?a:(t.setAttribute(e,n+""),n):void x.removeAttr(t,e))},removeAttr:function(t,e){var n,i,a=0,r=e&&e.match(S);if(r&&1===t.nodeType)for(;n=r[a++];
1)i=x.propFix[n]||n,x.expr.match.bool.test(n)?Ce&&L||!Ae.test(n)?t[i]=!1:t[x.camelCase("default-"+n)]=t[i]=!1:x.attr(t,n,""),t.removeAttribute(L?n:i)},attrHooks:{type:{set:function(t,e){var n;if(!v.radioValue&&"radio"===e&&x.nodeName(t,"input"))return n=t.value,t.setAttribute("type",e),n&&(t.value=n),e}}}}),Se={set:function(t,e,n){return!1===e?x.removeAttr(t,n):Ce&&L||!Ae.test(n)?t.setAttribute(!L&&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 r=M[e]||x.find.attr;M[e]=Ce&&L||!Ae.test(e)?function(t,e,n){var i,a;return n||(a=M[e],M[e]=i,i=null!=r(t,e,n)?e.toLowerCase():null,M[e]=a),i}:function(t,e,n){return n?void 0:t[x.camelCase("default-"+e)]?e.toLowerCase():null}}),Ce&&L||(x.attrHooks.value={set:function(t,e,n){return x.nodeName(t,"input")?void(t.defaultValue=e):D&&D.set(t,e,n)}}),L||(D={set:function(t,e,n){var i=t.getAttributeNode(n);return i||t.setAttributeNode(i=t.ownerDocument.createAttribute(n)),i.value=e+="","value"===n||e===t.getAttribute(n)?e:void 0}},M.id=M.name=M.coords=function(t,e,n){return n?void 0:(n=t.getAttributeNode(e))&&""!==n.value?n.value:null},x.valHooks.button={get:function(t,e){t=t.getAttributeNode(e);return t&&t.specified?t.value:void 0},set:D.set},x.attrHooks.contenteditable={set:function(t,e,n){D.set(t,""!==e&&e,n)}},x.each(["width","height"],function(t,n){x.attrHooks[n]={set:function(t,e){return""===e?(t.setAttribute(n,"auto"),e):void 0}}})),v.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),Ie=/^(?:a|area)$/i,Ee=(x.fn.extend({prop:function(t,e){return l(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({propFix:{for:"htmlFor",class:"className"},prop:function(t,e,n){var i,a,r=t.nodeType;if(t&&3!==r&&8!==r&&2!==r)return(1!==r||!x.isXMLDoc(t))&&(e=x.propFix[e]||e,a=x.propHooks[e]),void 0!==n?a&&"set"in a&&void 0!==(i=a.set(t,n,e))?i:t[e]=n:a&&"get"in a&&null!==(i=a.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=x.find.attr(t,"tabindex");return e?parseInt(e,10):Te.test(t.nodeName)||Ie.test(t.nodeName)&&t.href?0:-1}}}}),v.hrefNormalized||x.each(["href","src"],function(t,e){x.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),v.optSelected||(x.propHooks.selected={get:function(t){t=t.parentNode;return t&&(t.selectedIndex,t.parentNode)&&t.parentNode.selectedIndex,null}}),x.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){x.propFix[this.toLowerCase()]=this}),v.enctype||(x.propFix.enctype="encoding"),/[\t\r\n\f]/g),ke=(x.fn.extend({addClass:function(e){var t,n,i,a,r,o,s=0,l=this.length,d="string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).addClass(e.call(this,t,this.className))});if(d)for(t=(e||"").match(S)||[];s<l;s++)if(i=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(Ee," "):" ")){for(r=0;a=t[r++];)i.indexOf(" "+a+" ")<0&&(i+=a+" ");o=x.trim(i),n.className!==o&&(n.className=o)}return this},removeClass:function(e){var t,n,i,a,r,o,s=0,l=this.length,d=0===arguments.length||"string"==typeof e&&e;if(x.isFunction(e))return this.each(function(t){x(this).removeClass(e.call(this,t,this.className))});if(d)for(t=(e||"").match(S)||[];s<l;s++)if(i=1===(n=this[s]).nodeType&&(n.className?(" "+n.className+" ").replace(Ee," "):"")){for(r=0;a=t[r++];)for(;0<=i.indexOf(" "+a+" ");)i=i.replace(" "+a+" "," ");o=e?x.trim(i):"",n.className!==o&&(n.className=o)}return this},toggleClass:function(a,e){var r=typeof a;return"boolean"==typeof e&&"string"==r?e?this.addClass(a):this.removeClass(a):this.each(x.isFunction(a)?function(t){x(this).toggleClass(a.call(this,t,this.className,e),e)}:function(){if("string"==r)for(var t,e=0,n=x(this),i=a.match(S)||[];t=i[e++];)n.hasClass(t)?n.removeClass(t):n.addClass(t);else r!=b&&"boolean"!=r||(this.className&&x._data(this,"__className__",this.className),this.className=!this.className&&!1!==a&&x._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;n<i;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(Ee," ").indexOf(e))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)},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.now()),Ne=/\?/,$e=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;x.parseJSON=function(t){var a,r,e;return h.JSON&&h.JSON.parse?h.JSON.parse(t+""):(r=null,(e=x.trim(t+""))&&!x.trim(e.replace($e,function(t,e,n,i){return 0===(r=a&&e?0:r)?t:(a=n||e,r+=!i-!n,"")}))?Function("return "+e)():x.error("Invalid JSON: "+t))},x.parseXML=function(t){var e;if(!t||"string"!=typeof t)return null;try{h.DOMParser?e=(new DOMParser).parseFromString(t,"text/xml"):((e=new 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};var O,V,De=/#.*$/,Me=/([?&])_=[^&]*/,Le=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Oe=/^(?:GET|HEAD)$/,Ve=/^\/\//,_e=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Re={},Be={},Pe="*/".concat("*");try{V=location.href}catch(t){(V=g.createElement("a")).href="",V=V.href}function Fe(r){return function(t,e){"string"!=typeof t&&(e=t,t="*");var n,i=0,a=t.toLowerCase().match(S)||[];if(x.isFunction(e))for(;n=a[i++];)"+"===n.charAt(0)?(n=n.slice(1)||"*",(r[n]=r[n]||[]).unshift(e)):(r[n]=r[n]||[]).push(e)}}function je(e,i,a,r){var o={},s=e===Be;function l(t){var n;return o[t]=!0,x.each(e[t]||[],function(t,e){e=e(i,a,r);return"string"!=typeof e||s||o[e]?s?!(n=e):void 0:(i.dataTypes.unshift(e),l(e),!1)}),n}return l(i.dataTypes[0])||!o["*"]&&l("*")}function ze(t,e){var n,i,a=x.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((a[i]?t:n=n||{})[i]=e[i]);return n&&x.extend(!0,t,n),t}O=_e.exec(V.toLowerCase())||[],x.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:V,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(O[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Pe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":x.parseJSON,"text xml":x.parseXML}
vendor: 6,004 bytes, line 1
1,flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?ze(ze(t,x.ajaxSettings),e):ze(x.ajaxSettings,t)},ajaxPrefilter:Fe(Re),ajaxTransport:Fe(Be),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0);var n,l,d,c,u,p,i,f=x.ajaxSetup({},e=e||{}),h=f.context||f,m=f.context&&(h.nodeType||h.jquery)?x(h):x.event,v=x.Deferred(),g=x.Callbacks("once memory"),b=f.statusCode||{},a={},r={},y=0,o="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(2===y){if(!i)for(i={};e=Le.exec(d);)i[e[1].toLowerCase()]=e[2];e=i[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===y?d:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return y||(t=r[n]=r[n]||t,a[t]=e),this},overrideMimeType:function(t){return y||(f.mimeType=t),this},statusCode:function(t){if(t)if(y<2)for(var e in t)b[e]=[b[e],t[e]];else w.always(t[w.status]);return this},abort:function(t){t=t||o;return p&&p.abort(t),s(0,t),this}};if(v.promise(w).complete=g.add,w.success=w.done,w.error=w.fail,f.url=((t||f.url||V)+"").replace(De,"").replace(Ve,O[1]+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=x.trim(f.dataType||"*").toLowerCase().match(S)||[""],null==f.crossDomain&&(t=_e.exec(f.url.toLowerCase()),f.crossDomain=!(!t||t[1]===O[1]&&t[2]===O[2]&&(t[3]||("http:"===t[1]?"80":"443"))===(O[3]||("http:"===O[1]?"80":"443")))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=x.param(f.data,f.traditional)),je(Re,f,e,w),2!==y){for(n in(u=f.global)&&0==x.active++&&x.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Oe.test(f.type),l=f.url,f.hasContent||(f.data&&(l=f.url+=(Ne.test(l)?"&":"?")+f.data,delete f.data),!1===f.cache&&(f.url=Me.test(l)?l.replace(Me,"$1_="+ke++):l+(Ne.test(l)?"&":"?")+"_="+ke++)),f.ifModified&&(x.lastModified[l]&&w.setRequestHeader("If-Modified-Since",x.lastModified[l]),x.etag[l])&&w.setRequestHeader("If-None-Match",x.etag[l]),(f.data&&f.hasContent&&!1!==f.contentType||e.contentType)&&w.setRequestHeader("Content-Type",f.contentType),w.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Pe+"; q=0.01":""):f.accepts["*"]),f.headers)w.setRequestHeader(n,f.headers[n]);if(f.beforeSend&&(!1===f.beforeSend.call(h,w,f)||2===y))return w.abort();for(n in o="abort",{success:1,error:1,complete:1})w[n](f[n]);if(p=je(Be,f,e,w)){w.readyState=1,u&&m.trigger("ajaxSend",[w,f]),f.async&&0<f.timeout&&(c=setTimeout(function(){w.abort("timeout")},f.timeout));try{y=1,p.send(a,s)}catch(t){if(!(y<2))throw t;s(-1,t)}}else s(-1,"No Transport")}return w;function s(t,e,n,i){var a,r,o,s=e;2!==y&&(y=2,c&&clearTimeout(c),p=void 0,d=i||"",w.readyState=0<t?4:0,i=200<=t&&t<300||304===t,n&&(o=function(t,e,n){for(var i,a,r,o,s=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===a&&(a=t.mimeType||e.getResponseHeader("Content-Type"));if(a)for(o in s)if(s[o]&&s[o].test(a)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||t.converters[o+" "+l[0]]){r=o;break}i=i||o}r=r||i}return r?(r!==l[0]&&l.unshift(r),n[r]):void 0}(f,w,n)),o=function(t,e,n,i){var a,r,o,s,l,d={},c=t.dataTypes.slice();if(c[1])for(o in t.converters)d[o.toLowerCase()]=t.converters[o];for(r=c.shift();r;)if(t.responseFields[r]&&(n[t.responseFields[r]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=r,r=c.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(o=d[l+" "+r]||d["* "+r]))for(a in d)if(s=a.split(" "),s[1]===r&&(o=d[l+" "+s[0]]||d["* "+s[0]])){!0===o?o=d[a]:!0!==d[a]&&(r=s[0],c.unshift(s[1]));break}if(!0!==o)if(o&&t.throws)e=o(e);else try{e=o(e)}catch(t){return{state:"parsererror",error:o?t:"No conversion from "+l+" to "+r}}}return{state:"success",data:e}}(f,o,w,i),i?(f.ifModified&&((n=w.getResponseHeader("Last-Modified"))&&(x.lastModified[l]=n),n=w.getResponseHeader("etag"))&&(x.etag[l]=n),204===t||"HEAD"===f.type?s="nocontent":304===t?s="notmodified":(s=o.state,a=o.data,i=!(r=o.error))):(r=s,(t||!s)&&(s="error",t<0)&&(t=0)),w.status=t,w.statusText=(e||s)+"",i?v.resolveWith(h,[a,s,w]):v.rejectWith(h,[w,s,r]),w.statusCode(b),b=void 0,u&&m.trigger(i?"ajaxSuccess":"ajaxError",[w,f,i?a:r]),g.fireWith(h,[w,s]),u)&&(m.trigger("ajaxComplete",[w,f]),--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,a){x[a]=function(t,e,n,i){return x.isFunction(e)&&(i=i||n,n=e,e=void 0),x.ajax({url:t,type:a,dataType:i,data:e,success:n})}}),x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){x.fn[e]=function(t){return this.on(e,t)}}),x._evalUrl=function(t){return x.ajax({url:t,type:"GET",dataType:"script",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 this.each(x.isFunction(n)?function(t){x(this).wrapInner(n.call(this,t))}: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 t.offsetWidth<=0&&t.offsetHeight<=0||!v.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||x.css(t,"display"))},x.expr.filters.visible=function(t){return!x.expr.filters.hidden(t)};var He=/%20/g,Ue=/\[\]$/,We=/\r?\n/g,Ge=/^(?:submit|button|image|reset|file)$/i,Ze=/^(?:input|select|textarea|keygen)/i;x.param=function(t,e){function n(t,e){e=x.isFunction(e)?e():null==e?"":e,a[a.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)}var i,a=[];
1if(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,a,r){if(x.isArray(t))x.each(t,function(t,e){a||Ue.test(i)?r(i,e):n(i+"["+("object"==typeof e?t:"")+"]",e,a,r)});else if(a||"object"!==x.type(t))r(i,t);else for(var e in t)n(i+"["+e+"]",t[e],a,r)}(i,t[i],e,n);return a.join("&").replace(He,"+")},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")&&Ze.test(this.nodeName)&&!Ge.test(t)&&(this.checked||!dt.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(We,"\r\n")}}):{name:e.name,value:n.replace(We,"\r\n")}}).get()}}),x.ajaxSettings.xhr=void 0!==h.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Qe()||function(){try{return new h.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}()}:Qe;var qe=0,Ke={},o=x.ajaxSettings.xhr();function Qe(){try{return new h.XMLHttpRequest}catch(t){}}h.ActiveXObject&&x(h).on("unload",function(){for(var t in Ke)Ke[t](void 0,!0)}),v.cors=!!o&&"withCredentials"in o,(v.ajax=!!o)&&x.ajaxTransport(function(l){var d;if(!l.crossDomain||v.cors)return{send:function(t,r){var e,o=l.xhr(),s=++qe;if(o.open(l.type,l.url,l.async,l.username,l.password),l.xhrFields)for(e in l.xhrFields)o[e]=l.xhrFields[e];for(e in l.mimeType&&o.overrideMimeType&&o.overrideMimeType(l.mimeType),l.crossDomain||t["X-Requested-With"]||(t["X-Requested-With"]="XMLHttpRequest"),t)void 0!==t[e]&&o.setRequestHeader(e,t[e]+"");o.send(l.hasContent&&l.data||null),d=function(t,e){var n,i,a;if(d&&(e||4===o.readyState))if(delete Ke[s],d=void 0,o.onreadystatechange=x.noop,e)4!==o.readyState&&o.abort();else{a={},n=o.status,"string"==typeof o.responseText&&(a.text=o.responseText);try{i=o.statusText}catch(t){i=""}n||!l.isLocal||l.crossDomain?1223===n&&(n=204):n=a.text?200:404}a&&r(n,i,a,o.getAllResponseHeaders())},l.async?4===o.readyState?setTimeout(d):o.onreadystatechange=Ke[s]=d:d()},abort:function(){d&&d(void 0,!0)}}}),x.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},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,a;if(e.crossDomain)return a=g.head||x("head")[0]||g.documentElement,{send:function(t,n){(i=g.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")},a.insertBefore(i,a.firstChild)},abort:function(){i&&i.onload(void 0,!0)}}});var Ye=[],Xe=/(=)\?(?=&|$)|\?\?/,Je=(x.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ye.pop()||x.expando+"_"+ke++;return this[t]=!0,t}}),x.ajaxPrefilter("json jsonp",function(t,e,n){var i,a,r,o=!1!==t.jsonp&&(Xe.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xe.test(t.data)&&"data");return o||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=x.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,o?t[o]=t[o].replace(Xe,"$1"+i):!1!==t.jsonp&&(t.url+=(Ne.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return r||x.error(i+" was not called"),r[0]},t.dataTypes[0]="json",a=h[i],h[i]=function(){r=arguments},n.always(function(){h[i]=a,t[i]&&(t.jsonpCallback=e.jsonpCallback,Ye.push(i)),r&&x.isFunction(a)&&a(r[0]),r=a=void 0}),"script"):void 0}),x.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||g;var i=Z.exec(t),n=!n&&[];return i?[e.createElement(i[1])]:(i=x.buildFragment([t],e,n),n&&n.length&&x(n).remove(),x.merge([],i.childNodes))}
1,x.fn.load),tn=(x.fn.load=function(t,e,n){var i,a,r,o,s;return"string"!=typeof t&&Je?Je.apply(this,arguments):(o=this,0<=(s=t.indexOf(" "))&&(i=x.trim(t.slice(s,t.length)),t=t.slice(0,s)),x.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),0<o.length&&x.ajax({url:t,type:r,dataType:"html",data:e}).done(function(t){a=arguments,o.html(i?x("<div>").append(x.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){o.each(n,a||[t.responseText,e,t])}),this)},x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length},h.document.documentElement);function en(t){return x.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}x.offset={setOffset:function(t,e,n){var i,a,r,o,s=x.css(t,"position"),l=x(t),d={};"static"===s&&(t.style.position="relative"),r=l.offset(),i=x.css(t,"top"),o=x.css(t,"left"),s=("absolute"===s||"fixed"===s)&&-1<x.inArray("auto",[i,o])?(a=(s=l.position()).top,s.left):(a=parseFloat(i)||0,parseFloat(o)||0),null!=(e=x.isFunction(e)?e.call(t,n,r):e).top&&(d.top=e.top-r.top+a),null!=e.left&&(d.left=e.left-r.left+s),"using"in e?e.using.call(t,d):l.css(d)}},x.fn.extend({offset:function(e){var t,n,i,a;return arguments.length?void 0===e?this:this.each(function(t){x.offset.setOffset(this,e,t)}):(n={top:0,left:0},(a=(i=this[0])&&i.ownerDocument)?(t=a.documentElement,x.contains(t,i)?(typeof i.getBoundingClientRect!=b&&(n=i.getBoundingClientRect()),i=en(a),{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||tn;t&&!x.nodeName(t,"html")&&"static"===x.css(t,"position");)t=t.offsetParent;return t||tn})}}),x.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,a){var r=/Y/.test(a);x.fn[e]=function(t){return l(this,function(t,e,n){var i=en(t);return void 0===n?i?a in i?i[a]:i.document.documentElement[e]:t[e]:void(i?i.scrollTo(r?x(i).scrollLeft():n,r?n:x(i).scrollTop()):t[e]=n)},e,t,arguments.length,null)}}),x.each(["top","left"],function(t,n){x.cssHooks[n]=Yt(v.pixelPosition,function(t,e){return e?(e=I(t,n),Kt.test(e)?x(t).position()[n]+"px":e):void 0})}),x.each({Height:"height",Width:"width"},function(r,o){x.each({padding:"inner"+r,content:o,"":"outer"+r},function(i,t){x.fn[t]=function(t,e){var n=arguments.length&&(i||"boolean"!=typeof t),a=i||(!0===t||!0===e?"margin":"border");return l(this,function(t,e,n){var i;return x.isWindow(t)?t.document.documentElement["client"+r]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+r],i["scroll"+r],t.body["offset"+r],i["offset"+r],i["client"+r])):void 0===n?x.css(t,e,a):x.style(t,e,n,a)},o,n?t:void 0,n,null)}})}),x.fn.size=function(){return this.length},x.fn.andSelf=x.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return x});var nn=h.jQuery,an=h.$;return x.noConflict=function(t){return h.$===x&&(h.$=an),t&&h.jQuery===x&&(h.jQuery=nn),x},typeof _==b&&(h.jQuery=h.$=x),x}),!function(c){c.fn.bootpag=function(t){function a(t,e){var n,i,a,r=0==d.maxVisible?1:d.maxVisible,o=(d.maxVisible,Math.floor((e-1)/r)*r),t=t.find("li");d.page=e=e<0?0:e>d.total?d.total:e,t.removeClass("disabled"),n=e-1<1?1:d.leaps&&e-1>=d.maxVisible?Math.floor((e-1)/r)*r:e-1,t.first().toggleClass("disabled",1===e).attr("data-lp",n).find("a").attr("href",s(n)),i=1==d.maxVisible?0:1,n=e+1>d.total?d.total:d.leaps&&e+1<d.total-d.maxVisible?o+d.maxVisible+i:e+1,t.last().toggleClass("disabled",e===d.total).attr("data-lp",n).find("a").attr("href",s(n)),(r=t.filter("[data-lp="+e+"]")).not(".next,.prev").length||(a=e<=o?-d.maxVisible:0,t.not(".next,.prev").each(function(t){n=t+1+o+a,c(this).attr("data-lp",n).toggle(n<=d.total).find("a").html(n).attr("href",s(n))}),r=t.filter("[data-lp="+e+"]")),r.addClass("disabled"),l.data("settings",d)}function s(t){return d.href.replace(d.hrefVariable,t)}var l=this,d=c.extend({total:0,page:1,maxVisible:null,leaps:!0,href:"javascript:void(0);",hrefVariable:"{{number}}",next:"&raquo;",prev:"&laquo;"},l.data("settings")||{},t||{});return d.total<=0?this:(c.isNumeric(d.maxVisible)||d.maxVisible||(d.maxVisible=d.total),l.data("settings",d),this.each(function(){var e,t,n=c(this),i=['<ul class="pagination bootpag">'];for(d.prev&&i.push('<li data-lp="1" class="prev"><a href="'+s(1)+'">'+d.prev+"</a></li>"),t=1;t<=Math.min(d.total,d.maxVisible);t++)i.push('<li data-lp="'+t+'"><a href="'+s(t)+'">'+t+"</a></li>");d.next&&(t=d.leaps&&d.total>d.maxVisible?Math.min(d.maxVisible+1,d.total):2,i.push('<li data-lp="'+t+'" class="next"><a href="'+s(t)+'">'+d.next+"</a></li>")),i.push("</ul>"),n.find("ul.bootpag").remove(),n.append(i.join("")),e=n.find("ul.bootpag"),n.find("li").click(function(){var t=c(this);t.hasClass("disabled")||(t=parseInt(t.attr("data-lp"),10),a(e,t),l.trigger("page",t))}),a(e,d.page)}))}}(jQuery,window),!function(i){i.fn.flowtype=function(t){function e(t){var t=i(t),e=(e=((e=t.width())>n.maximum?n.maximum:e<n.minimum?n.minimum:e)/n.fontRatio)>n.maxFont?n.maxFont:e<n.minFont?n.minFont:e;t.css("font-size",e+"px")}var n=i.extend({maximum:9999,minimum:1,maxFont:9999,minFont:1,fontRatio:35},t);return this.each(function(){var t=this;i(window).resize(function(){e(t)}),e(this)})}}(jQuery),!function(u){u.flexslider=function(f,t){var e,h=u(f),o=(h.vars=u.extend({},u.flexslider.defaults,t),h.vars.namespace),m=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,s=("ontouchstart"in window||m||window.DocumentTouch&&document instanceof DocumentTouch)&&h.vars.touch,r="click touchend MSPointerUp keyup",l="",v="vertical"===h.vars.direction,g=h.vars.reverse,b=0<h.vars.itemWidth,y="fade"===h.vars.animation,d=""!==h.vars.asNavFor,c={};u.data(f,"flexslider",h),c={init:function(){h.animating=!1,h.currentSlide=parseInt(h.vars.startAt||0,10),isNaN(h.currentSlide)&&(h.currentSlide=0),h.animatingTo=h.currentSlide,h.atEnd=0===h.currentSlide||h.currentSlide===h.last,h.containerSelector=h.vars.selector.substr(0,h.vars.selector.search(" ")),h.slides=u(h.vars.selector,h),h.container=u(h.containerSelector,h),h.count=h.slides.length,h.syncExists=0<u(h.vars.sync).length,"slide"===h.vars.animation&&(h.vars.animation="swing"),h.prop=v?"top":"marginLeft",h.args={},h.manualPause=!1,h.stopped=!1,h.started=!1,h.startTimeout=null,h.transitions=!h.vars.video&&!y&&h.vars.useCSS&&function(){var t,e=document.createElement("div"),n=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(t in n)if(void 0!==e.style[n[t]])return h.pfx=n[t].replace("Perspective","").toLowerCase(),h.prop="-"+h.pfx+"-transform",!0;return!1}(),(h.ensureAnimationEnd="")!==h.vars.controlsContainer&&(h.controlsContainer=0<u(h.vars.controlsContainer).length&&u(h.vars.controlsContainer)),""!==h.vars.manualControls&&(h.manualControls=0<u(h.vars.manualControls).length&&u(h.vars.manualControls)),h.vars.randomize&&(h.slides.sort(function(){return Math.round(Math.random())-.5}),h.container.empty().append(h.slides)),h.doMath(),h.setup("init"),h.vars.c
1ontrolNav&&c.controlNav.setup(),h.vars.directionNav&&c.directionNav.setup(),h.vars.keyboard&&(1===u(h.containerSelector).length||h.vars.multipleKeyboard)&&u(document).bind("keyup",function(t){var t=t.keyCode;h.animating||39!==t&&37!==t||(t=39===t?h.getTarget("next"):37===t&&h.getTarget("prev"),h.flexAnimate(t,h.vars.pauseOnAction))}),h.vars.mousewheel&&h.bind("mousewheel",function(t,e,n,i){t.preventDefault();t=e<0?h.getTarget("next"):h.getTarget("prev");h.flexAnimate(t,h.vars.pauseOnAction)}),h.vars.pausePlay&&c.pausePlay.setup(),h.vars.slideshow&&h.vars.pauseInvisible&&c.pauseInvisible.init(),h.vars.slideshow&&(h.vars.pauseOnHover&&h.hover(function(){h.manualPlay||h.manualPause||h.pause()},function(){h.manualPause||h.manualPlay||h.stopped||h.play()}),h.vars.pauseInvisible&&c.pauseInvisible.isHidden()||(0<h.vars.initDelay?h.startTimeout=setTimeout(h.play,h.vars.initDelay):h.play())),d&&c.asNav.setup(),s&&h.vars.touch&&c.touch(),y&&!h.vars.smoothHeight||u(window).bind("resize orientationchange focus",c.resize),h.find("img").attr("draggable","false"),setTimeout(function(){h.vars.start(h)},200)},asNav:{setup:function(){h.asNav=!0,h.animatingTo=Math.floor(h.currentSlide/h.move),h.currentItem=h.currentSlide,h.slides.removeClass(o+"active-slide").eq(h.currentItem).addClass(o+"active-slide"),m?(f._slider=h).slides.each(function(){var t=this;t._gesture=new MSGesture,(t._gesture.target=t).addEventListener("MSPointerDown",function(t){t.preventDefault(),t.currentTarget._gesture&&t.currentTarget._gesture.addPointer(t.pointerId)},!1),t.addEventListener("MSGestureTap",function(t){t.preventDefault();var t=u(this),e=t.index();u(h.vars.asNavFor).data("flexslider").animating||t.hasClass("active")||(h.direction=h.currentItem<e?"next":"prev",h.flexAnimate(e,h.vars.pauseOnAction,!1,!0,!0))})}):h.slides.on(r,function(t){t.preventDefault();var t=u(this),e=t.index();t.offset().left-u(h).scrollLeft()<=0&&t.hasClass(o+"active-slide")?h.flexAnimate(h.getTarget("prev"),!0):u(h.vars.asNavFor).data("flexslider").animating||t.hasClass(o+"active-slide")||(h.direction=h.currentItem<e?"next":"prev",h.flexAnimate(e,h.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){h.manualControls?c.controlNav.setupManual():c.controlNav.setupPaging()},setupPaging:function(){var t="thumbnails"===h.vars.controlNav?"control-thumbs":"control-paging",e=1;if(h.controlNavScaffold=u('<ol class="'+o+"control-nav "+o+t+'"></ol>'),1<h.pagingCount)for(var n=0;n<h.pagingCount;n++){var i=h.slides.eq(n),a="thumbnails"===h.vars.controlNav?'<img src="'+i.attr("data-thumb")+'"/>':"<a>"+e+"</a>";"thumbnails"===h.vars.controlNav&&!0===h.vars.thumbCaptions&&""!=(i=i.attr("data-thumbcaption"))&&null!=i&&(a+='<span class="'+o+'caption">'+i+"</span>"),h.controlNavScaffold.append("<li>"+a+"</li>"),e++}(h.controlsContainer?u(h.controlsContainer):h).append(h.controlNavScaffold),c.controlNav.set(),c.controlNav.active(),h.controlNavScaffold.delegate("a, img",r,function(t){var e,n;t.preventDefault(),""!==l&&l!==t.type||(e=u(this),n=h.controlNav.index(e),e.hasClass(o+"active"))||(h.direction=n>h.currentSlide?"next":"prev",h.flexAnimate(n,h.vars.pauseOnAction)),""===l&&(l=t.type),c.setToClearWatchedEvent()})},setupManual:function(){h.controlNav=h.manualControls,c.controlNav.active(),h.controlNav.bind(r,function(t){var e,n;t.preventDefault(),""!==l&&l!==t.type||(e=u(this),n=h.controlNav.index(e),e.hasClass(o+"active"))||(n>h.currentSlide?h.direction="next":h.direction="prev",h.flexAnimate(n,h.vars.pauseOnAction)),""===l&&(l=t.type),c.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===h.vars.controlNav?"img":"a";h.controlNav=u("."+o+"control-nav li "+t,h.controlsContainer||h)},active:function(){h.controlNav.removeClass(o+"active").eq(h.animatingTo).addClass(o+"active")},update:function(t,e){1<h.pagingCount&&"add"===t?h.controlNavScaffold.append(u("<li><a>"+h.count+"</a></li>")):(1===h.pagingCount?h.controlNavScaffold.find("li"):h.controlNav.eq(e).closest("li")).remove(),c.controlNav.set(),1<h.pagingCount&&h.pagingCount!==h.controlNav.length?h.update(e,t):c.controlNav.active()}},directionNav:{setup:function(){var t=u('<ul class="'+o+'direction-nav"><li><a class="'+o+'prev" href="#">'+h.vars.prevText+'</a></li><li><a class="'+o+'next" href="#">'+h.vars.nextText+"</a></li></ul>");h.controlsContainer?(u(h.controlsContainer).append(t),h.directionNav=u("."+o+"direction-nav li a",h.controlsContainer)):(h.append(t),h.directionNav=u("."+o+"direction-nav li a",h)),c.directionNav.update(
1),h.directionNav.bind(r,function(t){var e;t.preventDefault(),""!==l&&l!==t.type||(e=u(this).hasClass(o+"next")?h.getTarget("next"):h.getTarget("prev"),h.flexAnimate(e,h.vars.pauseOnAction)),""===l&&(l=t.type),c.setToClearWatchedEvent()})},update:function(){var t=o+"disabled";1===h.pagingCount?h.directionNav.addClass(t).attr("tabindex","-1"):h.vars.animationLoop?h.directionNav.removeClass(t).removeAttr("tabindex"):0===h.animatingTo?h.directionNav.removeClass(t).filter("."+o+"prev").addClass(t).attr("tabindex","-1"):h.animatingTo===h.last?h.directionNav.removeClass(t).filter("."+o+"next").addClass(t).attr("tabindex","-1"):h.directionNav.removeClass(t).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=u('<div class="'+o+'pauseplay"><a></a></div>');h.controlsContainer?(h.controlsContainer.append(t),h.pausePlay=u("."+o+"pauseplay a",h.controlsContainer)):(h.append(t),h.pausePlay=u("."+o+"pauseplay a",h)),c.pausePlay.update(h.vars.slideshow?o+"pause":o+"play"),h.pausePlay.bind(r,function(t){t.preventDefault(),""!==l&&l!==t.type||(u(this).hasClass(o+"pause")?(h.manualPause=!0,h.manualPlay=!1,h.pause()):(h.manualPause=!1,h.manualPlay=!0,h.play())),""===l&&(l=t.type),c.setToClearWatchedEvent()})},update:function(t){"play"===t?h.pausePlay.removeClass(o+"pause").addClass(o+"play").html(h.vars.playText):h.pausePlay.removeClass(o+"play").addClass(o+"pause").html(h.vars.pauseText)}},touch:function(){var i,a,r,o,s,l,d=!1,e=0,n=0,c=0;function u(t){e=t.touches[0].pageX,n=t.touches[0].pageY,s=v?i-n:i-e;(!(d=v?Math.abs(s)<Math.abs(e-a):Math.abs(s)<Math.abs(n-a))||500<Number(new Date)-l)&&(t.preventDefault(),!y)&&h.transitions&&(h.vars.animationLoop||(s/=0===h.currentSlide&&s<0||h.currentSlide===h.last&&0<s?Math.abs(s)/o+2:1),h.setProps(r+s,"setTouch"))}function p(t){var e,n;f.removeEventListener("touchmove",u,!1),h.animatingTo!==h.currentSlide||d||null===s||(n=0<(e=g?-s:s)?h.getTarget("next"):h.getTarget("prev"),h.canAdvance(n)&&(Number(new Date)-l<550&&50<Math.abs(e)||Math.abs(e)>o/2)?h.flexAnimate(n,h.vars.pauseOnAction):y||h.flexAnimate(h.currentSlide,h.vars.pauseOnAction,!0)),f.removeEventListener("touchend",p,!1),r=s=a=i=null}m?(f.style.msTouchAction="none",f._gesture=new MSGesture,(f._gesture.target=f).addEventListener("MSPointerDown",function(t){t.stopPropagation(),h.animating?t.preventDefault():(h.pause(),f._gesture.addPointer(t.pointerId),c=0,o=v?h.h:h.w,l=Number(new Date),r=b&&g&&h.animatingTo===h.last?0:b&&g?h.limit-(h.itemW+h.vars.itemMargin)*h.move*h.animatingTo:b&&h.currentSlide===h.last?h.limit:b?(h.itemW+h.vars.itemMargin)*h.move*h.currentSlide:g?(h.last-h.currentSlide+h.cloneOffset)*o:(h.currentSlide+h.cloneOffset)*o)},!1),f._slider=h,f.addEventListener("MSGestureChange",function(t){t.stopPropagation();var e,n,i=t.target._slider;i&&(e=-t.translationX,n=-t.translationY,s=c+=v?n:e,d=v?Math.abs(c)<Math.abs(-e):Math.abs(c)<Math.abs(-n),t.detail===t.MSGESTURE_FLAG_INERTIA?setImmediate(function(){f._gesture.stop()}):(!d||500<Number(new Date)-l)&&(t.preventDefault(),!y)&&i.transitions&&(i.vars.animationLoop||(s=c/(0===i.currentSlide&&c<0||i.currentSlide===i.last&&0<c?Math.abs(c)/o+2:1)),i.setProps(r+s,"setTouch")))},!1),f.addEventListener("MSGestureEnd",function(t){t.stopPropagation();var e,n,t=t.target._slider;t&&(t.animatingTo!==t.currentSlide||d||null===s||(e=g?-s:s,n=t.getTarget(0<e?"next":"prev"),t.canAdvance(n)&&(Number(new Date)-l<550&&50<Math.abs(e)||Math.abs(e)>o/2)?t.flexAnimate(n,t.vars.pauseOnAction):y||t.flexAnimate(t.currentSlide,t.vars.pauseOnAction,!0)),r=s=a=i=null,c=0)},!1)):f.addEventListener("touchstart",function(t){h.animating?t.preventDefault():!window.navigator.msPointerEnabled&&1!==t.touches.length||(h.pause(),o=v?h.h:h.w,l=Number(new Date),e=t.touches[0].pageX,n=t.touches[0].pageY,r=b&&g&&h.animatingTo===h.last?0:b&&g?h.limit-(h.itemW+h.vars.itemMargin)*h.move*h.animatingTo:b&&h.currentSlide===h.last?h.limit:b?(h.itemW+h.vars.itemMargin)*h.move*h.currentSlide:g?(h.last-h.currentSlide+h.cloneOffset)*o:(h.currentSlide+h.cloneOffset)*o,i=v?n:e,a=v?e:n,f.addEventListener("touchmove",u,!1),f.addEventListener("touchend",p,!1))},!1)},resize:function(){!h.animating&&h.is(":visible")&&(b||h.doMath(),y?c.smoothHeight():b?(h.slides.width(h.computedW),h.update(h.pagingCount),h.setProps()):v?(h.viewport.height(h.h),h.setProps(h.h,"setTotal")):(h.vars.smoothHeight&&c.smoothHeight(),h.newSlides.width(h.computedW),h.setProps(h.computedW,"setTotal")))},smoothHeight:function(t){var e;v&&!y||(e=y?h:h.viewport,t?e.animate({height:h.slides.eq(h.animatingTo).height()},t):e.height(h.slides.eq(h.animatingTo).height()))},sync:function(t){var e=u(h.vars.sync).data("flexslider"),n=h.animatingTo;switch(t){case"animate":e.flexAnimate(n,h.vars.pauseOnAction,!1,!0);break;case"play":e.playing||e.asNav||e.play();break;case"pause":e.pause()}},uniqueID:function(t){return t.filter("[id]").add(t.find("[id]")).each(function(){var t=u(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var t=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var e,n=0;n<t.length;n++)t[n]+"Hidden"in document&&(c.pauseInvisible.visProp=t[n]+"Hidden");c.pauseInvisible.visProp&&(e=c.pauseInvisible.visProp.replace(/[H|h]idden/,"")+"visibilitychange",document.addEventListener(e,function(){c.pauseInvisible.isHidden()?h.startTimeout?clearTimeout(h.startTimeout):h.pause():!h.started&&0<h.vars.initDelay?setTimeout(h.play,h.vars.initDelay):h.play()}))},isHidden:function(){return document[c.pauseInvisible.visProp]||!1}},setToClearWatchedEvent:function(){clearTimeout(e),e=setTimeout(function(){l=""},3e3)}},h.flexAnimate=function(t,e,n,i,a){if(h.vars.animationLoop||t===h.currentSlide||(h.direction=t>h.currentSlide?"next":"prev"),d&&1===h.pagingCount&&(h.direction=h.currentItem<t?"next":"prev"),!h.animating&&(h.canAdvance(t,a)||n)&&h.is(":visible")){if(d&&i){n=u(h.vars.asNavFor).data("flexslider");if(h.atEnd=0===t||t===h.count-1,n.flexAnimate(t,!0,!1,!0,a),h.direction=h.currentItem<t?"next":"prev",n.direction=h.direction,Math.ceil((t+1)/h.visible)-1===h.currentSlide||0===t)return h.currentItem=t,h.slides.removeClass(o+"active-slide").eq(t).addClass(o+"active-slide"),!1;h.currentItem=t,h.slides.removeClass(o+"active-slide").eq(t).addClass(o+"active-slide"),t=Math.floor(t/h.visible)}var r;h.animating=!0,h.animatingTo=t,e&&h.pause(),h.vars.before(h),h.syncExists&&!a&&c.sync("animate"),h.vars.c
1ontrolNav&&c.controlNav.active(),b||h.slides.removeClass(o+"active-slide").eq(t).addClass(o+"active-slide"),h.atEnd=0===t||t===h.last,h.vars.directionNav&&c.directionNav.update(),t===h.last&&(h.vars.end(h),h.vars.animationLoop||h.pause()),y?s?(h.slides.eq(h.currentSlide).css({opacity:0,zIndex:1}),h.slides.eq(t).css({opacity:1,zIndex:2}),h.wrapup(r)):(h.slides.eq(h.currentSlide).css({zIndex:1}).animate({opacity:0},h.vars.animationSpeed,h.vars.easing),h.slides.eq(t).css({zIndex:2}).animate({opacity:1},h.vars.animationSpeed,h.vars.easing,h.wrapup)):(r=v?h.slides.filter(":first").height():h.computedW,e=b?(i=h.vars.itemMargin,(n=(h.itemW+i)*h.move*h.animatingTo)>h.limit&&1!==h.visible?h.limit:n):0===h.currentSlide&&t===h.count-1&&h.vars.animationLoop&&"next"!==h.direction?g?(h.count+h.cloneOffset)*r:0:h.currentSlide===h.last&&0===t&&h.vars.animationLoop&&"prev"!==h.direction?g?0:(h.count+1)*r:g?(h.count-1-t+h.cloneOffset)*r:(t+h.cloneOffset)*r,h.setProps(e,"",h.vars.animationSpeed),h.transitions?(h.vars.animationLoop&&h.atEnd||(h.animating=!1,h.currentSlide=h.animatingTo),h.container.unbind("webkitTransitionEnd transitionend"),h.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(h.ensureAnimationEnd),h.wrapup(r)}),clearTimeout(h.ensureAnimationEnd),h.ensureAnimationEnd=setTimeout(function(){h.wrapup(r)},h.vars.animationSpeed+100)):h.container.animate(h.args,h.vars.animationSpeed,h.vars.easing,function(){h.wrapup(r)})),h.vars.smoothHeight&&c.smoothHeight(h.vars.animationSpeed)}},h.wrapup=function(t){y||b||(0===h.currentSlide&&h.animatingTo===h.last&&h.vars.animationLoop?h.setProps(t,"jumpEnd"):h.currentSlide===h.last&&0===h.animatingTo&&h.vars.animationLoop&&h.setProps(t,"jumpStart")),h.animating=!1,h.currentSlide=h.animatingTo,h.vars.after(h)},h.animateSlides=function(){h.animating||h.flexAnimate(h.getTarget("next"))},h.pause=function(){clearInterval(h.animatedSlides),h.animatedSlides=null,h.playing=!1,h.vars.pausePlay&&c.pausePlay.update("play"),h.syncExists&&c.sync("pause")},h.play=function(){h.playing&&clearInterval(h.animatedSlides),h.animatedSlides=h.animatedSlides||setInterval(h.animateSlides,h.vars.slideshowSpeed),h.started=h.playing=!0,h.vars.pausePlay&&c.pausePlay.update("pause"),h.syncExists&&c.sync("play")},h.stop=function(){h.pause(),h.stopped=!0},h.canAdvance=function(t,e){var n=d?h.pagingCount-1:h.last;return!!e||d&&h.currentItem===h.count-1&&0===t&&"prev"===h.direction||!(d&&0===h.currentItem&&t===h.pagingCount-1&&"next"!==h.direction||t===h.currentSlide&&!d||!h.vars.animationLoop&&(h.atEnd&&0===h.currentSlide&&t===n&&"next"!==h.direction||h.atEnd&&h.currentSlide===n&&0===t&&"next"===h.direction))},h.getTarget=function(t){return"next"===(h.direction=t)?h.currentSlide===h.last?0:h.currentSlide+1:0===h.currentSlide?h.last:h.currentSlide-1},h.setProps=function(t,e,n){i=t||(h.itemW+h.vars.itemMargin)*h.move*h.animatingTo;var i,a=-1*function(){if(b)return"setTouch"===e?t:g&&h.animatingTo===h.last?0:g?h.limit-(h.itemW+h.vars.itemMargin)*h.move*h.animatingTo:h.animatingTo===h.last?h.limit:i;switch(e){case"setTotal":return g?(h.count-1-h.currentSlide+h.cloneOffset)*t:(h.currentSlide+h.cloneOffset)*t;case"setTouch":return t;case"jumpEnd":return g?t:h.count*t;case"jumpStart":return g?h.count*t:t;default:return t}}()+"px";h.transitions&&(a=v?"translate3d(0,"+a+",0)":"translate3d("+a+",0,0)",h.container.css("-"+h.pfx+"-transition-duration",n=void 0!==n?n/1e3+"s":"0s"),h.container.css("transition-duration",n)),h.args[h.prop]=a,!h.transitions&&void 0!==n||h.container.css(h.args),h.container.css("transform",a)},h.setup=function(t){var e,n;y?(h.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(s?h.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+h.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(h.currentSlide).css({opacity:1,zIndex:2}):0==h.vars.fadeFirstSlide?h.slides.css({opacity:0,display:"block",zIndex:1}).eq(h.currentSlide).css({zIndex:2}).css({opacity:1}):h.slides.css({opacity:0,display:"block",zIndex:1}).eq(h.currentSlide).css({zIndex:2}).animate({opacity:1},h.vars.animationSpeed,h.vars.easing)),h.vars.smoothHeight&&c.smoothHeight()):("init"===t&&(h.viewport=u('<div class="'+o+'viewport"></div>').css({overflow:"hidden",position:"relative"}
1).appendTo(h).append(h.container),h.cloneCount=0,h.cloneOffset=0,g)&&(n=u.makeArray(h.slides).reverse(),h.slides=u(n),h.container.empty().append(h.slides)),h.vars.animationLoop&&!b&&(h.cloneCount=2,h.cloneOffset=1,"init"!==t&&h.container.find(".clone").remove(),h.container.append(c.uniqueID(h.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(c.uniqueID(h.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),h.newSlides=u(h.vars.selector,h),e=g?h.count-1-h.currentSlide+h.cloneOffset:h.currentSlide+h.cloneOffset,v&&!b?(h.container.height(200*(h.count+h.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){h.newSlides.css({display:"block"}),h.doMath(),h.viewport.height(h.h),h.setProps(e*h.h,"init")},"init"===t?100:0)):(h.container.width(200*(h.count+h.cloneCount)+"%"),h.setProps(e*h.computedW,"init"),setTimeout(function(){h.doMath(),h.newSlides.css({width:h.computedW,float:"left",display:"block"}),h.vars.smoothHeight&&c.smoothHeight()},"init"===t?100:0))),b||h.slides.removeClass(o+"active-slide").eq(h.currentSlide).addClass(o+"active-slide"),h.vars.init(h)},h.doMath=function(){var t=h.slides.first(),e=h.vars.itemMargin,n=h.vars.minItems,i=h.vars.maxItems;h.w=(void 0===h.viewport?h:h.viewport).width(),h.h=t.height(),h.boxPadding=t.outerWidth()-t.width(),b?(h.itemT=h.vars.itemWidth+e,h.minW=n?n*h.itemT:h.w,h.maxW=i?i*h.itemT-e:h.w,h.itemW=h.minW>h.w?(h.w-e*(n-1))/n:h.maxW<h.w?(h.w-e*(i-1))/i:h.vars.itemWidth>h.w?h.w:h.vars.itemWidth,h.visible=Math.floor(h.w/h.itemW),h.move=0<h.vars.move&&h.vars.move<h.visible?h.vars.move:h.visible,h.pagingCount=Math.ceil((h.count-h.visible)/h.move+1),h.last=h.pagingCount-1,h.limit=1===h.pagingCount?0:h.vars.itemWidth>h.w?h.itemW*(h.count-1)+e*(h.count-1):(h.itemW+e)*h.count-h.w-e):(h.itemW=h.w,h.pagingCount=h.count,h.last=h.count-1),h.computedW=h.itemW-h.boxPadding},h.update=function(t,e){h.doMath(),b||(t<h.currentSlide?h.currentSlide+=1:t<=h.currentSlide&&0!==t&&--h.currentSlide,h.animatingTo=h.currentSlide),h.vars.controlNav&&!h.manualControls&&("add"===e&&!b||h.pagingCount>h.controlNav.length?c.controlNav.update("add"):("remove"===e&&!b||h.pagingCount<h.controlNav.length)&&(b&&h.currentSlide>h.last&&(--h.currentSlide,--h.animatingTo),c.controlNav.update("remove",h.last))),h.vars.directionNav&&c.directionNav.update()},h.addSlide=function(t,e){t=u(t);h.count+=1,h.last=h.count-1,v&&g?void 0!==e?h.slides.eq(h.count-e).after(t):h.container.prepend(t):void 0!==e?h.slides.eq(e).before(t):h.container.append(t),h.update(e,"add"),h.slides=u(h.vars.selector+":not(.clone)",h),h.setup(),h.vars.added(h)},h.removeSlide=function(t){var e=isNaN(t)?h.slides.index(u(t)):t;--h.count,h.last=h.count-1,(isNaN(t)?u(t,h.slides):v&&g?h.slides.eq(h.last):h.slides.eq(t)).remove(),h.doMath(),h.update(e,"remove"),h.slides=u(h.vars.selector+":not(.clone)",h),h.setup(),h.vars.removed(h)},c.init()},u(window).blur(function(t){focused=!1}).focus(function(t){focused=!0}),u.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},u.fn.flexslider=function(n){if("object"==typeof(n=void 0===n?{}:n))return this.each(function(){var t=u(this),e=n.selector||".slides > li",e=t.find(e);1===e.length&&!0===n.allowOneSlide||0===e.length?(e.fadeIn(400),n.start&&n.start(t)):void 0===t.data("flexslider")&&new u.flexslider(this,n)});var t=u(this).data("flexslider");switch(n){case"play":t.play();break;case"pause":t.pause();break;case"stop":t.stop();break;case"next":t.flexAnimate(t.getTarget("next"),!0);break;case"prev":case"previous":t.flexAnimate(t.getTarget("prev"),!0);break;default:"number"==typeof n&&t.flexAnimate(n,!0)}}}(jQuery),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");function md5cycle(t,e){var n=ff(t[0],r=t[1],a=t[2],i=t[3],e[0],7,-680876936),i=ff(i,n,r,a,e[1],12,-389564586),a=ff(a,i,n,r,e[2],17,606105819),r=ff(r,a,i,n,e[3],22,-1044525330);n=ff(n,r,a,i,e[4],7,-176418897),i=ff(i,n,r,a,e[5],12,1200080426),a=ff(a,i,n,r,e[6],17,-1473231341),r
1=ff(r,a,i,n,e[7],22,-45705983),n=ff(n,r,a,i,e[8],7,1770035416),i=ff(i,n,r,a,e[9],12,-1958414417),a=ff(a,i,n,r,e[10],17,-42063),r=ff(r,a,i,n,e[11],22,-1990404162),n=ff(n,r,a,i,e[12],7,1804603682),i=ff(i,n,r,a,e[13],12,-40341101),a=ff(a,i,n,r,e[14],17,-1502002290),n=gg(n,r=ff(r,a,i,n,e[15],22,1236535329),a,i,e[1],5,-165796510),i=gg(i,n,r,a,e[6],9,-1069501632),a=gg(a,i,n,r,e[11],14,643717713),r=gg(r,a,i,n,e[0],20,-373897302),n=gg(n,r,a,i,e[5],5,-701558691),i=gg(i,n,r,a,e[10],9,38016083),a=gg(a,i,n,r,e[15],14,-660478335),r=gg(r,a,i,n,e[4],20,-405537848),n=gg(n,r,a,i,e[9],5,568446438),i=gg(i,n,r,a,e[14],9,-1019803690),a=gg(a,i,n,r,e[3],14,-187363961),r=gg(r,a,i,n,e[8],20,1163531501),n=gg(n,r,a,i,e[13],5,-1444681467),i=gg(i,n,r,a,e[2],9,-51403784),a=gg(a,i,n,r,e[7],14,1735328473),n=hh(n,r=gg(r,a,i,n,e[12],20,-1926607734),a,i,e[5],4,-378558),i=hh(i,n,r,a,e[8],11,-2022574463),a=hh(a,i,n,r,e[11],16,1839030562),r=hh(r,a,i,n,e[14],23,-35309556),n=hh(n,r,a,i,e[1],4,-1530992060),i=hh(i,n,r,a,e[4],11,1272893353),a=hh(a,i,n,r,e[7],16,-155497632),r=hh(r,a,i,n,e[10],23,-1094730640),n=hh(n,r,a,i,e[13],4,681279174),i=hh(i,n,r,a,e[0],11,-358537222),a=hh(a,i,n,r,e[3],16,-722521979),r=hh(r,a,i,n,e[6],23,76029189),n=hh(n,r,a,i,e[9],4,-640364487),i=hh(i,n,r,a,e[12],11,-421815835),a=hh(a,i,n,r,e[15],16,530742520),n=ii(n,r=hh(r,a,i,n,e[2],23,-995338651),a,i,e[0],6,-198630844),i=ii(i,n,r,a,e[7],10,1126891415),a=ii(a,i,n,r,e[14],15,-1416354905),r=ii(r,a,i,n,e[5],21,-57434055),n=ii(n,r,a,i,e[12],6,1700485571),i=ii(i,n,r,a,e[3],10,-1894986606),a=ii(a,i,n,r,e[10],15,-1051523),r=ii(r,a,i,n,e[1],21,-2054922799),n=ii(n,r,a,i,e[8],6,1873313359),i=ii(i,n,r,a,e[15],10,-30611744),a=ii(a,i,n,r,e[6],15,-1560198380),r=ii(r,a,i,n,e[13],21,1309151649),n=ii(n,r,a,i,e[4],6,-145523070),i=ii(i,n,r,a,e[11],10,-1120210379),a=ii(a,i,n,r,e[2],15,718787259),r=ii(r,a,i,n,e[9],21,-343485551),t[0]=add32(n,t[0]),t[1]=add32(r,t[1]),t[2]=add32(a,t[2]),t[3]=add32(i,t[3])}function cmn(t,e,n,i,a,r){return e=add32(add32(e,t),add32(i,r)),add32(e<<a|e>>>32-a,n)}function ff(t,e,n,i,a,r,o){return cmn(e&n|~e&i,t,e,a,r,o)}function gg(t,e,n,i,a,r,o){return cmn(e&i|n&~i,t,e,a,r,o)}function hh(t,e,n,i,a,r,o){return cmn(e^n^i,t,e,a,r,o)}function ii(t,e,n,i,a,r,o){return cmn(n^(e|~i),t,e,a,r,o)}function md51(t){txt="";for(var e=t.length,n=[1732584193,-271733879,-1732584194,271733878],i=64;i<=t.length;i+=64)md5cycle(n,md5blk(t.substring(i-64,i)));t=t.substring(i-64);var a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(i=0;i<t.length;i++)a[i>>2]|=t.charCodeAt(i)<<(i%4<<3);if(a[i>>2]|=128<<(i%4<<3),55<i)for(md5cycle(n,a),i=0;i<16;i++)a[i]=0;return a[14]=8*e,md5cycle(n,a),n}function md5blk(t){for(var e=[],n=0;n<64;n+=4)e[n>>2]=t.charCodeAt(n)+(t.charCodeAt(n+1)<<8)+(t.charCodeAt(n+2)<<16)+(t.charCodeAt(n+3)<<24);return e}function rhex(t){for(var e="",n=0;n<4;n++)e+=hex_chr[t>>8*n+4&15]+hex_chr[t>>8*n&15];return e}function hex(t){for(var e=0;e<t.length;e++)t[e]=rhex(t[e]);return t.join("")}function md5(t){return hex(md51(t))}function add32(t,e){return t+e&4294967295}function add32(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}!function(){var t=jQuery.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1==t[0]&&9==t[1]&&t[2]<1||3<t[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(r){function o(t){r(t).on("click",e,this.close)}var e='[data-dismiss="alert"]',t=(o.VERSION="3.4.1",o.TRANSITION_DURATION=150,o.prototype.close=function(t){function e(){a.detach().trigger("closed.bs.alert").remove()}var n=r(this),i=n.attr("data-target"),a=(i="#"===(i=i?i:(i=n.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,""))?[]:i,r(document).find(i));t&&t.preventDefault(),(a=a.length?a:n.closest(".alert")).trigger(t=r.Event("close.bs.alert")),t.isDefaultPrevented()||(a.removeClass("in"),r.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",e).emulateTransitionEnd(o.TRANSITION_DURATION):e())},r.fn.alert);r.fn.alert=function(n){return this.each(function(){var t=r(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new o(this)),"string"==typeof n&&e[n].call(t)})},r.fn.alert.Constructor=o,r.fn.alert.noConflict=function(){return r.fn.alert=t,this},r(document).on("click.bs.alert.data-api",e,o.prototype.close)}(jQuery),function(r){function n(n){return this.each(function(){var t=r(this),e=t.data("bs.button");e||t.data("bs.button",e=new i(this,"object"==typeof n&&n)),"toggle"==n?e.toggle(
1):n&&e.setState(n)})}function i(t,e){this.$element=r(t),this.options=r.extend({},i.DEFAULTS,e),this.isLoading=!1}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",a=n.data();t+="Text",null==a.resetText&&n.data("resetText",n[i]()),setTimeout(r.proxy(function(){n[i]((null==a[t]?this.options:a)[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=r.fn.button;r.fn.button=n,r.fn.button.Constructor=i,r.fn.button.noConflict=function(){return r.fn.button=t,this},r(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=r(t.target).closest(".btn");n.call(e,"toggle"),r(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){r(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),function(d){function a(a){return this.each(function(){var t=d(this),e=t.data("bs.carousel"),n=d.extend({},c.DEFAULTS,t.data(),"object"==typeof a&&a),i="string"==typeof a?a:n.slide;e||t.data("bs.carousel",e=new c(this,n)),"number"==typeof a?e.to(a):i?e[i]():n.interval&&e.pause().cycle()})}function c(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 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),a.call(i,e),n&&i.data("bs.carousel").to(n),t.preventDefault())}c.VERSION="3.4.1",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.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()}},c.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},c.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},c.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))},c.prototype.to=function(t){var e=this,n=this.getItemIndex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||t<0?void 0: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))},c.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},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(t,e){var n,i,a,r=this.$element.find(".
1item.active"),o=e||this.getItemForDirection(t,r),e=this.interval,s="next"==t?"left":"right",l=this;return o.hasClass("active")?this.sliding=!1:(n=o[0],i=d.Event("slide.bs.carousel",{relatedTarget:n,direction:s}),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(o)]))&&i.addClass("active"),a=d.Event("slid.bs.carousel",{relatedTarget:n,direction:s}),d.support.transition&&this.$element.hasClass("slide")?(o.addClass(t),"object"==typeof o&&o.length&&o[0].offsetWidth,r.addClass(s),o.addClass(s),r.one("bsTransitionEnd",function(){o.removeClass([t,s].join(" ")).addClass("active"),r.removeClass(["active",s].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(a)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(r.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(a)),e&&this.cycle(),this))};var e=d.fn.carousel;d.fn.carousel=a,d.fn.carousel.Constructor=c,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);a.call(t,t.data())})})}(jQuery),function(a){function r(t){var e=t.attr("data-target"),e="#"!==(e=e?e:(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""))?a(document).find(e):null;return e&&e.length?e:t.parent()}function o(i){i&&3===i.which||(a(".dropdown-backdrop").remove(),a(s).each(function(){var t=a(this),e=r(t),n={relatedTarget:this};!e.hasClass("open")||i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&a.contains(e[0],i.target)||(e.trigger(i=a.Event("hide.bs.dropdown",n)),i.isDefaultPrevented())||(t.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",n)))}))}function i(t){a(t).on("click.bs.dropdown",this.toggle)}var s='[data-toggle="dropdown"]',t=(i.VERSION="3.4.1",i.prototype.toggle=function(t){var e=a(this);if(!e.is(".disabled, :disabled")){var n=r(e),i=n.hasClass("open");if(o(),!i){"ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",o);i={relatedTarget:this};if(n.trigger(t=a.Event("show.bs.dropdown",i)),t.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),n.toggleClass("open").trigger(a.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=a(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"))}}},a.fn.dropdown);a.fn.dropdown=function(n){return this.each(function(){var t=a(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new i(this)),"string"==typeof n&&e[n].call(t)})},a.fn.dropdown.Constructor=i,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=t,this},a(document).on("click.bs.dropdown.data-api",o).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(r){function o(i,a){return this.each(function(){var t=r(this),e=t.data("bs.modal"),n=r.extend({},s.DEFAULTS,t.data(),"object"==typeof i&&i);e||t.data("bs.modal",e=new s(this,n)),"string"==typeof i?e[i](a):n.show&&e.show(a)})}function s(t,e){this.options=e,this.$body=r(document.body),this.$element=r(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
1-content").load(this.options.remote,r.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))}s.VERSION="3.4.1",s.TRANSITION_DURATION=300,s.BACKDROP_TRANSITION_DURATION=150,s.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},s.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},s.prototype.show=function(n){var i=this,t=r.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"]',r.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(t){r(t.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var t=r.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(),r.Event("shown.bs.modal",{relatedTarget:n}));t?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(e)}).emulateTransitionEnd(s.TRANSITION_DURATION):i.$element.trigger("focus").trigger(e)}))},s.prototype.hide=function(t){t&&t.preventDefault(),t=r.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),r(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"),r.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",r.proxy(this.hideModal,this)).emulateTransitionEnd(s.TRANSITION_DURATION):this.hideModal())},s.prototype.enforceFocus=function(){r(document).off("focusin.bs.modal").on("focusin.bs.modal",r.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},s.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",r.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},s.prototype.resize=function(){this.isShown?r(window).on("resize.bs.modal",r.proxy(this.handleUpdate,this)):r(window).off("resize.bs.modal")},s.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")})},s.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},s.prototype.backdrop=function(t){var e,n=this,i=this.$element.hasClass("fade")?"fade":"";this.isShown&&this.options.backdrop?(e=r.support.transition&&i,this.$backdrop=r(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",r.proxy(function(t){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(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(s.BACKDROP_TRANSITION_DURATION):t())):!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),i=function(){n.removeBackdrop(),t&&t()},r.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(s.BACKDROP_TRANSITION_DURATION):i()):t&&t()},s.prototype.handleUpdate=function(){this.adjustDialog()},s.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:""})},s.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},s.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()},s.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10),a=(this.originalBodyPad=document.body.style.paddingRight||"",this.scrollbarWidth);this.bodyIsOverflowing&&(this.$body.css("padding-right",t+a),r(this.fixedContent).each(function(t,e){var n=e.style.paddingRight,i=r(e).css("padding-right");r(e).data("padding-right",n).css("padding-right",parseFloat(i)+a+"px")}))},s.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),r(this.fixedContent).each(function(t,e){var n=r(e).data("padding-right");r(e).removeData("padding-right"),e.style.paddingRight=n||""})},s.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=r.fn.modal;r.fn.modal=o,r.fn.modal.Constructor=s,r.fn.modal.noConflict=function(){return r.fn.modal=t,this},r(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e=r(this),n=e.attr("href"),i=e.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,""),a=r(document).find(i),i=a.data("bs.modal")?"toggle":r.extend({remote:!/#/.test(n)&&n},a.data(),e.data());e.is("a")&&t.preventDefault(),a.one("show.bs.modal",function(t){t.isDefaultPrevented()||a.one("hidden.bs.modal",function(){e.is(":visible")&&e.trigger("focus")})}),o.call(a,i,this)})}(jQuery),function(f){function i(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;n=document.implementation.createHTMLDocument("sanitization");n.body.innerHTML=t;for(var i=f.map(e,function(t,e){return e}),a=f(n.body).find("*"),r=0,o=a.length;r<o;r++){var s=a[r],l=s.nodeName.toLowerCase();if(-1!==f.inArray(l,i))for(var d=f.map(s.attributes,function(t){return t}),c=[].concat(e["*"]||[],e[l]||[]),u=0,p=d.length;u<p;u++)!function(t,e){var n=t.nodeName.toLowerCase();if(-1!==f.inArray(n,e))return-1===f.inArray(n,h)||Boolean(t.nodeValue.match(m)||t.nodeValue.match(v));for(var i=f(e).filter(function(t,e){return e instanceof RegExp}),a=0,r=i.length;a<r;a++)if(n.match(i[a]))return 1}(d[u],c)&&s.removeAttribute(d[u].nodeName);else s.parentNode.removeChild(s)}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)}var a=["sanitize","whiteList","sanitizeFn"],h=["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:[]},m=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,v=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i,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=f(e),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&f(document).find(f.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(" "),a=i.length;a--;){var r,o=i[a];"click"==o?this.$element.on("click."+this.type,this.options.selector,f.proxy(this.toggle,this)):"manual"!=o&&(r="hover"==o?"mouseleave":"focusout",this.$element.on(("hover"==o?"mouseenter":"focusin")+"."+this.type,this.options.selector,f.proxy(this.enter,this)),this.$element.on(r+"."+this.type,this.options.selector,f.proxy(this.leave,this)))}this.options.selector?this._options=f.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!==f.inArray(e,a)&&delete n[e];return(t=f.extend({},this.getDefaults(),n,t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t.sanitize&&(t.template=i(t.template,t.whiteList,t.sanitizeFn)),t},l.prototype.getDelegateOptions=function(){var n={},i=this.getDefaults();return this._options&&f.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:f(t.currentTarget).data("bs."+this.type);return e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),f(t.currentTarget).data("bs."+this.type,e)),t instanceof f.Event&&(e.inState["focusin"==t.type?"focu
1s":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState?void(e.hoverState="in"):(clearTimeout(e.timeout),e.hoverState="in",e.options.delay&&e.options.delay.show?void(e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)):e.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:f(t.currentTarget).data("bs."+this.type);return e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),f(t.currentTarget).data("bs."+this.type,e)),t instanceof f.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),e.isInStateTrue()?void 0:(clearTimeout(e.timeout),e.hoverState="out",e.options.delay&&e.options.delay.hide?void(e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)):e.hide())},l.prototype.show=function(){var e,t,n,i,a,r,o,s=f.Event("show.bs."+this.type);this.hasContent()&&this.enabled&&(this.$element.trigger(s),a=f.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]),!s.isDefaultPrevented())&&a&&(s=(e=this).tip(),a=this.getUID(this.type),this.setContent(),s.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&s.addClass("fade"),a="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,(o=(t=/\s?auto?\s?/i).test(a))&&(a=a.replace(t,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?s.appendTo(f(document).find(this.options.container)):s.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type),t=this.getPosition(),n=s[0].offsetWidth,i=s[0].offsetHeight,o&&(o=a,r=this.getPosition(this.$viewport),a="bottom"==a&&t.bottom+i>r.bottom?"top":"top"==a&&t.top-i<r.top?"bottom":"right"==a&&t.right+n>r.width?"left":"left"==a&&t.left-n<r.left?"right":a,s.removeClass(o).addClass(a)),r=this.getCalculatedOffset(a,t,n,i),this.applyPlacement(r,a),o=function(){var t=e.hoverState;e.$element.trigger("shown.bs."+e.type),e.hoverState=null,"out"==t&&e.leave(e)},f.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",o).emulateTransitionEnd(l.TRANSITION_DURATION):o())},l.prototype.applyPlacement=function(t,e){var n=this.tip(),i=n[0].offsetWidth,a=n[0].offsetHeight,r=parseInt(n.css("margin-top"),10),o=parseInt(n.css("margin-left"),10),r=(isNaN(r)&&(r=0),isNaN(o)&&(o=0),t.top+=r,t.left+=o,f.offset.setOffset(n[0],f.extend({using:function(t){n.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),n.addClass("in"),n[0].offsetWidth),o=n[0].offsetHeight,s=("top"==e&&o!=a&&(t.top=t.top+a-o),this.getViewportAdjustedDelta(e,t,r,o)),e=(s.left?t.left+=s.left:t.top+=s.top,/top|bottom/.test(e)),i=e?2*s.left-i+r:2*s.top-a+o,r=e?"offsetWidth":"offsetHeight";n.offset(t),this.replaceArrow(i,n[0][r],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=i(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){function e(){"in"!=n.hoverState&&i.detach(),n.$element&&n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),t&&t()}var n=this,i=f(this.$tip),a=f.Event("hide.bs."+this.type);return this.$element.trigger(a),a.isDefaultPrevented()?void 0:(i.removeClass("in"),f.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",e).emulateTransitionEnd(l.TRANSITION_DURATION):e(),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=f.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:f(window).width(),height:f(window).height()}:null;return f.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 a,r,o={top:0,left:0};return this.$viewport&&(a=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport),/right|left/.test(t)?(t=e.top-a-r.scroll,i=e.top+a-r.scroll+i,t<r.top?o.top=r.top-t:i>r.top+r.height&&(o.top=r.top+r.height-i)):(t=e.left-a,i=e.left+a+n,t<r.left?o.left
1=r.left-t:i>r.right&&(o.left=r.left+r.width-i))),o},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=f(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=f(t.currentTarget).data("bs."+this.type))&&(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),f(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 i(t,this.options.whiteList,this.options.sanitizeFn)},f.fn.tooltip);f.fn.tooltip=function(i){return this.each(function(){var t=f(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]())})},f.fn.tooltip.Constructor=l,f.fn.tooltip.noConflict=function(){return f.fn.tooltip=e,this}}(jQuery),function(a){function r(t,e){this.init("popover",t,e)}if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");r.VERSION="3.4.1",r.DEFAULTS=a.extend({},a.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>'}),((r.prototype=a.extend({},a.fn.tooltip.Constructor.prototype)).constructor=r).prototype.getDefaults=function(){return r.DEFAULTS},r.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()},r.prototype.hasContent=function(){return this.getTitle()||this.getContent()},r.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)},r.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var t=a.fn.popover;a.fn.popover=function(i){return this.each(function(){var t=a(this),e=t.data("bs.popover"),n="object"==typeof i&&i;!e&&/destroy|hide/.test(i)||(e||t.data("bs.popover",e=new r(this,n)),"string"==typeof i&&e[i]())})},a.fn.popover.Constructor=r,a.fn.popover.noConflict=function(){return a.fn.popover=t,this}}(jQuery),function(o){function e(n){return this.each(function(){var t=o(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new s(this)),"string"==typeof n&&e[n]()})}function s(t){this.element=o(t)}function t(t){t.preventDefault(),e.call(o(this),"show")}s.VERSION="3.4.1",s.TRANSITION_DURATION=150,s.prototype.show=function(){var t,e,n,i=this.element,a=i.closest("ul:not(.dropdown-menu)"),r=i.data("target");r||(r=(r=i.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,"")),i.parent("li").hasClass("active")||(t=a.find(".active:last a"),e=o.Event("hide.bs.tab",{relatedTarget:i[0]}),n=o.Event("show.bs.tab",{relatedTarget:t[0]}),t.trigger(e),i.trigger(n),n.isDefaultPrevented())||e.isDefaultPrevented()||(n=o(document).find(r),this.activate(i.closest("li"),a),this.activate(n,n.parent(),function(){t.trigger({type:"hidden.bs.tab",relatedTarget:i[0]}),i.trigger({type:"shown.bs.tab",relatedTarget:t[0]})}))},s.prototype.activate=function(t,e,n){function i(){a.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),r?(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()}var a=e.find("> .active"),r=n&&o.support.transition&&(a.length&&a.hasClass("fade")||!!e.find("> .fade").length);a.length&&r?a.one("bsTransitionEnd",i).emulateTransitionEnd(s.TRANSITION_DURATION):i(),a.removeClass("in")};var n=o.fn.tab;o.fn.tab=e,o.fn.tab.Constructor=s,o.fn.tab.noConflict=function(){return o.fn.tab=n,this};o(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',t).on("click.bs.tab.data-api",'[data-toggle="pill"]',t)}(jQuery),function(o){function n(n){return this.each(function(){var t=o(this),e=t.data("bs.affix");
1e||t.data("bs.affix",e=new s(this,"object"==typeof n&&n)),"string"==typeof n&&e[n]()})}function s(t,e){this.options=o.extend({},s.DEFAULTS,e),e=this.options.target===s.DEFAULTS.target?o(this.options.target):o(document).find(this.options.target),this.$target=e.on("scroll.bs.affix.data-api",o.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",o.proxy(this.checkPositionWithEventLoop,this)),this.$element=o(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()}s.VERSION="3.4.1",s.RESET="affix affix-top affix-bottom",s.DEFAULTS={offset:0,target:window},s.prototype.getState=function(t,e,n,i){var a,r=this.$target.scrollTop(),o=this.$element.offset(),s=this.$target.height();return null!=n&&"top"==this.affixed?r<n&&"top":"bottom"==this.affixed?null!=n?!(r+this.unpin<=o.top)&&"bottom":!(r+s<=t-i)&&"bottom":(o=(a=null==this.affixed)?r:o.top,null!=n&&r<=n?"top":null!=i&&t-i<=o+(a?s:e)&&"bottom")},s.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(s.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},s.prototype.checkPositionWithEventLoop=function(){setTimeout(o.proxy(this.checkPosition,this),1)},s.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),e=this.options.offset,n=e.top,i=e.bottom,a=Math.max(o(document).height(),o(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.get
1State(a,t,n,i));if(this.affixed!=e){null!=this.unpin&&this.$element.css("top","");var n="affix"+(e?"-"+e:""),r=o.Event(n+".bs.affix");if(this.$element.trigger(r),r.isDefaultPrevented())return;this.affixed=e,this.unpin="bottom"==e?this.getPinnedOffset():null,this.$element.removeClass(s.RESET).addClass(n).trigger(n.replace("affix","affixed")+".bs.affix")}"bottom"==e&&this.$element.offset({top:a-t-i})}};var t=o.fn.affix;o.fn.affix=n,o.fn.affix.Constructor=s,o.fn.affix.noConflict=function(){return o.fn.affix=t,this},o(window).on("load",function(){o('[data-spy="affix"]').each(function(){var t=o(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(a){function n(t){t=t.attr("data-target")||(t=t.attr("href"))&&t.replace(/.*(?=#[^\s]+$)/,"");return a(document).find(t)}function r(i){return this.each(function(){var t=a(this),e=t.data("bs.collapse"),n=a.extend({},o.DEFAULTS,t.data(),"object"==typeof i&&i);!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),e||t.data("bs.collapse",e=new o(this,n)),"string"==typeof i&&e[i]()})}function o(t,e){this.$element=a(t),this.options=a.extend({},o.DEFAULTS,e),this.$trigger=a('[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()}o.VERSION="3.4.1",o.TRANSITION_DURATION=350,o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},o.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=a.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(!a.support.transition)return e.call(this);var i=a.camelCase(["scroll",n].join("-"));this.$element.one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(o.TRANSITION_DURATION)[n](this.$element[0][i])}}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t,e=a.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented())return e=this.dimension(),this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1,t=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")},a.support.transition?void this.$element[e](0).one("bsTransitionEnd",a.proxy(t,this)).emulateTransitionEnd(o.TRANSITION_DURATION):t.call(this)}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},o.prototype.getParent=function(){return a(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(t,e){e=a(e);this.addAriaAndCollapsedClass(n(e),e)},this)).end()},o.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=a.fn.collapse;a.fn.collapse=r,a.fn.collapse.Constructor=o,a.fn.collapse.noConflict=function(){return a.fn.collapse=t,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var e=a(this),t=(e.attr("data-target")||t.preventDefault(),n(e)),e=t.data("bs.collapse")?"toggle":e.data();r.call(t,e)})}(jQuery),function(a){function i(t,e){this.$body=a(document.body),this.$scrollElement=a(a(t).is(document.body)?window:t),this.options=a.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",a.proxy(this.process,this)),this.refresh(),this.process()}function e(n){return this.each(function(){var t=a(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(),a.isWindow(this.$scrollElement[0])||(n="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=a(this),t=t.data("target")||t.attr("href"),e=/^#./.test(t)&&a(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(),a=this.offsets,r=this.targets,o=this.activeTarget;if(this.scrollHeight!=n&&this.refresh(),i<=e)return o!=(t=r[r.length-1])&&this.activate(t);if(o&&e<a[0])return this.activeTarget=null,this.clear();for(t=a.length;t--;)o!=r[t]&&e>=a[t]&&(void 0===a[t+1]||e<a[t+1])&&this.activate(r[t])},i.prototype.activate=function(t){this.activeTarget=t,this.clear();t=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',t=a(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(){a(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var t=a.fn.scrollspy;a.fn.scrollspy=e,a.fn.scrollspy.Constructor=i,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=t,this},a(window).on("load.bs.scrollspy.data-api",function(){a('[data-spy="scroll"]').each(function(){var t=a(this);e.call(t,t.data())})})}(jQuery),function(i){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){return i(t.target).is(this)?t.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t("object"==typeof exports?require("jquery"):jQuery)}(function(o){function n(t,e,n){var a,r,e={content:{message:"object"==typeof e?e.message:e,title:e.title||"",icon:e.icon||"",url:e.url||"#",target:e.target||"-"}};n=o.extend(!0,{},e,n),this.settings=o.extend(!0,{},i,n),this._defaults=i,"-"===this.settings.content.target&&(this.settings.content.target=this.settings.url_target),this.animations={start:"webkitAnimationStart oanimationstart MSAnimationStart animationstart",end:"webkitAnimationEnd oanimationend MSAnimationEnd animationend"},"number"==typeof this.settings.offset&&(this.settings.offset={x:this.settings.offset,y:this.settings.offset}),!this.settings.allow_duplicates&&(this.settings.allow_duplicates||(a=this,r=!1,o('[data-notify="container"]').each(function(t,e){var e=o(e),n=e.find('[data-notify="title"]').text().trim(),i=e.find('[data-notify="message"]').html().trim(),n=n===o("<div>"+a.settings.content.title+"</div>").html().trim(),i=i===o("<div>"+a.settings.content.message+"</div>").html().trim(),e=e.hasClass("alert-"+a.settings.type);return!(r=n&&i&&e?!0:r)}),r))||this.init()}var i={element:"body",position:null,type:"info",allow_dismiss:!0,allow_duplicates:!0,newest_on_top:!1,showProgressbar:!1,placement:{from:"top",align:"right"},offset:20,spacing:10,z_index:1031,delay:5e3,timer:1e3,url_target:"_blank",mouse_over:null,animate:{enter:"animated fadeInDown",exit:"animated fadeOutUp"},onShow:null,onShown:null,onClose:null,onClosed:null,icon_type:"class",template:'<div data-notify="container" class="col-xs-11 col-sm-4 alert alert-{0}" role="alert"><button type="button" aria-hidden="true" class="close" data-notify="dismiss">&times;</button><span data-notify="icon"></span> <span data-notify="title">{1}</span> <span data-notify="message">{2}</span><div class="progress" data-notify="progressbar"><div class="progress-bar progress-bar-{0}" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div></div><a href="{3}" target="{4}" data-notify="url"></a></div>'};String.format=function(){for(var t=arguments[0],e=1;e<arguments.length;e++)t=t.replace(RegExp("\\{"+(e-1)+"\\}","gm"),arguments[e]);return t},o.extend(n.prototype,{init:function(){var r=this;this.buildNotify(),this.settings.content.icon&&this.setIcon(),"#"!=this.settings.content.url&&this.styleURL(),this.styleDismiss(),this.placement(),this.bind(),this.notify={$ele:this.$ele,update:function(t,e){var n,i={};for(n in"string"==typeof t?i[t]=e:i=t,i)switch(n){case"type":this.$ele.removeClass("alert-"+r.settings.type),this.$ele.find('[data-notify="progressbar"] > .progress-bar').removeClass("progress-bar-"+r.settings.type),r.settings.type=i[n],this.$ele.addClass("alert-"+i[n]).find('[data-notify="progressbar"] > .progress-bar').addClass("progress-bar-"+i[n]);break;case"icon":var a=this.$ele.find('[data-notify="icon"]');"class"===r.settings.icon_type.toLowerCase()?a.removeClass(r.settings.content.icon).addClass(i[n]):(a.is("img")||a.find("img"),a.attr("src",i[n]));break;case"progress":a=r.settings.delay-r.settings.delay*(i[n]/100);this.$ele.data("notify-delay",a),this.$ele.find('[data-notify="progressbar"] > div').attr("aria-valuenow",i[n]).css("width",i[n]+"%");break;case"url":this.$ele.find('[data-notify="url"]').attr("href",i[n]);break;case"target":this.$ele.find('[data-notify="url"]').attr("target",i[n]);break;default:this.$ele.find('[data-notify="'+n+'"]').html(i[n])}e=this.$ele.outerHeight()+parseInt(r.settings.spacing)+parseInt(r.settings.offset.y);r.reposition(e)},close:function(){r.close()}}},buildNotify:function(){var t=this.settings.content;this.$ele=o(String.format(this.settings.template,this.settings.type,t.title,t.message,t.url,t.target)),this.$ele.attr("data-notify-position",this.settings.placement.from+"-"+this.settings.placement.align),this.settings.allow_dismiss||this.$ele.find('[data-notify="dismiss"]').css("display","none"),(0<this.settings.delay||this.settings.showProgressbar)&&this.settings.showProgressbar||this.$ele.find('[data-notify="progressbar"]').remove()},setIcon:function(){"class"===this.settings.icon_type.toLowerCase()?this.$ele.find('[data-notify="icon"]').addClass(this.settings.content.icon):this.$ele.find('[data-notify="icon"]').is("img")?this.$ele.find('[data-notify="icon"]').attr("src",this.settings.content.icon):this.$ele.find('[data-notify="icon"]').append('<img src="'+this.settings.content.icon+'" alt="Notify Icon" />')},styleDismiss:function(){this.$ele.find('[data-notify="dismiss"]').css({position:"absolute",right:"10px",top:"5px",zIndex:this.settings.z_index+2})},styleURL:function(){this.$ele.find('[data-notify="url"]').css({backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)",height:"100%",left:0,position:"absolute",top:0,width:"100%",zIndex:this.settings.z_index+1})},placement:function(){var n=this,t=this.settings.offset.y,e={display:"inline-block",margin:"0px auto",position:this.settings.position||("body"===this.settings.element?"fixed":"absolute"),transition:"all .5s ease-in-out",zIndex:this.settings.z_index},i=!1,a=this.settings;switch(o('[data-notify-position="'+this.settings.placement.from+"-"+this.settings.placement.align+'"]:not([data-closing="true"])').each(function(){t=Math.max(t,parseInt(o(this).css(a.placement.from))+parseInt(o(this).outerHeight())+parseInt(a.spacing))}),!0===this.settings.newest_on_top&&(t=this.settings.offset.y),e[this.settings.placement.from]=t+"px",this.settings.placement.align){case"left":case"right":e[this.settings.placement.align]=this.settings.offset.x+"px";break;case"center":e.left=0,e.right=0}this.$ele.css(e).addClass(this.settings.animate.enter),o.each(["webkit-","moz-","o-","ms-",""],function(t,e){n.$ele[0].style[e+"AnimationIterationCount"]=1}),o(this.settings.element).append(this.$ele),!0===this.settings.newest_on_top&&(t=parseInt(t)+parseInt(this.settings.spacing)+this.$ele.outerHeight(),this.reposition(t)),o.isFunction(n.settings.onShow)&&n.settings.onShow.call(this.$ele),this.$ele.one(this.animations.start,function(){i=!0}).one(this.animations.end,function(){o.isFunction(n.settings.onShown)&&n.settings.onShown.call(this)}),setTimeout(function(){i||o.isFunction(n.settings.onShown)&&n.settings.onShown.call(this)},600)},bind:function(){var n,i=this;this.$ele.find('[data-notify="dismiss"]').on("click",function(){i.close()}),this.$ele.mouseover(function(){o(this).data("data-hover","true")}).mouseout(function(){o(this).data("data-hover","false")}),this.$ele.data("data-hover","false"),0<this.settings.delay&&(i.$ele.data("notify-delay",i.settings.delay),n=setInterval(function(){var t,e=parseInt(i.$ele.data("notify-delay"))-i.settings.timer;("false"===i.$ele.data("data-hover")&&"pause"===i.settings.mouse_over||"pause"!=i.settings.mouse_over)&&(t=(i.settings.delay-e)/i.settings.delay*100,i.$ele.data("notify-delay",e),i.$ele.find('[data-notify="progressbar"] > div').attr("aria-valuenow",t).css("width",t+"%")),e>-i.settings.timer||(clearInterval(n),i.close())},i.settings.timer))},close:function(){var t=this,e=parseInt(this.$ele.css(this.settings.placement.from)),n=!1;this.$ele.data("closing","true").addClass(this.settings.animate.exit),t.reposition(e),o.isFunction(t.settings.onClose)&&t.settings.onClose.call(this.$ele),this.$ele.one(this.animations.start,function(){n=!0}).one(this.animations.end,function(){o(this).remove(),o.isFunction(t.settings.onClosed)&&t.settings.onClosed.call(this)}),setTimeout(function(){n||(t.$ele.remove(),t.settings.onClosed&&t.settings.onClosed(t.$ele))},600)},reposition:function(t){var e=this,n='[data-notify-position="'+this.settings.placement.from+"-"+this.settings.placement.align+'"]:not([data-closing="true"])',i=this.$ele.nextAll(n);(i=!0===this.settings.newest_on_top?this.$ele.prevAll(n):i).each(function(){o(this).css(e.settings.placement.from,t),t=parseInt(t)+parseInt(e.settings.spacing)+o(this).outerHeight()})}}),o.notify=function(t,e){return new n(0,t,e).notify},o.notifyDefaults=function(t){return i=o.extend(!0,{},i,t)},o.notifyClose=function(t){o(void 0===t||"all"===t?"[data-notify]":'[data-notify-position="'+t+'"]').find('[data-notify="dismiss"]').trigger("click")}}),jQuery.cookie=function(t,e,n){if(void 0===e){var i=null;if(document.cookie&&""!=document.cookie)for(var a=document.cookie.split(";"),r=0;r<a.length;r++){var o=jQuery.trim(a[r]);if(o.substring(0,t.length+1)==t+"="){i=decodeURIComponent(o.substring(t.length+1));break}}return i}n=n||{},null===e&&(e="",(n=$.extend({},n)).expires=-1);var s="",l=(n.expires&&("number"==typeof n.expires||n.expires.toUTCString)&&("number"==typeof n.expires?(l=new Date).setTime(l.getTime()+24*n.expires*60*60*1e3):l=n.expires,s="; expires="+l.toUTCString()),n.path?"; path="+n.path:""),d=n.domain?"; domain="+n.domain:"",n=n.secure?"; secure":"";document.cookie=[t,"=",encodeURIComponent(e),s,l,d,n].join("")};var hex_chr="0123456789abcdef".split(""),Navbar,NavbarMob;if(md5("hello"),!function(u){u.fn.loadJSON=function(t,e){function d(t,e,n){var i=t.type||t.tagName;if(null!=i)switch(i=i.toLowerCase()){case"radio":e.toString().toLower
1Case()==t.value.toLowerCase()&&u(t).attr("checked","checked");break;case"checkbox":e&&u(t).attr("checked","checked");break;case"select-multiple":for(var a=e.constructor==Array?e:[e],r=0;r<t.options.length;r++)for(var o=0;o<a.length;o++)t.options[r].selected|=t.options[r].value==a[o];break;case"select":case"select-one":case"text":case"hidden":u(t).attr("value",e);break;case"a":var s=0<(l=(s=u(t).attr("href")).indexOf("?"))?s.substring(0,l)+"?"+n+"="+e:s+"?"+n+"="+e;u(t).attr("href",s);break;case"img":var l,d,s="",c="";c=0<(l=e.indexOf("$"))?(s=e.substring(0,l),e.substring(l+1)):(l=(s=e).lastIndexOf("/")+1,d=e.indexOf("."),e.substring(l,d)),u(t).attr("src",s),u(t).attr("alt",c);break;default:try{u(t).html(e)}catch(t){}}}return properties=u.extend({},e),this.each(function(){var e;t.constructor==String?(e=u(this),u.get(t,function(t){e.loadJSON(t)})):function t(e,n,i){if(null!=e)if(e.constructor==Object)for(var a in e){var r;null!=a&&0!=(r=0<jQuery.makeArray(jQuery("."+a,n)).length?jQuery("."+a,n):0<jQuery("#"+a,n).length?jQuery("#"+a,n):0<jQuery('[name="'+a+'"]',n).length?jQuery('[name="'+a+'"]',n):jQuery('[rel="'+a+'"]')).length&&t(e[a],jQuery(r,n),a)}else if(e.constructor==Array)if(0<n.length&&"SELECT"==n[0].tagName)d(n[0],e,i);else{var o=jQuery.makeArray(n),s=e.length-o.length,l=0;for(iExist=0;iExist<o.length;iExist++)l<e.length&&u(n).eq(iExist).loadJSON(e[l]),l++;for(l=e.length-1,iCreate=0;iCreate<s;iCreate++)u(o[o.length-1]).clone(!0).insertAfter(o[o.length-1]).loadJSON(e[l]),l--}else if(0<n.length)for(l=0;l<n.length;l++)d(n[l],e,i);else d(n,e,i)}(t,this)})}}(jQuery),"object"!=typeof JSON&&(JSON={}),function(){function f(t){return t<10?"0"+t:t}function quote(t){return escapable.lastIndex=0,escapable.test(t)?'"'+t.replace(escapable,function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function str(t,e){var n,i,a,r,o,s=gap,l=e[t];switch(l&&"object"==typeof l&&"function"==typeof l.toJSON&&(l=l.toJSON(t)),typeof(l="function"==typeof rep?rep.call(e,t,l):l)){case"string":return quote(l);case"number":return isFinite(l)?String(l):"null";case"boolean":case"null":return String(l);case"object":if(!l)return"null";if(gap+=indent,o=[],"[object Array]"===Object.prototype.toString.apply(l)){for(r=l.length,n=0;n<r;n+=1)o[n]=str(n,l)||"null";a=0===o.length?"[]":gap?"[\n"+gap+o.join(",\n"+gap)+"\n"+s+"]":"["+o.join(",")+"]"}else{if(rep&&"object"==typeof rep)for(r=rep.length,n=0;n<r;n+=1)"string"==typeof rep[n]&&(a=str(i=rep[n],l))&&o.push(quote(i)+(gap?": ":":")+a);else for(i in l)Object.prototype.hasOwnProperty.call(l,i)&&(a=str(i,l),a)&&o.push(quote(i)+(gap?": ":":")+a);a=0===o.length?"{}":gap?"{\n"+gap+o.join(",\n"+gap)+"\n"+s+"}":"{"+o.join(",")+"}"}return gap=s,a}}var cx,escapable,gap,indent,meta,rep;"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()}),"function"!=typeof JSON.stringify&&(escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(t,e,n){var i;if(indent=gap="","number"==typeof n)for(i=0;i<n;i+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(!(rep=e)||"function"==typeof e||"object"==typeof e&&"number"==typeof e.length)return str("",{"":t});throw new Error("JSON.stringify")}),"function"!=typeof JSON.parse&&(cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,JSON.parse=function(text,reviver){function walk(t,e){var n,i,a=t[e];if(a&&"object"==typeof a)for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(i=walk(a,n),void 0!==i?a[n]=i:delete a[n]);return reviver.call(t,e,a)}var j;if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),!function(d){d.fn.serializeJSON=function(t){var n,i,a,r,o=d.serializeJSON,s=o.optsWithDefaults(t);
1return o.validateOptions(s),t=this.serializeArray(),o.readCheckboxUncheckedValues(t,this,s),n={},d.each(t,function(t,e){i=o.splitInputNameIntoKeysArray(e.name),"skip"!==(a=i.pop())&&(r=o.parseValue(e.value,a,s),s.parseWithFunction&&"_"===a&&(r=s.parseWithFunction(r,e.name)),o.deepSet(n,i,r,s))}),n},d.serializeJSON={defaultOptions:{parseNumbers:!1,parseBooleans:!1,parseNulls:!1,parseAll:!1,parseWithFunction:null,checkboxUncheckedValue:void 0,useIntKeysAsArrayIndex:!1},optsWithDefaults:function(t){var e,n;return{parseNumbers:(n=(e=d.serializeJSON).optWithDefaults("parseAll",t=null==t?{}:t))||e.optWithDefaults("parseNumbers",t),parseBooleans:n||e.optWithDefaults("parseBooleans",t),parseNulls:n||e.optWithDefaults("parseNulls",t),parseWithFunction:e.optWithDefaults("parseWithFunction",t),checkboxUncheckedValue:e.optWithDefaults("checkboxUncheckedValue",t),useIntKeysAsArrayIndex:e.optWithDefaults("useIntKeysAsArrayIndex",t)}},optWithDefaults:function(t,e){return!1!==e[t]&&""!==e[t]&&(e[t]||d.serializeJSON.defaultOptions[t])},validateOptions:function(t){var e,n=["parseNumbers","parseBooleans","parseNulls","parseAll","parseWithFunction","checkboxUncheckedValue","useIntKeysAsArrayIndex"];for(e in t)if(-1===n.indexOf(e))throw new Error("serializeJSON ERROR: invalid option '"+e+"'. Please use one of "+n.join(","))},parseValue:function(t,e,n){var i=d.serializeJSON;return"string"==e?t:"number"==e||n.parseNumbers&&i.isNumeric(t)?Number(t):"boolean"==e||n.parseBooleans&&("true"===t||"false"===t)?-1===["false","null","undefined","","0"].indexOf(t):"null"==e||n.parseNulls&&"null"==t?-1!==["false","null","undefined","","0"].indexOf(t)?null:t:"array"==e||"object"==e?JSON.parse(t):"auto"==e?i.parseValue(t,null,{parseNumbers:!0,parseBooleans:!0,parseNulls:!0}):t},isObject:function(t){return t===Object(t)},isUndefined:function(t){return void 0===t},isValidArrayIndex:function(t){return/^[0-9]+$/.test(String(t))},isNumeric:function(t){return 0<=t-parseFloat(t)},splitInputNameIntoKeysArray:function(t){var t=d.serializeJSON.extractTypeFromInputName(t),e=t[0],t=t[1],e=e.split("[");return""===(e=d.map(e,function(t){return t.replace(/]/g,"")}))[0]&&e.shift(),e.push(t),e},extractTypeFromInputName:function(t){var e;d.serializeJSON;if(e=t.match(/(.*):([^:]+)$/)){var n=["string","number","boolean","null","array","object","skip","auto"];if(-1!==n.indexOf(e[2]))return[e[1],e[2]];throw new Error("serializeJSON ERROR: Invalid type "+e[2]+" found in input name '"+t+"', please use one of "+n.join(", "))}return[t,"_"]},deepSet:function(t,e,n,i){var a,r,o,s,l;if(null==i&&(i={}),(l=d.serializeJSON).isUndefined(t))throw new Error("ArgumentError: param 'o' expected to be an object or array, found undefined");if(!e||0===e.length)throw new Error("ArgumentError: param 'keys' expected to be an array with least one element");a=e[0],1===e.length?""===a?t.push(n):t[a]=n:(r=e[1],""===a&&(o=t.length-1,a=l.isObject(s=t[o])&&(l.isUndefined(s[r])||2<e.length)?o:1+o),l.isUndefined(t[a])&&(""===r||i.useIntKeysAsArrayIndex&&l.isValidArrayIndex(r)?t[a]=[]:t[a]={}),s=e.slice(1),l.deepSet(t[a],s,n,i))},readCheckboxUncheckedValues:function(n,t,i){var e,a,r;null==i&&(i={}),r=d.serializeJSON,t.find(e="input[type=checkbox][name]:not(:checked)").add(t.filter(e)).each(function(t,e){a=d(e),(a=a.attr("data-unchecked-value"))?n.push({name:e.name,value:a}):r.isUndefined(i.checkboxUncheckedValue)||n.push({name:e.name,value:i.checkboxUncheckedValue})})}}}(window.jQuery||window.Zepto||window.$),!function(g){null==g.isNumeric&&(g.isNumeric=function(t){return null!=t&&t.constructor===Number}),null==g.isFunction&&(g.isFunction=function(t){return null!=t&&t instanceof Function});var s=g(window),d=g(document),T={defaultConfig:{animate:!1,cellW:100,cellH:100,delay:0,engine:"giot",fixSize:null,gutterX:15,gutterY:15,keepOrder:!1,selector:"> div",draggable:!1,cacheSize:!0,rightToLeft:!1,bottomToTop:!1,onGapFound:function(){},onComplete:function(){},onResize:function(){},onBlockDrag:function(){},onBlockMove:function(){},onBlockDrop:function(){},onBlockReady:function(){},onBlockFinish:function(){},onBlockActive:function(){},onBlockResize:function(){}},plugin:{},totalGrid:1,transition:!1,loadBlock:function(t,e){var n=e.runtime,i=n.gutterX,a=n.gutterY,r=n.cellH,o=n.cellW,s=null,l=g(t),d=l.data("active"),c=l.attr("data-position"),u=parseInt(l.attr("data-fixSize")),p=n.lastId+++"-"+n.totalGrid;if(l.hasClass("fw-float"))return null;l.attr({id:p,"data-delay":t.index}),e.animate&&this.transition&&this.setTransition(t,"");var f=1<=(u=null==(u=isNaN(u)?null:u)?e.fixSize:u)?"ceil":"round",h=(null==l.attr("data-height")&&l.attr("data-height",l.height()),null==l.attr("data-width")&&l.attr("data-width",l.width()),+l.attr("data-height")),m=+l.attr("data-width"),v=(e.cacheSize||(t.style.width="",m=l.width(),t.style.height="",h=l.height()),m?Math[f]((m+i)/o):0),f=h?Math[f]((h+a)/r):0;return u||"auto"!=e.cellH||(l.width(o*v-i),t.style.height="",f=(
1h=l.height())?Math.round((h+a)/r):0),u||"auto"!=e.cellW||(l.height(r*f-a),t.style.width="",v=(m=l.width())?Math.round((m+i)/o):0),null!=u&&(v>n.limitCol||f>n.limitRow)?s=null:(f&&f<n.minHoB&&(n.minHoB=f),v&&v<n.minWoB&&(n.minWoB=v),f>n.maxHoB&&(n.maxHoB=f),v>n.maxWoB&&(n.maxWoB=v),s={resize:!1,id:p,width:v=0==m?0:v,height:f=0==h?0:f,fixSize:u},c&&(c=c.split("-"),s.y=+c[0],s.x=+c[1],s.width=null!=u?v:Math.min(v,n.limitCol-s.x),s.height=null!=u?f:Math.min(f,n.limitRow-s.y),r=s.y+"-"+s.x+"-"+s.width+"-"+s.height,d?(n.holes[r]={id:s.id,top:s.y,left:s.x,width:s.width,height:s.height},this.setBlock(s,e)):delete n.holes[r])),null==l.attr("data-state")?l.attr("data-state","init"):l.attr("data-state","move"),e.onBlockReady.call(t,s,e),c&&d?null:s},setBlock:function(t,e){var n=e.runtime,i=n.gutterX,a=t.height,r=t.width,o=n.cellH,s=n.cellW,l=t.x,d=t.y,d={fixSize:t.fixSize,resize:t.resize,top:(d=e.bottomToTop?n.limitRow-d-a:d)*o,left:(l=e.rightToLeft?n.limitCol-l-r:l)*s,width:s*r-i,height:o*a-n.gutterY};return d.top=+d.top.toFixed(2),d.left
1=+d.left.toFixed(2),d.width=+d.width.toFixed(2),d.height=+d.height.toFixed(2),t.id&&(n.blocks[t.id]=d),d},showBlock:function(a,r){function t(){var t,e,n,i;u&&d.attr("data-state","start"),r.animate&&c.transition&&c.setTransition(a,p),l?(l.fixSize&&(l.height=+d.attr("data-height"),l.width=+d.attr("data-width")),d.css({opacity:1,width:l.width,height:l.height}),d[s]({top:l.top,left:l.left}),null!=d.attr("data-nested")&&c.nestedGrid(a,r)):(t=parseInt(a.style.height)||0,e=parseInt(a.style.width)||0,n=parseInt(a.style.left)||0,i=parseInt(a.style.top)||0,d[s]({left:n+e/2,top:i+t/2,width:0,height:0,opacity:0})),--o.length,r.onBlockFinish.call(a,l,r),0==o.length&&r.onComplete.call(a,l,r)}var o=r.runtime,s=r.animate&&!this.transition?"animate":"css",l=o.blocks[a.id],d=g(a),c=this,u="move"!=d.attr("data-state"),p=u?"width 0.5s, height 0.5s":"top 0.5s, left 0.5s, width 0.5s, height 0.5s, opacity 0.5s";a.delay&&clearTimeout(a.delay),d.hasClass("fw-float")||(c.setTransition(a,""),a.style.position="absolute",r.onBlockActive.call(a,l,r),l&&l.resize&&r.onBlockResize.call(a,l,r),0<r.delay?a.delay=setTimeout(t,r.delay*d.attr("data-delay")):t())},nestedGrid:function(t,e){var n,i=g(t),a=e.runtime,r=i.attr("data-gutterX")||e.gutterX,o=i.attr("data-gutterY")||e.gutterY,s=i.attr("data-method")||"fitZone",l=i.attr("data-nested")||"> div",d=i.attr("data-cellH")||e.cellH,e=i.attr("data-cellW")||e.cellW,c=a.blocks[t.id];if(c)switch(n=new freewall(i),n.reset({cellH:d,cellW:e,gutterX:+r,gutterY:+o,selector:l,cacheSize:!1}),s){case"fitHeight":n[s](c.height);break;case"fitWidth":n[s](c.width);break;case"fitZone":n[s](c.width,c.height)}},adjustBlock:function(t,e){var n=e.runtime,i=n.gutterX,a=n.gutterY,r=g("#"+t.id),o=n.cellH,n=n.cellW;"auto"==e.cellH&&(r.width(t.width*n-i),r[0].style.height="",t.height=Math.round((r.height()+a)/o))},adjustUnit:function(t,e,n){var i,a=n.gutterX,r=n.gutterY,o=n.runtime,s=n.cellW,l=n.cellH;g.isFunction(s)&&(s=s(t)),g.isNumeric(s=+s)||(s=1),g.isFunction(l)&&(l=l(e)),g.isNumeric(l=+l)||(l=1),g.isNumeric(t)&&(s<1&&(s*=t),i=Math.max(1,Math.floor(t/s)),g.isNumeric(a)||(a=(t-i*s)/Math.max(1,i-1),a=Math.max(0,a)),i=Math.floor((t+a)/s),o.cellW=(t+a)/Math.max(i,1),o.cellS=o.cellW/s,o.gutterX=a,o.limitCol=i),g.isNumeric(e)&&(l<1&&(l*=e),i=Math.max(1,Math.floor(e/l)),g.isNumeric(r)||(r=(e-i*l)/Math.max(1,i-1),r=Math.max(0,r)),i=Math.floor((e+r)/l),o.cellH=(e+r)/Math.max(i,1),o.cellS=o.cellH/l,o.gutterY=r,o.limitRow=i),g.isNumeric(t)||(s<1&&(s=o.cellH),o.cellW=1!=s?s*o.cellS:1,o.gutterX=a,o.limitCol=666666),g.isNumeric(e)||(l<1&&(l=o.cellW),o.cellH=1!=l?l*o.cellS:1,o.gutterY=r,o.limitRow=666666),o.keepOrder=n.keepOrder},resetGrid:function(t){t.blocks={},t.length=0,t.cellH=0,t.cellW=0,t.lastId=1,t.matrix={},t.totalCol=0,t.totalRow=0},setDraggable:function(t,o){var s=!1,l={startX:0,startY:0,top:0,left:0,handle:null,onDrop:function(){},onDrag:function(){},onStart:function(){}};g(t).each(function(){function e(t){t=t.originalEvent,s&&(t=t.changedTouches[0]),r.css({top:i.top-(i.startY-t.clientY),left:i.left-(i.startX-t.clientX)}),i.onDrag.call(a,t)}function n(t){t=t.originalEvent,s&&(t=t.changedTouches[0]),i.onDrop.call(a,t),d.unbind("mouseup touchend",n),d.unbind("mousemove touchmove",e)}var i=g.extend({},l,o),t=i.handle||this,a=this,r=g(a),t=g(t);"absolute"!=r.css("position")&&r.css("position","relative"),r.find("iframe, form, input, textarea, .ignore-drag").each(function(){g(this).on("touchstart mousedown",function(t){t.stopPropagation()})}),d.unbind("mouseup touchend",n),d.unbind("mousemove touchmove",e),t.unbind("mousedown touchstart").bind("mousedown touchstart",function(t){return t.stopPropagation(),(t=t.originalEvent).touches&&(s=!0,t=t.changedTouches[0]),2!=t.button&&3!=t.which&&(i.onStart.call(a,t),i.startX=t.clientX,i.startY=t.clientY,i.top=parseInt(r.css("top"))||0,i.left=parseInt(r.css("left"))||0,d.bind("mouseup touchend",n),d.bind("mousemove touchmove",e)),!1})})},setTransition:function(t,e){var n=t.style,t=g(t);!this.transition&&t.stop?t.stop():null!=n.webkitTransition?n.webkitTransition=e:null!=n.MozTransition?n.MozTransition=e:null!=n.msTransition?n.msTransition=e:null!=n.OTransition?n.OTransition=e:n.transition=e},getFreeArea:function(t,e,n){for(var i=Math.min(t+n.maxHoB,n.limitRow),a=Math.min(e+n.maxWoB,n.limitCol),r=a,o=i,s=n.matrix,l=t;l<o;++l)for(var d=e;d<a;++d)s[l+"-"+d]&&e<d&&d<r&&(r=d);for(l=t;l<i;++l)for(d=e;d<r;
1++d)s[l+"-"+d]&&t<l&&l<o&&(o=l);return{top:t,left:e,width:r-e,height:o-t}},setWallSize:function(t,e){var n=t.totalRow,i=t.totalCol,a=t.gutterY,r=t.cellH,o=Math.max(0,t.cellW*i-t.gutterX),r=Math.max(0,r*n-a);e.attr({"data-total-col":i,"data-total-row":n,"data-wall-width":Math.ceil(o),"data-wall-height":Math.ceil(r)}),t.limitCol<t.limitRow&&!e.attr("data-height")&&e.height(Math.ceil(r))}},l={giot:function(t,e){function n(t,e,n,i,a){for(var r=e;r<e+a;){for(var o=n;o<n+i;)h[r+"-"+o]=t,++o>d&&(d=o);++r>c&&(c=r)}}var i,a=e.runtime,r=a.limitRow,o=a.limitCol,s=0,l=0,d=a.totalCol,c=a.totalRow,u={},p=a.holes,f=null,h=a.matrix,m=Math.max(o,r),v=null,g=o<r?1:0,b=null,y=Math.min(o,r);for(S in p)p.hasOwnProperty(S)&&n(p[S].id||!0,p[S].top,p[S].left,p[S].width,p[S].height);for(var w=0;w<m&&t.length;++w){g?l=w:s=w;for(var b=null,x=0;x<y&&t.length;++x)if(f=null,g?s=x:l=x,!a.matrix[l+"-"+s]){if(i=T.getFreeArea(l,s,a),null==e.fixSize){if(b&&!g&&a.minHoB>i.height){b.height+=i.height,b.resize=!0,n(b.id,b.y,b.x,b.width,b.height),T.setBlock(b,e);continue}if(b&&g&&a.minWoB>i.width){b.width+=i.width,b.resize=!0,n(b.id,b.y,b.x,b.width,b.height),T.setBlock(b,e);continue}}if(a.keepOrder)(f=t.shift()).resize=!0;else{for(var S=0;S<t.length;++S)if(!(t[S].height>i.height||t[S].width>i.width)){f=t.splice(S,1)[0];break}if(null==f&&null==e.fixSize)for(S=0;S<t.length;++S)if(null==t[S].fixSize){(f=t.splice(S,1)[0]).resize=!0;break}}if(null!=f)f.resize&&(g?(f.width=i.width,"auto"==e.cellH&&T.adjustBlock(f,e),f.height=Math.min(f.height,i.height)):(f.height=i.height,f.width=Math.min(f.width,i.width))),u[f.id]={id:f.id,x:s,y:l,width:f.width,height:f.height,resize:f.resize,fixSize:f.fixSize},n((b=u[f.id]).id,b.y,b.x,b.width,b.height),T.setBlock(b,e);else{v={x:s,y:l,fixSize:0};if(g){v.width=i.width,v.height=0;for(var A=s-1,C=l;h[C+"-"+A];)h[C+"-"+s]=!0,v.height+=1,C+=1}else{v.height=i.height,v.width=0;for(C=l-1,A=s;h[C+"-"+A];)h[l+"-"+A]=!0,v.width+=1,A+=1}e.onGapFound(T.setBlock(v,e),e)}}}a.matrix=h,a.totalRow=c,a.totalCol=d}};window.freewall=function(t){function r(d){m.gutterX,m.gutterY;var c=m.cellH,u=m.cellW,p=g(d),t=p.find(p.attr("data-handle"));T.setDraggable(d,{handle:t[0],onStart:function(t){h.animate&&T.transition&&T.setTransition(this,""),p.css("z-index",9999).addClass("fw-float"),h.onBlockDrag.call(d,t)},onDrag:function(t){var e=p.position(),n=Math.round(e.top/c),e=Math.round(e.left/u),i=Math.round(p.width()/u),a=Math.round(p.height()/c),n=Math.min(Math.max(0,n),m.limitRow-a),e=Math.min(Math.max(0,e),m.limitCol-i);f.setHoles({top:n,left:e,width:i,height:a}),f.refresh(),h.onBlockMove.call(d,t)},onDrop:function(t){var e,n,i,a=p.position(),r=Math.round(a.top/c),o=Math.round(a.left/u),s=Math.round(p.width()/u),l=Math.round(p.height()/c),r=Math.min(Math.max(0,r),m.limitRow-l),o=Math.min(Math.max(0,o),m.limitCol-s);for(p.removeClass("fw-float"),p.css({zIndex:"auto",top:r*c,left:o*u}),n=0;n<l;++n)for(e=0;e<s;++e)(i=m.matrix[n+r+"-"+(e+o)])&&1!=i&&g("#"+i).removeAttr("data-position");m.holes={},p.attr({"data-width":p.width(),"data-height":p.height(),"data-position":r+"-"+o}),f.refresh(),h.onBlockDrop.call(d,t)}})}var e,o=g(t),t=("static"==o.css("position")&&o.css("position","relative"),Number.MAX_VALUE),f=this,h=(T.totalGrid+=1,g.extend({},T.defaultConfig)),m={arguments:null,blocks:{},events:{},matrix:{},holes:{},cellW:0,cellH:0,cellS:1,filter:"",lastId:0,length:0,maxWoB:0,maxHoB:0,minWoB:t,minHoB:t,running:0,gutterX:15,gutterY:15,totalCol:0,totalRow:0,limitCol:666666,limitRow:666666,sortFunc:null,keepOrder:!1},t=((h.runtime=m).totalGrid=T.totalGrid,document.body.style);for(e in T.transition||(null==t.webkitTransition&&null==t.MozTransition&&null==t.msTransition&&null==t.OTransition&&null==t.transition||(T.transition=!0)),g.extend(f,{addCustomEvent:function(t,e){var n=m.events;return n[t=t.toLowerCase()]||(n[t]=[]),e.eid=n[t].length,n[t].push(e),this},appendBlock:function(t){var n,t=g(t).appendTo(o),i=[];m.arguments&&(g.isFunction(m.sortFunc)&&t.sort(m.sortFunc),t.each(function(t,e){e.index=++t,(n=T.loadBlock(e,h))&&i.push(n)}),l[h.engine](i,h),T.setWallSize(m,o),m.length=t.length,t.each(function(t,e){T.showBlock(e,h),(h.draggable||e.getAttribute("data-draggable"))&&r(e)}))},appendHoles:function(t){for(var e,n=[].concat(t),i=0;i<n.length;++i)e=n[i],m.holes[e.top+"-"+e.left+"-"+e.width+"-"+e.height]=e;return this},container:o,destroy:function(){o.find(h.selector).removeAttr("id").each(function(t,e){var e=+($item=g(e)).attr("data-width")||"",n=+$item.attr("data-height")||"";$item.width(e).height(n).css({position:"static"})})},fillHoles:function(t){if(0==arguments.length)m.holes={};else for(var e,n=[].concat(t),i=0;i<n.length;++i)e=n[i],delete m.holes[e.top+"-"+e.left+"-"+e.width+"-"+e.height];return this},filter:function(t){return m.filter=t,m.arguments&&this.refresh(),this},fireEvent:function(t,e,n){var i=m.events;if(i[t=t.toLowerCase()]&&i[t].length)for(var a=0;a<i[t].length;++a)i[t][a].call(this,e,n);return this},fitHeight:function(t){var i,e=o.find(h.selector).removeAttr("id"),a=[];t=t||o.height()||s.height(),m.arguments=arguments,T.resetGrid(m),T.adjustUnit("auto",t,h),(m.filter?(e.data("active",0),e.filter(m.filter)):e).data("active",1),g.isFunction(m.sortFunc)&&e.sort(m.sortFunc),e.each(function(t,e){var n=g(e);e.index=++t,(i=T.loadBlock(e,h))&&n.data("active")&&a.push(i)}),f.fireEvent("onGridReady",o,h),l[h.engine](a,h),T.setWallSize(m,o),f.fireEvent("onGridArrange",o,h),m.length=e.length,e.each(function(t,e){T.showBlock(e,h),(h.draggable||e.getAttribute("data-draggable"))&&r(e)})},fitWidth:function(t){var i,e=o.find(h.selector).removeAttr("id"),a=[];t=t||o.width()||s.width(),m.arguments=arguments,T.resetGrid(m),T.adjustUnit(t,"auto",h),(m.filter?(e.data("active",0),e.filter(m.filter)):e).data("active",1),g.isFunction(m.sortFunc)&&e.sort(m.sortFunc),e.each(function(t,e){var n=g(e);e.index=++t,(i=T.loadBlock(e,h))&&n.data("active")&&a.push(i)}),f.fireEvent("onGridReady",o,h),l[h.engine](a,h),T.setWallSize(m,o),f.fireEvent("onGridArrange",o,h),m.length=e.length,e.each(function(t,e){T.showBlock(e,h),(h.draggable||e.getAttribute("data-draggable"))&&r(e)})},fitZone:function(t,e){var i,n=o.find(h.selector).removeAttr("id"),a=[];e=e||o.height()||s.height(),t=t||o.width()||s.width(),m.arguments=arguments,T.resetGrid(m),T.adjustUnit(t,e,h),(m.filter?(n.data("active",0),n.filter(m.filter)):n).data("active",1),g.isFunction(m.sortFunc)&&n.sort(m.sortFunc),n.each(function(t,e){var n=g(e);e.index=++t,(i=T.loadBlock(e,h))&&n.data("active")&&a.push(i)}),f.fireEvent("onGridReady",o,h),l[h.engine](a,h),T.setWallSize(m,o),f.fireEvent("onGridArrange",o,h),m.length=n.length,n.each(function(t,e){T.showBlock(e,h),(h.draggable||e.getAttribute("data-draggable"))&&r(e)})}
1,fixPos:function(t){return g(t.block).attr({"data-position":t.top+"-"+t.left}),this},fixSize:function(t){return null!=t.height&&g(t.block).attr({"data-height":t.height}),null!=t.width&&g(t.block).attr({"data-width":t.width}),this},prepend:function(t){return o.prepend(t),m.arguments&&this.refresh(),this},refresh:function(){var t=arguments.length?arguments:m.arguments,e=m.arguments;return(e?e.callee:this.fitWidth).apply(this,Array.prototype.slice.call(t,0)),this},reset:function(t){return g.extend(h,t),this},setHoles:function(t){var e,n,i=[].concat(t);for(m.holes={},e=0;e<i.length;++e)n=i[e],m.holes[n.top+"-"+n.left+"-"+n.width+"-"+n.height]=n;return this},sortBy:function(t){return m.sortFunc=t,m.arguments&&this.refresh(),this},unFilter:function(){return delete m.filter,this.refresh(),this}}),o.attr("data-min-width",80*Math.floor(s.width()/80)),T.plugin)T.plugin.hasOwnProperty(e)&&T.plugin[e].call(f,h,o);s.resize(function(){m.running||(m.running=1,setTimeout(function(){m.running=0,h.onResize.call(f,o)},122),o.attr("data-min-width",80*Math.floor(s.width()/80)))})},freewall.addConfig=function(t){g.extend(T.defaultConfig,t)},freewall.createEngine=function(t){g.extend(l,t)},freewall.createPlugin=function(t){g.extend(T.plugin,t)},freewall.getMethod=function(t){return T[t]}}(window.Zepto||window.jQuery),"undefined"==typeof jQuery)throw new Error("BootstrapValidator's JavaScript requires jQuery");function ckeAddTableStyle(){$(".main table").each(function(){$(this).addClass("cke_table")})}function ckeAddAppRef(){$(".ckeditor-appref").each(function(){$(this).attr("id","appref"),$(this).empty()})}function ckeAddMapRef(){$(".ckeditor-mapref").each(function(){$(this).attr("id","mapref"),$(this).empty()})}function ckeRemoveClass(){$(".ckeditor-view").each(function(){var t=$(this).html();$(this).attr("id",t),$(this).empty()})}function ckeAddWidgetSlide(){var e="",n="",i=0,t=($(".ckeditor-slider").children("img").each(function(){var t=$(this).attr("src");i++,e=e+'<li><img src="'+t+'" /></li>',n=n+'<li class="slidesex"><img src="'+t+'" /></li>'}),'<div id="slider" class="flexslider"><ul class="slides">'+e+"</ul></div>");1<i&&(t=t+'<div id="carousel" class="flexslider" style="-webkit-box-shadow: none; -moz-box-shadow: none; -o-box-shadow: none; box-shadow: none;"><ul class="slides">'+n+"</ul></div>"),$(".ckeditor-slider").replaceWith(t)}function ckeAddWidgetCarousel(){var n="",t=($(".ckeditor-carousel").children("a").each(function(){var t=$(this).attr("href"),e=$(this).children("img").attr("src");n=n+'<li><a href="'+t+'" target="_blank"><img src="'+e+'" /></a></li>'}),$(".ckeditor-carousel").children("img").each(function(){var t=$(this).attr("src");n=n+'<li><img src="'+t+'" /></li>'}),'<div id="carouselSlider" class="flexslider" style="-webkit-box-shadow: none; -moz-box-shadow: none; -o-box-shadow: none; box-shadow: none;"><ul class="slides">'+n+"</ul></div>");$(".ckeditor-carousel").replaceWith(t)}function ckeAddCarouselControl(){}function getURLParameter(t){return decodeURIComponent((new RegExp("[?|&]"+t+"=([^&;]+?)(&|#|;|$)").exec(location.search)||[,""])[1].replace(/\+/g,"%20"))||null}function init_showhide(e){var n=0,t=($("#container-sh .showhide").each(function(){n++;var t=$(this).attr("title"),t=(showMsg2=void 0!==t?showMsg=t:(showMsg="Clicca qui per visualizzare il contenuto.","Clicca qui per nascondere il contenuto."),$(this).attr("style"));$(this).removeAttr("style"),e==n?$(this).before('<p class="sh-hide sh-show" ><span class="s" style="'+t+'">'+showMsg+'</span><span class="h">'+showMsg2+"</span></p>"):($(this).before('<p class="sh-hide" ><span class="s" style="'+t+'">'+showMsg+'</span><span class="h">'+showMsg2+"</span></p>"),$(this).hide())}),$("#container-sh .sh-show").each(function(){$("html, body").hasClass("sh-show").animate({scrollTop:$(".sh-show").offset().top},2e3)}),$("#container-sh").parent().find(".sh-hide"));$("p.sh-hide").click(function(){$(this).hasClass("sh-hide sh-show")?t.removeClass("sh-show").next().slideUp("medium"):(t.removeClass("sh-show").next().slideUp("medium"),$(this).addClass("sh-show").next().slideDown("medium"))})}function addMap(){detectMobile()?($(".embed-text").append("<p>Clicca sulla mappa e trova l'autoscuola SIDA più vicina!</p>"),$(".embed-container").append("<a href='mappa.html'><img class='img-responsive small-logo' src='images/box3.jpg'/></a>"),$(".embed-container").css("padding-top","0px")):($(".embed-text").append("<p>Inserisci il tuo indirizzo e scegli la tua Autoscuola SIDA!</p>"),$(".embed-container").append("<iframe frameborder='0' scrolling='no' marginheight='0' marginwidth='0' src='"+map_url+"?prodotto=1&prodview=1,2,3,4,6,7,10,11,12,13,20,22,23'></iframe>');"))}function addMapRef(){$("#mapref").empty().append("<div class='container-fluid'></div>"),$("#mapref_gen").empty().append("<div class='container-fluid'></div>")}function scrollUp(){$("#scrollup").each(function(){$(this);$(window).scroll(function(){500<$(window).scrollTop()?$("#scrollup").fadeIn():$("#scrollup").fadeOut(),$("#scrollup").click(function(){return $("html,body").stop().animate({scrollTop:0},1e3),!1})})})}function addPopupListener(){$(".popup-with-zoom-anim").magnificPopup({type:"inline",fixedContentPos:!1,fixedBgPos:!0,overflowY:"auto",closeBtnInside:!0,preloader:!1,midClick:!0,removalDelay:300,mainClass:"my-mfp-zoom-in"})}function detectMobile(){var t={Android:function(){return navigator.userAgent.match(/Android/i)},BlackBerry:function(){return navigator.userAgent.match(/BlackBerry/i)},iOS:function(){return navigator.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return navigator.userAgent.match(/Opera Mini/i)},Windows:function(){return navigator.userAgent.match(/IEMobile/i)},any:function(){return t.Android()||t.BlackBerry()||t.iOS()||t.Opera()||t.Windows()}};return t.any()}function addNavClass(){$(".hdr-space").toggleClass("js-nav-open")}function addHeader(t){$(".hdr-space").append('<link href="/css/login.css" rel="stylesheet" type="text/css"/>'),$(".hdr-space").append("<div class='navbar-collapse collapse' id=\"bs-example-navbar-collapse-1\"><nav class='nav-mobile'><ul id='navMob' class=\"nav navbar-nav\"><li"+("/infopatenti.html"==t?" class='current' ":"")+"><a href='/infopatenti.html'>InfoPatenti</a></li><li"+("/prodotti.html"==t?" class='current' ":"")+"><a href='/prodotti.html'>Prodotti</a></li><li"+("/esperto-risponde?pageID=128"==t?" class='current' ":"")+"><a href='/esperto-risponde?pageID=128'>L&#39;Esperto Risponde</a></li></ul></nav></div>"),$("#header").append('<div id=\'scrollup\'><a href=\'#\'><img src=\'/images/icon_top.png\'></a></div><nav class="navbar navbar-default navbar-fixed-top" role="navigation"><div class="container-fluid"><div class="navbar-header"><button type="button" class="navbar-toggle collapsed" data-toggle="collapse" onclick=\'addNavClass()\' data-target="#bs-example-navbar-collapse-1"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><a class="navbar-brand" href="/"><img src=\'/images/logo.png\' alt=\'\'/>
1</a></div><div class="collapse navbar-collapse"><ul id=\'nav\' class="nav navbar-nav"><li'+("/infopatenti.html"==t?" class='current' ":"")+"><a href='/infopatenti.html'>InfoPatenti</a></li><li"+("/prodotti.html"==t?" class='current' ":"")+"><a href='/prodotti.html'>Prodotti</a></li><li"+("/esperto-risponde?pageID=128"==t?" class='current' ":"")+"><a href='/esperto-risponde?pageID=128'>L&#39;Esperto Risponde</a></li><script type='text/javascript'>getLoginStatus();<\/script></ul></div></div></nav>")}function addFooter(){$("#social").append("<a href='https://www.facebook.com/www.patenteonline.it' target='_blank'><div class='col-md-3 col-xs-3 col-sm-3 fb social-button' ></div></a><a href='https://twitter.com/PatenteIt' target='_blank'><div class='col-md-3 col-xs-3 col-sm-3 tw social-button' ></div></a><a href='https://www.instagram.com/patenteonline/' target='_blank'><div class='col-md-3 col-xs-3 col-sm-3 ig social-button' ></div></a><a href='https://www.youtube.com/channel/UC6mWLTbrO28c8lcJFYLWXmw' target='_blank'><div class='col-md-3 col-xs-3 col-sm-3 yt social-button' ></div></a>"),$("#footer").append("<div class='container'><div class='row'><div class='col-md-6'><ul class='footer_box'><h4>Siti collegati</h4><li><a href='http://www.patente.it/' target='_blank'>Patente.it</a></li></ul></div><div class='col-md-6'><ul class='footer_box'><h4>Privacy</h4><li><a href='/privacy_www.html'>Informativa sulla privacy</a></li></ul></div></div></div>"),$("#copy").append("<div class='container'><div class='row'><div class='col-md-12'><h6>© 2026 Copyright AutoSoft Multimedia srl - Partita IVA: 01895470126 - Patente.it e PatenteOnLine sono marchi depositati - Vietata la riproduzione anche parziale</h6></div></div></div>")}function addAppRef(t){$("#appref").append("<div class='container-fluid' style='padding:0'><div class='row'><div class='col-xs-12'>Scarica SIDA Quiz App gratuitamente, prova la versione DEMO e vai nella tua Autoscuola SIDA di fiducia per avere il codice di attivazione che dà accesso alla versione completa.</div></div><div class='row' style='margin-bottom:10px'><div class='col-xs-offset-1 col-xs-5 col-sm-offset-0 col-sm-6'><a href='https://itunes.apple.com/it/app/sida-quiz-app/id784464887'><img class='img-responsive' style='display:inline-block' src='/images/Apple.png'/></a></div><div class='col-xs-5 col-sm-6'><a href='https://play.google.com/store/apps/details?id=air.it.patente.quizapp'><img class='img-responsive' style='display:inline-block' src='/images/Android.png'/></a></div></div><div class='row'><div class='col-xs-12'>Per qualsiasi informazioni sulle modalità di installazione o utilizzo consulta le seguenti istruzioni.<
1/div></div><div class='row' style='margin-bottom:10px'><div class='col-xs-offset-1 col-xs-5 col-sm-offset-0 col-sm-6'><a target=_blank href='/docs/istruzioni.pdf'><img class='img-responsive' style='display:inline-block' src='/images/istruz.png'/></a></div><div class='col-xs-5 col-sm-6'><a target=_blank href='/docs/istruzioni_ted.pdf'><img class='img-responsive' style='display:inline-block' src='/images/istruz_ted.png'/></a></div></div></div>")}function floWrapper(t,e,n,i){$("head").append("<link rel='stylesheet' type='text/css' href='https://cdn.jsdelivr.net/npm/[email protected]/build/mediaelementplayer.min.css'/>"),$.when($.getScript("https://cdn.jsdelivr.net/npm/[email protected]/build/mediaelement-and-player.min.js"),$.Deferred(function(t){$(t.resolve)})).done(function(){n=void 0===n?"100%":n+"px",i=void 0===i?"100%":i+"px",$("#"+t).append("<video id='mediaplayer' style='width:"+n+";height:"+i+"' autoplay loop poster='"+e+".jpg' preload='auto' controls width='"+n+"' height='"+i+"' data-setup='{\"nativeControlsForTouch\":true; }'><source type='video/mp4'  src='"+e+".mp4'></video>"),$("#mediaplayer").mediaelementplayer({pluginPath:"/path/to/shims/",success:function(t,e,n){}})})}function goToWrapper(){$.cookie("polUser",$("#user").val()),$.cookie("polPass",md5($("#pass").val())),$(window.location).attr("href","/quiz_wrapper.html")}function authLog(e){$("#"+e).bootstrapValidator({feedbackIcons:{valid:"glyphicon glyphicon-ok",invalid:"glyphicon glyphicon-remove",validating:"glyphicon glyphicon-refresh"},fields:{user:{validators:{notEmpty:{}}},passwd:{validators:{notEmpty:{},stringLength:{max:8}}}}}).on("success.form.bv",function(t){t.preventDefault(),load_login(e,1)})}function load_login(e,t,n=0,i){$.get("/patenteonline.dll/Login",{...(()=>{var t=$("#"+e+" #user").val();switch(n){case 0:return RegExp(/^((?!\.)[\w\-_.]*[^.])(@\w+)(\.\w+(\.\w+)?[^.\W])$/gm).test(t)?{email:t,pass:$("#"+e+" #passwd").val(),credentialsType:n}:{user:t,pass:$("#"+e+" #passwd").val(),credentialsType:n};case 1:case 2:case 3:return{email:i.email,token:i.token,credentialsType:n}}})(),status:t},function(t){"ERRORLOGIN"==t?($("div.form-group.has-feedback").removeClass("has-success"),$("#"+e+" #login-result").fadeIn().delay(6e3).fadeOut("slow")):(location.replace(t),sessionStorage.removeItem(SgcAuthTokenKey))})}function getLoginStatus(){var t=detectMobile()?1:0;$.get("/patenteonline.dll/getLoginStatus",{mob:t},function(t){t=jQuery.parseJSON(t);t.logged?($("#nav").append(t.htmlnav).append("<div class='clear'></div>"),$("#navMob").append(t.htmlnavmob).append("<div class='clear'></div>"),t.unreadmsgs&&$.notify({title:"Nuovi messaggi",message:"Ci sono messaggi della tua autoscuola da leggere!",url:"javascript:showChat(0)"},{delay:7e3,type:"pastel-info",template:'<div data-notify="container" class="col-xs-11 col-sm-3 alert alert-{0}" role="alert" onclick="{3}"><span data-notify="title">{1}</span><span data-notify="message">{2}</span></div>'})):(addLoginButton(),authLog("signinForm3"),authLog("signinForm4"),addPopupListener())})}function addLoginButton(){var t="<li><a href='/accedi.html'>ACCEDI</a></li>";(detectMobile()?$("#nav").append(t):$("#nav").append(makeLoginButtonWithForm(3))).append("<div class='clear'></div>"),$("#navMob").append(t).append("<div class='clear'></div>")}function makeLoginButtonWithForm(t){return'<li><script type="text/javascript" src="https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/it_IT/appleid.auth.js"><\/script><script async defer crossorigin="anonymous" src="https://connect.facebook.net/it_IT/sdk.js"><\/script><script src="https://accounts.google.com/gsi/client" async><\/script><link href="/css/login.css" rel="stylesheet" type="text/css"/><meta name="appleid-signin-client-id" content="patenteonline.web.signin"><meta name="appleid-signin-scope" content="email name"><meta name="appleid-signin-state" content="origin:web">'+`<meta name="appleid-signin-redirect-uri" content="${window.location.origin.includes("patenteonline.it")?"https://www.patenteonline.it/":"https://patenteonline.patente.it/"}">`+'<meta name="appleid-signin-use-popup" content="true"><a href=\'#login-dialog'+t+"' class='popup-with-zoom-anim' style='padding: 1px 0px 0px 5px !important;'>ACCEDI<img src='/images/user2.png'/></a><div id='login-dialog"+t+"' style='border-radius:8px; border-top:6px solid #0059A1; border-bottom:6px solid #0059A1' class='mfp-hide'><h2>Area personale</h2><form id=\"signinForm"+t+'" class=" form-signin form-horizontal form-register" style="padding:10px" method="POST"><div class="form-group"><div class=\'col-sm-3 icon user\'></div><div class="col-sm-10"><input style="background-color: #0059A1;" placeholder="Login" type="text" class="form-control" name="user" id="user"/></div></div><div class="form-group"><div class=\'col-sm-3 icon padlock\'></div><div class="col-sm-10"><input  style="background-color: #0059A1;" placeholder="Password" type="password" class="form-control" name="passwd" id="passwd"/>\t</div></div><div class="form-group"><div class="col-sm-12"><button class=\'btn btn-lg btn-primary btn-block\' type=\'submit\'>ACCEDI</button></div><div class="col-sm-12"><div id="g_id_onload"data-client_id="370731357522-98uc5sn92h64ghusnionhhhntmtssmob.apps.googleusercontent.com"data-context="signin"data-ux_mode="popup"data-auto_prompt="false"data-callback="onSignIn"></div><div class="g_id_signin centered signin-button"data-type="standard"data-shape="rectangle"data-theme="outline"data-text="continue_with"data-size="large"data-border-radius="0"data-width="380"data-locale="it"data-logo_alignment="center"></div><div id="appleid-signin" class="signin-button centered" data-color="black" data-width="380" data-border-radius="8" data-border="false" data-type="continue"></div></div></div><div id=\'social-result\' style=\'display:none\' class=\'alert alert-danger\'><p>Nessun utente registrato con questo servizio</p></div><div id=\'login-result\' style=\'display:none\' class=\'alert alert-danger\'><p><strong>Username</strong> e/o <strong>password</strong> sbagliati</p></div></form><div class=\'info\' style=\'margin-bottom: 5px;\'><b><a href=\'/user/rescuepwd.html\'>Hai dimenticato la password? Clicca QUI</a></b></div><div style=\'height:6px; padding-top:0px; background-color: #0059A1;margin-bottom:5px;\'/><div class=\'info\'><b>Non hai ancora le credenziali di accesso?</b></div><form class=\'form-signin\' style="padding:10px" action=\'/user/registra.html\'><button class=\'btn btn-lg btn-primary btn-block\' type=\'submit\'>REGISTRATI</button></form></div></a></li>'}function social_login(t,e,n){load_login("signinForm3",1,n,{email:e,token:t})}function parseJwt(t){t=t.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),t=decodeURIComponent(window.atob(t).split("").map(function(t){return"%"+("00"+t.charCodeAt(0).toString(16)).slice(-2)}).join(""));return JSON.parse(t)}function onSignIn(t){t=parseJwt(t.credential);social_login(t.sub,t.email,1)}function post_content_json(t,e,i,a){return new Promise(n=>{$.post("/patenteonline.dll/"+t,e,function(t){var e,t=jQuery.parseJSON(t);$(i).html("<p>"+t.text+"</p>"),$(i).removeClass("alert-danger","alert-success"),e=t.error?"alert-danger":"alert-success",a?.keepResponseVisible?$(i).addClass(e).fadeIn():$(i).addClass(e).fadeIn().delay(6e3).fadeOut("slow",function(){$(i).removeClass(e)}),n()})})}function makeErrorLocked(t,e){return $(t).show(),$(t).append("<div class='tab-pane-bg tab-pane active'><div class='alert alert-warning' role='alert'>
1Questa funzionalità attualmente è bloccata. Per maggiori informazioni rivolgiti alla tua autoscuola</div></div>"),!1}function makeErrorUnauthorized(t,e){$(t).append("<div class='col-sm-12 alert alert-danger'><p>Non hai le necessarie autorizzazioni per accedere a questo contenuto.</p><p>Esegui il login oppure contatta la tua autoscuola.</p></div>")}function showChat(t){var e=screen.width/2-150;window.open("chat.html","Messaggi","toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=300, height=550, top="+(screen.height/2-275)+", left="+e)}!function(y){function a(t,e){this.$form=y(t),this.options=y.extend({},y.fn.bootstrapValidator.DEFAULT_OPTIONS,e),this.$invalidFields=y([]),this.$submitButton=null,this.$hiddenButton=null,this.STATUS_NOT_VALIDATED="NOT_VALIDATED",this.STATUS_VALIDATING="VALIDATING",this.STATUS_INVALID="INVALID",this.STATUS_VALID="VALID",t=function(){for(var t=3,e=document.createElement("div"),n=e.all||[];e.innerHTML="\x3c!--[if gt IE "+ ++t+"]><br><![endif]--\x3e",n[0];);return 4<t?t:!t}(),e=document.createElement("div"),this._changeEvent=9!==t&&"oninput"in e?"input":"keyup",this._submitIfValid=null,this._cacheFields={},this._init()}a.prototype={constructor:a,_init:function(){var t,i=this,a={container:this.$form.attr("data-bv-container"),events:{formInit:this.$form.attr("data-bv-events-form-init"),formError:this.$form.attr("data-bv-events-form-error"),formSuccess:this.$form.attr("data-bv-events-form-success"),fieldAdded:this.$form.attr("data-bv-events-field-added"),fieldRemoved:this.$form.attr("data-bv-events-field-removed"),fieldInit:this.$form.attr("data-bv-events-field-init"),fieldError:this.$form.attr("data-bv-events-field-error"),fieldSuccess:this.$form.attr("data-bv-events-field-success"),fieldStatus:this.$form.attr("data-bv-events-field-status"),validatorError:this.$form.attr("data-bv-events-validator-error"),validatorSuccess:this.$form.attr("data-bv-events-validator-success")},excluded:this.$form.attr("data-bv-excluded"),feedbackIcons:{valid:this.$form.attr("data-bv-feedbackicons-valid"),invalid:this.$form.attr("data-bv-feedbackicons-invalid"),validating:this.$form.attr("data-bv-feedbackicons-validating")},group:this.$form.attr("data-bv-group"),live:this.$form.attr("data-bv-live"),message:this.$form.attr("data-bv-message"),onError:this.$form.attr("data-bv-onerror"),onSuccess:this.$form.attr("data-bv-onsuccess"),submitButtons:this.$form.attr("data-bv-submitbuttons"),threshold:this.$form.attr("data-bv-threshold"),trigger:this.$form.attr("data-bv-trigger"),verbose:this.$form.attr("data-bv-verbose"),fields:{}};for(t in this.$form.attr("novalidate","novalidate").addClass(this.options.elementClass).on("submit.bv",function(t){t.preventDefault(),i.validate()}).on("click.bv",this.options.submitButtons,function(){i.$submitButton=y(this),i._submitIfValid=!0}).find("[name], [data-bv-field]").each(function(){var t=y(this),e=t.attr("name")||t.attr("data-bv-field"),n=i._parseOptions(t);n&&(t.attr("data-bv-field",e),a.fields[e]=y.extend({},n,a.fields[e]))}),this.options=y.extend(!0,this.options,a),this.$hiddenButton=y("<button/>").attr("type","submit").prependTo(this.$form).addClass("bv-hidden-submit").css({display:"none",width:0,height:0}),this.$form.on("click.bv",'[type="submit"]',function(t){t.isDefaultPrevented()||(t=((t=y(t.target)).is('[type="submit"]')?t:t.parent('[type="submit"]')).eq(0),!i.options.submitButtons)||t.is(i.options.submitButtons)||t.is(i.$hiddenButton)||i.$form.off("submit.bv").submit()}),this.options.fields)this._initField(t);this.$form.trigger(y.Event(this.options.events.formInit),{bv:this,options:this.options}),this.options.onSuccess&&this.$form.on(this.options.events.formSuccess,function(t){y.fn.bootstrapValidator.helpers.call(i.options.onSuccess,[t])}),this.options.onError&&this.$form.on(this.options.events.formError,function(t){y.fn.bootstrapValidator.helpers.call(i.options.onError,[t])})},_parseOptions:function(t){var e,n,i,a,r,o,s,l=t.attr("name")||t.attr("data-bv-field"),d={};for(n in y.fn.bootstrapValidator.validators)if(e=y.fn.bootstrapValidator.validators[n],i=t.attr("data-bv-"+n.toLowerCase())+"",s="function"==typeof e.enableByHtml5?e.enableByHtml5(t):null,s&&"false"!=i||!0!==s&&(!i||"true"==i))for(o in e.html5Attributes=y.extend({},{message:"message",onerror:"onError",onsuccess:"onSuccess"},e.html5Attributes),d[n]=y.extend({},!0===s?{}:s,d[n]),e.html5Attributes)a=e.html5Attributes[o],r=t.attr("data-bv-"+n.toLowerCase()+"-"+o),r&&("true"===r?r=!0:"false"===r&&(r=!1),d[n][a]=r);var c={container:t.attr("data-bv-container"),excluded:t.attr("data-bv-excluded"),feedbackIcons:t.attr("data-bv-feedbackicons"),group:t.attr("data-bv-group"),message:t.attr("data-bv-message"),onError:t.attr("data-bv-onerror"),onStatus:t.attr("data-bv-onstatus"),onSuccess:t.attr("data-bv-onsuccess"),selector:t.attr("data-bv-selector"),threshold:t.attr("data-bv-threshold"),trigger:t.attr("data-bv-trigger"),verbose
1:t.attr("data-bv-verbose"),validators:d},u=y.isEmptyObject(c);return!y.isEmptyObject(d)||!u&&this.options.fields&&this.options.fields[l]?(c.validators=d,c):null},_initField:function(t){var e,n=y([]);switch(typeof t){case"object":t=(n=t).attr("data-bv-field");break;case"string":(n=this.getFieldElements(t)).attr("data-bv-field",t)}if(0!==n.length&&null!==this.options.fields[t]&&null!==this.options.fields[t].validators){for(e in this.options.fields[t].validators)y.fn.bootstrapValidator.validators[e]||delete this.options.fields[t].validators[e];null===this.options.fields[t].enabled&&(this.options.fields[t].enabled=!0);for(var i=this,a=n.length,r=n.attr("type"),o=1===a||"radio"===r||"checkbox"===r,s="radio"===r||"checkbox"===r||"file"===r||"SELECT"===n.eq(0).get(0).tagName?"change":this._changeEvent,s=(this.options.fields[t].trigger||this.options.trigger||s).split(" "),l=y.map(s,function(t){return t+".update.bv"}).join(" "),d=0;d<a;d++){var c,u=n.eq(d),p=this.options.fields[t].group||this.options.group,f=u.parents(p),h="function"==typeof(this.options.fields[t].container||this.options.container)?(this.options.fields[t].container||this.options.container).call(this,u,this):this.options.fields[t].container||this.options.container,m=h&&"tooltip"!==h&&"popover"!==h?y(h):this._getMessageContainer(u,p);for(e in h&&"tooltip"!==h&&"popover"!==h&&m.addClass("has-error"),m.find('.help-block[data-bv-validator][data-bv-for="'+t+'"]').remove(),f.find('i[data-bv-icon-for="'+t+'"]').remove(),u.off(l).on(l,function(){i.updateStatus(y(this),i.STATUS_NOT_VALIDATED)}),u.data("bv.messages",m),this.options.fields[t].validators)u.data("bv.result."+e,this.STATUS_NOT_VALIDATED),o&&d!==a-1||y("<small/>").css("display","none").addClass("help-block").attr("data-bv-validator",e).attr("data-bv-for",t).attr("data-bv-result",this.STATUS_NOT_VALIDATED).html(this._getMessage(t,e)).appendTo(m),"function"==typeof y.fn.bootstrapValidator.validators[e].init&&y.fn.bootstrapValidator.validators[e].init(this,u,this.options.fields[t].validators[e]);!1!==this.options.fields[t].feedbackIcons&&"false"!==this.options.fields[t].feedbackIcons&&this.options.feedbackIcons&&this.options.feedbackIcons.validating&&this.options.feedbackIcons.invalid&&this.options.feedbackIcons.valid&&(!o||d===a-1)&&(f.addClass("has-feedback"),c=y("<i/>").css("display","none").addClass("form-control-feedback").attr("data-bv-icon-for",t).insertAfter(u),"checkbox"!==r&&"radio"!==r||((p=u.parent()).hasClass(r)?c.insertAfter(p):p.parent().hasClass(r)&&c.insertAfter(p.parent())),0===f.find("label").length&&c.addClass("bv-no-label"),0!==f.find(".input-group").length&&c.addClass("bv-icon-input-group").insertAfter(f.find(".input-group").eq(0)),h)&&u.off("focus.bv").on("focus.bv",function(){switch(h){case"tooltip":c.tooltip("show");break;case"popover":c.popover("show")}}).off("blur.bv").on("blur.bv",function(){switch(h){case"tooltip":c.tooltip("hide");break;case"popover":c.popover("hide")}})}switch(n.on(this.options.events.fieldSuccess,function(t,e){var n=i.getOptions(e.field,null,"onSuccess");n&&y.fn.bootstrapValidator.helpers.call(n,[t,e])}).on(this.options.events.fieldError,function(t,e){var n=i.getOptions(e.field,null,"onError");n&&y.fn.bootstrapValidator.helpers.call(n,[t,e])}).on(this.options.events.fieldStatus,function(t,e){var n=i.getOptions(e.field,null,"onStatus");n&&y.fn.bootstrapValidator.helpers.call(n,[t,e])}).on(this.options.events.validatorError,function(t,e){var n=i.getOptions(e.field,e.validator,"onError");n&&y.fn.bootstrapValidator.helpers.call(n,[t,e])}).on(this.options.events.validatorSuccess,function(t,e){var n=i.getOptions(e.field,e.validator,"onSuccess");n&&y.fn.bootstrapValidator.helpers.call(n,[t,e])}),l=y.map(s,function(t){return t+".live.bv"}).join(" "),this.options.live){case"submitted":break;case"disabled":n.off(l);break;default:n.off(l).on(l,function(){i._exceedThreshold(y(this))&&i.validateField(y(this))})}n.trigger(y.Event(this.options.events.fieldInit),{bv:this,field:t,element:n})}},_getMessage:function(t,e){if(!(this.options.fields[t]&&y.fn.bootstrapValidator.validators[e]&&this.options.fields[t].validators&&this.options.fields[t].validators[e]))return"";var n=this.options.fields[t].validators[e];switch(!0){case!!n.message:return n.message;case!!this.options.fields[t].message:return this.options.fields[t].message;case!!y.fn.bootstrapValidator.i18n[e]:return y.fn.bootstrapValidator.i18n[e].default;default:return this.options.message}},_getMessageContainer:function(t,e){var n=t.parent();if(n.is(e))return n;var i=n.attr("class");if(i)for(var a=(i=i.split(" ")).length,r=0;r<a;r++)if(/^col-(xs|sm|md|lg)-\d+$/.test(i[r])||/^col-(xs|sm|md|lg)-offset-\d+$/.test(i[r]))return n;return this._getMessageContainer(n,e)},_submit:function(){var t=this.isValid(),e=t?this.options.events.formSuccess:this.options.events.formError,e=y.Event(e);this.$form.trigger(e),this.$submitButton&&(t?this._onSuccess(e):this._onError(e))},_isExcluded:function(t){var e=t.attr("data-bv-excluded"),n=t.attr("data-bv-field")||t.attr("name");switch(!0){case!!n&&this.options.fields&&this.options.fields[n]&&("true"===this.options.fields[n].excluded||!0===this.options.fields[n].excluded):case"true"===e:case""===e:return!0;case!!n&&this.options.fields&&this.options.fields[n]&&("false"===this.options.fields[n].excluded||!1===this.options.fields[n].excluded):case"false"===e:return!1;default:if(this.options.excluded){"string"==typeof this.options.excluded&&(this.options.excluded=y.map(this.options.excluded.split(","),function(t){return y.trim(t)}));for(var i=this.options.excluded.length,a=0;a<i;a++)if("string"==typeof this.options.excluded[a]&&t.is(this.options.excluded[a])||"function"==typeof this.options.excluded[a]&&!0===this.options.excluded[a].call(this,t,this))return!0}return!1}},_exceedThreshold:function(t){var e=t.attr("data-bv-field"),e=this.options.fields[e].threshold||this.options.threshold;return!e||-1!==y.inArray(t.attr("type"),["button","checkbox","file","hidden","image","radio","reset","submit"])||t.val().length>=e}
1,_onError:function(t){if(!t.isDefaultPrevented()){if("submitted"===this.options.live){this.options.live="enabled";var e,n=this;for(e in this.options.fields)a=e,r=void 0,a=n.getFieldElements(a),a.length&&(r="radio"===(r=y(a[0]).attr("type"))||"checkbox"===r||"file"===r||"SELECT"===y(a[0]).get(0).tagName?"change":n._changeEvent,r=n.options.fields[e].trigger||n.options.trigger||r,r=y.map(r.split(" "),function(t){return t+".live.bv"}).join(" "),a.off(r).on(r,function(){n._exceedThreshold(y(this))&&n.validateField(y(this))}))}var i,t=this.$invalidFields.eq(0);t&&((i=t.parents(".tab-pane"))&&(i=i.attr("id"))&&y('a[href="#'+i+'"][data-toggle="tab"]').tab("show"),t.focus())}var a,r},_onSuccess:function(t){t.isDefaultPrevented()||this.disableSubmitButtons(!0).defaultSubmit()},_onFieldValidated:function(t,e){var n,i,a=t.attr("data-bv-field"),r=this.options.fields[a].validators,o={},s=0,l={bv:this,field:a,element:t,validator:e,result:t.data("bv.response."+e)};if(e)switch(t.data("bv.result."+e)){case this.STATUS_INVALID:t.trigger(y.Event(this.options.events.validatorError),l);break;case this.STATUS_VALID:t.trigger(y.Event(this.options.events.validatorSuccess),l)}for(n in o[this.STATUS_NOT_VALIDATED]=0,o[this.STATUS_VALIDATING]=0,o[this.STATUS_INVALID]=0,o[this.STATUS_VALID]=0,r)!1!==r[n].enabled&&(s++,i=t.data("bv.result."+n))&&o[i]++;o[this.STATUS_VALID]===s?(this.$invalidFields=this.$invalidFields.not(t),t.trigger(y.Event(this.options.events.fieldSuccess),l)):0===o[this.STATUS_NOT_VALIDATED]&&0===o[this.STATUS_VALIDATING]&&0<o[this.STATUS_INVALID]&&(this.$invalidFields=this.$invalidFields.add(t),t.trigger(y.Event(this.options.events.fieldError),l))},getFieldElements:function(t){return this._cacheFields[t]||(this._cacheFields[t]=this.options.fields[t]&&this.options.fields[t].selector?y(this.options.fields[t].selector):this.$form.find('[name="'+t+'"]')),this._cacheFields[t]},getOptions:function(t,e,n){return t?("object"==typeof t&&(t=t.attr("data-bv-field")),this.options.fields[t]?(t=this.options.fields[t],e?t.validators&&t.validators[e]?n?t.validators[e][n]:t.validators[e]:null:n?t[n]:t):null):this.options},disableSubmitButtons:function(t){return t?"disabled"!==this.options.live&&this.$form.find(this.options.submitButtons).attr("disabled","disabled"):this.$form.find(this.options.submitButtons).removeAttr("disabled"),this},validate:function(){if(this.options.fields){for(var t in this.disableSubmitButtons(!0),this.options.fields)this.validateField(t);this._submit()}return this},validateField:function(t){var e=y([]);switch(typeof t){case"object":t=(e=t).attr("data-bv-field");break;case"string":e=this.getFieldElements(t)}if(!(0===e.length||this.options.fields[t]&&!1===this.options.fields[t].enabled))for(var n,i=this,a=e.attr("type"),r="radio"===a||"checkbox"===a?1:e.length,o="radio"===a||"checkbox"===a,s=this.options.fields[t].validators,l="true"===this.options.fields[t].verbose||!0===this.options.fields[t].verbose||"true"===this.options.verbose||!0===this.options.verbose,d=0;d<r;d++){var c=e.eq(d);if(!this._isExcluded(c)){var u=!1;for(n in s){if(c.data("bv.dfs."+n)&&c.data("bv.dfs."+n).reject(),u)break;var p=c.data("bv.result."+n);if(p!==this.STATUS_VALID&&p!==this.STATUS_INVALID)if(!1!==s[n].enabled){if(c.data("bv.result."+n,this.STATUS_VALIDATING),"object"==typeof(p=y.fn.bootstrapValidator.validators[n].validate(this,c,s[n]))&&p.resolve)this.updateStatus(o?t:c,this.STATUS_VALIDATING,n),c.data("bv.dfs."+n,p),p.done(function(t,e,n){t.removeData("bv.dfs."+e).data("bv.response."+e,n),n.message&&i.updateMessage(t,e,n.message),i.updateStatus(o?t.attr("data-bv-field"):t,n.valid?i.STATUS_VALID:i.STATUS_INVALID,e),n.valid&&!0===i._submitIfValid?i._submit():n.valid||l||(u=!0)});else if("object"==typeof p&&void 0!==p.valid&&void 0!==p.message){if(c.data("bv.response."+n,p),this.updateMessage(o?t:c,n,p.message),this.updateStatus(o?t:c,p.valid?this.STATUS_VALID:this.STATUS_INVALID,n),!p.valid&&!l)break}else if("boolean"==typeof p&&(c.data("bv.response."+n,p),this.updateStatus(o?t:c,p?this.STATUS_VALID:this.STATUS_INVALID,n),!p)&&!l)break}else this.updateStatus(o?t:c,this.STATUS_VALID,n);else this._onFieldValidated(c,n)}}}return this},updateMessage:function(t,e,n){var i=y([]);switch(typeof t){case"object":t=(i=t).attr("data-bv-field");break;case"string":i=this.getFieldElements(t)}i.each(function(){y(this).data("bv.messages").find('.help-block[data-bv-validator="'+e+'"][data-bv-for="'+t+'"]').html(n)})},updateStatus:function(t,e,n){var i=y([]);switch(typeof t){case"object":t=(i=t).attr("data-bv-field");break;case"string":i=this.getFieldElements(t)}e===this.STATUS_NOT_VALIDATED&&(this._submitIfValid=!1);for(var a=i.attr("type"),r=this.options.fields[t].group||this.options.group,o="radio"===a||"checkbox"===a?1:i.length,s=0;s<o;s++){var l=i.eq(s);if(!this._isExcluded(l)){var d=l.parents(r),c=l.data("bv.messages").find('.help-block[data-bv-validator][data-bv-for="'+t+'"]'),u=n?c.filter('[data-bv-validator="'+n+'"]'):c,p=d.find('.form-control-feedback[data-bv-icon-for="'+t+'"]'),f="function"==typeof(this.options.fields[t].container||this.options.container)?(this.options.fields[t].container||this.options.container).call(this,l,this):this.options.fields[t].container||this.options.container,h=null;if(n)l.data("bv.result."+n,e);else for(var m in this.options.fields[t].validators)l.data("bv.result."+m,e);u.attr("data-bv-result",e);var v,g,b=l.parents(".tab-pane");switch(b&&(v=b.attr("id"))&&(g=y('a[href="#'+v+'"][data-toggle="tab"]').parent()),e){case this.STATUS_VALIDATING:this.disableSubmitButtons(!(h=null)),d.removeClass("has-success").removeClass("has-error"),p&&p.removeClass(this.options.feedbackIcons.valid).removeClass(this.options.feedbackIcons.invalid).addClass(this.options.feedbackIcons.validating).show(),g&&g.removeClass("bv-tab-success").removeClass("bv-tab-error");break;case this.STATUS_INVALID:this.disableSubmitButtons(!(h=!1)),d.removeClass("has-success").addClass("has-error"),p&&p.removeClass(this.options.feedbackIcons.valid).removeClass(this.options.feedbackIcons.validating).addClass(this.options.feedbackIcons.invalid).show(),g&&g.removeClass("bv-tab-success").addClass("bv-tab-error");break;case this.STATUS_VALID:null!==(h=0===c.filter('[data-bv-result="'+this.STATUS_NOT_VALIDATED+'"]').length?c.filter('[data-bv-result="'+this.STATUS_VALID+'"]').length===c.length:null)&&(this.disableSubmitButtons(this.$submitButton?!this.isValid():!h),p)&&p.removeClass(this.options.feedbackIcons.invalid).removeClass(this.options.feedbackIcons.validating).removeClass(this.options.feedbackIcons.valid).addClass(h?this.options.feedbackIcons.valid:this.options.feedbackIcons.invalid).show(),d.removeClass("has-error has-success").addClass(this.isValidContainer(d)?"has-success":"has-error"),g&&g.removeClass("bv-tab-success").removeClass("bv-tab-error").addClass(this.isValidContainer(b)?"bv-tab-success":"bv-tab-error");break;default:this.STATUS_NOT_VALIDATED;h=null,this.disableSubmitButtons(!1),d.removeClass("has-success").removeClass("has-error"),p&&p.removeClass(this.options.feedbackIcons.valid).removeClass(this.options.feedbackIcons.invalid).removeClass(this.options.feedbackIcons.validating).hide(),g&&g.removeClass("bv-tab-success").removeClass("bv-tab-error")}switch(!0){case p&&"tooltip"===f:!1===h?p.css("cursor","pointer").tooltip("destroy").tooltip({container:"body",html:!0,placement:"top",title:c.filter('[data-bv-result="'+this.STATUS_INVALID+'"]').eq(0).html()}):p.tooltip("hide");break;case p&&"popover"===f:!1===h?p.css("cursor","pointer").popover("destroy").popover({container:"body",content:c.filter('[data-bv-result="'+this.STATUS_INVALID+'"]').eq(0).html(),html:!0,placement:"top",trigger:"hover click"}):p.popover("hide");break;default:e===this.STATUS_INVALID?u.show():u.hide()}l.trigger(y.Event(this.options.events.fieldStatus),{bv:this,field:t,element:l,status:e}),this._onFieldValidated(l,n)}}return this},isValid:function(){for(var t in this.options.fields)if(!this.isValidField(t))return!1;return!0},isValidField:function(t){var e=y([]);switch(typeof t){case"object":t=(e=t).attr("data-bv-field");break;case"string":e=this.getFieldElements(t)}if(0!==e.length&&null!==this.options.fields[t]&&!1!==this.options.fields[t].enabled)for(var n,i,a,r=e.attr("type"),o="radio"===r||"checkbox"===r?1:e.length,s=0;s<o;s++)if(n=e.eq(s),!this._isExcluded(n))for(i in this.options.fields[t].validators)if(!1!==this.options.fields[t].validators[i].enabled&&(a=n.data("bv.result."+i),a!==this.STATUS_VALID))return!1;return!0},isValidContainer:function(t){var n=this,i={},t="string"==typeof t?y(t):t;if(0!==t.length)for(var e in t.find("[data-bv-field]").each(function(){var t=y(this),e=t.attr("data-bv-field");n._isExcluded(t)||i[e]||(i[e]=t)}),i)if(0<i[e].data("bv.messages").find('.help-block[data-bv-validator][data-bv-for="'+e+'"]').filter('[data-bv-result="'+this.STATUS_INVALID+'"]').length)return!1;return!0},defaultSubmit:function(){this.$submitButton&&y("<input/>").attr("type","hidden").attr("data-bv-submit-hidden","").attr("name",this.$submitButton.attr("name")).val(this.$submitButton.val()).appendTo(this.$form),this.$form.off("submit.bv").submit()},getInvalidFields:function(){return this.$invalidFields},getSubmitButton:function(){return this.$submitButton},getMessages:function(t,e){var n=this,i=[],a=y([]);switch(!0){case t&&"object"==typeof t:a=t;break;case t&&"string"==typeof t:var r,o=this.getFieldElements(t);0<o.length&&(a="radio"===(r=o.attr("type"))||"checkbox"===r?o.eq(0):o);break;default:a=this.$invalidFields}var s=e?'[data-bv-validator="'+e+'"]':"";return a.each(function(){i=i.concat(y(this).data("bv.messages").find('.help-block[data-bv-for="'+y(this).attr("data-bv-field")+'"][data-bv-result="'+n.STATUS_INVALID+'"]'+s).map(function(){var t=y(this).attr("data-bv-validator"),e=y(this).attr("data-bv-for");return!1===n.options.fields[e].validators[t].enabled?"":y(this).html()}).get())}),i},updateOption:function(t,e,n,i){return"object"==typeof t&&(t=t.attr("data-bv-field")),this.options.fields[t]&&this.options.fields[t].validators[e]&&(this.options.fields[t].validators[e][n]=i,this.updateStatus(t,this.STATUS_NOT_VALIDATED,e)),this},addField:function(t,e){var n=y([]);switch(typeof t){case"object":t=(n=t).attr("data-bv-field")||t.attr("name");break;case"string":delete this._cacheFields[t],n=this.getFieldElements(t)}n.attr("data-bv-field",t);for(var i=n.attr("type"),a="radio"===i||"checkbox"===i?1:n.length,r=0;r<a;r++){var o=n.eq(r),s=null===(s=this._parseOptions(o))?e:y.extend(!0,e,s);this.options.fields[t]=y.extend(!0,this.options.fields[t],s),this._cacheFields[t]=this._cacheFields[t]?this._cacheFields[t].add(o):o,this._initField("checkbox"===i||"radio"===i?t:o)}return this.disableSubmitButtons(!1),this.$form.trigger(y.Event(this.options.events.fieldAdded),{field:t,element:n,options:this.options.fields[t]}),this},removeField:function(t){var e=y([]);switch(typeof t){case"object":t=(e=t).attr("data-bv-field")||t.attr("name"),e.attr("data-bv-field",t);break;case"string":e=this.getFieldElements(t)}if(0!==e.length){for(var n=e.attr("type"),i="radio"===n||"checkbox"===n?1:e.length,a=0;a<i;a++){var r=e.eq(a);this.$invalidFields=this.$invalidFields.not(r),this._cacheFields[t]=this._cacheFields[t].not(r)}this._cacheFields[t]&&0!==this._cacheFields[t].length||delete this.options.fields[t],"checkbox"!==n&&"radio"!==n||this._initField(t),this.disableSubmitButtons(!1),this.$form.trigger(y.Event(this.options.events.fieldRemoved),{field:t,element:e})}return this},resetField:function(t,e){var n=y([]);switch(typeof t){case"object":t=(n=t).attr("data-bv-field");break;case"string":n=this.getFieldElements(t)}var i=n.length;if(this.options.fields[t])for(var a=0;a<i;a++)for(var r in this.options.fields[t].validators)n.eq(a).removeData("bv.dfs."+r);return this.updateStatus(t,this.STATUS_NOT_VALIDATED),e&&("radio"===(e=n.attr("type"))||"checkbox"===e?n.removeAttr("checked").removeAttr("selected"):n.val("")),this},resetForm:function(t){for(var e in this.options.fields)this.resetField(e,t);return this.$invalidFields=y([]),this.$submitButton=null,this.disableSubmitButtons(!1),this},revalidateField:function(t){return this.updateStatus(t,this.STATUS_NOT_VALIDATED).validateField(t),this},enableFieldValidators:function(t,e,n){var i=this.options.fields[t].validators;if(n&&i&&i[n]&&i[n].enabled!==e)this.options.fields[t].validators[n].enabled=e,this.updateStatus(t,this.STATUS_NOT_VALIDATED,n);else if(!n&&this.options.fields[t].enabled!==e)for(var a in this.options.fields[t].enabled=e,i)this.enableFieldValidators(t,e,a);return this},getDynamicOption:function(t,e){var n,t="string"==typeof t?this.getFieldElements(t):t,i=t.val();return"function"==typeof e?y.fn.bootstrapValidator.helpers.call(e,[i,this,t]):"string"==typeof e?(n=this.getFieldElements(e)).length?n.val():y.fn.bootstrapValidator.helpers.call(e,[i,this,t])||e:null},destroy:function(){var t,e,n;for(t in this.options.fields)for(var i=this.getFieldElements(t),a=this.options.fields[t].group||this.options.group,r=0;r<i.length;r++){var o=i.eq(r);if(o.data("bv.messages").find('.help-block[data-bv-validator][data-bv-for="'+t+'"]').remove().end().end().removeData("bv.messages").parents(a).removeClass("has-feedback has-error has-success").end().off(".bv").removeAttr("data-bv-field"),n=o.parents(a).find('i[data-bv-icon-for="'+t+'"]'))switch("function"==typeof(this.options.fields[t].container||this.options.container)?(this.options.fields[t].container||this.options.container).call(this,o,this):this.options.fields[t].container||this.options.container){case"tooltip":n.tooltip("destroy").remove();break;case"popover":n.popover("destroy").remove();break;default:n.remove()}for(e in this.options.fields[t].validators)o.data("bv.dfs."+e)&&o.data("bv.dfs."+e).reject(),o.removeData("bv.result."+e).removeData("bv.response."+e).removeData("bv.dfs."+e),"function"==typeof y.fn.bootstrapValidator.validators[e].destroy&&y.fn.bootstrapValidator.validators[e].destroy(this,o,this.options.fields[t].validators[e])}this.disableSubmitButtons(!1),this.$hiddenButton.remove(),this.$form.removeClass(this.options.elementClass).off(".bv").removeData("bootstrapValidator").find("[data-bv-submit-hidden]").remove().end().find('[type="submit"]').off("
1click.bv")}},y.fn.bootstrapValidator=function(n){var i=arguments;return this.each(function(){var t=y(this),e=t.data("bootstrapValidator");e||(e=new a(this,"object"==typeof n&&n),t.data("bootstrapValidator",e)),"string"==typeof n&&e[n].apply(e,Array.prototype.slice.call(i,1))})},y.fn.bootstrapValidator.DEFAULT_OPTIONS={elementClass:"bv-form",message:"This value is not valid",group:".form-group",container:null,threshold:null,excluded:[":disabled",":hidden",":not(:visible)"],feedbackIcons:{valid:null,invalid:null,validating:null},submitButtons:'[type="submit"]',live:"enabled",fields:null,events:{formInit:"init.form.bv",formError:"error.form.bv",formSuccess:"success.form.bv",fieldAdded:"added.field.bv",fieldRemoved:"removed.field.bv",fieldInit:"init.field.bv",fieldError:"error.field.bv",fieldSuccess:"success.field.bv",fieldStatus:"status.field.bv",validatorError:"error.validator.bv",validatorSuccess:"success.validator.bv"},verbose:!0},y.fn.bootstrapValidator.validators={},y.fn.bootstrapValidator.i18n={},y.fn.bootstrapValidator.Constructor=a,y.fn.bootstrapValidator.helpers={call:function(t,e){if("function"==typeof t)return t.apply(this,e);if("string"==typeof t){for(var n=(t="()"===t.substring(t.length-2)?t.substring(0,t.length-2):t).split("."),t=n.pop(),i=window,a=0;a<n.length;a++)i=i[n[a]];return void 0===i[t]?null:i[t].apply(this,e)}},format:function(t,e){for(var n in e=y.isArray(e)?e:[e])t=t.replace("%s",e[n]);return t},date:function(t,e,n,i){var a,r;return!(isNaN(t)||isNaN(e)||isNaN(n)||2<n.length||2<e.length||4<t.length||(n=parseInt(n,10),e=parseInt(e,10),(t=parseInt(t,10))<1e3)||9999<t||e<=0||12<e||(r=[31,28,31,30,31,30,31,31,30,31,30,31],(t%400==0||t%100!=0&&t%4==0)&&(r[1]=29),n<=0)||r[e-1]<n||!(!0!==i||(i=(r=new Date).getFullYear(),a=r.getMonth(),r=r.getDate(),t<i)||t===i&&e-1<a||t===i&&e-1===a&&n<r))},luhn:function(t){for(var e=t.length,n=0,i=[[0,1,2,3,4,5,6,7,8,9],[0,2,4,6,8,1,3,5,7,9]],a=0;e--;)a+=i[n][parseInt(t.charAt(e),10)],n^=1;return a%10==0&&0<a},mod11And10:function(t){for(var e=5,n=t.length,i=0;i<n;i++)e=(2*(e||10)%11+parseInt(t.charAt(i),10))%10;return 1===e},mod37And36:function(t,e){for(var n=(e=e||"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ").length,i=t.length,a=Math.floor(n/2),r=0;r<i;r++)a=(2*(a||n)%(n+1)+e.indexOf(t.charAt(r)))%n;return 1===a}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.base64=t.extend(t.fn.bootstrapValidator.i18n.base64||{},{default:"Please enter a valid base 64 encoded"}),t.fn.bootstrapValidator.validators.base64={validate:function(t,e){e=e.val();return""===e||/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$/.test(e)}}}(window.jQuery),function(r){r.fn.bootstrapValidator.i18n.between=r.extend(r.fn.bootstrapValidator.i18n.between||{},{default:"Please enter a value between %s and %s",notInclusive:"Please enter a value between %s and %s strictly"}),r.fn.bootstrapValidator.validators.between={html5Attributes:{message:"message",min:"min",max:"max",inclusive:"inclusive"},enableByHtml5:function(t){return"range"===t.attr("type")&&{min:t.attr("min"),max:t.attr("max")}},validate:function(t,e,n){var i,a=e.val();return""===a||!!r.isNumeric(a)&&(i=r.isNumeric(n.min)?n.min:t.getDynamicOption(e,n.min),t=r.isNumeric(n.max)?n.max:t.getDynamicOption(e,n.max),a=parseFloat(a),!0===n.inclusive||void 0===n.inclusive?{valid:i<=a&&a<=t,message:r.fn.bootstrapValidator.helpers.format(n.message||r.fn.bootstrapValidator.i18n.between.default,[i,t])}:{valid:i<a&&a<t,message:r.fn.bootstrapValidator.helpers.format(n.message||r.fn.bootstrapValidator.i18n.between.notInclusive,[i,t])})}}}(window.jQuery),window.jQuery.fn.bootstrapValidator.validators.blank={validate:function(){return!0}},function(o){o.fn.bootstrapValidator.i18n.callback=o.extend(o.fn.bootstrapValidator.i18n.callback||{},{default:"Please enter a valid value"}),o.fn.bootstrapValidator.validators.callback={html5Attributes:{message:"message",callback:"callback"},validate:function(t,e,n){var i=e.val(),a=new o.Deferred,r={valid:!0};return n.callback&&(r="boolean"==typeof(n=o.fn.bootstrapValidator.helpers.call(n.callback,[i,t,e]))?{valid:n}:n),a.resolve(e,"callback",r),a}}}(window.jQuery),function(s){s.fn.bootstrapValidator.i18n.choice=s.extend(s.fn.bootstrapValidator.i18n.choice||{},{default:"Please enter a valid value",less:"Please choose %s options at minimum",more:"Please choose %s options at maximum",between:"Please choose %s - %s options"}),s.fn.bootstrapValidator.validators.choice={html5Attributes:{message:"message",min:"min",max:"max"},validate:function(t,e,n){var i=(e.is("select")?t.getFieldElements(e.attr("data-bv-field")).find("option").filter(":selected"):t.getFieldElements(e.attr("data-bv-field")).filter(":checked")).length,a=n.min?s.isNumeric(n.min)?n.min:t.getDynamicOption(e,n.min):null,r=n.max?s.isNumeric(n.max)?n.max:t.getDynamicOption(e,n.max):null,t=!0,o=n.message||s.fn.bootstrapValidator.i18n.choice.default;switch((a&&i<parseInt(a,10)||r&&i>parseInt(r,10))&&(t=!1),!0){case!!a&&!!r:o=s.fn.bootstrapValidator.helpers.format(n.message||s.fn.bootstrapValidator.i18n.choice.between,[parseInt(a,10),parseInt(r,10)]);break;case!!a:o=s.fn.bootstrapValidator.helpers.format(n.message||s.fn.bootstrapValidator.i18n.choice.less,parseInt(a,10));break;case!!r:o=s.fn.bootstrapValidator.helpers.format(n.message||s.fn.bootstrapValidator.i18n.choice.more,parseInt(r,10))}return{valid:t,message:o}}}}(window.jQuery),function(o){o.fn.bootstrapValidator.i18n.creditCard=o.extend(o.fn.bootstrapValidator.i18n.creditCard||{},{default:"Please enter a valid credit card number"}),o.fn.bootstrapValidator.validators.creditCard={validate:function(t,e){var n=e.val();if(""===n)return!0;
1if(!/[^0-9-\s]+/.test(n)&&(n=n.replace(/\D/g,""),o.fn.bootstrapValidator.helpers.luhn(n))){var i,a,r={AMERICAN_EXPRESS:{length:[15],prefix:["34","37"]},DINERS_CLUB:{length:[14],prefix:["300","301","302","303","304","305","36"]},DINERS_CLUB_US:{length:[16],prefix:["54","55"]},DISCOVER:{length:[16],prefix:["6011","622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925","644","645","646","647","648","649","65"]},JCB:{length:[16],prefix:["3528","3529","353","354","355","356","357","358"]},LASER:{length:[16,17,18,19],prefix:["6304","6706","6771","6709"]},MAESTRO:{length:[12,13,14,15,16,17,18,19],prefix:["5018","5020","5038","6304","6759","6761","6762","6763","6764","6765","6766"]},MASTERCARD:{length:[16],prefix:["51","52","53","54","55"]},SOLO:{length:[16,18,19],prefix:["6334","6767"]},UNIONPAY:{length:[16,17,18,19],prefix:["622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925"]},VISA:{length:[16],prefix:["4"]}};for(i in r)for(a in r[i].prefix)if(n.substr(0,r[i].prefix[a].length)===r[i].prefix[a]&&-1!==o.inArray(n.length,r[i].length))return!0}return!1}}}(window.jQuery),function(s){s.fn.bootstrapValidator.i18n.cusip=s.extend(s.fn.bootstrapValidator.i18n.cusip||{},{default:"Please enter a valid CUSIP number"}),s.fn.bootstrapValidator.validators.cusip={validate:function(t,e){e=e.val();if(""===e)return!0;if(e=e.toUpperCase(),!/^[0-9A-Z]{9}$/.test(e))return!1;for(var n=s.map(e.split(""),function(t){var e=t.charCodeAt(0);return e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0)?e-"A".charCodeAt(0)+10:t}),i=n.length,a=0,r=0;r<i-1;r++){var o=parseInt(n[r],10);r%2!=0&&(o*=2),9<o&&(o-=9),a+=o}return(a=(10-a%10)%10)===n[i-1]}}}(window.jQuery),function(l){l.fn.bootstrapValidator.i18n.cvv=l.extend(l.fn.bootstrapValidator.i18n.cvv||{},{default:"Please enter a valid CVV number"}),l.fn.bootstrapValidator.validators.cvv={html5Attributes:{message:"message",ccfield:"creditCardField"},validate:function(t,e,n){e=e.val();if(""===e)return!0;if(!/^[0-9]{3,4}$/.test(e))return!1;if(!n.creditCardField)return!0;if(""===(r=t.getFieldElements(n.creditCardField).val()))return!0;var i,a,r=r.replace(/\D/g,""),o={AMERICAN_EXPRESS:{length:[15],prefix:["34","37"]},DINERS_CLUB:{length:[14],prefix:["300","301","302","303","304","305","36"]},DINERS_CLUB_US:{length:[16],prefix:["54","55"]},DISCOVER:{length:[16],prefix:["6011","622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925","644","645","646","647","648","649","65"]},JCB:{length:[16],prefix:["3528","3529","353","354","355","356","357","358"]},LASER:{length:[16,17,18,19],prefix:["6304","6706","6771","6709"]},MAESTRO:{length:[12,13,14,15,16,17,18,19],prefix:["5018","5020","5038","6304","6759","6761","6762","6763","6764","6765","6766"]},MASTERCARD:{length:[16],prefix:["51","52","53","54","55"]},SOLO:{length:[16,18,19],prefix:["6334","6767"]},UNIONPAY:{length:[16,17,18,19],prefix:["622126","622127","622128","622129","62213","62214","62215","62216","62217","62218","62219","6222","6223","6224","6225","6226","6227","6228","62290","62291","622920","622921","622922","622923","622924","622925"]},VISA:{length:[16],prefix:["4"]}},s=null;for(i in o)for(a in o[i].prefix)if(r.substr(0,o[i].prefix[a].length)===o[i].prefix[a]&&-1!==l.inArray(r.length,o[i].length)){s=i;break}return null!==s&&("AMERICAN_EXPRESS"===s?4===e.length:3===e.length)}}}(window.jQuery),function(d){d.fn.bootstrapValidator.i18n.date=d.extend(d.fn.bootstrapValidator.i18n.date||{},{default:"Please enter a valid date"}),d.fn.bootstrapValidator.validators.date={html5Attributes:{message:"message",format:"format",separator:"separator"},validate:function(t,e,n){var i=e.val();if(""===i)return!0;n.format=n.format||"MM/DD/YYYY","date"===e.attr("type")&&(n.format="YYYY-MM-DD");var e=n.format.split(" "),a=e[0],r=1<e.length?e[1]:null,o=2<e.length?e[2]:null,i=i.split(" "),s=i[0],l=1<i.length?i[1]:null;if(e.length!==i.length)return!1;e=n.separator;if(null===(e=e||(-1!==s.indexOf("/")?"/":-1!==s.indexOf("-")?"-":null))||-1===s.indexOf(e))return!1;if(s=s.split(e),a=a.split(e),s.length!==a.length)return!1;i=s[d.inArray("YYYY",a)],n=s[d.inArray("MM",a)],e=s[d.inArray("DD",a)];if(!i||!n||!e||4!==i.length)return!1;if(r){if(r=r.split(":"),l=l.split(":"),r.length!==l.length)return!1;if(s=0<l.length?l[0]:null,a=1<l.length?l[1]:null,r=2<l.length?l[2]:null){if(isNaN(r)||2<r.length)return!1;if((r=parseInt(r,10))<0||60<r)return!1}if(s){if(isNaN(s)||2<s.length)return!1;if((s=parseInt(s,10))<0||24<=s||o&&12<s)return!1}if(a){if(isNaN(a)||2<a.length)return!1;if((a=parseInt(a,10))<0||59<a)return!1}}return d.fn.bootstrapValidator.helpers.date(i,n,e)}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.different=t.extend(t.fn.bootstrapValidator.i18n.different||{},{default:"Please enter a different value"}),t.fn.bootstrapValidator.validators.different={html5Attributes:{message:"message",field:"field"},validate:function(t,e,n){var i=e.val();if(""===i)return!0;for(var a=n.field.split(","),r=!0,o=0;o<a.length;o++){var s,l=t.getFieldElements(a[o]);null!=l&&0!==l.length&&(i===(s=l.val())?r=!1:""!==s&&t.updateStatus(l,t.STATUS_VALID,"different"))}return r}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.digits=t.extend(t.fn.bootstrapValidator.i18n.digits||{},{default:"Please enter only digits"}),t.fn.bootstrapValidator.validators.digits={validate:function(t,e){e=e.val();return""===e||/^\d+$/.test(e)}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.ean=t.extend(t.fn.bootstrapValidator.i18n.ean||{},{default:"Please enter a valid EAN number"}),t.fn.bootstrapValidator.validators.ean={validate:function(t,e){var n=e.val();if(""===n)return!0;
1if(!/^(\d{8}|\d{12}|\d{13})$/.test(n))return!1;for(var i=n.length,a=0,r=8===i?[3,1]:[1,3],o=0;o<i-1;o++)a+=parseInt(n.charAt(o),10)*r[o%2];return(a=(10-a%10)%10)+""===n.charAt(i-1)}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.emailAddress=t.extend(t.fn.bootstrapValidator.i18n.emailAddress||{},{default:"Please enter a valid email address"}),t.fn.bootstrapValidator.validators.emailAddress={html5Attributes:{message:"message",multiple:"multiple",separator:"separator"},enableByHtml5:function(t){return"email"===t.attr("type")},validate:function(t,e,n){e=e.val();if(""!==e){var i=/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;if(!0!==n.multiple&&"true"!==n.multiple)return i.test(e);for(var a=this._splitEmailAddresses(e,n.separator||/[,;]/),r=0;r<a.length;r++)if(!i.test(a[r]))return!1}return!0},_splitEmailAddresses:function(t,e){for(var n=t.split(/"/),i=n.length,a=[],r="",o=0;o<i;o++)if(o%2==0){var s=n[o].split(e),l=s.length;if(1===l)r+=s[0];else{a.push(r+s[0]);for(var d=1;d<l-1;d++)a.push(s[d]);r=s[l-1]}}else r+='"'+n[o],o<i-1&&(r+='"');return a.push(r),a}}}(window.jQuery),function(c){c.fn.bootstrapValidator.i18n.file=c.extend(c.fn.bootstrapValidator.i18n.file||{},{default:"Please choose a valid file"}),c.fn.bootstrapValidator.validators.file={html5Attributes:{extension:"extension",maxsize:"maxSize",minsize:"minSize",message:"message",type:"type"},validate:function(t,e,n){var i=e.val();if(""!==i){var a,r=n.extension?n.extension.toLowerCase().split(","):null,o=n.type?n.type.toLowerCase().split(","):null;if(window.File&&window.FileList&&window.FileReader)for(var s=e.get(0).files,l=s.length,d=0;d<l;d++){if(n.minSize&&s[d].size<parseInt(n.minSize,10))return!1;if(n.maxSize&&s[d].size>parseInt(n.maxSize,10))return!1;if(a=s[d].name.substr(s[d].name.lastIndexOf(".")+1),r&&-1===c.inArray(a.toLowerCase(),r))return!1;if(s[d].type&&o&&-1===c.inArray(s[d].type.toLowerCase(),o))return!1}else if(a=i.substr(i.lastIndexOf(".")+1),r&&-1===c.inArray(a.toLowerCase(),r))return!1}return!0}}}(window.jQuery),function(a){a.fn.bootstrapValidator.i18n.greaterThan=a.extend(a.fn.bootstrapValidator.i18n.greaterThan||{},{default:"Please enter a value greater than or equal to %s",notInclusive:"Please enter a value greater than %s"}),a.fn.bootstrapValidator.validators.greaterThan={html5Attributes:{message:"message",value:"value",inclusive:"inclusive"},enableByHtml5:function(t){var e=t.attr("type"),t=t.attr("min");return!(!t||"date"===e)&&{value:t}},validate:function(t,e,n){var i=e.val();return""===i||!!a.isNumeric(i)&&(t=a.isNumeric(n.value)?n.value:t.getDynamicOption(e,n.value),i=parseFloat(i),!0===n.inclusive||void 0===n.inclusive?{valid:t<=i,message:a.fn.bootstrapValidator.helpers.format(n.message||a.fn.bootstrapValidator.i18n.greaterThan.default,t)}:{valid:t<i,message:a.fn.bootstrapValidator.helpers.format(n.message||a.fn.bootstrapValidator.i18n.greaterThan.notInclusive,t)})}}}(window.jQuery),function(n){n.fn.bootstrapValidator.i18n.grid=n.extend(n.fn.bootstrapValidator.i18n.grid||{},{default:"Please enter a valid GRId number"}),n.fn.bootstrapValidator.validators.grid={validate:function(t,e){e=e.val();return""===e||(e=e.toUpperCase(),!!/^[GRID:]*([0-9A-Z]{2})[-\s]*([0-9A-Z]{5})[-\s]*([0-9A-Z]{10})[-\s]*([0-9A-Z]{1})$/g.test(e)&&("GRID:"===(e=e.replace(/\s/g,"").replace(/-/g,"")).substr(0,5)&&(e=e.substr(5)),n.fn.bootstrapValidator.helpers.mod37And36(e)))}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.hex=t.extend(t.fn.bootstrapValidator.i18n.hex||{},{default:"Please enter a valid hexadecimal number"}),t.fn.bootstrapValidator.validators.hex={validate:function(t,e){e=e.val();return""===e||/^[0-9a-fA-F]+$/.test(e)}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.hexColor=t.extend(t.fn.bootstrapValidator.i18n.hexColor||{},{default:"Please enter a valid hex color"}),t.fn.bootstrapValidator.validators.hexColor={enableByHtml5:function(t){return"color"===t.attr("type")},validate:function(t,e){e=e.val();return""===e||/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)}}}(window.jQuery),function(l){l.fn.bootstrapValidator.i18n.iban=l.extend(l.fn.bootstrapValidator.i18n.iban||{},{default:"Please enter a valid IBAN number",countryNotSupported:"The country code %s is not supported",country:"Please enter a valid IBAN number in %s",countries:{AD:"Andorra",AE:"United Arab Emirates",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia and Herzegovina",BE:"Belgium",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brazil",CH:"Switzerland",CI:"Ivory Coast",CM:"Cameroon",CR:"Costa Rica",CV:"Cape Verde",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",DO:"Dominica",DZ:"Algeria",EE:"Estonia",ES:"Spain",FI:"Finland",FO:"Faroe Islands",FR:"France",GB:"United Kingdom",GE:"Georgia",GI:"Gibraltar",GL:"Greenland",GR:"Greece",GT:"Guatemala",HR:"Croatia",HU:"Hungary",IE:"Ireland",IL:"Israel",IR:"Iran",IS:"Iceland",IT:"Italy",JO:"Jordan",KW:"Kuwait",KZ:"Kazakhstan",LB:"Lebanon",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MC:"Monaco",MD:"Moldova",ME:"Montenegro",MG:"Mad
1agascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambique",NL:"Netherlands",NO:"Norway",PK:"Pakistan",PL:"Poland",PS:"Palestine",PT:"Portugal",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Saudi Arabia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",SN:"Senegal",TN:"Tunisia",TR:"Turkey",VG:"Virgin Islands, British"}}),l.fn.bootstrapValidator.validators.iban={html5Attributes:{message:"message",country:"country"},REGEX:{AD:"AD[0-9]{2}[0-9]{4}[0-9]{4}[A-Z0-9]{12}",AE:"AE[0-9]{2}[0-9]{3}[0-9]{16}",AL:"AL[0-9]{2}[0-9]{8}[A-Z0-9]{16}",AO:"AO[0-9]{2}[0-9]{21}",AT:"AT[0-9]{2}[0-9]{5}[0-9]{11}",AZ:"AZ[0-9]{2}[A-Z]{4}[A-Z0-9]{20}",BA:"BA[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{8}[0-9]{2}",BE:"BE[0-9]{2}[0-9]{3}[0-9]{7}[0-9]{2}",BF:"BF[0-9]{2}[0-9]{23}",BG:"BG[0-9]{2}[A-Z]{4}[0-9]{4}[0-9]{2}[A-Z0-9]{8}",BH:"BH[0-9]{2}[A-Z]{4}[A-Z0-9]{14}",BI:"BI[0-9]{2}[0-9]{12}",BJ:"BJ[0-9]{2}[A-Z]{1}[0-9]{23}",BR:"BR[0-9]{2}[0-9]{8}[0-9]{5}[0-9]{10}[A-Z][A-Z0-9]",CH:"CH[0-9]{2}[0-9]{5}[A-Z0-9]{12}",CI:"CI[0-9]{2}[A-Z]{1}[0-9]{23}",CM:"CM[0-9]{2}[0-9]{23}",CR:"CR[0-9]{2}[0-9]{3}[0-9]{14}",CV:"CV[0-9]{2}[0-9]{21}",CY:"CY[0-9]{2}[0-9]{3}[0-9]{5}[A-Z0-9]{16}",CZ:"CZ[0-9]{2}[0-9]{20}",DE:"DE[0-9]{2}[0-9]{8}[0-9]{10}",DK:"DK[0-9]{2}[0-9]{14}",DO:"DO[0-9]{2}[A-Z0-9]{4}[0-9]{20}",DZ:"DZ[0-9]{2}[0-9]{20}",EE:"EE[0-9]{2}[0-9]{2}[0-9]{2}[0-9]{11}[0-9]{1}",ES:"ES[0-9]{2}[0-9]{4}[0-9]{4}[0-9]{1}[0-9]{1}[0-9]{10}",FI:"FI[0-9]{2}[0-9]{6}[0-9]{7}[0-9]{1}",FO:"FO[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}",FR:"FR[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}",GB:"GB[0-9]{2}[A-Z]{4}[0-9]{6}[0-9]{8}",GE:"GE[0-9]{2}[A-Z]{2}[0-9]{16}",GI:"GI[0-9]{2}[A-Z]{4}[A-Z0-9]{15}",GL:"GL[0-9]{2}[0-9]{4}[0-9]{9}[0-9]{1}",GR:"GR[0-9]{2}[0-9]{3}[0-9]{4}[A-Z0-9]{16}",GT:"GT[0-9]{2}[A-Z0-9]{4}[A-Z0-9]{20}",HR:"HR[0-9]{2}[0-9]{7}[0-9]{10}",HU:"HU[0-9]{2}[0-9]{3}[0-9]{4}[0-9]{1}[0-9]{15}[0-9]{1}",IE:"IE[0-9]{2}[A-Z]{4}[0-9]{6}[0-9]{8}",IL:"IL[0-9]{2}[0-9]{3}[0-9]{3}[0-9]{13}",IR:"IR[0-9]{2}[0-9]{22}",IS:"IS[0-9]{2}[0-9]{4}[0-9]{2}[0-9]{6}[0-9]{10}",IT:"IT[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}",JO:"JO[0-9]{2}[A-Z]{4}[0-9]{4}[0]{8}[A-Z0-9]{10}",KW:"KW[0-9]{2}[A-Z]{4}[0-9]{22}",KZ:"KZ[0-9]{2}[0-9]{3}[A-Z0-9]{13}",LB:"LB[0-9]{2}[0-9]{4}[A-Z0-9]{20}",LI:"LI[0-9]{2}[0-9]{5}[A-Z0-9]{12}",LT:"LT[0-9]{2}[0-9]{5}[0-9]{11}",LU:"LU[0-9]{2}[0-9]{3}[A-Z0-9]{13}",LV:"LV[0-9]{2}[A-Z]{4}[A-Z0-9]{13}",MC:"MC[0-9]{2}[0-9]{5}[0-9]{5}[A-Z0-9]{11}[0-9]{2}",MD:"MD[0-9]{2}[A-Z0-9]{20}",ME:"ME[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}",MG:"MG[0-9]{2}[0-9]{23}",MK:"MK[0-9]{2}[0-9]{3}[A-Z0-9]{10}[0-9]{2}",ML:"ML[0-9]{2}[A-Z]{1}[0-9]{23}",MR:"MR13[0-9]{5}[0-9]{5}[0-9]{11}[0-9]{2}",MT:"MT[0-9]{2}[A-Z]{4}[0-9]{5}[A-Z0-9]{18}",MU:"MU[0-9]{2}[A-Z]{4}[0-9]{2}[0-9]{2}[0-9]{12}[0-9]{3}[A-Z]{3}",MZ:"MZ[0-9]{2}[0-9]{21}",NL:"NL[0-9]{2}[A-Z]{4}[0-9]{10}",NO:"NO[0-9]{2}[0-9]{4}[0-9]{6}[0-9]{1}",PK:"PK[0-9]{2}[A-Z]{4}[A-Z0-9]{16}",PL:"PL[0-9]{2}[0-9]{8}[0-9]{16}",PS:"PS[0-9]{2}[A-Z]{4}[A-Z0-9]{21}",PT:"PT[0-9]{2}[0-9]{4}[0-9]{4}[0-9]{11}[0-9]{2}",QA:"QA[0-9]{2}[A-Z]{4}[A-Z0-9]{21}",RO:"RO[0-9]{2}[A-Z]{4}[A-Z0-9]{16}",RS:"RS[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}",SA:"SA[0-9]{2}[0-9]{2}[A-Z0-9]{18}",SE:"SE[0-9]{2}[0-9]{3}[0-9]{16}[0-9]{1}",SI:"SI[0-9]{2}[0-9]{5}[0-9]{8}[0-9]{2}",SK:"SK[0-9]{2}[0-9]{4}[0-9]{6}[0-9]{10}",SM:"SM[0-9]{2}[A-Z]{1}[0-9]{5}[0-9]{5}[A-Z0-9]{12}",SN:"SN[0-9]{2}[A-Z]{1}[0-9]{23}",TN:"TN59[0-9]{2}[0-9]{3}[0-9]{13}[0-9]{2}",TR:"TR[0-9]{2}[0-9]{5}[A-Z0-9]{1}[A-Z0-9]{16}",VG:"VG[0-9]{2}[A-Z]{4}[0-9]{16}"},validate:function(t,e,n){if(""===(i=e.val()))return!0;var i=i.replace(/[^a-zA-Z0-9]/g,"").toUpperCase(),a=n.country;if(a?"string"==typeof a&&this.REGEX[a]||(a=t.getDynamicOption(e,a)):a=i.substr(0,2),!this.REGEX[a])return{valid:!1,message:l.fn.bootstrapValidator.helpers.format(l.fn.bootstrapValidator.i18n.iban.countryNotSupported,a)};if(!new RegExp("^"+this.REGEX[a]+"$").test(i))return{valid:!1,message:l.fn.bootstrapValidator.helpers.format(n.message||l.fn.bootstrapValidator.i18n.iban.country,l.fn.bootstrapValidator.i18n.iban.countries[a])};i=i.substr(4)+i.substr(0,4),i=(i=l.map(i.split(""),function(t){var e=t.charCodeAt(0);return e>="A".charCodeAt(0)&&e<="Z".charCodeAt(0)?e-"A".charCodeAt(0)+10:t})).join("");for(var r=parseInt(i.substr(0,1),10),o=i.length,s=1;s<o;++s)r=(10*r+parseInt(i.substr(s,1),10))%97;return{valid:1===r,message:l.fn.bootstrapValidator.helpers.format(n.message||l.fn.bootstrapValidator.i18n.iban.country,l.fn.bootstrapValidator.i18n.iban.countries[a])}}}}(window.jQuery),function(c){c.fn.bootstrapValidator.i18n.id=c.extend(c.fn.bootstrapValidator.i18n.id||{},{default:"Please enter a valid identification number",countryNotSupported:"The country code %s is not supported",country:"Please enter a valid identification number in %s",countries:{BA:"Bosnia and Herzegovina",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CL:"Chile",CN:"China",CZ:"Czech Republic",DK:"Denmark",EE:"Estonia",ES:"Spain",FI:"Finland",HR:"Croatia",IE:"Ireland",IS:"Iceland",LT:"Lithuania",LV:"Latvia",ME:"Montenegro",MK:"Macedonia",NL:"Netherlands",RO:"Romania",RS:"Serb
1ia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",SM:"San Marino",TH:"Thailand",ZA:"South Africa"}}),c.fn.bootstrapValidator.validators.id={html5Attributes:{message:"message",country:"country"},COUNTRY_CODES:["BA","BG","BR","CH","CL","CN","CZ","DK","EE","ES","FI","HR","IE","IS","LT","LV","ME","MK","NL","RO","RS","SE","SI","SK","SM","TH","ZA"],validate:function(t,e,n){var i,a=e.val();return""===a||((i=n.country)?"string"==typeof i&&-1!==c.inArray(i.toUpperCase(),this.COUNTRY_CODES)||(i=t.getDynamicOption(e,i)):i=a.substr(0,2),-1===c.inArray(i,this.COUNTRY_CODES)?{valid:!1,message:c.fn.bootstrapValidator.helpers.format(c.fn.bootstrapValidator.i18n.id.countryNotSupported,i)}:!!this[["_",i.toLowerCase()].join("")](a)||{valid:!1,message:c.fn.bootstrapValidator.helpers.format(n.message||c.fn.bootstrapValidator.i18n.id.country,c.fn.bootstrapValidator.i18n.id.countries[i.toUpperCase()])})},_validateJMBG:function(t,e){if(!/^\d{13}$/.test(t))return!1;var n=parseInt(t.substr(0,2),10),i=parseInt(t.substr(2,2),10),a=(parseInt(t.substr(4,3),10),parseInt(t.substr(7,2),10)),r=parseInt(t.substr(12,1),10);if(31<n||12<i)return!1;for(var o=0,s=0;s<6;s++)o+=(7-s)*(parseInt(t.charAt(s),10)+parseInt(t.charAt(s+6),10));if((o=10!==(o=11-o%11)&&11!==o?o:0)!==r)return!1;switch(e.toUpperCase()){case"BA":return 10<=a&&a<=19;case"MK":return 41<=a&&a<=49;case"ME":return 20<=a&&a<=29;case"RS":return 70<=a&&a<=99;case"SI":return 50<=a&&a<=59;default:return!0}},_ba:function(t){return this._validateJMBG(t,"BA")},_mk:function(t){return this._validateJMBG(t,"MK")},_me:function(t){return this._validateJMBG(t,"ME")},_rs:function(t){return this._validateJMBG(t,"RS")},_si:function(t){return this._validateJMBG(t,"SI")},_bg:function(t){if(!/^\d{10}$/.test(t)&&!/^\d{6}\s\d{3}\s\d{1}$/.test(t))return!1;t=t.replace(/\s/g,"");var e=parseInt(t.substr(0,2),10)+1900,n=parseInt(t.substr(2,2),10),i=parseInt(t.substr(4,2),10);if(40<n?(e+=100,n-=40):20<n&&(e-=100,n-=20),!c.fn.bootstrapValidator.helpers.date(e,n,i))return!1;for(var a=0,r=[2,4,8,5,10,9,7,3,6],o=0;o<9;o++)a+=parseInt(t.charAt(o),10)*r[o];return(a=a%11%10)+""===t.substr(9,1)},_br:function(t){if(/^1{11}|2{11}|3{11}|4{11}|5{11}|6{11}|7{11}|8{11}|9{11}|0{11}$/.test(t))return!1;if(!/^\d{11}$/.test(t)&&!/^\d{3}\.\d{3}\.\d{3}-\d{2}$/.test(t))return!1;t=t.replace(/\./g,"").replace(/-/g,"");for(var e=0,n=0;n<9;n++)e+=(10-n)*parseInt(t.charAt(n),10);if((e=10!==(e=11-e%11)&&11!==e?e:0)+""!==t.charAt(9))return!1;for(var i=0,n=0;n<10;n++)i+=(11-n)*parseInt(t.charAt(n),10);return(i=10!==(i=11-i%11)&&11!==i?i:0)+""===t.charAt(10)},_ch:function(t){if(!/^756[\.]{0,1}[0-9]{4}[\.]{0,1}[0-9]{4}[\.]{0,1}[0-9]{2}$/.test(t))return!1;for(var e=(t=t.replace(/\D/g,"").substr(3)).length,n=0,i=8===e?[3,1]:[1,3],a=0;a<e-1;a++)n+=parseInt(t.charAt(a),10)*i[a%2];return(n=10-n%10)+""===t.charAt(e-1)},_cl:function(t){if(!/^\d{7,8}[-]{0,1}[0-9K]$/i.test(t))return!1;for(t=t.replace(/\-/g,"");t.length<9;)t="0"+t;for(var e=0,n=[3,2,7,6,5,4,3,2],i=0;i<8;i++)e+=parseInt(t.charAt(i),10)*n[i];return 11===(e=11-e%11)?e=0:10===e&&(e="K"),e+""===t.charAt(8).toUpperCase()},_cn:function(t){if(t=t.trim(),!/^\d{15}$/.test(t)&&!/^\d{17}[\dXx]{1}$/.test(t))return!1;var e={11:{0:[0],1:[[0,9],[11,17]],2:[0,28,29]},12:{0:[0],1:[[0,16]],2:[0,21,23,25]},13:{0:[0],1:[[0,5],7,8,21,[23,33],[81,85]],2:[[0,5],[7,9],[23,25],27,29,30,81,83],3:[[0,4],[21,24]],4:[[0,4],6,21,[23,35],81],5:[[0,3],[21,35],81,82],6:[[0,4],[21,38],[81,84]],7:[[0,3],5,6,[21,33]],8:[[0,4],[21,28]],9:[[0,3],[21,30],[81,84]],10:[[0,3],[22,26],28,81,82],11:[[0,2],[21,28],81,82]},14:{0:[0],1:[0,1,[5,10],[21,23],81],2:[[0,3],11,12,[21,27]],3:[[0,3],11,21,22],4:[[0,2],11,21,[23,31],81],5:[[0,2],21,22,24,25,81],6:[[0,3],[21,24]],7:[[0,2],[21,29],81],8:[[0,2],[21,30],81,82],9:[[0,2],[21,32],81],10:[[0,2],[21,34],81,82],11:[[0,2],[21,30],81,82],23:[[0,3],22,23,[25,30],32,33]},15:{0:[0],1:[[0,5],[21,25]],2:[[0,7],[21,23]],3:[[0,4]],4:[[0,4],[21,26],[28,30]],5:[[0,2],[21,26],81],6:[[0,2],[21,27]],7:[[0,3],[21,27],[81,85]],8:[[0,2],[21,26]],9:[[0,2],[21,29],81],22:[[0,2],[21,24]],25:[[0,2],[22,31]],26:[[0,2],[24,27],[29,32],34],28:[0,1,[22,27]],29:[0,[21,23]]},21:{0:[0],1:[[0,6],[11,14],[22,24],81],2:[[0,4],[11,13],24,[81,83]],3:[[0,4],11,21,23,81],4:[[0,4],11,[21,23]],5:[[0,5],21,22],6:[[0,4],24,81,82],7:[[0,3],11,26,27,81,82],8:[[0,4],11,81,82],9:[[0,5],11,21,22],10:[[0,5],11,21,81],11:[[0,3],21,22],12:[[0,2],4,21,23,24,81,82],13:[[0,3],21,22,24,81,82],14:[[0,4],21,22,81]},22:{0:[0],1:[[0,6],12,22,[81,83]],2:[[0,4],11,21,[81,84]],3:[[0,3],22,23,81,82],4:[[0,3],21,22],5:[[0,3],21,23,24,81,82],6:[[0,2],4,5,[21,23],25,81],7:[[0,2],[21,24],81],8:[[0,2],21,22,81,82],24:[[0,6],24,26]},23:{0:[0],1:[[0,12],21,[23,29],[81,84]],2:[[0,8],21,[23,25],27,[29,31],81],3:[[0,7],21,81,82],4:[[0,7],21,22],5:[[0,3],5,6,[21,24]],6:[[0,6],[21,24]],7:[[0,16],22,81],8:[[0,5],11,22,26,28,33,81,82],9:[[0,4],21],10:[[0,5],24,25,81,[83,85]],11:[[0,2],21,23,24,81,82],12:[[0,2],[21,26],[81,83]],27:[[0,4],[21,23]]},31:{0:[0],1:[0,1,[3,10],[12,20]],2:[0,30]},32:{0:[0],1:[[0,7],11,[13,18],24,25],2:[[0,6],11,81,82],3:[[0,5],11,12,[21,24],81,82],4:[[0,2],4,5,11,12,81,82],5:[[0,9],[81,85]],6:[[0,2],11,12,21,23,[8
11,84]],7:[0,1,3,5,6,[21,24]],8:[[0,4],11,26,[29,31]],9:[[0,3],[21,25],28,81,82],10:[[0,3],11,12,23,81,84,88],11:[[0,2],11,12,[81,83]],12:[[0,4],[81,84]],13:[[0,2],11,[21,24]]},33:{0:[0],1:[[0,6],[8,10],22,27,82,83,85],2:[0,1,[3,6],11,12,25,26,[81,83]],3:[[0,4],22,24,[26,29],81,82],4:[[0,2],11,21,24,[81,83]],5:[[0,3],[21,23]],6:[[0,2],21,24,[81,83]],7:[[0,3],23,26,27,[81,84]],8:[[0,3],22,24,25,81],9:[[0,3],21,22],10:[[0,4],[21,24],81,82],11:[[0,2],[21,27],81]},34:{0:[0],1:[[0,4],11,[21,24],81],2:[[0,4],7,8,[21,23],25],3:[[0,4],11,[21,23]],4:[[0,6],21],5:[[0,4],6,[21,23]],6:[[0,4],21],7:[[0,3],11,21],8:[[0,3],11,[22,28],81],10:[[0,4],[21,24]],11:[[0,3],22,[24,26],81,82],12:[[0,4],21,22,25,26,82],13:[[0,2],[21,24]],14:[[0,2],[21,24]],15:[[0,3],[21,25]],16:[[0,2],[21,23]],17:[[0,2],[21,23]],18:[[0,2],[21,25],81]},35:{0:[0],1:[[0,5],11,[21,25],28,81,82],2:[[0,6],[11,13]],3:[[0,5],22],4:[[0,3],21,[23,30],81],5:[[0,5],21,[24,27],[81,83]],6:[[0,3],[22,29],81],7:[[0,2],[21,25],[81,84]],8:[[0,2],[21,25],81],9:[[0,2],[21,26],81,82]},36:{0:[0],1:[[0,5],11,[21,24]],2:[[0,3],22,81],3:[[0,2],13,[21,23]],4:[[0,3],21,[23,30],81,82],5:[[0,2],21],6:[[0,2],22,81],7:[[0,2],[21,35],81,82],8:[[0,3],[21,30],81],9:[[0,2],[21,26],[81,83]],10:[[0,2],[21,30]],11:[[0,2],[21,30],81]},37:{0:[0],1:[[0,5],12,13,[24,26],81],2:[[0,3],5,[11,14],[81,85]],3:[[0,6],[21,23]],4:[[0,6],81],5:[[0,3],[21,23]],6:[[0,2],[11,13],34,[81,87]],7:[[0,5],24,25,[81,86]],8:[[0,2],11,[26,32],[81,83]],9:[[0,3],11,21,23,82,83],10:[[0,2],[81,83]],11:[[0,3],21,22],12:[[0,3]],13:[[0,2],11,12,[21,29]],14:[[0,2],[21,28],81,82],15:[[0,2],[21,26],81],16:[[0,2],[21,26]],17:[[0,2],[21,28]]},41:{0:[0],1:[[0,6],8,22,[81,85]],2:[[0,5],11,[21,25]],3:[[0,7],11,[22,29],81],4:[[0,4],11,[21,23],25,81,82],5:[[0,3],5,6,22,23,26,27,81],6:[[0,3],11,21,22],7:[[0,4],11,21,[24,28],81,82],8:[[0,4],11,[21,23],25,[81,83]],9:[[0,2],22,23,[26,28]],10:[[0,2],[23,25],81,82],11:[[0,4],[21,23]],12:[[0,2],21,22,24,81,82],13:[[0,3],[21,30],81],14:[[0,3],[21,26],81],15:[[0,3],[21,28]],16:[[0,2],[21,28],81],17:[[0,2],[21,29]],90:[0,1]},42:{0:[0],1:[[0,7],[11,17]],2:[[0,5],22,81],3:[[0,3],[21,25],81],5:[[0,6],[25,29],[81,83]],6:[[0,2],6,7,[24,26],[82,84]],7:[[0,4]],8:[[0,2],4,21,22,81],9:[[0,2],[21,23],81,82,84],10:[[0,3],[22,24],81,83,87],11:[[0,2],[21,27],81,82],12:[[0,2],[21,24],81],13:[[0,3],21,81],28:[[0,2],22,23,[25,28]],90:[0,[4,6],21]},43:{0:[0],1:[[0,5],11,12,21,22,24,81],2:[[0,4],11,21,[23,25],81],3:[[0,2],4,21,81,82],4:[0,1,[5,8],12,[21,24],26,81,82],5:[[0,3],11,[21,25],[27,29],81],6:[[0,3],11,21,23,24,26,81,82],7:[[0,3],[21,26],81],8:[[0,2],11,21,22],9:[[0,3],[21,23],81],10:[[0,3],[21,28],81],11:[[0,3],[21,29]],12:[[0,2],[21,30],81],13:[[0,2],21,22,81,82],31:[0,1,[22,27],30]},44:{0:[0],1:[[0,7],[11,16],83,84],2:[[0,5],21,22,24,29,32,33,81,82],3:[0,1,[3,8]],4:[[0,4]],5:[0,1,[6,15],23,82,83],6:[0,1,[4,8]],7:[0,1,[3,5],81,[83,85]],8:[[0,4],11,23,25,[81,83]],9:[[0,3],23,[81,83]],12:[[0,3],[23,26],83,84],13:[[0,3],[22,24],81],14:[[0,2],[21,24],26,27,81],15:[[0,2],21,23,81],16:[[0,2],[21,25]],17:[[0,2],21,23,81],18:[[0,3],21,23,[25,27],81,82],19:[0],20:[0],51:[[0,3],21,22],52:[[0,3],21,22,24,81],53:[[0,2],[21,23],81]},45:{0:[0],1:[[0,9],[21,27]],2:[[0,5],[21,26]],3:[[0,5],11,12,[21,32]],4:[0,1,[3,6],11,[21,23],81],5:[[0,3],12,21],6:[[0,3],21,81],7:[[0,3],21,22],8:[[0,4],21,81],9:[[0,3],[21,24],81],10:[[0,2],[21,31]],11:[[0,2],[21,23]],12:[[0,2],[21,29],81],13:[[0,2],[21,24],81],14:[[0,2],[21,25],81]},46:{0:[0],1:[0,1,[5,8]],2:[0,1],3:[0,[21,23]],90:[[0,3],[5,7],[21,39]]},50:{0:[0],1:[[0,19]],2:[0,[22,38],[40,43]],3:[0,[81,84]]},51:{0:[0],1:[0,1,[4,8],[12,15],[21,24],29,31,32,[81,84]],3:[[0,4],11,21,22],4:[[0,3],11,21,22],5:[[0,4],21,22,24,25],6:[0,1,3,23,26,[81,83]],7:[0,1,3,4,[22,27],81],8:[[0,2],11,12,[21,24]],9:[[0,4],[21,23]],10:[[0,2],11,24,25,28],11:[[0,2],[11,13],23,24,26,29,32,33,81],13:[[0,4],[21,25],81],14:[[0,2],[21,25]],15:[[0,3],[21,29]],16:[[0,3],[21,23],81],17:[[0,3],[21,25],81],18:[[0,3],[21,27]],19:[[0,3],[21,23]],20:[[0,2],21,22,81],32:[0,[21,33]],33:[0,[21,38]],34:[0,1,[22,37]]},52:{0:[0],1:[[0,3],[11,15],[21,23],81],2:[0,1,3,21,22],3:[[0,3],[21,30],81,82],4:[[0,2],[21,25]],5:[[0,2],[21,27]],6:[[0,3],[21,28]],22:[0,1,[22,30]],23:[0,1,[22,28]],24:[0,1,[22,28]],26:[0,1,[22,36]],27:[[0,2],22,23,[25,32]]},53:{0:[0],1:[[0,3],[11,14],21,22,[24,29],81],3:[[0,2],[21,26],28,81],4:[[0,2],[21,28]],5:[[0,2],[21,24]],6:[[0,2],[21,30]],7:[[0,2],[21,24]],8:[[0,2],[21,29]],9:[[0,2],[21,27]],23:[0,1,[22,29],31],25:[[0,4],[22,32]],26:[0,1,[21,28]],27:[0,1,[22,30]],28:[0,1,22,23],29:[0,1,[22,32]],31:[0,2,3,[22,24]],34:[0,[21,23]],33:[0,21,[23,25]],35:[0,[21,28]]},54:{0:[0],1:[[0,2],[21,27]],21:[0,[21,29],32,33],22:[0,[21,29],[31,33]],23:[0,1,[22,38]],24:[0,[21,31]],25:[0,[21,27]],26:[0,[21,27]]},61:{0:[0],1:[[0,4],[11,16],22,[24,26]],2:[[0,4],22],3:[[0,4],[21,24],[26,31]],4:[[0,4],[22,31],81],5:[[0,2],[21,28],81,82],6:[[0,2],[21,32]],7:[[0,2],[21,30]],8:[[0,2],[21,31]],9:[[0,2],[21,29]],10:[[0,2],[21,26]]},62:{0:[0],1:[[0,5],11,[21,23]],2:[0,1],3:[[0,2],21],4:[[0,3],[21,23]],5:[[0,3],[21,25]],6:[[0,2],[21,23]],7:[[0,2],[21,25]],8:[[0,2],[21,26]],9:[[0,2],[21,24],81,82],10:[[0,2],[21,27]],11:[[0,2],[21,26]],12:[[0,2],[21,28]],24:[0,21,[24,29]],26:[0,21,[23,30]],29:[0,1,[21,27]],30:[0,1,[21,27]]},63:{0:[0],1:[[0,5],[21,23]],2:[0,2,[21,25]],21:[0,[21,23],[26,28]],22:[0,[21,24]],23:[0,[21,24]],25:[0,[21,25]],26:[0,[21,26]],27:[0,1,[21,26]],28:[[0,2],[21,23]]},64:{0:[0],1:[0,1,[4,6],21,22,81],2:[[0,3],5,[21,23]],3:[[0,3],[21,24],81],4:[[0,2],[21,25]],5:[[0,2],21,22]},65:{0:[0],1:[[0,9],21],2:[[0,5]],21:[0,1,22,23],22:[0,1,22,23],23:[[0,3],[23,25],27,28],28:[0,1,[22,29]],29:[0,1,[22,29]],30:[0,1,[22,24]],31:[0,1,[21,31]],32:[0,1,[21,27]],40:[0,2,3,[21,28]],42:[[0,2],21,[23,26]],43:[0,1,[21,26]],90:[[0,4]],27:[[0,2],22,23]},71:{0:[0]},81:{0:[0]},82:{0:[0]}},n=parseInt(t.substr(0,2),10),i=parseInt(t.substr(2,2),10),a=parseInt(t.substr(4,2),10);if(!e[n]||!e[n][i])return!1;for(var r=!1,o=e[n][i],s=0;s<o.length;s++)if(c.isArray(o[s])&&o[s][0]<=a&&a<=o[s][1]||!c.isArray(o[s])&&a===o[s]){r=!0;break}if(!r)return!1;e=18===t.length?t.substr(6,8):"19"+t.substr(6,6),n=parseInt(e.substr(0,4),10),i=parseInt(e.substr(4,2),10),e=parseInt(e.substr(6,2),10);if(!c.fn.bootstrapValidator.helpers.date(n,i,e))return!1;if(18!==t.length)return!0;for(var l=0,d=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],s=0;s<17;s++)l+=parseInt(t.charAt(s),10)*d[s];l=(12-l%11)%11;return("X"!==t.charAt(17).toUpperCase()?parseInt(t.charAt(17),10):10)===l},_cz:function(t){if(!/^\d{9,10}$/.test(t))return!1;var e=1900+parseInt(t.substr(0,2),10),n=parseInt(t.substr(2,2),10)%50%20,i=parseInt(t.substr(4,2),10);if(9===t.length){if(1980<=e&&(e-=100),1953<e)return!1}else e<1954&&(e+=100);return!!c.fn.bootstrapValidator.helpers.date(e,n,i)&&(10!==t.length||(n=parseInt(t.substr(0,9),10)%11,e<1985&&(n%=10),n+""===t.substr(9,1)))},_dk:function(t){if(!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(t))return!1;t=t.replace(/-/g,"");var e=parseInt(t.substr(0,2),10),n=parseInt(t.substr(2,2),10),i=parseInt(t.substr(4,2),10);switch(!0){case-1!=="5678".indexOf(t.charAt(6))&&58<=i:i+=1800;break;case-1!=="0123".indexOf(t.charAt(6)):case-1!=="49".indexOf(t.charAt(6))&&37<=i:i+=1900;break;default:i+=2e3}return c.fn.bootstrapValidator.helpers.date(i,n,e)},_ee:function(t){return this._lt(t)},_es:function(t){if(!/^[0-9A-Z]{8}[-]{0,1}[0-9A-Z]$/.test(t)&&!/^[XYZ][-]{0,1}[0-9]{7}[-]{0,1}[0-9A-Z]$/.test(t))return!1;t=t.replace(/-/g,"");var e="XYZ".indexOf(t.charAt(0));return-1!==e&&(t=e+t.substr(1)+""),"TRWAGMYFPDXBNJZSQVHLCKE"[parseInt(t.substr(0,8),10)%23]===t.substr(8,1)},_fi:function(t){var e,n,i;return!(!/^[0-9]{6}[-+A][0-9]{3}[0-9ABCDEFHJKLMNPRSTUVWXY]$/.test(t)||(e=parseInt(t.substr(0,2),10),n=parseInt(t.substr(2,2),10),i=parseInt(t.substr(4,2),10),i={"+":1800,"-":1900,A:2e3}[t.charAt(6)]+i,!c.fn.bootstrapValidator.helpers.date(i,n,e))||parseInt(t.substr(7,3),10)<2||(i=t.substr(0,6)+t.substr(7,3)+"",i=parseInt(i,10),"0123456789ABCDEFHJKLMNPRSTUVWXY".charAt(i%31)!==t.charAt(10)))},_hr:function(t){return!!/^[0-9]{11}
1$/.test(t)&&c.fn.bootstrapValidator.helpers.mod11And10(t)},_ie:function(t){var e;return!!/^\d{7}[A-W][AHWTX]?$/.test(t)&&(e=function(t){for(;t.length<7;)t="0"+t;for(var e="WABCDEFGHIJKLMNOPQRSTUV",n=0,i=0;i<7;i++)n+=parseInt(t.charAt(i),10)*(8-i);return e[(n+=9*e.indexOf(t.substr(7)))%23]},9!==t.length||"A"!==t.charAt(8)&&"H"!==t.charAt(8)?t.charAt(7)===e(t.substr(0,7)):t.charAt(7)===e(t.substr(0,7)+t.substr(8)+""))},_is:function(t){if(!/^[0-9]{6}[-]{0,1}[0-9]{4}$/.test(t))return!1;t=t.replace(/-/g,"");var e=parseInt(t.substr(0,2),10),n=parseInt(t.substr(2,2),10),i=parseInt(t.substr(4,2),10),a=parseInt(t.charAt(9),10);if(!c.fn.bootstrapValidator.helpers.date(9===a?1900+i:100*(20+a)+i,n,e,!0))return!1;for(var r=0,o=[3,2,7,6,5,4,3,2],s=0;s<8;s++)r+=parseInt(t.charAt(s),10)*o[s];return(r=11-r%11)+""===t.charAt(8)},_lt:function(t){if(!/^[0-9]{11}$/.test(t))return!1;var e=parseInt(t.charAt(0),10),n=parseInt(t.substr(1,2),10),i=parseInt(t.substr(3,2),10),a=parseInt(t.substr(5,2),10);if(!c.fn.bootstrapValidator.helpers.date(100*(e%2==0?17+e/2:17+(e+1)/2)+n,i,a,!0))return!1;for(var r=0,o=[1,2,3,4,5,6,7,8,9,1],s=0;s<10;s++)r+=parseInt(t.charAt(s),10)*o[s];if(10==(r%=11)){for(o=[3,4,5,6,7,8,9,1,2,3],s=r=0;s<10;s++)r+=parseInt(t.charAt(s),10)*o[s];10===(r%=11)&&(r=0)}return r+""===t.charAt(10)},_lv:function(t){if(!/^[0-9]{6}[-]{0,1}[0-9]{5}$/.test(t))return!1;t=t.replace(/\D/g,"");var e=parseInt(t.substr(0,2),10),n=parseInt(t.substr(2,2),10),i=parseInt(t.substr(4,2),10)+1800+100*parseInt(t.charAt(6),10);if(!c.fn.bootstrapValidator.helpers.date(i,n,e,!0))return!1;for(var a=0,r=[10,5,8,4,2,1,6,3,7,9],o=0;o<10;o++)a+=parseInt(t.charAt(o),10)*r[o];return(a=(a+1)%11%10)+""===t.charAt(10)},_nl:function(t){for(;t.length<9;)t="0"+t;if(!/^[0-9]{4}[.]{0,1}[0-9]{2}[.]{0,1}[0-9]{3}$/.test(t))return!1;if(t=t.replace(/\./g,""),0===parseInt(t,10))return!1;for(var e=0,n=t.length,i=0;i<n-1;i++)e+=(9-i)*parseInt(t.charAt(i),10);return(e=10===(e%=11)?0:e)+""===t.charAt(n-1)},_ro:function(t){if(!/^[0-9]{13}$/.test(t))return!1;var e=parseInt(t.charAt(0),10);if(0===e||7===e||8===e)return!1;var n=parseInt(t.substr(1,2),10),i=parseInt(t.substr(3,2),10),a=parseInt(t.substr(5,2),10);if(31<a&&12<i)return!1;if(9!==e&&!c.fn.bootstrapValidator.helpers.date({1:1900,2:1900,3:1800,4:1800,5:2e3,6:2e3}[e+""]+n,i,a))return!1;for(var r=0,o=[2,7,9,1,4,6,3,5,8,2,7,9],s=t.length,l=0;l<s-1;l++)r+=parseInt(t.charAt(l),10)*o[l];return(r=10===(r%=11)?1:r)+""===t.charAt(s-1)},_se:function(t){if(!/^[0-9]{10}$/.test(t)&&!/^[0-9]{6}[-|+][0-9]{4}$/.test(t))return!1;t=t.replace(/[^0-9]/g,"");var e=parseInt(t.substr(0,2),10)+1900,n=parseInt(t.substr(2,2),10),i=parseInt(t.substr(4,2),10);return!!c.fn.bootstrapValidator.helpers.date(e,n,i)&&c.fn.bootstrapValidator.helpers.luhn(t)},_sk:function(t){return this._cz(t)},_sm:function(t){return/^\d{5}$/.test(t)},_th:function(t){if(13!==t.length)return!1;for(var e=0,n=0;n<12;n++)e+=parseInt(t.charAt(n),10)*(13-n);return(11-e%11)%10===parseInt(t.charAt(12),10)},_za:function(t){var e,n,i,a;return!!/^[0-9]{10}[0|1][8|9][0-9]$/.test(t)&&(a=parseInt(t.substr(0,2),10),e=(new Date).getFullYear()%100,n=parseInt(t.substr(2,2),10),i=parseInt(t.substr(4,2),10),!!c.fn.bootstrapValidator.helpers.date(a=e<=a?a+1900:a+2e3,n,i))&&c.fn.bootstrapValidator.helpers.luhn(t)}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.identical=t.extend(t.fn.bootstrapValidator.i18n.identical||{},{default:"Please enter the same value"}),t.fn.bootstrapValidator.validators.identical={html5Attributes:{message:"message",field:"field"},validate:function(t,e,n){var i,e=e.val();return""===e||null===(i=t.getFieldElements(n.field))||0===i.length||e===i.val()&&(t.updateStatus(n.field,t.STATUS_VALID,"identical"),!0)}}}(window.jQuery),function(i){i.fn.bootstrapValidator.i18n.imei=i.extend(i.fn.bootstrapValidator.i18n.imei||{},{default:"Please enter a valid IMEI number"}),i.fn.bootstrapValidator.validators.imei={validate:function(t,e){var n=e.val();if(""===n)return!0;switch(!0){case/^\d{15}$/.test(n):case/^\d{2}-\d{6}-\d{6}-\d{1}$/.test(n):case/^\d{2}\s\d{6}\s\d{6}\s\d{1}$/.test(n):return n=n.replace(/[^0-9]/g,""),i.fn.bootstrapValidator.helpers.luhn(n);case/^\d{14}$/.test(n):case/^\d{16}$/.test(n):case/^\d{2}-\d{6}-\d{6}(|-\d{2})$/.test(n):case/^\d{2}\s\d{6}\s\d{6}(|\s\d{2})$/.test(n):return!0;default:return!1}}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.imo=t.extend(t.fn.bootstrapValidator.i18n.imo||{},{default:"Please enter a valid IMO number"}),t.fn.bootstrapValidator.validators.imo={validate:function(t,e){e=e.val();if(""===e)return!0;
1if(!/^IMO \d{7}$/i.test(e))return!1;for(var n=0,i=e.replace(/^.*(\d{7})$/,"$1"),a=6;1<=a;a--)n+=i.slice(6-a,-a)*(a+1);return n%10===parseInt(i.charAt(6),10)}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.integer=t.extend(t.fn.bootstrapValidator.i18n.integer||{},{default:"Please enter a valid number"}),t.fn.bootstrapValidator.validators.integer={enableByHtml5:function(t){return"number"===t.attr("type")&&(void 0===t.attr("step")||t.attr("step")%1==0)},validate:function(t,e){return(!this.enableByHtml5(e)||!e.get(0).validity||!0!==e.get(0).validity.badInput)&&(""===(e=e.val())||/^(?:-?(?:0|[1-9][0-9]*))$/.test(e))}}}(window.jQuery),function(l){l.fn.bootstrapValidator.i18n.ip=l.extend(l.fn.bootstrapValidator.i18n.ip||{},{default:"Please enter a valid IP address",ipv4:"Please enter a valid IPv4 address",ipv6:"Please enter a valid IPv6 address"}),l.fn.bootstrapValidator.validators.ip={html5Attributes:{message:"message",ipv4:"ipv4",ipv6:"ipv6"},validate:function(t,e,n){var i=e.val();if(""===i)return!0;var a,r=/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,o=/^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$/,s=!1;switch(!0){case(n=l.extend({},{ipv4:!0,ipv6:!0},n)).ipv4&&!n.ipv6:s=r.test(i),a=n.message||l.fn.bootstrapValidator.i18n.ip.ipv4;break;case!n.ipv4&&n.ipv6:s=o.test(i),a=n.message||l.fn.bootstrapValidator.i18n.ip.ipv6;break;default:s=r.test(i)||o.test(i),a=n.message||l.fn.bootstrapValidator.i18n.ip.default}return{valid:s,message:a}}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.isbn=t.extend(t.fn.bootstrapValidator.i18n.isbn||{},{default:"Please enter a valid ISBN number"}),t.fn.bootstrapValidator.validators.isbn={validate:function(t,e){var n,e=e.val();if(""===e)return!0;switch(!0){case/^\d{9}[\dX]$/.test(e):case 13===e.length&&/^(\d+)-(\d+)-(\d+)-([\dX])$/.test(e):case 13===e.length&&/^(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(e):n="ISBN10";break;case/^(978|979)\d{9}[\dX]$/.test(e):case 17===e.length&&/^(978|979)-(\d+)-(\d+)-(\d+)-([\dX])$/.test(e):case 17===e.length&&/^(978|979)\s(\d+)\s(\d+)\s(\d+)\s([\dX])$/.test(e):n="ISBN13";break;default:return!1}var i,a,r=(e=e.replace(/[^0-9X]/gi,"")).split(""),o=r.length,s=0;switch(n){case"ISBN10":for(i=s=0;i<o-1;i++)s+=parseInt(r[i],10)*(10-i);return 11===(a=11-s%11)?a=0:10===a&&(a="X"),a+""===r[o-1];case"ISBN13":for(i=s=0;i<o-1;i++)s+=i%2==0?parseInt(r[i],10):3*parseInt(r[i],10);return(a=10===(a=10-s%10)?"0":a)+""===r[o-1];default:return!1}}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.isin=t.extend(t.fn.bootstrapValidator.i18n.isin||{},{default:"Please enter a valid ISIN number"}),t.fn.bootstrapValidator.validators.isin={COUNTRY_CODES:"AF|AX|AL|DZ|AS|AD|AO|AI|AQ|AG|AR|AM|AW|AU|AT|AZ|BS|BH|BD|BB|BY|BE|BZ|BJ|BM|BT|BO|BQ|BA|BW|BV|BR|IO|BN|BG|BF|BI|KH|CM|CA|CV|KY|CF|TD|CL|CN|CX|CC|CO|KM|CG|CD|CK|CR|CI|HR|CU|CW|CY|CZ|DK|DJ|DM|DO|EC|EG|SV|GQ|ER|EE|ET|FK|FO|FJ|FI|FR|GF|PF|TF|GA|GM|GE|DE|GH|GI|GR|GL|GD|GP|GU|GT|GG|GN|GW|GY|HT|HM|VA|HN|HK|HU|IS|IN|ID|IR|IQ|IE|IM|IL|IT|JM|JP|JE|JO|KZ|KE|KI|KP|KR|KW|KG|LA|LV|LB|LS|LR|LY|LI|LT|LU|MO|MK|MG|MW|MY|MV|ML|MT|MH|MQ|MR|MU|YT|MX|FM|MD|MC|MN|ME|MS|MA|MZ|MM|NA|NR|NP|NL|NC|NZ|NI|NE|NG|NU|NF|MP|NO|OM|PK|PW|PS|PA|PG|PY|PE|PH|PN|PL|PT|PR|QA|RE|RO|RU|RW|BL|SH|KN|LC|MF|PM|VC|WS|SM|ST|SA|SN|RS|SC|SL|SG|SX|SK|SI|SB|SO|ZA|GS|SS|ES|LK|SD|SR|SJ|SZ|SE|CH|SY|TW|TJ|TZ|TH|TL|TG|TK|TO|TT|TN|TR|TM|TC|TV|UG|UA|AE|GB|US|UM|UY|UZ|VU|VE|VN|VG|VI|WF|EH|YE|ZM|ZW",validate:function(t,e){if(""===(n=e.val()))return!0;var n=n.toUpperCase();if(!new RegExp("^("+this.COUNTRY_CODES+")[0-9A-Z]{10}$").test(n))return!1;for(var i="",a=n.length,r=0;r<a-1;r++){var o=n.charCodeAt(r);i+=57<o?(o-55).toString():n.charAt(r)}for(var s="",l=i.length,d=l%2!=0?0:1,r=0;r<l;r++)s+=parseInt(i[r],10)*(r%2==d?2:1)+"";var c=0;for(r=0;r<s.length;r++)c+=parseInt(s.charAt(r),10);return(c=(10-c%10)%10)+""===n.charAt(a-1)}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.ismn=t.extend(t.fn.bootstrapValidator.i18n.ismn||{},{default:"Please enter a valid ISMN number"}),t.fn.bootstrapValidator.validators.ismn={validate:function(t,e){var n,i=e.val();if(""===i)return!0;switch(!0){case/^M\d{9}$/.test(i):case/^M-\d{4}-\d{4}-\d{1}$/.test(i):case/^M\s\d{4}\s\d{4}\s\d{1}$/.test(i):n="ISMN10";break;case/^9790\d{9}$/.test(i):case/^979-0-\d{4}-\d{4}-\d{1}$/.test(i):case/^979\s0\s\d{4}\s\d{4}\s\d{1}$/.test(i):n="ISMN13";break;default:return!1}for(var a=(i=(i="ISMN10"===n?"9790"+i.substr(1):i).replace(/[^0-9]/gi,"")).length,r=0,o=[1,3],s=0;s<a-1;s++)r+=parseInt(i.charAt(s),10)*o[s%2];return(r=10-r%10)+""===i.charAt(a-1)}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.issn=t.extend(t.fn.bootstrapValidator.i18n.issn||{},{default:"Please enter a valid ISSN number"}),t.fn.bootstrapValidator.validators.issn={validate:function(t,e){e=e.val();if(""===e)return!0;
1if(!/^\d{4}\-\d{3}[\dX]$/.test(e))return!1;var n=(e=e.replace(/[^0-9X]/gi,"")).split(""),i=n.length,a=0;"X"===n[7]&&(n[7]=10);for(var r=0;r<i;r++)a+=parseInt(n[r],10)*(8-r);return a%11==0}}}(window.jQuery),function(a){a.fn.bootstrapValidator.i18n.lessThan=a.extend(a.fn.bootstrapValidator.i18n.lessThan||{},{default:"Please enter a value less than or equal to %s",notInclusive:"Please enter a value less than %s"}),a.fn.bootstrapValidator.validators.lessThan={html5Attributes:{message:"message",value:"value",inclusive:"inclusive"},enableByHtml5:function(t){var e=t.attr("type"),t=t.attr("max");return!(!t||"date"===e)&&{value:t}},validate:function(t,e,n){var i=e.val();return""===i||!!a.isNumeric(i)&&(t=a.isNumeric(n.value)?n.value:t.getDynamicOption(e,n.value),i=parseFloat(i),!0===n.inclusive||void 0===n.inclusive?{valid:i<=t,message:a.fn.bootstrapValidator.helpers.format(n.message||a.fn.bootstrapValidator.i18n.lessThan.default,t)}:{valid:i<t,message:a.fn.bootstrapValidator.helpers.format(n.message||a.fn.bootstrapValidator.i18n.lessThan.notInclusive,t)})}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.mac=t.extend(t.fn.bootstrapValidator.i18n.mac||{},{default:"Please enter a valid MAC address"}),t.fn.bootstrapValidator.validators.mac={validate:function(t,e){e=e.val();return""===e||/^([0-9A-F]{2}[:-]){5}([0-9A-F]{2})$/.test(e)}}}(window.jQuery),function(s){s.fn.bootstrapValidator.i18n.meid=s.extend(s.fn.bootstrapValidator.i18n.meid||{},{default:"Please enter a valid MEID number"}),s.fn.bootstrapValidator.validators.meid={validate:function(t,e){if(""===(n=e.val()))return!0;switch(!0){case/^[0-9A-F]{15}$/i.test(n):case/^[0-9A-F]{2}[- ][0-9A-F]{6}[- ][0-9A-F]{6}[- ][0-9A-F]$/i.test(n):case/^\d{19}$/.test(n):case/^\d{5}[- ]\d{5}[- ]\d{4}[- ]\d{4}[- ]\d$/.test(n):var n,i=n.charAt(n.length-1);if((n=n.replace(/[- ]/g,"")).match(/^\d*$/i))return s.fn.bootstrapValidator.helpers.luhn(n);n=n.slice(0,-1);for(var a="",r=1;r<=13;r+=2)a+=(2*parseInt(n.charAt(r),16)).toString(16);for(var o=0,r=0;r<a.length;r++)o+=parseInt(a.charAt(r),16);return o%10==0?"0"===i:i===(2*(10*Math.floor((o+10)/10)-o)).toString(16);case/^[0-9A-F]{14}$/i.test(n):case/^[0-9A-F]{2}[- ][0-9A-F]{6}[- ][0-9A-F]{6}$/i.test(n):case/^\d{18}$/.test(n):case/^\d{5}[- ]\d{5}[- ]\d{4}[- ]\d{4}$/.test(n):return!0;default:return!1}}}}(window.jQuery),function(i){i.fn.bootstrapValidator.i18n.notEmpty=i.extend(i.fn.bootstrapValidator.i18n.notEmpty||{},{default:"Please enter a value"}),i.fn.bootstrapValidator.validators.notEmpty={enableByHtml5:function(t){t=t.attr("required")+"";return"required"==t||"true"==t},validate:function(t,e){var n=e.attr("type");return"radio"===n||"checkbox"===n?0<t.getFieldElements(e.attr("data-bv-field")).filter(":checked").length:!("number"!==n||!e.get(0).validity||!0!==e.get(0).validity.badInput)||""!==i.trim(e.val())}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.numeric=t.extend(t.fn.bootstrapValidator.i18n.numeric||{},{default:"Please enter a valid float number"}),t.fn.bootstrapValidator.validators.numeric={html5Attributes:{message:"message",separator:"separator"},enableByHtml5:function(t){return"number"===t.attr("type")&&void 0!==t.attr("step")&&t.attr("step")%1!=0},validate:function(t,e,n){return(!this.enableByHtml5(e)||!e.get(0).validity||!0!==e.get(0).validity.badInput)&&(""===(e=e.val())||("."!==(n=n.separator||".")&&(e=e.replace(n,".")),!isNaN(parseFloat(e))&&isFinite(e)))}}}(window.jQuery),function(o){o.fn.bootstrapValidator.i18n.phone=o.extend(o.fn.bootstrapValidator.i18n.phone||{},{default:"Please enter a valid phone number",countryNotSupported:"The country code %s is not supported",country:"Please enter a valid phone number in %s",countries:{BR:"Brazil",CN:"China",CZ:"Czech Republic",DK:"Denmark",ES:"Spain",FR:"France",GB:"United Kingdom",MA:"Morocco",PK:"Pakistan",RO:"Romania",RU:"Russia",SK:"Slovakia",TH:"Thailand",US:"USA",VE:"Venezuela"}}),o.fn.bootstrapValidator.validators.phone={html5Attributes:{message:"message",country:"country"},COUNTRY_CODES:["BR","CN","CZ","DK","ES","FR","GB","MA","PK","RO","RU","SK","TH","US","VE"],validate:function(t,e,n){var i=e.val();if(""===i)return!0;var a=n.country;if(!(a="string"==typeof a&&-1!==o.inArray(a,this.COUNTRY_CODES)?a:t.getDynamicOption(e,a))||-1===o.inArray(a.toUpperCase(),this.COUNTRY_CODES))return{valid:!1,message:o.fn.bootstrapValidator.helpers.format(
1o.fn.bootstrapValidator.i18n.phone.countryNotSupported,a)};var r=!0;switch(a.toUpperCase()){case"BR":i=o.trim(i),r=/^(([\d]{4}[-.\s]{1}[\d]{2,3}[-.\s]{1}[\d]{2}[-.\s]{1}[\d]{2})|([\d]{4}[-.\s]{1}[\d]{3}[-.\s]{1}[\d]{4})|((\(?\+?[0-9]{2}\)?\s?)?(\(?\d{2}\)?\s?)?\d{4,5}[-.\s]?\d{4}))$/.test(i);break;case"CN":i=o.trim(i),r=/^((00|\+)?(86(?:-| )))?((\d{11})|(\d{3}[- ]{1}\d{4}[- ]{1}\d{4})|((\d{2,4}[- ]){1}(\d{7,8}|(\d{3,4}[- ]{1}\d{4}))([- ]{1}\d{1,4})?))$/.test(i);break;case"CZ":r=/^(((00)([- ]?)|\+)(420)([- ]?))?((\d{3})([- ]?)){2}(\d{3})$/.test(i);break;case"DK":i=o.trim(i),r=/^(\+45|0045|\(45\))?\s?[2-9](\s?\d){7}$/.test(i);break;case"ES":i=o.trim(i),r=/^(?:(?:(?:\+|00)34\D?))?(?:9|6)(?:\d\D?){8}$/.test(i);break;case"FR":i=o.trim(i),r=/^(?:(?:(?:\+|00)33[ ]?(?:\(0\)[ ]?)?)|0){1}[1-9]{1}([ .-]?)(?:\d{2}\1?){3}\d{2}$/.test(i);break;case"GB":i=o.trim(i),r=/^\(?(?:(?:0(?:0|11)\)?[\s-]?\(?|\+)44\)?[\s-]?\(?(?:0\)?[\s-]?\(?)?|0)(?:\d{2}\)?[\s-]?\d{4}[\s-]?\d{4}|\d{3}\)?[\s-]?\d{3}[\s-]?\d{3,4}|\d{4}\)?[\s-]?(?:\d{5}|\d{3}[\s-]?\d{3})|\d{5}\)?[\s-]?\d{4,5}|8(?:00[\s-]?11[\s-]?11|45[\s-]?46[\s-]?4\d))(?:(?:[\s-]?(?:x|ext\.?\s?|\#)\d+)?)$/.test(i);break;case"MA":i=o.trim(i),r=/^(?:(?:(?:\+|00)212[\s]?(?:[\s]?\(0\)[\s]?)?)|0){1}(?:5[\s.-]?[2-3]|6[\s.-]?[13-9]){1}[0-9]{1}(?:[\s.-]?\d{2}){3}$/.test(i);break;case"PK":i=o.trim(i),r=/^0?3[0-9]{2}[0-9]{7}$/.test(i);break;case"RO":r=/^(\+4|)?(07[0-8]{1}[0-9]{1}|02[0-9]{2}|03[0-9]{2}){1}?(\s|\.|\-)?([0-9]{3}(\s|\.|\-|)){2}$/g.test(i);break;case"RU":r=/^((8|\+7|007)[\-\.\/ ]?)?([\(\/\.]?\d{3}[\)\/\.]?[\-\.\/ ]?)?[\d\-\.\/ ]{7,10}$/g.test(i);break;case"SK":r=/^(((00)([- ]?)|\+)(420)([- ]?))?((\d{3})([- ]?)){2}(\d{3})$/.test(i);break;case"TH":r=/^0\(?([6|8-9]{2})*-([0-9]{3})*-([0-9]{4})$/.test(i);break;case"VE":i=o.trim(i),r=/^0(?:2(?:12|4[0-9]|5[1-9]|6[0-9]|7[0-8]|8[1-35-8]|9[1-5]|3[45789])|4(?:1[246]|2[46]))\d{7}$/.test(i);break;default:i=i.replace(/\D/g,""),r=/^(?:(1\-?)|(\+1 ?))?\(?(\d{3})[\)\-\.]?(\d{3})[\-\.]?(\d{4})$/.test(i)&&10===i.length}return{valid:r,message:o.fn.bootstrapValidator.helpers.format(n.message||o.fn.bootstrapValidator.i18n.phone.country,o.fn.bootstrapValidator.i18n.phone.countries[a])}}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.regexp=t.extend(t.fn.bootstrapValidator.i18n.regexp||{},{default:"Please enter a value matching the pattern"}),t.fn.bootstrapValidator.validators.regexp={html5Attributes:{message:"message",regexp:"regexp"},enableByHtml5:function(t){t=t.attr("pattern");return!!t&&{regexp:t}},validate:function(t,e,n){e=e.val();return""===e||("string"==typeof n.regexp?new RegExp(n.regexp):n.regexp).test(e)}}}(window.jQuery),function(u){u.fn.bootstrapValidator.i18n.remote=u.extend(u.fn.bootstrapValidator.i18n.remote||{},{default:"Please enter a valid value"}),u.fn.bootstrapValidator.validators.remote={html5Attributes:{message:"message",name:"name",type:"type",url:"url",delay:"delay"},destroy:function(t,e){e.data("bv.remote.timer")&&(clearTimeout(e.data("bv.remote.timer")),e.removeData("bv.remote.timer"))},validate:function(t,e,n){function i(){var t=u.ajax({type:s,headers:l,url:o,dataType:"json",data:r});return t.then(function(t){t.valid=!0===t.valid||"true"===t.valid,c.resolve(e,"remote",t)}),c.fail(function(){t.abort()}),c}var a,r,o,s,l,d=e.val(),c=new u.Deferred;return""===d?(c.resolve(e,"remote",{valid:!0}),c):(a=e.attr("data-bv-field"),r=n.data||{},o=n.url,s=n.type||"GET",l=n.headers||{},"function"==typeof r&&(r=r.call(this,t)),"function"==typeof o&&(o=o.call(this,t)),r[n.name||a]=d,n.delay?(e.data("bv.remote.timer")&&clearTimeout(e.data("bv.remote.timer")),e.data("bv.remote.timer",setTimeout(i,n.delay)),c):i())}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.rtn=t.extend(t.fn.bootstrapValidator.i18n.rtn||{},{default:"Please enter a valid RTN number"}),t.fn.bootstrapValidator.validators.rtn={validate:function(t,e){var n=e.val();if(""===n)return!0;if(!/^\d{9}$/.test(n))return!1;for(var i=0,a=0;a<n.length;a+=3)i+=3*parseInt(n.charAt(a),10)+7*parseInt(n.charAt(a+1),10)+parseInt(n.charAt(a+2),10);return 0!==i&&i%10==0}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.sedol=t.extend(t.fn.bootstrapValidator.i18n.sedol||{},{default:"Please enter a valid SEDOL number"}),t.fn.bootstrapValidator.validators.sedol={validate:function(t,e){var n=e.val();if(""===n)return!0;
1if(n=n.toUpperCase(),!/^[0-9A-Z]{7}$/.test(n))return!1;for(var i=0,a=[1,3,1,7,3,9,1],r=n.length,o=0;o<r-1;o++)i+=a[o]*parseInt(n.charAt(o),36);return(i=(10-i%10)%10)+""===n.charAt(r-1)}}}(window.jQuery),function(n){n.fn.bootstrapValidator.i18n.siren=n.extend(n.fn.bootstrapValidator.i18n.siren||{},{default:"Please enter a valid SIREN number"}),n.fn.bootstrapValidator.validators.siren={validate:function(t,e){e=e.val();return""===e||!!/^\d{9}$/.test(e)&&n.fn.bootstrapValidator.helpers.luhn(e)}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.siret=t.extend(t.fn.bootstrapValidator.i18n.siret||{},{default:"Please enter a valid SIRET number"}),t.fn.bootstrapValidator.validators.siret={validate:function(t,e){var n=e.val();if(""===n)return!0;for(var i,a=0,r=n.length,o=0;o<r;o++)i=parseInt(n.charAt(o),10),o%2==0&&9<(i*=2)&&(i-=9),a+=i;return a%10==0}}}(window.jQuery),function(o){o.fn.bootstrapValidator.i18n.step=o.extend(o.fn.bootstrapValidator.i18n.step||{},{default:"Please enter a valid step of %s"}),o.fn.bootstrapValidator.validators.step={html5Attributes:{message:"message",base:"baseValue",step:"step"},validate:function(t,e,n){var i,a,r,e=e.val();return""===e||(n=o.extend({},{baseValue:0,step:1},n),e=parseFloat(e),!!o.isNumeric(e)&&(e=e-n.baseValue,{valid:0==(a=0===(i=n.step)?1:(a=(e+"").split("."),r=(i+"").split("."),a=(1===a.length?0:a[1].length)+(1===r.length?0:r[1].length),r=e-i*Math.floor(e/i),e=a,e=Math.pow(10,e),i=0<(r*=e)|-(r<0),r%1==.5*i?(Math.floor(r)+(0<i))/e:Math.round(r)/e))||a===n.step,message:o.fn.bootstrapValidator.helpers.format(n.message||o.fn.bootstrapValidator.i18n.step.default,[n.step])}))}}}(window.jQuery),function(a){a.fn.bootstrapValidator.i18n.stringCase=a.extend(a.fn.bootstrapValidator.i18n.stringCase||{},{default:"Please enter only lowercase characters",upper:"Please enter only uppercase characters"}),a.fn.bootstrapValidator.validators.stringCase={html5Attributes:{message:"message",case:"case"},validate:function(t,e,n){var i,e=e.val();return""===e||{valid:"upper"===(i=(n.case||"lower").toLowerCase())?e===e.toUpperCase():e===e.toLowerCase(),message:n.message||("upper"===i?a.fn.bootstrapValidator.i18n.stringCase.upper:a.fn.bootstrapValidator.i18n.stringCase.default)}}}}(window.jQuery),function(s){s.fn.bootstrapValidator.i18n.stringLength=s.extend(s.fn.bootstrapValidator.i18n.stringLength||{},{default:"Please enter a value with valid length",less:"Please enter less than %s characters",more:"Please enter more than %s characters",between:"Please enter value between %s and %s characters long"}),s.fn.bootstrapValidator.validators.stringLength={html5Attributes:{message:"message",min:"min",max:"max"},enableByHtml5:function(t){var e={},n=t.attr("maxlength"),t=t.attr("minlength");return n&&(e.max=parseInt(n,10)),t&&(e.min=parseInt(t,10)),!s.isEmptyObject(e)&&e},validate:function(t,e,n){var i=e.val();if(""===i)return!0;var a=s.isNumeric(n.min)?n.min:t.getDynamicOption(e,n.min),r=s.isNumeric(n.max)?n.max:t.getDynamicOption(e,n.max),t=i.length,e=!0,o=n.message||s.fn.bootstrapValidator.i18n.stringLength.default;switch((a&&t<parseInt(a,10)||r&&t>parseInt(r,10))&&(e=!1),!0){case!!a&&!!r:o=s.fn.bootstrapValidator.helpers.format(n.message||s.fn.bootstrapValidator.i18n.stringLength.between,[parseInt(a,10),parseInt(r,10)]);break;case!!a:o=s.fn.bootstrapValidator.helpers.format(n.message||s.fn.bootstrapValidator.i18n.stringLength.more,parseInt(a,10));break;case!!r:o=s.fn.bootstrapValidator.helpers.format(n.message||s.fn.bootstrapValidator.i18n.stringLength.less,parseInt(r,10))}return{valid:e,message:o}}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.uri=t.extend(t.fn.bootstrapValidator.i18n.uri||{},{default:"Please enter a valid URI"}),t.fn.bootstrapValidator.validators.uri={html5Attributes:{message:"message",allowlocal:"allowLocal",protocol:"protocol"},enableByHtml5:function(t){return"url"===t.attr("type")},validate:function(t,e,n){var i,e=e.val();return""===e||(i=!0===n.allowLocal||"true"===n.allowLocal,n=(n.protocol||"http, https, ftp").split(",").join("|").replace(/\s/g,""),new RegExp("^(?:(?:"+n+")://)(?:\\S+(?::\\S*)?@)?(?:"+(i?"":"(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})")+"(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))"+(i?"?":"")+")(?::\\d{2,5})?(?:/[^\\s]*)?$","i").test(e))}}}(window.jQuery),function(r){r.fn.bootstrapValidator.i18n.uuid=r.extend(r.fn.bootstrapValidator.i18n.uuid||{},{default:"Please enter a valid UUID number",version:"Please enter a valid UUID version %s number"}),r.fn.bootstrapValidator.validators.uuid={html5Attributes:{message:"message",version:"version"},validate:function(t,e,n){var i,a,e=e.val();return""===e||{valid:null===(i={3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i})[a=n.version?n.version+"":"all"]||i[a].test(e),message:n.version?r.fn.bootstrapValidator.helpers.format(n.message||r.fn.bootstrapValidator.i18n.uuid.version,n.version):n.message||r.fn.bootstrapValidator.i18n.uuid.default}}}}(window.jQuery),function(l){l.fn.bootstrapValidator.i18n.vat=l.extend(l.fn.bootstrapValidator.i18n.vat||{},{default:"Please enter a valid VAT number",countryNotSupported:"The country code %s is not supported",country:"Please enter a valid VAT number in %s",countries:{AT:"Austria",BE:"Belgium",BG:"Bulgaria",BR:"Brazil",CH:"Switzerland",CY:"Cyprus",CZ:"Czech Republic",DE:"Germany",DK:"Denmark",EE:"Estonia",ES:"Spain",FI:"Finland",FR:"France",GB:"United Kingdom",GR:"Greek",EL:"Greek",HU:"Hungary",HR:"Croatia",IE:"Ireland",IS:"Iceland",IT:"Italy",LT:"Lithuania",LU:"Luxembourg",LV:"Latvia",MT:"Malta",NL:"Netherlands",NO:"Norway",PL:"Poland",PT:"Portugal",RO:"Romania",RU:"Russia",RS:"Serb
1ia",SE:"Sweden",SI:"Slovenia",SK:"Slovakia",VE:"Venezuela",ZA:"South Africa"}}),l.fn.bootstrapValidator.validators.vat={html5Attributes:{message:"message",country:"country"},COUNTRY_CODES:["AT","BE","BG","BR","CH","CY","CZ","DE","DK","EE","EL","ES","FI","FR","GB","GR","HR","HU","IE","IS","IT","LT","LU","LV","MT","NL","NO","PL","PT","RO","RU","RS","SE","SK","SI","VE","ZA"],validate:function(t,e,n){var i,a=e.val();return""===a||((i=n.country)?"string"==typeof i&&-1!==l.inArray(i.toUpperCase(),this.COUNTRY_CODES)||(i=t.getDynamicOption(e,i)):i=a.substr(0,2),-1===l.inArray(i,this.COUNTRY_CODES)?{valid:!1,message:l.fn.bootstrapValidator.helpers.format(l.fn.bootstrapValidator.i18n.vat.countryNotSupported,i)}:!!this[["_",i.toLowerCase()].join("")](a)||{valid:!1,message:l.fn.bootstrapValidator.helpers.format(n.message||l.fn.bootstrapValidator.i18n.vat.country,l.fn.bootstrapValidator.i18n.vat.countries[i.toUpperCase()])})},_at:function(t){if(/^ATU[0-9]{8}$/.test(t)&&(t=t.substr(2)),!/^U[0-9]{8}$/.test(t))return!1;t=t.substr(1);for(var e=0,n=[1,2,1,2,1,2,1],i=0,a=0;a<7;a++)e+=i=9<(i=parseInt(t.charAt(a),10)*n[a])?Math.floor(i/10)+i%10:i;return(e=10===(e=10-(e+4)%10)?0:e)+""===t.substr(7,1)},_be:function(t){return/^BE[0]{0,1}[0-9]{9}$/.test(t)&&(t=t.substr(2)),!!/^[0]{0,1}[0-9]{9}$/.test(t)&&"0"!==(t=9===t.length?"0"+t:t).substr(1,1)&&(parseInt(t.substr(0,8),10)+parseInt(t.substr(8,2),10))%97==0},_bg:function(t){if(/^BG[0-9]{9,10}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{9,10}$/.test(t))return!1;var e=0,n=0;if(9!==t.length)return 10===t.length&&(function(t){var e=parseInt(t.substr(0,2),10)+1900,n=parseInt(t.substr(2,2),10),i=parseInt(t.substr(4,2),10);if(40<n?(e+=100,n-=40):20<n&&(e-=100,n-=20),!l.fn.bootstrapValidator.helpers.date(e,n,i))return!1;for(var a=0,r=[2,4,8,5,10,9,7,3,6],o=0;o<9;o++)a+=parseInt(t.charAt(o),10)*r[o];return(a=a%11%10)+""===t.substr(9,1)}(t)||function(t){for(var e=0,n=[21,19,17,13,11,9,7,3,1],i=0;i<9;i++)e+=parseInt(t.charAt(i),10)*n[i];return(e%=10)+""===t.substr(9,1)}(t)||function(t){for(var e=0,n=[4,3,2,7,6,5,4,3,2],i=0;i<9;i++)e+=parseInt(t.charAt(i),10)*n[i];return 10!==(e=11-e%11)&&(e=11===e?0:e)+""===t.substr(9,1)}(t));for(n=0;n<8;n++)e+=parseInt(t.charAt(n),10)*(n+1);if(10===(e%=11))for(n=e=0;n<8;n++)e+=parseInt(t.charAt(n),10)*(n+3);return(e%=10)+""===t.substr(8)},_br:function(t){if(""===t)return!0;t=t.replace(/[^\d]+/g,"");if(""===t||14!==t.length)return!1;if("00000000000000"===t||"11111111111111"===t||"22222222222222"===t||"33333333333333"===t||"44444444444444"===t||"55555555555555"===t||"66666666666666"===t||"77777777777777"===t||"88888888888888"===t||"99999999999999"===t)return!1;for(var e=t.length-2,n=t.substring(0,e),i=t.substring(e),a=0,r=e-7,o=e;1<=o;o--)a+=parseInt(n.charAt(e-o),10)*r--,r<2&&(r=9);if((a%11<2?0:11-a%11)!==parseInt(i.charAt(0),10))return!1;for(n=t.substring(0,e+=1),a=0,r=e-7,o=e;1<=o;o--)a+=parseInt(n.charAt(e-o),10)*r--,r<2&&(r=9);return(a%11<2?0:11-a%11)===parseInt(i.charAt(1),10)},_ch:function(t){if(/^CHE[0-9]{9}(MWST)?$/.test(t)&&(t=t.substr(2)),!/^E[0-9]{9}(MWST)?$/.test(t))return!1;t=t.substr(1);for(var e=0,n=[5,4,3,2,7,6,5,4],i=0;i<8;i++)e+=parseInt(t.charAt(i),10)*n[i];return 10!==(e=11-e%11)&&(e=11===e?0:e)+""===t.substr(8,1)},_cy:function(t){if(/^CY[0-5|9]{1}[0-9]{7}[A-Z]{1}$/.test(t)&&(t=t.substr(2)),!/^[0-5|9]{1}[0-9]{7}[A-Z]{1}$/.test(t))return!1;if("12"===t.substr(0,2))return!1;for(var e=0,n={0:1,1:0,2:5,3:7,4:9,5:13,6:15,7:17,8:19,9:21},i=0;i<8;i++){var a=parseInt(t.charAt(i),10);e+=a=i%2==0?n[a+""]:a}return(e="ABCDEFGHIJKLMNOPQRSTUVWXYZ"[e%26])+""===t.substr(8,1)},_cz:function(t){if(/^CZ[0-9]{8,10}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{8,10}$/.test(t))return!1;var e=0,n=0;if(8===t.length){if(t.charAt(0)+""=="9")return!1;for(n=e=0;n<7;n++)e+=parseInt(t.charAt(n),10)*(8-n);return(e=11===(e=10===(e=11-e%11)?0:e)?1:e)+""===t.substr(7,1)}if(9===t.length&&t.charAt(0)+""=="6"){for(n=e=0;n<7;n++)e+=parseInt(t.charAt(n+1),10)*(8-n);return(e=[8,7,6,5,4,3,2,1,0,9,10][(e=11===(e=10===(e=11-e%11)?0:e)?1:e)-1])+""===t.substr(8,1)}if(9!==t.length&&10!==t.length)return!1;var i=1900+parseInt(t.substr(0,2),10),a=parseInt(t.substr(2,2),10)%50%20,r=parseInt(t.substr(4,2),10);if(9===t.length){if(1980<=i&&(i-=100),1953<i)return!1}else i<1954&&(i+=100);return!!l.fn.bootstrapValidator.helpers.date(i,a,r)&&(10!==t.length||(a=parseInt(t.substr(0,9),10)%11,i<1985&&(a%=10),a+""===t.substr(9,1)))},_de:function(t){return/^DE[0-9]{9}
1$/.test(t)&&(t=t.substr(2)),!!/^[0-9]{9}$/.test(t)&&l.fn.bootstrapValidator.helpers.mod11And10(t)},_dk:function(t){if(/^DK[0-9]{8}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{8}$/.test(t))return!1;for(var e=0,n=[2,7,6,5,4,3,2,1],i=0;i<8;i++)e+=parseInt(t.charAt(i),10)*n[i];return e%11==0},_ee:function(t){if(/^EE[0-9]{9}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{9}$/.test(t))return!1;for(var e=0,n=[3,7,1,3,7,1,3,7,1],i=0;i<9;i++)e+=parseInt(t.charAt(i),10)*n[i];return e%10==0},_es:function(t){var e,n;return/^ES[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(t)&&(t=t.substr(2)),!!/^[0-9A-Z][0-9]{7}[0-9A-Z]$/.test(t)&&(e=t.charAt(0),/^[0-9]$/.test(e)?(n=t,"TRWAGMYFPDXBNJZSQVHLCKE"[parseInt(n.substr(0,8),10)%23]+""===n.substr(8,1)):/^[XYZ]$/.test(e)?(n=t,e=["XYZ".indexOf(n.charAt(0)),n.substr(1)].join(""),"TRWAGMYFPDXBNJZSQVHLCKE"[parseInt(e,10)%23]+""===n.substr(8,1)):function(t){var e=t.charAt(0);if(-1!=="KLM".indexOf(e))return"TRWAGMYFPDXBNJZSQVHLCKE"[parseInt(t.substr(1,8),10)%23]+""===t.substr(8,1);if(-1==="ABCDEFGHJNPQRSUVW".indexOf(e))return!1;for(var n=0,i=[2,1,2,1,2,1,2],a=0,r=0;r<7;r++)n+=a=9<(a=parseInt(t.charAt(r+1),10)*i[r])?Math.floor(a/10)+a%10:a;return(n=10-n%10)+""===t.substr(8,1)||"JABCDEFGHI"[n]===t.substr(8,1)}(t))},_fi:function(t){if(/^FI[0-9]{8}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{8}$/.test(t))return!1;for(var e=0,n=[7,9,10,5,8,4,2,1],i=0;i<8;i++)e+=parseInt(t.charAt(i),10)*n[i];return e%11==0},_fr:function(t){var e;return/^FR[0-9A-Z]{2}[0-9]{9}$/.test(t)&&(t=t.substr(2)),!!/^[0-9A-Z]{2}[0-9]{9}$/.test(t)&&!!l.fn.bootstrapValidator.helpers.luhn(t.substr(2))&&(/^[0-9]{2}$/.test(t.substr(0,2))?t.substr(0,2)===parseInt(t.substr(2)+"12",10)%97+"":(e="0123456789ABCDEFGHJKLMNPQRSTUVWXYZ",e=/^[0-9]{1}$/.test(t.charAt(0))?24*e.indexOf(t.charAt(0))+e.indexOf(t.charAt(1))-10:34*e.indexOf(t.charAt(0))+e.indexOf(t.charAt(1))-100,(parseInt(t.substr(2),10)+1+Math.floor(e/11))%11==e%11))},_gb:function(t){if((/^GB[0-9]{9}$/.test(t)||/^GB[0-9]{12}$/.test(t)||/^GBGD[0-9]{3}$/.test(t)||/^GBHA[0-9]{3}$/.test(t)||/^GB(GD|HA)8888[0-9]{5}$/.test(t))&&(t=t.substr(2)),!(/^[0-9]{9}$/.test(t)||/^[0-9]{12}$/.test(t)||/^GD[0-9]{3}$/.test(t)||/^HA[0-9]{3}$/.test(t)||/^(GD|HA)8888[0-9]{5}$/.test(t)))return!1;var e,n,i=t.length;if(5===i)return e=t.substr(0,2),n=parseInt(t.substr(2),10),"GD"===e&&n<500||"HA"===e&&500<=n;if(11===i&&("GD8888"===t.substr(0,6)||"HA8888"===t.substr(0,6)))return!("GD"===t.substr(0,2)&&500<=parseInt(t.substr(6,3),10)||"HA"===t.substr(0,2)&&parseInt(t.substr(6,3),10)<500)&&parseInt(t.substr(6,3),10)%97===parseInt(t.substr(9,2),10);if(9!==i&&12!==i)return!0;for(var a=0,r=[8,7,6,5,4,3,2,10,1],o=0;o<9;o++)a+=parseInt(t.charAt(o),10)*r[o];return a%=97,100<=parseInt(t.substr(0,3),10)?0===a||42===a||55===a:0===a},_gr:function(t){if(/^(GR|EL)[0-9]{9}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{9}$/.test(t))return!1;8===t.length&&(t="0"+t);for(var e=0,n=[256,128,64,32,16,8,4,2],i=0;i<8;i++)e+=parseInt(t.charAt(i),10)*n[i];return(e=e%11%10)+""===t.substr(8,1)},_el:function(t){return this._gr(t)},_hu:function(t){if(/^HU[0-9]{8}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{8}$/.test(t))return!1;for(var e=0,n=[9,7,3,1,9,7,3,1],i=0;i<8;i++)e+=parseInt(t.charAt(i),10)*n[i];return e%10==0},_hr:function(t){return/^HR[0-9]{11}$/.test(t)&&(t=t.substr(2)),!!/^[0-9]{11}$/.test(t)&&l.fn.bootstrapValidator.helpers.mod11And10(t)},_ie:function(t){var e;return/^IE[0-9]{1}[0-9A-Z\*\+]{1}[0-9]{5}[A-Z]{1,2}$/.test(t)&&(t=t.substr(2)),!!/^[0-9]{1}[0-9A-Z\*\+]{1}[0-9]{5}[A-Z]{1,2}$/.test(t)&&(e=function(t){for(;t.length<7;)t="0"+t;for(var e="WABCDEFGHIJKLMNOPQRSTUV",n=0,i=0;i<7;i++)n+=parseInt(t.charAt(i),10)*(8-i);return e[(n+=9*e.indexOf(t.substr(7)))%23]},/^[0-9]+$/.test(t.substr(0,7))?t.charAt(7)===e(t.substr(0,7)+t.substr(8)+""):-1==="ABCDEFGHIJKLMNOPQRSTUVWXYZ+*".indexOf(t.charAt(1))||t.charAt(7)===e(t.substr(2,5)+t.substr(0,1)+""))},_is:function(t){return/^IS[0-9]{5,6}$/.test(t)&&(t=t.substr(2)),/^[0-9]{5,6}$/.test(t)},_it:function(t){var e;return/^IT[0-9]{11}$/.test(t)&&(t=t.substr(2)),!!/^[0-9]{11}$/.test(t)&&0!==parseInt(t.substr(0,7),10)&&!((e=parseInt(t.substr(7,3),10))<1||201<e&&999!==e&&888!==e)&&l.fn.bootstrapValidator.helpers.luhn(t)},_lt:function(t){if(/^LT([0-9]{7}1[0-9]{1}|[0-9]{10}1[0-9]{1}
1)$/.test(t)&&(t=t.substr(2)),!/^([0-9]{7}1[0-9]{1}|[0-9]{10}1[0-9]{1})$/.test(t))return!1;for(var e=t.length,n=0,i=0;i<e-1;i++)n+=parseInt(t.charAt(i),10)*(1+i%9);var a=n%11;if(10==a)for(i=n=0;i<e-1;i++)n+=parseInt(t.charAt(i),10)*(1+(i+2)%9);return a%11%10+""===t.charAt(e-1)},_lu:function(t){return/^LU[0-9]{8}$/.test(t)&&(t=t.substr(2)),!!/^[0-9]{8}$/.test(t)&&parseInt(t.substr(0,6),10)%89+""===t.substr(6,2)},_lv:function(t){if(/^LV[0-9]{11}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{11}$/.test(t))return!1;var e,n=parseInt(t.charAt(0),10),i=0,a=[],r=t.length;if(3<n){for(a=[9,1,4,8,3,10,2,5,7,6,1],e=i=0;e<r;e++)i+=parseInt(t.charAt(e),10)*a[e];return 3===(i%=11)}var n=parseInt(t.substr(0,2),10),o=parseInt(t.substr(2,2),10),s=parseInt(t.substr(4,2),10)+1800+100*parseInt(t.charAt(6),10);if(!l.fn.bootstrapValidator.helpers.date(s,o,n))return!1;for(a=[10,5,8,4,2,1,6,3,7,9],e=i=0;e<r-1;e++)i+=parseInt(t.charAt(e),10)*a[e];return(i=(i+1)%11%10)+""===t.charAt(r-1)},_mt:function(t){if(/^MT[0-9]{8}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{8}$/.test(t))return!1;for(var e=0,n=[3,4,6,7,8,9,10,1],i=0;i<8;i++)e+=parseInt(t.charAt(i),10)*n[i];return e%37==0},_nl:function(t){if(/^NL[0-9]{9}B[0-9]{2}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{9}B[0-9]{2}$/.test(t))return!1;for(var e=0,n=[9,8,7,6,5,4,3,2],i=0;i<8;i++)e+=parseInt(t.charAt(i),10)*n[i];return(e=9<(e%=11)?0:e)+""===t.substr(8,1)},_no:function(t){if(/^NO[0-9]{9}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{9}$/.test(t))return!1;for(var e=0,n=[3,2,7,6,5,4,3,2],i=0;i<8;i++)e+=parseInt(t.charAt(i),10)*n[i];return(e=11===(e=11-e%11)?0:e)+""===t.substr(8,1)},_pl:function(t){if(/^PL[0-9]{10}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{10}$/.test(t))return!1;for(var e=0,n=[6,5,7,2,3,4,5,6,7,-1],i=0;i<10;i++)e+=parseInt(t.charAt(i),10)*n[i];return e%11==0},_pt:function(t){if(/^PT[0-9]{9}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{9}$/.test(t))return!1;for(var e=0,n=[9,8,7,6,5,4,3,2],i=0;i<8;i++)e+=parseInt(t.charAt(i),10)*n[i];return(e=9<(e=11-e%11)?0:e)+""===t.substr(8,1)},_ro:function(t){if(/^RO[1-9][0-9]{1,9}$/.test(t)&&(t=t.substr(2)),!/^[1-9][0-9]{1,9}$/.test(t))return!1;for(var e=t.length,n=[7,5,3,2,1,7,5,3,2].slice(10-e),i=0,a=0;a<e-1;a++)i+=parseInt(t.charAt(a),10)*n[a];return(i=10*i%11%10)+""===t.substr(e-1,1)},_ru:function(t){if(/^RU([0-9]{10}|[0-9]{12})$/.test(t)&&(t=t.substr(2)),!/^([0-9]{10}|[0-9]{12})$/.test(t))return!1;var e=0;if(10===t.length){for(var n=0,i=[2,4,10,3,5,9,4,6,8,0],e=0;e<10;e++)n+=parseInt(t.charAt(e),10)*i[e];return 9<(n%=11)&&(n%=10),n+""===t.substr(9,1)}if(12!==t.length)return!1;var a=0,r=[7,2,4,10,3,5,9,4,6,8,0],o=0,s=[3,7,2,4,10,3,5,9,4,6,8,0];for(e=0;e<11;e++)a+=parseInt(t.charAt(e),10)*r[e],o+=parseInt(t.charAt(e),10)*s[e];return 9<(a%=11)&&(a%=10),9<(o%=11)&&(o%=10),a+""===t.substr(10,1)&&o+""===t.substr(11,1)},_rs:function(t){if(/^RS[0-9]{9}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{9}$/.test(t))return!1;for(var e=10,n=0,i=0;i<8;i++)e=2*(n=0===(n=(parseInt(t.charAt(i),10)+e)%10)?10:n)%11;return(e+parseInt(t.substr(8,1),10))%10==1},_se:function(t){return/^SE[0-9]{10}01$/.test(t)&&(t=t.substr(2)),!!/^[0-9]{10}01$/.test(t)&&(t=t.substr(0,10),l.fn.bootstrapValidator.helpers.luhn(t))},_si:function(t){if(/^SI[0-9]{8}$/.test(t)&&(t=t.substr(2)),!/^[0-9]{8}$/.test(t))return!1;for(var e=0,n=[8,7,6,5,4,3,2],i=0;i<7;i++)e+=parseInt(t.charAt(i),10)*n[i];return(e=10===(e=11-e%11)?0:e)+""===t.substr(7,1)},_sk:function(t){return/^SK[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(t)&&(t=t.substr(2)),!!/^[1-9][0-9][(2-4)|(6-9)][0-9]{7}$/.test(t)&&parseInt(t,10)%11==0},_ve:function(t){if(/^VE[VEJPG][0-9]{9}$/.test(t)&&(t=t.substr(2)),!/^[VEJPG][0-9]{9}$/.test(t))return!1;for(var e={V:4,E:8,J:12,P:16,G:20}[t.charAt(0)],n=[3,2,7,6,5,4,3,2],i=0;i<8;i++)e+=parseInt(t.charAt(i+1),10)*n[i];return(e=11!==(e=11-e%11)&&10!==e?e:0)+""===t.substr(9,1)},_za:function(t){return/^ZA4[0-9]{9}$/.test(t)&&(t=t.substr(2)),/^4[0-9]{9}$/.test(t)}}}(window.jQuery),function(t){t.fn.bootstrapValidator.i18n.vin=t.extend(t.fn.bootstrapValidator.i18n.vin||{},{default:"Please enter a valid VIN number"}),t.fn.bootstrapValidator.validators.vin={validate:function(t,e){var n=e.val();if(""===n)return!0;
1if(!/^[a-hj-npr-z0-9]{8}[0-9xX][a-hj-npr-z0-9]{8}$/i.test(n))return!1;for(var i={A:1,B:2,C:3,D:4,E:5,F:6,G:7,H:8,J:1,K:2,L:3,M:4,N:5,P:7,R:9,S:2,T:3,U:4,V:5,W:6,X:7,Y:8,Z:9,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,0:0},a=[8,7,6,5,4,3,2,10,0,9,8,7,6,5,4,3,2],r=0,o=(n=n.toUpperCase()).length,s=0;s<o;s++)r+=i[n.charAt(s)+""]*a[s];e=r%11;return(e=10===e?"X":e)+""===n.charAt(8)}}}(window.jQuery),function(o){o.fn.bootstrapValidator.i18n.zipCode=o.extend(o.fn.bootstrapValidator.i18n.zipCode||{},{default:"Please enter a valid postal code",countryNotSupported:"The country code %s is not supported",country:"Please enter a valid postal code in %s",countries:{BR:"Brazil",CA:"Canada",CZ:"Czech Republic",DK:"Denmark",GB:"United Kingdom",IT:"Italy",MA:"Morocco",NL:"Netherlands",RO:"Romania",RU:"Russia",SE:"Sweden",SG:"Singapore",SK:"Slovakia",US:"USA"}}),o.fn.bootstrapValidator.validators.zipCode={html5Attributes:{message:"message",country:"country"},COUNTRY_CODES:["BR","CA","CZ","DK","GB","IT","MA","NL","RO","RU","SE","SG","SK","US"],validate:function(t,e,n){var i=e.val();if(""===i||!n.country)return!0;var a=n.country;if(!(a="string"==typeof a&&-1!==o.inArray(a,this.COUNTRY_CODES)?a:t.getDynamicOption(e,a))||-1===o.inArray(a.toUpperCase(),this.COUNTRY_CODES))return{valid:!1,message:o.fn.bootstrapValidator.helpers.format(o.fn.bootstrapValidator.i18n.zipCode.countryNotSupported,a)};var r=!1;switch(a=a.toUpperCase()){case"BR":r=/^(\d{2})([\.]?)(\d{3})([\-]?)(\d{3})$/.test(i);break;case"CA":r=/^(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|X|Y){1}[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}\s?[0-9]{1}(?:A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z){1}[0-9]{1}$/i.test(i);break;case"CZ":r=/^(\d{3})([ ]?)(\d{2})$/.test(i);break;case"DK":r=/^(DK(-|\s)?)?\d{4}$/i.test(i);break;case"GB":r=this._gb(i);break;case"IT":r=/^(I-|IT-)?\d{5}$/i.test(i);break;case"MA":r=/^[1-9][0-9]{4}$/i.test(i);break;case"NL":r=/^[1-9][0-9]{3} ?(?!sa|sd|ss)[a-z]{2}$/i.test(i);break;case"RO":r=/^(0[1-8]{1}|[1-9]{1}[0-5]{1})?[0-9]{4}$/i.test(i);break;case"RU":r=/^[0-9]{6}$/i.test(i);break;case"SE":r=/^(S-)?\d{3}\s?\d{2}$/i.test(i);break;case"SG":r=/^([0][1-9]|[1-6][0-9]|[7]([0-3]|[5-9])|[8][0-2])(\d{4})$/i.test(i);break;case"SK":r=/^(\d{3})([ ]?)(\d{2})$/.test(i);break;default:r=/^\d{4,5}([\-]?\d{4})?$/.test(i)}return{valid:r,message:o.fn.bootstrapValidator.helpers.format(n.message||o.fn.bootstrapValidator.i18n.zipCode.country,o.fn.bootstrapValidator.i18n.zipCode.countries[a])}},_gb:function(t){for(var e="[ABCDEFGHIJKLMNOPRSTUWYZ]",n="[ABCDEFGHKLMNOPQRSTUVWXY]",i="[ABDEFGHJLNPQRSTUWXYZ]",a=[new RegExp("^("+e+"{1}"+n+"?[0-9]{1,2})(\\s*)([0-9]{1}"+i+"{2})$","i"),new RegExp("^("+e+"{1}[0-9]{1}[ABCDEFGHJKPMNRSTUVWXY]{1})(\\s*)([0-9]{1}"+i+"{2})$","i"),new RegExp("^("+e+"{1}"+n+"{1}?[0-9]{1}[ABEHMNPRVWXY]{1})(\\s*)([0-9]{1}"+i+"{2})$","i"),new RegExp("^(BF1)(\\s*)([0-6]{1}[ABDEFGHJLNPQRST]{1}[ABDEFGHJLNPQRSTUWZYZ]{1})$","i"),/^(GIR)(\s*)(0AA)$/i,/^(BFPO)(\s*)([0-9]{1,4})$/i,/^(BFPO)(\s*)(c\/o\s*[0-9]{1,3})$/i,/^([A-Z]{4}
1)(\s*)(1ZZ)$/i,/^(AI-2640)$/i],r=0;r<a.length;r++)if(a[r].test(t))return!0;return!1}}}(window.jQuery),!function(t){t.fn.bootstrapValidator.i18n=t.extend(!0,t.fn.bootstrapValidator.i18n,{base64:{default:"Please enter a valid base 64 encoded"},between:{default:"Si prega di inserire un valore tra %s e %s",notInclusive:"Si prega di scegliere rigorosamente un valore tra %s e %s"},callback:{default:"Si prega di inserire un valore valido"},choice:{default:"Si prega di inserire un valore valido",less:"Si prega di scegliere come minimo l'opzione %s",more:"Si prega di scegliere al massimo l'opzione %s",between:"Si prega di scegliere l'opzione tra %s e %s"},creditCard:{default:"Si prega di inserire un numero di carta di credito valido"},cusip:{default:"Si prega di inserire un numero CUSIP valido"},cvv:{default:"Si prega di inserire un numero CVV valido"},date:{default:"Si prega di inserire una data valida"},different:{default:"Si prega di inserire un valore differente"},digits:{default:"Si prega di inserire solo numeri"},ean:{default:"Si prega di inserire un numero EAN valido"},emailAddress:{default:"Si prega di inserire un indirizzo email valido"},file:{default:"Si prega di scegliere un file valido"},greaterThan:{default:"Si prega di inserire un numero maggiore o uguale a %s",notInclusive:"Si prega di inserire un numero maggiore di %s"},grid:{default:"Si prega di inserire un numero GRId valido"},hex:{default:"Si prega di inserire un numero esadecimale valido"},hexColor:{default:"Si prega di inserire un hex colore valido"},iban:{default:"Si prega di inserire un numero IBAN valido",countryNotSupported:"Il codice del paese %s non e supportato",country:"Si prega di inserire un numero IBAN valido per %s",countries:{AD:"Andorra",AE:"Emirati Arabi Uniti",AL:"Albania",AO:"Angola",AT:"Austria",AZ:"Azerbaijan",BA:"Bosnia-Erzegovina",BE:"Belgio",BF:"Burkina Faso",BG:"Bulgaria",BH:"Bahrain",BI:"Burundi",BJ:"Benin",BR:"Brasile",CH:"Svizzera",CI:"Costa d'Avorio",CM:"Cameron",CR:"Costa Rica",CV:"Capo Verde",CY:"Cipro",CZ:"Republica Ceca",DE:"Germania",DK:"Danimarca",DO:"Repubblica Domenicana",DZ:"Algeria",EE:"Estonia",ES:"Spagna",FI:"Finlandia",FO:"Isole Faroe",FR:"Francia",GB:"Regno Unito",GE:"Georgia",GI:"Gibilterra",GL:"Groenlandia",GR:"Grecia",GT:"Guatemala",HR:"Croazia",HU:"Ungheria",IE:"Irlanda",IL:"Israele",IR:"Iran",IS:"Islanda",IT:"Italia",JO:"Giordania",KW:"Kuwait",KZ:"Kazakhstan",LB:"Libano",LI:"Liechtenstein",LT:"Lituania",LU:"Lussemburgo",LV:"Lettonia",MC:"Monaco",MD:"Moldavia",ME:"Montenegro",MG:"Madagascar",MK:"Macedonia",ML:"Mali",MR:"Mauritania",MT:"Malta",MU:"Mauritius",MZ:"Mozambico",NL:"Olanda",NO:"Norvegia",PK:"Pachistan",PL:"Polonia",PS:"Palestina",PT:"Portogallo",QA:"Qatar",RO:"Romania",RS:"Serbia",SA:"Arabia Saudita",SE:"Svezia",SI:"Slovenia",SK:"Slovacchia",SM:"San Marino",SN:"Senegal",TN:"Tunisia",TR:"Turchia",VG:"Isole Vergini, Inghilterra"}},id:{default:"Si prega di inserire un numero di identificazione valido",countryNotSupported:"Il codice nazione %s non e supportato",country:"Si prega di inserire un numero di identificazione valido per %s",countries:{BA:"Bosnia-Erzegovina",BG:"Bulgaria",BR:"Brasile",CH:"Svizzera",CL:"Chile",CN:"Cina",CZ:"Republica Ceca",DK:"Danimarca",EE:"Estonia",ES:"Spagna",FI:"Finlandia",HR:"Croazia",IE:"Irlanda",IS:"Islanda",LT:"Lituania",LV:"Lettonia",ME:"Montenegro",MK:"Macedonia",NL:"Paesi Bassi",RO:"Romania",RS:"Serbia",SE:"Svezia",SI:"Slovenia",SK:"Slovacchia",SM:"San Marino",TH:"Thailandia",ZA:"Sudafrica"}},identical:{default:"Si prega di inserire un valore identico"},imei:{default:"Si prega di inserire un numero IMEI valido"},imo:{default:"Si prega di inserire un numero IMO valido"},integer:{default:"Si prega di inserire un numero valido"},ip:{default:"Please enter a valid IP address",ipv4:"Si prega di inserire un indirizzo IPv4 valido",ipv6:"Si prega di inserire un indirizzo IPv6 valido"},isbn:{default:"Si prega di inserire un numero ISBN valido"},isin:{default:"Si prega di inserire un numero ISIN valido"},ismn:{default:"Si prega di inserire un numero ISMN valido"},issn:{default:"Si prega di inserire un numero ISSN valido"},lessThan:{default:"Si prega di inserire un valore minore o uguale a %s",notInclusive:"Si prega di inserire un valore minore di %s"},mac:{default:"Si prega di inserire un valido MAC address"},meid:{default:"Si prega di inserire un numero MEID valido"},notEmpty:{default:"Si prega di non lasciare il campo vuoto"},numeric:{default:"Si prega di inserire un numero con decimali valido"},phone:{default:"Si prega di inserire un numero di telefono valido",countryNotSupported:"Il codice nazione %s non e supportato",country:"Si prega di inserire un numero di telefono valido per %s",countries:{BR:"Brasile",CN:"Cina",CZ:"Republica Ceca",DK:"Danimarca",ES:"Spagna",FR:"Francia",GB:"Regno Unito",MA:"Marocco",PK:"Pakistan",RO:"Romania",RU:"Russia",SK:"Slovacchia",TH:"Thailandia",US:"Stati Uniti d'America",VE:"Venezuelano"}},regexp:{default:"Inserisci un valore che corrisponde al modello"},remote:{default:"Si prega di inserire un valore valido"},rtn:{default:"Si prega di inserire un numero RTN valido"},sedol:{default:"Si prega di inserire un numero SEDOL valido"},siren:{default:"Si prega di inserire un numero SIREN valido"},siret:{default:"Si prega di inserire un numero SIRET valido"},step:{default:"Si prega di inserire uno step valido di %s"}
vendor: 18,403 bytes, line 1
1,stringCase:{default:"Si prega di inserire solo caratteri minuscoli",upper:"Si prega di inserire solo caratteri maiuscoli"},stringLength:{default:"Si prega di inserire un valore con lunghezza valida",less:"Si prega di inserire non piu di %s caratteri",more:"Si prega di inserire piu di %s caratteri",between:"Si prega di inserire un numero di caratteri compreso tra  %s e %s"},uri:{default:"Si prega di inserire un URI valido"},uuid:{default:"Si prega di inserire un numero UUID valido",version:"Si prega di inserire un numero di versione UUID %s valido"},vat:{default:"Si prega di inserire un valore di IVA valido",countryNotSupported:"Il codice nazione %s non e supportato",country:"Si prega di inserire un valore di IVA valido per %s",countries:{AT:"Austria",BE:"Belgio",BG:"Bulgaria",BR:"Brasiliano",CH:"Svizzera",CY:"Cipro",CZ:"Republica Ceca",DE:"Germania",DK:"Danimarca",EE:"Estonia",ES:"Spagna",FI:"Finlandia",FR:"Francia",GB:"Regno Unito",GR:"Grecia",EL:"Grecia",HU:"Ungheria",HR:"Croazia",IE:"Irlanda",IS:"Islanda",IT:"Italia",LT:"Lituania",LU:"Lussemburgo",LV:"Lettonia",MT:"Malta",NL:"Olanda",NO:"Norvegia",PL:"Polonia",PT:"Portogallo",RO:"Romania",RU:"Russia",RS:"Serbia",SE:"Svezia",SI:"Slovenia",SK:"Slovacchia",VE:"Venezuelano",ZA:"Sud Africano"}},vin:{default:"Si prega di inserire un numero VIN valido"},zipCode:{default:"Si prega di inserire un codice postale valido",countryNotSupported:"Il codice nazione %s non e supportato",country:"Si prega di inserire un codice postale valido per %s",countries:{BR:"Brasile",CA:"Canada",CZ:"Republica Ceca",DK:"Danimarca",GB:"Regno Unito",IT:"Italia",MA:"Marocco",NL:"Paesi Bassi",RO:"Romania",RU:"Russia",SE:"Svezia",SG:"Singapore",SK:"Slovacchia",US:"Stati Uniti d'America"}}})}(window.jQuery),!function(d){function t(){}function c(t,e){h.ev.on("mfp"+t+B,e)}function u(t,e,n,i){var a=document.createElement("div");return a.className="mfp-"+t,n&&(a.innerHTML=n),i?e&&e.appendChild(a):(a=d(a),e&&a.appendTo(e)),a}function p(t,e){h.ev.triggerHandler("mfp"+t,e),h.st.callbacks&&(t=t.charAt(0).toLowerCase()+t.slice(1),h.st.callbacks[t])&&h.st.callbacks[t].apply(h,d.isArray(e)?e:[e])}function f(t){return t===_&&h.currTemplate.closeBtn||(h.currTemplate.closeBtn=d(h.st.closeMarkup.replace("%title%",h.st.tClose)),_=t),h.currTemplate.closeBtn}function r(){d.magnificPopup.instance||((h=new t).init(),d.magnificPopup.instance=h)}function o(){b&&(g.after(b.addClass(l)).detach(),b=null)}function a(){y&&n.removeClass(y)}function e(){a(),h.req&&h.req.abort()}var h,i,n,m,s,v,_,l,g,b,y,w="Close",R="BeforeClose",x="MarkupParse",B=".mfp",S="mfp-ready",P="mfp-removing",A="mfp-prevent-close",C=!!window.jQuery,T=d(window),I=(d.magnificPopup={instance:null,proto:t.prototype={constructor:t,init:function(){var t=navigator.appVersion;h.isIE7=-1!==t.indexOf("MSIE 7."),h.isIE8=-1!==t.indexOf("MSIE 8."),h.isLowIE=h.isIE7||h.isIE8,h.isAndroid=/android/gi.test(t),h.isIOS=/iphone|ipad|ipod/gi.test(t),h.supportsTransition=function(){var t=document.createElement("p").style,e=["ms","O","Moz","Webkit"];if(void 0!==t.transition)return!0;for(;e.length;)if(e.pop()+"Transition"in t)return!0;return!1}(),h.probablyMobile=h.isAndroid||h.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),n=d(document.body),m=d(document),h.popupsCache={}},open:function(t){if(!1===t.isObj){h.items=t.items.toArray(),h.index=0;for(var e,n=t.items,i=0;i<n.length;i++)if((e=(e=n[i]).parsed?e.el[0]:e)===t.el[0]){h.index=i;break}}else h.items=d.isArray(t.items)?t.items:[t.items],h.index=t.index||0;if(!h.isOpen){h.types=[],v="",t.mainEl&&t.mainEl.length?h.ev=t.mainEl.eq(0):h.ev=m,t.key?(h.popupsCache[t.key]||(h.popupsCache[t.key]={}),h.currTemplate=h.popupsCache[t.key]):h.currTemplate={},h.st=d.extend(!0,{},d.magnificPopup.defaults,t),h.fixedContentPos="auto"===h.st.fixedContentPos?!h.probablyMobile:h.st.fixedContentPos,h.st.modal&&(h.st.closeOnContentClick=!1,h.st.closeOnBgClick=!1,h.st.showCloseBtn=!1,h.st.enableEscapeKey=!1),h.bgOverlay||(h.bgOverlay=u("bg").on("click.mfp",function(){h.close()}),h.wrap=u("wrap").attr("tabindex",-1).on("click.mfp",function(t){h._checkIfClose(t.target)&&h.close()}),h.container=u("container",h.wrap)),h.contentContainer=u("content"),h.st.preloader&&(h.preloader=u("preloader",h.container,h.st.tLoading));var a=d.magnificPopup.modules;for(i=0;i<a.length;i++){var r=(r=a[i]).charAt(0).toUpperCase()+r.slice(1);h["init"+r].call(h)}p("BeforeOpen"),h.st.showCloseBtn&&(h.st.closeBtnInside?(c(x,function(t,e,n,i){n.close_replaceWith=f(i.type)}),v+=" mfp-close-btn-in"):h.wrap.append(f())),h.st.alignTop&&(v+=" mfp-align-top"),h.fixedContentPos?h.wrap.css({overflow:h.st.overflowY,overflowX:"hidden",overflowY:h.st.overflowY}):h.wrap.css({top:T.scrollTop(),position:"absolute"}),!1!==h.st.fixedBgPos&&("auto"!==h.st.fixedBgPos||h.fixedContentPos)||h.bgOverlay.css({height:m.height(),position:"absolute"}),h.st.enableEscapeKey&&m.on("keyup.mfp",function(t){27===t.keyCode&&h.close()}),T.on("resize.mfp",function(){h.updateSize()}),h.st.closeOnContentClick||(v+=" mfp-auto-cursor"),v&&h.wrap.addClass(v);var o=h.wH=T.height(),s={},l=(h.fixedContentPos&&h._hasScrollBar(o)&&(l=h._getScrollbarSize())&&(s.marginRight=l),h.fixedContentPos&&(h.isIE7?d("body, html").css("overflow","hidden"):s.overflow="hidden"),h.st.mainClass);return h.isIE7&&(l+=" mfp-ie7"),l&&h._addClassToMFP(l),h.updateItemHTML(),p("BuildControls"),d("html").css(s),h.bgOverlay.add(h.wrap).prependTo(document.body),h._lastFocusedEl=document.activeElement,setTimeout(function(){h.content?(h._addClassToMFP(S),h._setFocus()):h.bgOverlay.addClass(S),m.on("focusin.mfp",h._onFocusIn)},16),h.isOpen=!0,h.updateSize(o),p("Open"),t}h.updateItemHTML()},close:function(){h.isOpen&&(p(R),h.isOpen=!1,h.st.removalDelay&&!h.isLowIE&&h.supportsTransition?(h._addClassToMFP(P),setTimeout(function(){h._close()},h.st.removalDelay)):h._close())},_close:function(){p(w);var t=P+" "+S+" ";h.bgOverlay.detach(),h.wrap.detach(),h.container.empty(),h.st.mainClass&&(t+=h.st.mainClass+" "),h._removeClassFromMFP(t),h.fixedContentPos&&(t={marginRight:""},h.isIE7?d("body, html").css("overflow",""):t.overflow="",d("html").css(t)),m.off("keyup.mfp focusin.mfp"),h.ev.off(B),h.wrap.attr("class","mfp-wrap").removeAttr("style"),h.bgOverlay.attr("class","mfp-bg"),h.container.attr("class","mfp-container"),!h.st.showCloseBtn||h.st.closeBtnInside&&!0!==h.currTemplate[h.currItem.type]||h.currTemplate.closeBtn&&h.currTemplate.closeBtn.detach(),h._lastFocusedEl&&d(h._lastFocusedEl).focus(),h.currItem=null,h.content=null,h.currTemplate=null,h.prevHeight=0,p("AfterClose")},updateSize:function(t){var e;h.isIOS?(e=document.documentElement.clientWidth/window.innerWidth,h.wrap.css("height",e=window.innerHeight*e),h.wH=e):h.wH=t||T.height(),h.fixedContentPos||h.wrap.css("height",h.wH),p("Resize")},updateItemHTML:function(){var t=h.items[h.index],e=(h.contentContainer.detach(),h.content&&h.content.detach(),(t=t.parsed?t:h.parseEl(h.index)).type),n=(p("BeforeChange",[h.currItem?h.currItem.type:"",e]),h.currItem=t,h.currTemplate[e]||(n=!!h.st[e]&&h.st[e].markup,p("FirstMarkupParse",n),h.currTemplate[e]=!n||d(n)),s&&s!==t.type&&h.container.removeClass("mfp-"+s+"-holder"),h["get"+e.charAt(0).toUpperCase()+e.slice(1)](t,h.currTemplate[e]));h.appendContent(n,e),t.preloaded=!0,p("Change",t),s=t.type,h.container.prepend(h.contentContainer),p("AfterChange")},appendContent:function(t,e){(h.content=t)?h.st.showCloseBtn&&h.st.closeBtnInside&&!0===h.currTemplate[e]?h.content.find(".mfp-close").length||h.content.append(f()):h.content=t:h.content="",p("BeforeAppend"),h.container.addClass("mfp-"+e+"-holder"),h.contentContainer.append(h.content)},parseEl:function(t){var e=h.items[t],n=e.type;if((e=e.tagName?{el:d(e)}:{data:e,src:e.src}).el){for(var i=h.types,a=0;a<i.length;a++)if(e.el.hasClass("mfp-"+i[a])){n=i[a];break}e.src=e.el.attr("data-mfp-src"),e.src||(e.src=e.el.attr("href"))}return e.type=n||h.st.type||"inline",e.index=t,e.parsed=!0,h.items[t]=e,p("ElementParse",e),h.items[t]},addGroup:function(e,n){function t(t){t.mfpEl=this,h._openClick(t,e,n)}var i="click.magnificPopup";(n=n||{}).mainEl=e,n.items?(n.isObj=!0,e.off(i).on(i,t)):(n.isObj=!1,n.delegate?e.off(i).on(i,n.delegate,t):(n.items=e).off(i).on(i,t))},_openClick:function(t,e,n){if((void 0!==n.midClick?n:d.magnificPopup.defaults).midClick||2!==t.which&&!t.ctrlKey&&!t.metaKey){var i=(void 0!==n.disableOn?n:d.magnificPopup.defaults).disableOn;if(i)if(d.isFunction(i)){if(!i.call(h))return!0}else if(T.width()<i)return!0;t.type&&(t.preventDefault(),h.isOpen)&&t.stopPropagation(),n.el=d(t.mfpEl),n.delegate&&(n.items=e.find(n.delegate)),h.open(n)}},updateStatus:function(t,e){var n;h.preloader&&(i!==t&&h.container.removeClass("mfp-s-"+i),n={status:t,text:e=e||"loading"!==t?e:h.st.tLoading},p("UpdateStatus",n),t=n.status,h.preloader.html(e=n.text),h.preloader.find("a").on("click",function(t){t.stopImmediatePropagation()}),h.container.addClass("mfp-s-"+t),i=t)},_checkIfClose:function(t){if(!d(t).hasClass(A)){var e=h.st.closeOnContentClick,n=h.st.closeOnBgClick;if(e&&n)return!0;if(!h.content||d(t).hasClass("mfp-close")||h.preloader&&t===h.preloader[0])return!0;if(t===h.content[0]||d.contains(h.content[0],t)){if(e)return!0}else if(n&&d.contains(document,t))return!0;return!1}},_addClassToMFP:function(t){h.bgOverlay.addClass(t),h.wrap.addClass(t)},_removeClassFromMFP:function(t){this.bgOverlay.removeClass(t),h.wrap.removeClass(t)},_hasScrollBar:function(t){return(h.isIE7?m.height():document.body.scrollHeight)>(t||T.height())},_setFocus:function(){(h.st.focus?h.content.find(h.st.focus).eq(0):h.wrap).focus()},_onFocusIn:function(t){if(t.target!==h.wrap[0]&&!d.contains(h.wrap[0],t.target))return h._setFocus(),!1},_parseMarkup:function(a,t,e){var r;e.data&&(t=d.extend(e.data,t)),p(x,[a,t,e]),d.each(t,function(t,e){if(void 0===e||!1===e)return!0;var n,i;1<(r=t.split("_")).length?0<(n=a.find(".mfp-"+r[0])).length&&("replaceWith"===(i=r[1])?n[0]!==e[0]&&n.replaceWith(e):"img"===i?n.is("img")?n.attr("src",e):n.replaceWith('<img src="'+e+'" class="'+n.attr("class")+'" />'):n.attr(r[1],e)):a.find(".mfp-"+t).html(e)})},_getScrollbarSize:function(){var t;return void 0===h.scrollbarSize&&((t=document.createElement("div")).id="mfp-sbm",t.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(t),h.scrollbarSize=t.offsetWidth-t.clientWidth,document.body.removeChild(t)),h.scrollbarSize}},modules:[],open:function(t,e){return r(),(t=t?d.extend(!0,{},t):{}).isObj=!0,t.index=e||0,this.instance.open(t)},close:function(){return d.magnificPopup.instance&&d.magnificPopup.instance.close()},registerModule:function(t,e){e.options&&(d.magnificPopup.defaults[t]=e.options),d.extend(this.proto,e.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},d.fn.magnificPopup=function(t){r();var e,n,i,a=d(this);return"string"==typeof t?"open"===t?(e=C?a.data("magnificPopup"):a[0].magnificPopup,n=parseInt(arguments[1],10)||0,i=e.items?e.items[n]:(i=a,(i=e.delegate?i.find(e.delegate):i).eq(n)),h._openClick({mfpEl:i},a,e)):h.isOpen&&h[t].apply(h,Array.prototype.slice.call(arguments,1)):(t=d.extend(!0,{},t),C?a.data("magnificPopup",t):a[0].magnificPopup=t,h.addGroup(a,t)),a},"inline"),E=(d.magnificPopup.registerModule(I,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){h.types.push(I),c(w+"."+I,function(){o()})},getInline:function(t,e){var n,i,a;return o(),t.src?(n=h.st.inline,(i=d(t.src)).length?((a=i[0].parentNode)&&a.tagName&&(g||(l=n.hiddenClass,g=u(l),l="mfp-"+l),b=i.after(g).detach().removeClass(l)),h.updateStatus("ready")):(h.updateStatus("error",n.tNotFound),i=d("<div>")),t.inlineElement=i):(h.updateStatus("ready"),h._parseMarkup(e,{},t),e)}}}),"ajax");d.magnificPopup.registerModule(E,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){h.types.push(E),y=h.st.ajax.cursor,c(w+"."+E,e),c("BeforeChange.ajax",e)},getAjax:function(i){y&&n.addClass(y),h.updateStatus("loading");var t=d.extend({url:i.src,success:function(t,e,n){t={data:t,xhr:n};p("ParseAjax",t),h.appendContent(d(t.data),E),i.finished=!0,a(),h._setFocus(),setTimeout(function(){h.wrap.addClass(S)},16),h.updateStatus("ready"),p("AjaxContentAdded")},error:function(){a(),i.finished=i.loadError=!0,h.updateStatus("error",h.st.ajax.tError.replace("%url%",i.src))}},h.st.ajax.settings);return h.req=d.ajax(t),""}}});var k;d.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var t=h.st.image,e=".image";h.types.push("image"),c("Open"+e,function(){"image"===h.currItem.type&&t.cursor&&n.addClass(t.cursor)}),c(w+e,function(){t.cursor&&n.removeClass(t.cursor),T.off("resize.mfp")}),c("Resize"+e,h.resizeImage),h.isLowIE&&c("AfterChange",h.resizeImage)},resizeImage:function(){var t,e=h.currItem;e&&e.img&&h.st.image.verticalFit&&(t=0,h.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",h.wH-t))},_onImageHasSize:function(t){t.img&&(t.hasSize=!0,k&&clearInterval(k),t.isCheckingImgSize=!1,p("ImageHasSize",t),t.imgHidden)&&(h.content&&h.content.removeClass("mfp-loading"),t.imgHidden=!1)},findImageSize:function(e){function n(t){k&&clearInterval(k),k=setInterval(function(){0<a.naturalWidth?h._onImageHasSize(e):(200<i&&clearInterval(k),3===++i?n(10):40===i?n(50):100===i&&n(500))},t)}var i=0,a=e.img[0];n(1)},getImage:function(t,e){function n(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===h.currItem&&(h._onImageHasSize(t),h.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,p("ImageLoadComplete")):++r<200?setTimeout(n,100):i())}function i(){t&&(t.img.off(".mfploader"),t===h.currItem&&(h._onImageHasSize(t),h.updateStatus("error",o.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)}var a,r=0,o=h.st.image,s=e.find(".mfp-img");return s.length&&((a=document.createElement("img")).className="mfp-img",t.img=d(a).on("load.mfploader",n).on("error.mfploader",i),a.src=t.src,s.is("img")&&(t.img=t.img.clone()),0<t.img[0].naturalWidth)&&(t.hasSize=!0),h._parseMarkup(e,{title:function(t){if(t.data&&void 0!==t.data.title)return t.data.title;var e=h.st.image.titleSrc;if(e){if(d.isFunction(e))return e.call(h,t);if(t.el)return t.el.attr(e)||""}return""}(t),img_replaceWith:t.img},t),h.resizeImage(),t.hasSize?(k&&clearInterval(k),t.loadError?(e.addClass("mfp-loading"),h.updateStatus("error",o.tError.replace("%url%",t.src))):(e.removeClass("mfp-loading"),h.updateStatus("ready"))):(h.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,e.addClass("mfp-loading"),h.findImageSize(t))),e}}});function N(t){var e;h.currTemplate[O]&&(e=h.currTemplate[O].find("iframe")).length&&(t||(e[0].src="//about:blank"),h.isIE8)&&e.css("display",t?"block":"none")}function $(t){var e=h.items.length;return e-1<t?t-e:t<0?e+t:t}function F(t,e,n){return t.replace(/%curr%/gi,e+1).replace(/%total%/gi,n)}d.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(t){return t.is("img")?t:t.find("img")}},proto:{initZoom:function(){var t,e,n,i,a,r,o=h.st.zoom;o.enabled&&h.supportsTransition&&(e=o.duration,n=function(t){var t=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),e="all "+o.duration/1e3+"s "+o.easing,n={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},i="transition";return n["-webkit-"+i]=n["-moz-"+i]=n["-o-"+i]=n[i]=e,t.css(n),t},i=function(){h.content.css("visibility","visible")},c("BuildControls.zoom",function(){h._allowZoom()&&(clearTimeout(a),h.content.css("visibility","hidden"),(t=h._getItemToZoom())?((r=n(t)).css(h._getOffset()),h.wrap.append(r),a=setTimeout(function(){r.css(h._getOffset(!0)),a=setTimeout(function(){i(),setTimeout(function(){r.remove(),t=r=null,p("ZoomAnimationEnded")},16)},e)},16)):i())}),c(R+".zoom",function(){if(h._allowZoom()){if(clearTimeout(a),h.st.removalDelay=e,!t){if(!(t=h._getItemToZoom()))return;r=n(t)}r.css(h._getOffset(!0)),h.wrap.append(r),h.content.css("visibility","hidden"),setTimeout(function(){r.css(h._getOffset())},16)}}),c(w+".zoom",function(){h._allowZoom()&&(i(),r&&r.remove(),t=null)}))},_allowZoom:function(){return"image"===h.currItem.type},_getItemToZoom:function(){return!!h.currItem.hasSize&&h.currItem.img},_getOffset:function(t){var t=t?h.currItem.img:h.st.zoom.opener(h.currItem.el||h.currItem),e=t.offset(),n=parseInt(t.css("padding-top"),10),i=parseInt(t.css("padding-bottom"),10),t=(e.top-=d(window).scrollTop()-n,{width:t.width(),height:(C?t.innerHeight():t[0].offsetHeight)-i-n});return(D=void 0===D?void 0!==document.createElement("p").style.MozTransform:D)?t["-moz-transform"]=t.transform="translate("+e.left+"px,"+e.top+"px)":(t.left=e.left,t.top=e.top),t}}});var D,M,L,O="iframe",V=(d.magnificPopup.registerModule(O,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){h.types.push(O),c("BeforeChange",function(t,e,n){e!==n&&(e===O?N():n===O&&N(!0))}),c(w+"."+O,function(){N()})},getIframe:function(t,e){var n=t.src,i=h.st.iframe,a=(d.each(i.patterns,function(){if(-1<n.indexOf(this.index))return this.id&&(n="string"==typeof this.id?n.substr(n.lastIndexOf(this.id
1)+this.id.length,n.length):this.id.call(this,n)),n=this.src.replace("%id%",n),!1}),{});return i.srcAction&&(a[i.srcAction]=n),h._parseMarkup(e,a,t),h.updateStatus("ready"),e}}}),d.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var r=h.st.gallery,t=".mfp-gallery",i=Boolean(d.fn.mfpFastClick);if(h.direction=!0,!r||!r.enabled)return!1;v+=" mfp-gallery",c("Open"+t,function(){r.navigateByImgClick&&h.wrap.on("click"+t,".mfp-img",function(){if(1<h.items.length)return h.next(),!1}),m.on("keydown"+t,function(t){37===t.keyCode?h.prev():39===t.keyCode&&h.next()})}),c("UpdateStatus"+t,function(t,e){e.text&&(e.text=F(e.text,h.currItem.index,h.items.length))}),c(x+t,function(t,e,n,i){var a=h.items.length;n.counter=1<a?F(r.tCounter,i.index,a):""}),c("BuildControls"+t,function(){var t,e,n;1<h.items.length&&r.arrows&&!h.arrowLeft&&(e=r.arrowMarkup,t=h.arrowLeft=d(e.replace(/%title%/gi,r.tPrev).replace(/%dir%/gi,"left")).addClass(A),e=h.arrowRight=d(e.replace(/%title%/gi,r.tNext).replace(/%dir%/gi,"right")).addClass(A),t[n=i?"mfpFastClick":"click"](function(){h.prev()}),e[n](function(){h.next()}),h.isIE7&&(u("b",t[0],!1,!0),u("a",t[0],!1,!0),u("b",e[0],!1,!0),u("a",e[0],!1,!0)),h.container.append(t.add(e)))}),c("Change"+t,function(){h._preloadTimeout&&clearTimeout(h._preloadTimeout),h._preloadTimeout=setTimeout(function(){h.preloadNearbyImages(),h._preloadTimeout=null},16)}),c(w+t,function(){m.off(t),h.wrap.off("click"+t),h.arrowLeft&&i&&h.arrowLeft.add(h.arrowRight).destroyMfpFastClick(),h.arrowRight=h.arrowLeft=null})},next:function(){h.direction=!0,h.index=$(h.index+1),h.updateItemHTML()},prev:function(){h.direction=!1,h.index=$(h.index-1),h.updateItemHTML()},goTo:function(t){h.direction=t>=h.index,h.index=t,h.updateItemHTML()},preloadNearbyImages:function(){for(var t=h.st.gallery.preload,e=Math.min(t[0],h.items.length),n=Math.min(t[1],h.items.length),i=1;i<=(h.direction?n:e);i++)h._preloadItem(h.index+i);for(i=1;i<=(h.direction?e:n);i++)h._preloadItem(h.index-i)},_preloadItem:function(t){var e;t=$(t),h.items[t].preloaded||((e=h.items[t]).parsed||(e=h.parseEl(t)),p("LazyLoad",e),"image"===e.type&&(e.img=d('<img class="mfp-img" />').on("load.mfploader",function(){e.hasSize=!0}).on("error.mfploader",function(){e.hasSize=!0,e.loadError=!0,p("LazyLoadError",e)}).attr("src",e.src)),e.preloaded=!0)}}}),"retina");function j(){T.off("touchmove"+L+" touchend"+L)}d.magnificPopup.registerModule(V,{options:{replaceSrc:function(t){return t.src.replace(/\.\w+$/,function(t){return"@2x"+t})},ratio:1},proto:{initRetina:function(){var n,i;1<window.devicePixelRatio&&(n=h.st.retina,i=n.ratio,1<(i=isNaN(i)?i():i))&&(c("ImageHasSize."+V,function(t,e){e.img.css({"max-width":e.img[0].naturalWidth/i,width:"100%"})}),c("ElementParse."+V,function(t,e){e.src=n.replaceSrc(e,i)}))}}}),M="ontouchstart"in window,L=".mfpFastClick",d.fn.mfpFastClick=function(l){return d(this).each(function(){var e,n,i,a,r,o,s,t=d(this);M&&t.on("touchstart"+L,function(t){r=!1,s=1,o=(t.originalEvent||t).touches[0],i=o.clientX,a=o.clientY,T.on("touchmove"+L,function(t){o=(t.originalEvent||t).touches,s=o.length,o=o[0],(10<Math.abs(o.clientX-i)||10<Math.abs(o.clientY-a))&&(r=!0,j())}).on("touchend"+L,function(t){j(),r||1<s||(e=!0,t.preventDefault(),clearTimeout(n),n=setTimeout(function(){e=!1},1e3),l())})}),t.on("click"+L,function(){e||l()})})},d.fn.destroyMfpFastClick=function(){d(this).off("touchstart"+L+" click"+L),M&&T.off("touchmove"+L+" touchend"+L)},r()}(window.jQuery||window.Zepto),!function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():t.viewportUnitsBuggyfill=e()}(this,function(){function r(){a&&(t(),setTimeout(function(){i.textContent=n()},1))}function t(){return u=[],h.call(document.styleSheets,function(t){"patched-viewport"===t.ownerNode.id||!t.cssRules||t.media&&t.media.mediaText&&window.matchMedia&&!window.matchMedia(t.media.mediaText).matches||h.call(t.cssRules,e)}),u}function e(n){var t;
1if(7!==n.type)return n.style?void h.call(n.style,function(t){var e=n.style.getPropertyValue(t);f.lastIndex=0,f.test(e)&&(u.push([n,t,e]),d.hacks)&&d.hacks.findDeclarations(u,n,t,e)}):n.cssRules?void h.call(n.cssRules,function(t){e(t)}):void 0;t=n.cssText,f.lastIndex=0,f.test(t)&&(u.push([n,null,t]),d.hacks)&&d.hacks.findDeclarations(u,n,null,t)}function n(){var t,e;t=window.innerHeight,c={vh:t,vw:e=window.innerWidth,vmax:Math.max(e,t),vmin:Math.min(e,t)};var i,a,r=[],o=[];return u.forEach(function(t){var t=function(t,e,n){var n=n.replace(f,s),i=[];d.hacks&&(n=d.hacks.overwriteDeclaration(t,e,n)),e&&(i.push(t.selectorText),n=e+": "+n+";");for(var a=t.parentRule;a;)i.unshift("@media "+a.media.mediaText),a=a.parentRule;return{selector:i,content:n}}.apply(null,t),e=t.selector.length?t.selector.join(" {\n")+" {\n":"",n=new Array(t.selector.length+1).join("\n}");return e&&e===i?(e&&!i&&(i=e,a=n),void o.push(t.content)):(o.length&&(r.push(i+o.join("\n")+a),o.length=0),void(e?(i=e,a=n,o.push(t.content)):(r.push(t.content),a=i=null)))}),o.length&&r.push(i+o.join("\n")+a),r.join("\n\n")}function s(t,e,n){n=c[n];return parseFloat(e)/100*n+"px"}function l(t){return t.slice(0,t.indexOf("/",t.indexOf("://")+3))}var d,c,u,i,a=!1,p=/(iPhone|iPod|iPad).+AppleWebKit/i.test(window.navigator.userAgent),f=/([+-]?[0-9.]+)(vh|vw|vmin|vmax)/g,h=[].forEach;return{version:"0.4.1",findProperties:t,getCss:n,init:function(t){function o(){--s||e()}var e,s;!a&&((d=(t=!0===t?{force:!0}:t)||{}).isMobileSafari=p,d.force||p||d.hacks&&d.hacks.required(d))&&(d.hacks&&d.hacks.initialize(d),a=!0,(i=document.createElement("style")).id="patched-viewport",document.head.appendChild(i),e=function(){function t(){var t=this,e=arguments;clearTimeout(a),a=setTimeout(function(){n.apply(t,e)},i)}var n,i,a;n=r,i=d.refreshDebounceWait||100;window.addEventListener("orientationchange",t,!0),window.addEventListener("pageshow",t,!0),(d.force||function(){try{return window.self!==window.top}catch(t){return 1}}())&&(window.addEventListener("resize",t,!0),d._listeningToResize=!0),d.hacks&&d.hacks.initializeEvents(d,r,t),r()},s=0,h.call(document.styleSheets,function(t){if(t.href&&l(t.href)!==l(location.href)){s++,r=o,t=(a=t.ownerNode).href;var e=function(){var t=document.createElement("style");t.media=a.media,t.setAttribute("data-href",a.href),t.textContent=this.responseText,a.parentNode.replaceChild(t,a),r()},n=r,i=new XMLHttpRequest;if("withCredentials"in i)i.open("GET",t,!0);else{if("undefined"==typeof XDomainRequest)throw new Error("cross-domain XHR not supported");(i=new XDomainRequest).open("GET",t)}i.onload=e,i.onerror=n,i.send()}var a,r}),s||e())},refresh:r}}),$(document).ready(function(){ckeAddTableStyle(),ckeAddAppRef(),ckeAddMapRef(),ckeRemoveClass(),ckeAddWidgetSlide(),ckeAddWidgetCarousel(),ckeAddCarouselControl()}),$(window).load(function(){$("#carousel").flexslider({animation:"slide",controlNav:!1,animationLoop:!0,slideshow:!1,itemWidth:80,itemMargin:15,asNavFor:"#slider",start:function(t){detectMobile()&&$("#carousel").hide()}}),$("#slider").flexslider({animation:"slide",controlNav:!1,animationLoop:!0,slideshow:!0,sync:"#carousel"}),$("#carouselSlider").flexslider({animation:"slide",animationLoop:!0,itemWidth:80,itemMargin:15,minItems:2,maxItems:4,move:2})}),$(document).ready(function(){page=location.pathname.substring(1),faq=getURLParameter("t"),addHeader(page),addFooter(),addPopupListener(),addMapRef(),addAppRef(page),addMap(),init_showhide(faq),$("body").flowtype({minimum:700,maximum:1200,fontRatio:60}),$(".head-one").flowtype({minimum:700,maximum:2e3,fontRatio:50}),Navbar=$("nav.navbar"),NavbarMob=$(".hdr-space"),$(window).scroll(function(){30<=$(window).scrollTop()?(Navbar.addClass("navbar-reverse").addClass("fade-down"),NavbarMob.addClass("hdr-space-reverse")):(Navbar.removeClass("navbar-reverse").removeClass("fade-down"),NavbarMob.removeClass("hdr-space-reverse"))})}),document.addEventListener("AppleIDSignInOnSuccess",t=>{var e=t.detail.authorization.state;"origin:web"===e?(e=t.detail.authorization.id_token,{sub:t,email:e}=parseJwt(e),social_login(t,e,3)):console.error(new Error("state property is not the one expected"))}),document.createElement("section"),!function(t,e,n,i){t.GoogleAnalyticsObject="ga",t.ga=t.ga||function(){(t.ga.q=t.ga.q||[]).push(arguments)},t.ga.l=+new Date,n=e.createElement("script"),i=e.getElementsByTagName("script")[0],n.async=1,n.src="//www.google-analytics.com/analytics.js",i.parentNode.insertBefore(n,i)}(window,document),ga("create","UA-50260830-1","patenteonline.it"),ga("send","pageview");var main_site="http://www.patente.it/",map_url="https://mobilemgr.patente.it/sidaMaps.html";

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.