7a76ac4226
* Update now-ui frontend lib to latest instead of the beta * Update to bootstrap 4 lib * Fix flights and profile pages
9 lines
246 KiB
JavaScript
9 lines
246 KiB
JavaScript
(function(){function e(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function t(e,t,n,r){for(var i=-1,o=null==e?0:e.length;++i<o;){var s=e[i];t(r,s,n(s),e)}return r}function n(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function r(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function i(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function o(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}function s(e,t){return!!(null==e?0:e.length)&&y(e,t,0)>-1}function a(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}function u(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}function l(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}function c(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}function f(e,t,n,r){var i=null==e?0:e.length;for(r&&i&&(n=e[--i]);i--;)n=t(n,e[i],i,e);return n}function p(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function h(e){return e.split("")}function d(e){return e.match(Dt)||[]}function g(e,t,n){var r;return n(e,function(e,n,i){if(t(e,n,i))return r=n,!1}),r}function v(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return-1}function y(e,t,n){return t===t?U(e,t,n):v(e,b,n)}function m(e,t,n,r){for(var i=n-1,o=e.length;++i<o;)if(r(e[i],t))return i;return-1}function b(e){return e!==e}function _(e,t){var n=null==e?0:e.length;return n?A(e,t)/n:Ee}function w(e){return function(t){return null==t?Z:t[e]}}function x(e){return function(t){return null==e?Z:e[t]}}function C(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}function k(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}function A(e,t){for(var n,r=-1,i=e.length;++r<i;){var o=t(e[r]);o!==Z&&(n=n===Z?o:n+o)}return n}function S(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function T(e,t){return u(t,function(t){return[t,e[t]]})}function E(e){return function(t){return e(t)}}function $(e,t){return u(t,function(t){return e[t]})}function j(e,t){return e.has(t)}function O(e,t){for(var n=-1,r=e.length;++n<r&&y(t,e[n],0)>-1;);return n}function D(e,t){for(var n=e.length;n--&&y(t,e[n],0)>-1;);return n}function L(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function N(e){return"\\"+_n[e]}function q(e,t){return null==e?Z:e[t]}function R(e){return fn.test(e)}function I(e){return pn.test(e)}function P(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function M(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function H(e,t){return function(n){return e(t(n))}}function B(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n];s!==t&&s!==re||(e[n]=re,o[i++]=n)}return o}function z(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function W(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=[e,e]}),n}function U(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function F(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}function G(e){return R(e)?Y(e):In(e)}function K(e){return R(e)?V(e):h(e)}function Y(e){for(var t=ln.lastIndex=0;ln.test(e);)++t;return t}function V(e){return e.match(ln)||[]}function X(e){return e.match(cn)||[]}var Z,J=200,Q="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",ee="Expected a function",te="__lodash_hash_undefined__",ne=500,re="__lodash_placeholder__",ie=1,oe=2,se=4,ae=1,ue=2,le=1,ce=2,fe=4,pe=8,he=16,de=32,ge=64,ve=128,ye=256,me=512,be=30,_e="...",we=800,xe=16,Ce=1,ke=2,Ae=1/0,Se=9007199254740991,Te=1.7976931348623157e308,Ee=NaN,$e=4294967295,je=$e-1,Oe=$e>>>1,De=[["ary",ve],["bind",le],["bindKey",ce],["curry",pe],["curryRight",he],["flip",me],["partial",de],["partialRight",ge],["rearg",ye]],Le="[object Arguments]",Ne="[object Array]",qe="[object AsyncFunction]",Re="[object Boolean]",Ie="[object Date]",Pe="[object DOMException]",Me="[object Error]",He="[object Function]",Be="[object GeneratorFunction]",ze="[object Map]",We="[object Number]",Ue="[object Null]",Fe="[object Object]",Ge="[object Proxy]",Ke="[object RegExp]",Ye="[object Set]",Ve="[object String]",Xe="[object Symbol]",Ze="[object Undefined]",Je="[object WeakMap]",Qe="[object WeakSet]",et="[object ArrayBuffer]",tt="[object DataView]",nt="[object Float32Array]",rt="[object Float64Array]",it="[object Int8Array]",ot="[object Int16Array]",st="[object Int32Array]",at="[object Uint8Array]",ut="[object Uint8ClampedArray]",lt="[object Uint16Array]",ct="[object Uint32Array]",ft=/\b__p \+= '';/g,pt=/\b(__p \+=) '' \+/g,ht=/(__e\(.*?\)|\b__t\)) \+\n'';/g,dt=/&(?:amp|lt|gt|quot|#39);/g,gt=/[&<>"']/g,vt=RegExp(dt.source),yt=RegExp(gt.source),mt=/<%-([\s\S]+?)%>/g,bt=/<%([\s\S]+?)%>/g,_t=/<%=([\s\S]+?)%>/g,wt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xt=/^\w*$/,Ct=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,kt=/[\\^$.*+?()[\]{}|]/g,At=RegExp(kt.source),St=/^\s+|\s+$/g,Tt=/^\s+/,Et=/\s+$/,$t=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,jt=/\{\n\/\* \[wrapped with (.+)\] \*/,Ot=/,? & /,Dt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Lt=/\\(\\)?/g,Nt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,qt=/\w*$/,Rt=/^[-+]0x[0-9a-f]+$/i,It=/^0b[01]+$/i,Pt=/^\[object .+?Constructor\]$/,Mt=/^0o[0-7]+$/i,Ht=/^(?:0|[1-9]\d*)$/,Bt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,zt=/($^)/,Wt=/['\n\r\u2028\u2029\\]/g,Ut="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ft="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Gt="["+Ft+"]",Kt="["+Ut+"]",Yt="[a-z\\xdf-\\xf6\\xf8-\\xff]",Vt="[^\\ud800-\\udfff"+Ft+"\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Xt="\\ud83c[\\udffb-\\udfff]",Zt="(?:\\ud83c[\\udde6-\\uddff]){2}",Jt="[\\ud800-\\udbff][\\udc00-\\udfff]",Qt="[A-Z\\xc0-\\xd6\\xd8-\\xde]",en="(?:"+Yt+"|"+Vt+")",tn="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",nn="(?:\\u200d(?:"+["[^\\ud800-\\udfff]",Zt,Jt].join("|")+")[\\ufe0e\\ufe0f]?"+tn+")*",rn="[\\ufe0e\\ufe0f]?"+tn+nn,on="(?:"+["[\\u2700-\\u27bf]",Zt,Jt].join("|")+")"+rn,sn="(?:"+["[^\\ud800-\\udfff]"+Kt+"?",Kt,Zt,Jt,"[\\ud800-\\udfff]"].join("|")+")",an=RegExp("['’]","g"),un=RegExp(Kt,"g"),ln=RegExp(Xt+"(?="+Xt+")|"+sn+rn,"g"),cn=RegExp([Qt+"?"+Yt+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Gt,Qt,"$"].join("|")+")","(?:[A-Z\\xc0-\\xd6\\xd8-\\xde]|[^\\ud800-\\udfff\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000\\d+\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde])+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Gt,Qt+en,"$"].join("|")+")",Qt+"?"+en+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Qt+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",on].join("|"),"g"),fn=RegExp("[\\u200d\\ud800-\\udfff"+Ut+"\\ufe0e\\ufe0f]"),pn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,hn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],dn=-1,gn={};gn[nt]=gn[rt]=gn[it]=gn[ot]=gn[st]=gn[at]=gn[ut]=gn[lt]=gn[ct]=!0,gn[Le]=gn[Ne]=gn[et]=gn[Re]=gn[tt]=gn[Ie]=gn[Me]=gn[He]=gn[ze]=gn[We]=gn[Fe]=gn[Ke]=gn[Ye]=gn[Ve]=gn[Je]=!1;var vn={};vn[Le]=vn[Ne]=vn[et]=vn[tt]=vn[Re]=vn[Ie]=vn[nt]=vn[rt]=vn[it]=vn[ot]=vn[st]=vn[ze]=vn[We]=vn[Fe]=vn[Ke]=vn[Ye]=vn[Ve]=vn[Xe]=vn[at]=vn[ut]=vn[lt]=vn[ct]=!0,vn[Me]=vn[He]=vn[Je]=!1;var yn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n",ſ:"s"},mn={"&":"&","<":"<",">":">",'"':""","'":"'"},bn={"&":"&","<":"<",">":">",""":'"',"'":"'"},_n={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},wn=parseFloat,xn=parseInt,Cn="object"==typeof global&&global&&global.Object===Object&&global,kn="object"==typeof self&&self&&self.Object===Object&&self,An=Cn||kn||Function("return this")(),Sn="object"==typeof exports&&exports&&!exports.nodeType&&exports,Tn=Sn&&"object"==typeof module&&module&&!module.nodeType&&module,En=Tn&&Tn.exports===Sn,$n=En&&Cn.process,jn=function(){try{var e=Tn&&Tn.require&&Tn.require("util").types;return e||$n&&$n.binding&&$n.binding("util")}catch(e){}}(),On=jn&&jn.isArrayBuffer,Dn=jn&&jn.isDate,Ln=jn&&jn.isMap,Nn=jn&&jn.isRegExp,qn=jn&&jn.isSet,Rn=jn&&jn.isTypedArray,In=w("length"),Pn=x(yn),Mn=x(mn),Hn=x(bn),Bn=function h(x){function U(e){if(tu(e)&&!hp(e)&&!(e instanceof Dt)){if(e instanceof V)return e;if(pc.call(e,"__wrapped__"))return Jo(e)}return new V(e)}function Y(){}function V(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=Z}function Dt(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=$e,this.__views__=[]}function Ut(){var e=new Dt(this.__wrapped__);return e.__actions__=Di(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Di(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Di(this.__views__),e}function Ft(){if(this.__filtered__){var e=new Dt(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Gt(){var e=this.__wrapped__.value(),t=this.__dir__,n=hp(e),r=t<0,i=n?e.length:0,o=xo(0,i,this.__views__),s=o.start,a=o.end,u=a-s,l=r?a:s-1,c=this.__iteratees__,f=c.length,p=0,h=zc(u,this.__takeCount__);if(!n||!r&&i==u&&h==u)return gi(e,this.__actions__);var d=[];e:for(;u--&&p<h;){l+=t;for(var g=-1,v=e[l];++g<f;){var y=c[g],m=y.iteratee,b=y.type,_=m(v);if(b==ke)v=_;else if(!_){if(b==Ce)continue e;break e}}d[p++]=v}return d}function Kt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Yt(){this.__data__=Jc?Jc(null):{},this.size=0}function Vt(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function Xt(e){var t=this.__data__;if(Jc){var n=t[e];return n===te?Z:n}return pc.call(t,e)?t[e]:Z}function Zt(e){var t=this.__data__;return Jc?t[e]!==Z:pc.call(t,e)}function Jt(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Jc&&t===Z?te:t,this}function Qt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function en(){this.__data__=[],this.size=0}function tn(e){var t=this.__data__,n=Kn(t,e);return!(n<0)&&(n==t.length-1?t.pop():Sc.call(t,n,1),--this.size,!0)}function nn(e){var t=this.__data__,n=Kn(t,e);return n<0?Z:t[n][1]}function rn(e){return Kn(this.__data__,e)>-1}function on(e,t){var n=this.__data__,r=Kn(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function sn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function ln(){this.size=0,this.__data__={hash:new Kt,map:new(Yc||Qt),string:new Kt}}function cn(e){var t=mo(this,e).delete(e);return this.size-=t?1:0,t}function fn(e){return mo(this,e).get(e)}function pn(e){return mo(this,e).has(e)}function yn(e,t){var n=mo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function mn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new sn;++t<n;)this.add(e[t])}function bn(e){return this.__data__.set(e,te),this}function _n(e){return this.__data__.has(e)}function Cn(e){var t=this.__data__=new Qt(e);this.size=t.size}function kn(){this.__data__=new Qt,this.size=0}function Sn(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Tn(e){return this.__data__.get(e)}function $n(e){return this.__data__.has(e)}function jn(e,t){var n=this.__data__;if(n instanceof Qt){var r=n.__data__;if(!Yc||r.length<J-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new sn(r)}return n.set(e,t),this.size=n.size,this}function In(e,t){var n=hp(e),r=!n&&pp(e),i=!n&&!r&&gp(e),o=!n&&!r&&!i&&_p(e),s=n||r||i||o,a=s?S(e.length,oc):[],u=a.length;for(var l in e)!t&&!pc.call(e,l)||s&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||jo(l,u))||a.push(l);return a}function zn(e){var t=e.length;return t?e[Xr(0,t-1)]:Z}function Wn(e,t){return Yo(Di(e),Qn(t,0,e.length))}function Un(e){return Yo(Di(e))}function Fn(e,t,n){(n===Z||Ba(e[t],n))&&(n!==Z||t in e)||Zn(e,t,n)}function Gn(e,t,n){var r=e[t];pc.call(e,t)&&Ba(r,n)&&(n!==Z||t in e)||Zn(e,t,n)}function Kn(e,t){for(var n=e.length;n--;)if(Ba(e[n][0],t))return n;return-1}function Yn(e,t,n,r){return ff(e,function(e,i,o){t(r,e,n(e),o)}),r}function Vn(e,t){return e&&Li(t,Ru(t),e)}function Xn(e,t){return e&&Li(t,Iu(t),e)}function Zn(e,t,n){"__proto__"==t&&jc?jc(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Jn(e,t){for(var n=-1,r=t.length,i=Jl(r),o=null==e;++n<r;)i[n]=o?Z:Lu(e,t[n]);return i}function Qn(e,t,n){return e===e&&(n!==Z&&(e=e<=n?e:n),t!==Z&&(e=e>=t?e:t)),e}function er(e,t,r,i,o,s){var a,u=t&ie,l=t&oe,c=t&se;if(r&&(a=o?r(e,i,o,s):r(e)),a!==Z)return a;if(!eu(e))return e;var f=hp(e);if(f){if(a=Ao(e),!u)return Di(e,a)}else{var p=Cf(e),h=p==He||p==Be;if(gp(e))return xi(e,u);if(p==Fe||p==Le||h&&!o){if(a=l||h?{}:So(e),!u)return l?qi(e,Xn(a,e)):Ni(e,Vn(a,e))}else{if(!vn[p])return o?e:{};a=To(e,p,u)}}s||(s=new Cn);var d=s.get(e);if(d)return d;s.set(e,a),bp(e)?e.forEach(function(n){a.add(er(n,t,r,n,e,s))}):yp(e)&&e.forEach(function(n,i){a.set(i,er(n,t,r,i,e,s))});var g=c?l?ho:po:l?Iu:Ru,v=f?Z:g(e);return n(v||e,function(n,i){v&&(i=n,n=e[i]),Gn(a,i,er(n,t,r,i,e,s))}),a}function tr(e){var t=Ru(e);return function(n){return nr(n,e,t)}}function nr(e,t,n){var r=n.length;if(null==e)return!r;for(e=rc(e);r--;){var i=n[r],o=t[i],s=e[i];if(s===Z&&!(i in e)||!o(s))return!1}return!0}function rr(e,t,n){if("function"!=typeof e)throw new sc(ee);return Sf(function(){e.apply(Z,n)},t)}function ir(e,t,n,r){var i=-1,o=s,l=!0,c=e.length,f=[],p=t.length;if(!c)return f;n&&(t=u(t,E(n))),r?(o=a,l=!1):t.length>=J&&(o=j,l=!1,t=new mn(t));e:for(;++i<c;){var h=e[i],d=null==n?h:n(h);if(h=r||0!==h?h:0,l&&d===d){for(var g=p;g--;)if(t[g]===d)continue e;f.push(h)}else o(t,d,r)||f.push(h)}return f}function or(e,t){var n=!0;return ff(e,function(e,r,i){return n=!!t(e,r,i)}),n}function sr(e,t,n){for(var r=-1,i=e.length;++r<i;){var o=e[r],s=t(o);if(null!=s&&(a===Z?s===s&&!pu(s):n(s,a)))var a=s,u=o}return u}function ar(e,t,n,r){var i=e.length;for(n=mu(n),n<0&&(n=-n>i?0:i+n),r=r===Z||r>i?i:mu(r),r<0&&(r+=i),r=n>r?0:bu(r);n<r;)e[n++]=t;return e}function ur(e,t){var n=[];return ff(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}function lr(e,t,n,r,i){var o=-1,s=e.length;for(n||(n=$o),i||(i=[]);++o<s;){var a=e[o];t>0&&n(a)?t>1?lr(a,t-1,n,r,i):l(i,a):r||(i[i.length]=a)}return i}function cr(e,t){return e&&hf(e,t,Ru)}function fr(e,t){return e&&df(e,t,Ru)}function pr(e,t){return o(t,function(t){return Za(e[t])})}function hr(e,t){t=_i(t,e);for(var n=0,r=t.length;null!=e&&n<r;)e=e[Vo(t[n++])];return n&&n==r?e:Z}function dr(e,t,n){var r=t(e);return hp(e)?r:l(r,n(e))}function gr(e){return null==e?e===Z?Ze:Ue:$c&&$c in rc(e)?wo(e):Bo(e)}function vr(e,t){return e>t}function yr(e,t){return null!=e&&pc.call(e,t)}function mr(e,t){return null!=e&&t in rc(e)}function br(e,t,n){return e>=zc(t,n)&&e<Bc(t,n)}function _r(e,t,n){for(var r=n?a:s,i=e[0].length,o=e.length,l=o,c=Jl(o),f=1/0,p=[];l--;){var h=e[l];l&&t&&(h=u(h,E(t))),f=zc(h.length,f),c[l]=!n&&(t||i>=120&&h.length>=120)?new mn(l&&h):Z}h=e[0];var d=-1,g=c[0];e:for(;++d<i&&p.length<f;){var v=h[d],y=t?t(v):v;if(v=n||0!==v?v:0,!(g?j(g,y):r(p,y,n))){for(l=o;--l;){var m=c[l];if(!(m?j(m,y):r(e[l],y,n)))continue e}g&&g.push(y),p.push(v)}}return p}function wr(e,t,n,r){return cr(e,function(e,i,o){t(r,n(e),i,o)}),r}function xr(t,n,r){n=_i(n,t),t=Wo(t,n);var i=null==t?t:t[Vo(ys(n))];return null==i?Z:e(i,t,r)}function Cr(e){return tu(e)&&gr(e)==Le}function kr(e){return tu(e)&&gr(e)==et}function Ar(e){return tu(e)&&gr(e)==Ie}function Sr(e,t,n,r,i){return e===t||(null==e||null==t||!tu(e)&&!tu(t)?e!==e&&t!==t:Tr(e,t,n,r,Sr,i))}function Tr(e,t,n,r,i,o){var s=hp(e),a=hp(t),u=s?Ne:Cf(e),l=a?Ne:Cf(t);u=u==Le?Fe:u,l=l==Le?Fe:l;var c=u==Fe,f=l==Fe,p=u==l;if(p&&gp(e)){if(!gp(t))return!1;s=!0,c=!1}if(p&&!c)return o||(o=new Cn),s||_p(e)?uo(e,t,n,r,i,o):lo(e,t,u,n,r,i,o);if(!(n&ae)){var h=c&&pc.call(e,"__wrapped__"),d=f&&pc.call(t,"__wrapped__");if(h||d){var g=h?e.value():e,v=d?t.value():t;return o||(o=new Cn),i(g,v,n,r,o)}}return!!p&&(o||(o=new Cn),co(e,t,n,r,i,o))}function Er(e){return tu(e)&&Cf(e)==ze}function $r(e,t,n,r){var i=n.length,o=i,s=!r;if(null==e)return!o;for(e=rc(e);i--;){var a=n[i];if(s&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<o;){a=n[i];var u=a[0],l=e[u],c=a[1];if(s&&a[2]){if(l===Z&&!(u in e))return!1}else{var f=new Cn;if(r)var p=r(l,c,u,e,t,f);if(!(p===Z?Sr(c,l,ae|ue,r,f):p))return!1}}return!0}function jr(e){return!(!eu(e)||qo(e))&&(Za(e)?mc:Pt).test(Xo(e))}function Or(e){return tu(e)&&gr(e)==Ke}function Dr(e){return tu(e)&&Cf(e)==Ye}function Lr(e){return tu(e)&&Qa(e.length)&&!!gn[gr(e)]}function Nr(e){return"function"==typeof e?e:null==e?Sl:"object"==typeof e?hp(e)?Hr(e[0],e[1]):Mr(e):Nl(e)}function qr(e){if(!Ro(e))return Hc(e);var t=[];for(var n in rc(e))pc.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Rr(e){if(!eu(e))return Ho(e);var t=Ro(e),n=[];for(var r in e)("constructor"!=r||!t&&pc.call(e,r))&&n.push(r);return n}function Ir(e,t){return e<t}function Pr(e,t){var n=-1,r=za(e)?Jl(e.length):[];return ff(e,function(e,i,o){r[++n]=t(e,i,o)}),r}function Mr(e){var t=bo(e);return 1==t.length&&t[0][2]?Po(t[0][0],t[0][1]):function(n){return n===e||$r(n,e,t)}}function Hr(e,t){return Do(e)&&Io(t)?Po(Vo(e),t):function(n){var r=Lu(n,e);return r===Z&&r===t?qu(n,e):Sr(t,r,ae|ue)}}function Br(e,t,n,r,i){e!==t&&hf(t,function(o,s){if(i||(i=new Cn),eu(o))zr(e,t,s,n,Br,r,i);else{var a=r?r(Fo(e,s),o,s+"",e,t,i):Z;a===Z&&(a=o),Fn(e,s,a)}},Iu)}function zr(e,t,n,r,i,o,s){var a=Fo(e,n),u=Fo(t,n),l=s.get(u);if(l)return void Fn(e,n,l);var c=o?o(a,u,n+"",e,t,s):Z,f=c===Z;if(f){var p=hp(u),h=!p&&gp(u),d=!p&&!h&&_p(u);c=u,p||h||d?hp(a)?c=a:Wa(a)?c=Di(a):h?(f=!1,c=xi(u,!0)):d?(f=!1,c=Ti(u,!0)):c=[]:lu(u)||pp(u)?(c=a,pp(a)?c=wu(a):eu(a)&&!Za(a)||(c=So(u))):f=!1}f&&(s.set(u,c),i(c,u,r,o,s),s.delete(u)),Fn(e,n,c)}function Wr(e,t){var n=e.length;if(n)return t+=t<0?n:0,jo(t,n)?e[t]:Z}function Ur(e,t,n){var r=-1;return t=u(t.length?t:[Sl],E(yo())),k(Pr(e,function(e,n,i){return{criteria:u(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return $i(e,t,n)})}function Fr(e,t){return Gr(e,t,function(t,n){return qu(e,n)})}function Gr(e,t,n){for(var r=-1,i=t.length,o={};++r<i;){var s=t[r],a=hr(e,s);n(a,s)&&ni(o,_i(s,e),a)}return o}function Kr(e){return function(t){return hr(t,e)}}function Yr(e,t,n,r){var i=r?m:y,o=-1,s=t.length,a=e;for(e===t&&(t=Di(t)),n&&(a=u(e,E(n)));++o<s;)for(var l=0,c=t[o],f=n?n(c):c;(l=i(a,f,l,r))>-1;)a!==e&&Sc.call(a,l,1),Sc.call(e,l,1);return e}function Vr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var i=t[n];if(n==r||i!==o){var o=i;jo(i)?Sc.call(e,i,1):pi(e,i)}}return e}function Xr(e,t){return e+qc(Fc()*(t-e+1))}function Zr(e,t,n,r){for(var i=-1,o=Bc(Nc((t-e)/(n||1)),0),s=Jl(o);o--;)s[r?o:++i]=e,e+=n;return s}function Jr(e,t){var n="";if(!e||t<1||t>Se)return n;do{t%2&&(n+=e),(t=qc(t/2))&&(e+=e)}while(t);return n}function Qr(e,t){return Tf(zo(e,t,Sl),e+"")}function ei(e){return zn(Vu(e))}function ti(e,t){var n=Vu(e);return Yo(n,Qn(t,0,n.length))}function ni(e,t,n,r){if(!eu(e))return e;t=_i(t,e);for(var i=-1,o=t.length,s=o-1,a=e;null!=a&&++i<o;){var u=Vo(t[i]),l=n;if(i!=s){var c=a[u];l=r?r(c,u,a):Z,l===Z&&(l=eu(c)?c:jo(t[i+1])?[]:{})}Gn(a,u,l),a=a[u]}return e}function ri(e){return Yo(Vu(e))}function ii(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Jl(i);++r<i;)o[r]=e[r+t];return o}function oi(e,t){var n;return ff(e,function(e,r,i){return!(n=t(e,r,i))}),!!n}function si(e,t,n){var r=0,i=null==e?r:e.length;if("number"==typeof t&&t===t&&i<=Oe){for(;r<i;){var o=r+i>>>1,s=e[o];null!==s&&!pu(s)&&(n?s<=t:s<t)?r=o+1:i=o}return i}return ai(e,t,Sl,n)}function ai(e,t,n,r){t=n(t);for(var i=0,o=null==e?0:e.length,s=t!==t,a=null===t,u=pu(t),l=t===Z;i<o;){var c=qc((i+o)/2),f=n(e[c]),p=f!==Z,h=null===f,d=f===f,g=pu(f);if(s)var v=r||d;else v=l?d&&(r||p):a?d&&p&&(r||!h):u?d&&p&&!h&&(r||!g):!h&&!g&&(r?f<=t:f<t);v?i=c+1:o=c}return zc(o,je)}function ui(e,t){for(var n=-1,r=e.length,i=0,o=[];++n<r;){var s=e[n],a=t?t(s):s;if(!n||!Ba(a,u)){var u=a;o[i++]=0===s?0:s}}return o}function li(e){return"number"==typeof e?e:pu(e)?Ee:+e}function ci(e){if("string"==typeof e)return e;if(hp(e))return u(e,ci)+"";if(pu(e))return lf?lf.call(e):"";var t=e+"";return"0"==t&&1/e==-Ae?"-0":t}function fi(e,t,n){var r=-1,i=s,o=e.length,u=!0,l=[],c=l;if(n)u=!1,i=a;else if(o>=J){var f=t?null:bf(e);if(f)return z(f);u=!1,i=j,c=new mn}else c=t?[]:l;e:for(;++r<o;){var p=e[r],h=t?t(p):p;if(p=n||0!==p?p:0,u&&h===h){for(var d=c.length;d--;)if(c[d]===h)continue e;t&&c.push(h),l.push(p)}else i(c,h,n)||(c!==l&&c.push(h),l.push(p))}return l}function pi(e,t){return t=_i(t,e),null==(e=Wo(e,t))||delete e[Vo(ys(t))]}function hi(e,t,n,r){return ni(e,t,n(hr(e,t)),r)}function di(e,t,n,r){for(var i=e.length,o=r?i:-1;(r?o--:++o<i)&&t(e[o],o,e););return n?ii(e,r?0:o,r?o+1:i):ii(e,r?o+1:0,r?i:o)}function gi(e,t){var n=e;return n instanceof Dt&&(n=n.value()),c(t,function(e,t){return t.func.apply(t.thisArg,l([e],t.args))},n)}function vi(e,t,n){var r=e.length;if(r<2)return r?fi(e[0]):[];for(var i=-1,o=Jl(r);++i<r;)for(var s=e[i],a=-1;++a<r;)a!=i&&(o[i]=ir(o[i]||s,e[a],t,n));return fi(lr(o,1),t,n)}function yi(e,t,n){for(var r=-1,i=e.length,o=t.length,s={};++r<i;){var a=r<o?t[r]:Z;n(s,e[r],a)}return s}function mi(e){return Wa(e)?e:[]}function bi(e){return"function"==typeof e?e:Sl}function _i(e,t){return hp(e)?e:Do(e,t)?[e]:Ef(Cu(e))}function wi(e,t,n){var r=e.length;return n=n===Z?r:n,!t&&n>=r?e:ii(e,t,n)}function xi(e,t){if(t)return e.slice();var n=e.length,r=xc?xc(n):new e.constructor(n);return e.copy(r),r}function Ci(e){var t=new e.constructor(e.byteLength);return new wc(t).set(new wc(e)),t}function ki(e,t){var n=t?Ci(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Ai(e){var t=new e.constructor(e.source,qt.exec(e));return t.lastIndex=e.lastIndex,t}function Si(e){return uf?rc(uf.call(e)):{}}function Ti(e,t){var n=t?Ci(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ei(e,t){if(e!==t){var n=e!==Z,r=null===e,i=e===e,o=pu(e),s=t!==Z,a=null===t,u=t===t,l=pu(t);if(!a&&!l&&!o&&e>t||o&&s&&u&&!a&&!l||r&&s&&u||!n&&u||!i)return 1;if(!r&&!o&&!l&&e<t||l&&n&&i&&!r&&!o||a&&n&&i||!s&&i||!u)return-1}return 0}function $i(e,t,n){for(var r=-1,i=e.criteria,o=t.criteria,s=i.length,a=n.length;++r<s;){var u=Ei(i[r],o[r]);if(u){if(r>=a)return u;return u*("desc"==n[r]?-1:1)}}return e.index-t.index}function ji(e,t,n,r){for(var i=-1,o=e.length,s=n.length,a=-1,u=t.length,l=Bc(o-s,0),c=Jl(u+l),f=!r;++a<u;)c[a]=t[a];for(;++i<s;)(f||i<o)&&(c[n[i]]=e[i]);for(;l--;)c[a++]=e[i++];return c}function Oi(e,t,n,r){for(var i=-1,o=e.length,s=-1,a=n.length,u=-1,l=t.length,c=Bc(o-a,0),f=Jl(c+l),p=!r;++i<c;)f[i]=e[i];for(var h=i;++u<l;)f[h+u]=t[u];for(;++s<a;)(p||i<o)&&(f[h+n[s]]=e[i++]);return f}function Di(e,t){var n=-1,r=e.length;for(t||(t=Jl(r));++n<r;)t[n]=e[n];return t}function Li(e,t,n,r){var i=!n;n||(n={});for(var o=-1,s=t.length;++o<s;){var a=t[o],u=r?r(n[a],e[a],a,n,e):Z;u===Z&&(u=e[a]),i?Zn(n,a,u):Gn(n,a,u)}return n}function Ni(e,t){return Li(e,wf(e),t)}function qi(e,t){return Li(e,xf(e),t)}function Ri(e,n){return function(r,i){var o=hp(r)?t:Yn,s=n?n():{};return o(r,e,yo(i,2),s)}}function Ii(e){return Qr(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:Z,s=i>2?n[2]:Z;for(o=e.length>3&&"function"==typeof o?(i--,o):Z,s&&Oo(n[0],n[1],s)&&(o=i<3?Z:o,i=1),t=rc(t);++r<i;){var a=n[r];a&&e(t,a,r,o)}return t})}function Pi(e,t){return function(n,r){if(null==n)return n;if(!za(n))return e(n,r);for(var i=n.length,o=t?i:-1,s=rc(n);(t?o--:++o<i)&&!1!==r(s[o],o,s););return n}}function Mi(e){return function(t,n,r){for(var i=-1,o=rc(t),s=r(t),a=s.length;a--;){var u=s[e?a:++i];if(!1===n(o[u],u,o))break}return t}}function Hi(e,t,n){function r(){return(this&&this!==An&&this instanceof r?o:e).apply(i?n:this,arguments)}var i=t&le,o=Wi(e);return r}function Bi(e){return function(t){t=Cu(t);var n=R(t)?K(t):Z,r=n?n[0]:t.charAt(0),i=n?wi(n,1).join(""):t.slice(1);return r[e]()+i}}function zi(e){return function(t){return c(wl(tl(t).replace(an,"")),e,"")}}function Wi(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=cf(e.prototype),r=e.apply(n,t);return eu(r)?r:n}}function Ui(t,n,r){function i(){for(var s=arguments.length,a=Jl(s),u=s,l=vo(i);u--;)a[u]=arguments[u];var c=s<3&&a[0]!==l&&a[s-1]!==l?[]:B(a,l);return(s-=c.length)<r?to(t,n,Ki,i.placeholder,Z,a,c,Z,Z,r-s):e(this&&this!==An&&this instanceof i?o:t,this,a)}var o=Wi(t);return i}function Fi(e){return function(t,n,r){var i=rc(t);if(!za(t)){var o=yo(n,3);t=Ru(t),n=function(e){return o(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[o?t[s]:s]:Z}}function Gi(e){return fo(function(t){var n=t.length,r=n,i=V.prototype.thru;for(e&&t.reverse();r--;){var o=t[r];if("function"!=typeof o)throw new sc(ee);if(i&&!s&&"wrapper"==go(o))var s=new V([],!0)}for(r=s?r:n;++r<n;){o=t[r];var a=go(o),u="wrapper"==a?_f(o):Z;s=u&&No(u[0])&&u[1]==(ve|pe|de|ye)&&!u[4].length&&1==u[9]?s[go(u[0])].apply(s,u[3]):1==o.length&&No(o)?s[a]():s.thru(o)}return function(){var e=arguments,r=e[0];if(s&&1==e.length&&hp(r))return s.plant(r).value();for(var i=0,o=n?t[i].apply(this,e):r;++i<n;)o=t[i].call(this,o);return o}})}function Ki(e,t,n,r,i,o,s,a,u,l){function c(){for(var y=arguments.length,m=Jl(y),b=y;b--;)m[b]=arguments[b];if(d)var _=vo(c),w=L(m,_);if(r&&(m=ji(m,r,i,d)),o&&(m=Oi(m,o,s,d)),y-=w,d&&y<l){var x=B(m,_);return to(e,t,Ki,c.placeholder,n,m,x,a,u,l-y)}var C=p?n:this,k=h?C[e]:e;return y=m.length,a?m=Uo(m,a):g&&y>1&&m.reverse(),f&&u<y&&(m.length=u),this&&this!==An&&this instanceof c&&(k=v||Wi(k)),k.apply(C,m)}var f=t&ve,p=t&le,h=t&ce,d=t&(pe|he),g=t&me,v=h?Z:Wi(e);return c}function Yi(e,t){return function(n,r){return wr(n,e,t(r),{})}}function Vi(e,t){return function(n,r){var i;if(n===Z&&r===Z)return t;if(n!==Z&&(i=n),r!==Z){if(i===Z)return r;"string"==typeof n||"string"==typeof r?(n=ci(n),r=ci(r)):(n=li(n),r=li(r)),i=e(n,r)}return i}}function Xi(t){return fo(function(n){return n=u(n,E(yo())),Qr(function(r){var i=this;return t(n,function(t){return e(t,i,r)})})})}function Zi(e,t){t=t===Z?" ":ci(t);var n=t.length;if(n<2)return n?Jr(t,e):t;var r=Jr(t,Nc(e/G(t)));return R(t)?wi(K(r),0,e).join(""):r.slice(0,e)}function Ji(t,n,r,i){function o(){for(var n=-1,u=arguments.length,l=-1,c=i.length,f=Jl(c+u),p=this&&this!==An&&this instanceof o?a:t;++l<c;)f[l]=i[l];for(;u--;)f[l++]=arguments[++n];return e(p,s?r:this,f)}var s=n&le,a=Wi(t);return o}function Qi(e){return function(t,n,r){return r&&"number"!=typeof r&&Oo(t,n,r)&&(n=r=Z),t=yu(t),n===Z?(n=t,t=0):n=yu(n),r=r===Z?t<n?1:-1:yu(r),Zr(t,n,r,e)}}function eo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=_u(t),n=_u(n)),e(t,n)}}function to(e,t,n,r,i,o,s,a,u,l){var c=t&pe,f=c?s:Z,p=c?Z:s,h=c?o:Z,d=c?Z:o;t|=c?de:ge,(t&=~(c?ge:de))&fe||(t&=~(le|ce));var g=[e,t,i,h,f,d,p,a,u,l],v=n.apply(Z,g);return No(e)&&Af(v,g),v.placeholder=r,Go(v,e,t)}function no(e){var t=nc[e];return function(e,n){if(e=_u(e),(n=null==n?0:zc(mu(n),292))&&Pc(e)){var r=(Cu(e)+"e").split("e");return r=(Cu(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}function ro(e){return function(t){var n=Cf(t);return n==ze?M(t):n==Ye?W(t):T(t,e(t))}}function io(e,t,n,r,i,o,s,a){var u=t&ce;if(!u&&"function"!=typeof e)throw new sc(ee);var l=r?r.length:0;if(l||(t&=~(de|ge),r=i=Z),s=s===Z?s:Bc(mu(s),0),a=a===Z?a:mu(a),l-=i?i.length:0,t&ge){var c=r,f=i;r=i=Z}var p=u?Z:_f(e),h=[e,t,n,r,i,c,f,o,s,a];if(p&&Mo(h,p),e=h[0],t=h[1],n=h[2],r=h[3],i=h[4],a=h[9]=h[9]===Z?u?0:e.length:Bc(h[9]-l,0),!a&&t&(pe|he)&&(t&=~(pe|he)),t&&t!=le)d=t==pe||t==he?Ui(e,t,a):t!=de&&t!=(le|de)||i.length?Ki.apply(Z,h):Ji(e,t,n,r);else var d=Hi(e,t,n);return Go((p?gf:Af)(d,h),e,t)}function oo(e,t,n,r){return e===Z||Ba(e,lc[n])&&!pc.call(r,n)?t:e}function so(e,t,n,r,i,o){return eu(e)&&eu(t)&&(o.set(t,e),Br(e,t,Z,so,o),o.delete(t)),e}function ao(e){return lu(e)?Z:e}function uo(e,t,n,r,i,o){var s=n&ae,a=e.length,u=t.length;if(a!=u&&!(s&&u>a))return!1;var l=o.get(e);if(l&&o.get(t))return l==t;var c=-1,f=!0,h=n&ue?new mn:Z;for(o.set(e,t),o.set(t,e);++c<a;){var d=e[c],g=t[c];if(r)var v=s?r(g,d,c,t,e,o):r(d,g,c,e,t,o);if(v!==Z){if(v)continue;f=!1;break}if(h){if(!p(t,function(e,t){if(!j(h,t)&&(d===e||i(d,e,n,r,o)))return h.push(t)})){f=!1;break}}else if(d!==g&&!i(d,g,n,r,o)){f=!1;break}}return o.delete(e),o.delete(t),f}function lo(e,t,n,r,i,o,s){switch(n){case tt:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case et:return!(e.byteLength!=t.byteLength||!o(new wc(e),new wc(t)));case Re:case Ie:case We:return Ba(+e,+t);case Me:return e.name==t.name&&e.message==t.message;case Ke:case Ve:return e==t+"";case ze:var a=M;case Ye:var u=r&ae;if(a||(a=z),e.size!=t.size&&!u)return!1;var l=s.get(e);if(l)return l==t;r|=ue,s.set(e,t);var c=uo(a(e),a(t),r,i,o,s);return s.delete(e),c;case Xe:if(uf)return uf.call(e)==uf.call(t)}return!1}function co(e,t,n,r,i,o){var s=n&ae,a=po(e),u=a.length;if(u!=po(t).length&&!s)return!1;for(var l=u;l--;){var c=a[l];if(!(s?c in t:pc.call(t,c)))return!1}var f=o.get(e);if(f&&o.get(t))return f==t;var p=!0;o.set(e,t),o.set(t,e);for(var h=s;++l<u;){c=a[l];var d=e[c],g=t[c]
|
||
;if(r)var v=s?r(g,d,c,t,e,o):r(d,g,c,e,t,o);if(!(v===Z?d===g||i(d,g,n,r,o):v)){p=!1;break}h||(h="constructor"==c)}if(p&&!h){var y=e.constructor,m=t.constructor;y!=m&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof m&&m instanceof m)&&(p=!1)}return o.delete(e),o.delete(t),p}function fo(e){return Tf(zo(e,Z,ls),e+"")}function po(e){return dr(e,Ru,wf)}function ho(e){return dr(e,Iu,xf)}function go(e){for(var t=e.name+"",n=ef[t],r=pc.call(ef,t)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==e)return i.name}return t}function vo(e){return(pc.call(U,"placeholder")?U:e).placeholder}function yo(){var e=U.iteratee||Tl;return e=e===Tl?Nr:e,arguments.length?e(arguments[0],arguments[1]):e}function mo(e,t){var n=e.__data__;return Lo(t)?n["string"==typeof t?"string":"hash"]:n.map}function bo(e){for(var t=Ru(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Io(i)]}return t}function _o(e,t){var n=q(e,t);return jr(n)?n:Z}function wo(e){var t=pc.call(e,$c),n=e[$c];try{e[$c]=Z;var r=!0}catch(e){}var i=gc.call(e);return r&&(t?e[$c]=n:delete e[$c]),i}function xo(e,t,n){for(var r=-1,i=n.length;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":e+=s;break;case"dropRight":t-=s;break;case"take":t=zc(t,e+s);break;case"takeRight":e=Bc(e,t-s)}}return{start:e,end:t}}function Co(e){var t=e.match(jt);return t?t[1].split(Ot):[]}function ko(e,t,n){t=_i(t,e);for(var r=-1,i=t.length,o=!1;++r<i;){var s=Vo(t[r]);if(!(o=null!=e&&n(e,s)))break;e=e[s]}return o||++r!=i?o:!!(i=null==e?0:e.length)&&Qa(i)&&jo(s,i)&&(hp(e)||pp(e))}function Ao(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&pc.call(e,"index")&&(n.index=e.index,n.input=e.input),n}function So(e){return"function"!=typeof e.constructor||Ro(e)?{}:cf(Cc(e))}function To(e,t,n){var r=e.constructor;switch(t){case et:return Ci(e);case Re:case Ie:return new r(+e);case tt:return ki(e,n);case nt:case rt:case it:case ot:case st:case at:case ut:case lt:case ct:return Ti(e,n);case ze:return new r;case We:case Ve:return new r(e);case Ke:return Ai(e);case Ye:return new r;case Xe:return Si(e)}}function Eo(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace($t,"{\n/* [wrapped with "+t+"] */\n")}function $o(e){return hp(e)||pp(e)||!!(Tc&&e&&e[Tc])}function jo(e,t){var n=typeof e;return!!(t=null==t?Se:t)&&("number"==n||"symbol"!=n&&Ht.test(e))&&e>-1&&e%1==0&&e<t}function Oo(e,t,n){if(!eu(n))return!1;var r=typeof t;return!!("number"==r?za(n)&&jo(t,n.length):"string"==r&&t in n)&&Ba(n[t],e)}function Do(e,t){if(hp(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!pu(e))||(xt.test(e)||!wt.test(e)||null!=t&&e in rc(t))}function Lo(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function No(e){var t=go(e),n=U[t];if("function"!=typeof n||!(t in Dt.prototype))return!1;if(e===n)return!0;var r=_f(n);return!!r&&e===r[0]}function qo(e){return!!dc&&dc in e}function Ro(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||lc)}function Io(e){return e===e&&!eu(e)}function Po(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==Z||e in rc(n)))}}function Mo(e,t){var n=e[1],r=t[1],i=n|r,o=i<(le|ce|ve),s=r==ve&&n==pe||r==ve&&n==ye&&e[7].length<=t[8]||r==(ve|ye)&&t[7].length<=t[8]&&n==pe;if(!o&&!s)return e;r&le&&(e[2]=t[2],i|=n&le?0:fe);var a=t[3];if(a){var u=e[3];e[3]=u?ji(u,a,t[4]):a,e[4]=u?B(e[3],re):t[4]}return a=t[5],a&&(u=e[5],e[5]=u?Oi(u,a,t[6]):a,e[6]=u?B(e[5],re):t[6]),a=t[7],a&&(e[7]=a),r&ve&&(e[8]=null==e[8]?t[8]:zc(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=i,e}function Ho(e){var t=[];if(null!=e)for(var n in rc(e))t.push(n);return t}function Bo(e){return gc.call(e)}function zo(t,n,r){return n=Bc(n===Z?t.length-1:n,0),function(){for(var i=arguments,o=-1,s=Bc(i.length-n,0),a=Jl(s);++o<s;)a[o]=i[n+o];o=-1;for(var u=Jl(n+1);++o<n;)u[o]=i[o];return u[n]=r(a),e(t,this,u)}}function Wo(e,t){return t.length<2?e:hr(e,ii(t,0,-1))}function Uo(e,t){for(var n=e.length,r=zc(t.length,n),i=Di(e);r--;){var o=t[r];e[r]=jo(o,n)?i[o]:Z}return e}function Fo(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function Go(e,t,n){var r=t+"";return Tf(e,Eo(r,Zo(Co(r),n)))}function Ko(e){var t=0,n=0;return function(){var r=Wc(),i=xe-(r-n);if(n=r,i>0){if(++t>=we)return arguments[0]}else t=0;return e.apply(Z,arguments)}}function Yo(e,t){var n=-1,r=e.length,i=r-1;for(t=t===Z?r:t;++n<t;){var o=Xr(n,i),s=e[o];e[o]=e[n],e[n]=s}return e.length=t,e}function Vo(e){if("string"==typeof e||pu(e))return e;var t=e+"";return"0"==t&&1/e==-Ae?"-0":t}function Xo(e){if(null!=e){try{return fc.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Zo(e,t){return n(De,function(n){var r="_."+n[0];t&n[1]&&!s(e,r)&&e.push(r)}),e.sort()}function Jo(e){if(e instanceof Dt)return e.clone();var t=new V(e.__wrapped__,e.__chain__);return t.__actions__=Di(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Qo(e,t,n){t=(n?Oo(e,t,n):t===Z)?1:Bc(mu(t),0);var r=null==e?0:e.length;if(!r||t<1)return[];for(var i=0,o=0,s=Jl(Nc(r/t));i<r;)s[o++]=ii(e,i,i+=t);return s}function es(e){for(var t=-1,n=null==e?0:e.length,r=0,i=[];++t<n;){var o=e[t];o&&(i[r++]=o)}return i}function ts(){var e=arguments.length;if(!e)return[];for(var t=Jl(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return l(hp(n)?Di(n):[n],lr(t,1))}function ns(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===Z?1:mu(t),ii(e,t<0?0:t,r)):[]}function rs(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===Z?1:mu(t),t=r-t,ii(e,0,t<0?0:t)):[]}function is(e,t){return e&&e.length?di(e,yo(t,3),!0,!0):[]}function os(e,t){return e&&e.length?di(e,yo(t,3),!0):[]}function ss(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Oo(e,t,n)&&(n=0,r=i),ar(e,t,n,r)):[]}function as(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:mu(n);return i<0&&(i=Bc(r+i,0)),v(e,yo(t,3),i)}function us(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==Z&&(i=mu(n),i=n<0?Bc(r+i,0):zc(i,r-1)),v(e,yo(t,3),i,!0)}function ls(e){return(null==e?0:e.length)?lr(e,1):[]}function cs(e){return(null==e?0:e.length)?lr(e,Ae):[]}function fs(e,t){return(null==e?0:e.length)?(t=t===Z?1:mu(t),lr(e,t)):[]}function ps(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}function hs(e){return e&&e.length?e[0]:Z}function ds(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=null==n?0:mu(n);return i<0&&(i=Bc(r+i,0)),y(e,t,i)}function gs(e){return(null==e?0:e.length)?ii(e,0,-1):[]}function vs(e,t){return null==e?"":Mc.call(e,t)}function ys(e){var t=null==e?0:e.length;return t?e[t-1]:Z}function ms(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==Z&&(i=mu(n),i=i<0?Bc(r+i,0):zc(i,r-1)),t===t?F(e,t,i):v(e,b,i,!0)}function bs(e,t){return e&&e.length?Wr(e,mu(t)):Z}function _s(e,t){return e&&e.length&&t&&t.length?Yr(e,t):e}function ws(e,t,n){return e&&e.length&&t&&t.length?Yr(e,t,yo(n,2)):e}function xs(e,t,n){return e&&e.length&&t&&t.length?Yr(e,t,Z,n):e}function Cs(e,t){var n=[];if(!e||!e.length)return n;var r=-1,i=[],o=e.length;for(t=yo(t,3);++r<o;){var s=e[r];t(s,r,e)&&(n.push(s),i.push(r))}return Vr(e,i),n}function ks(e){return null==e?e:Gc.call(e)}function As(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Oo(e,t,n)?(t=0,n=r):(t=null==t?0:mu(t),n=n===Z?r:mu(n)),ii(e,t,n)):[]}function Ss(e,t){return si(e,t)}function Ts(e,t,n){return ai(e,t,yo(n,2))}function Es(e,t){var n=null==e?0:e.length;if(n){var r=si(e,t);if(r<n&&Ba(e[r],t))return r}return-1}function $s(e,t){return si(e,t,!0)}function js(e,t,n){return ai(e,t,yo(n,2),!0)}function Os(e,t){if(null==e?0:e.length){var n=si(e,t,!0)-1;if(Ba(e[n],t))return n}return-1}function Ds(e){return e&&e.length?ui(e):[]}function Ls(e,t){return e&&e.length?ui(e,yo(t,2)):[]}function Ns(e){var t=null==e?0:e.length;return t?ii(e,1,t):[]}function qs(e,t,n){return e&&e.length?(t=n||t===Z?1:mu(t),ii(e,0,t<0?0:t)):[]}function Rs(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===Z?1:mu(t),t=r-t,ii(e,t<0?0:t,r)):[]}function Is(e,t){return e&&e.length?di(e,yo(t,3),!1,!0):[]}function Ps(e,t){return e&&e.length?di(e,yo(t,3)):[]}function Ms(e){return e&&e.length?fi(e):[]}function Hs(e,t){return e&&e.length?fi(e,yo(t,2)):[]}function Bs(e,t){return t="function"==typeof t?t:Z,e&&e.length?fi(e,Z,t):[]}function zs(e){if(!e||!e.length)return[];var t=0;return e=o(e,function(e){if(Wa(e))return t=Bc(e.length,t),!0}),S(t,function(t){return u(e,w(t))})}function Ws(t,n){if(!t||!t.length)return[];var r=zs(t);return null==n?r:u(r,function(t){return e(n,Z,t)})}function Us(e,t){return yi(e||[],t||[],Gn)}function Fs(e,t){return yi(e||[],t||[],ni)}function Gs(e){var t=U(e);return t.__chain__=!0,t}function Ks(e,t){return t(e),e}function Ys(e,t){return t(e)}function Vs(){return Gs(this)}function Xs(){return new V(this.value(),this.__chain__)}function Zs(){this.__values__===Z&&(this.__values__=vu(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?Z:this.__values__[this.__index__++]}}function Js(){return this}function Qs(e){for(var t,n=this;n instanceof Y;){var r=Jo(n);r.__index__=0,r.__values__=Z,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t}function ea(){var e=this.__wrapped__;if(e instanceof Dt){var t=e;return this.__actions__.length&&(t=new Dt(this)),t=t.reverse(),t.__actions__.push({func:Ys,args:[ks],thisArg:Z}),new V(t,this.__chain__)}return this.thru(ks)}function ta(){return gi(this.__wrapped__,this.__actions__)}function na(e,t,n){var r=hp(e)?i:or;return n&&Oo(e,t,n)&&(t=Z),r(e,yo(t,3))}function ra(e,t){return(hp(e)?o:ur)(e,yo(t,3))}function ia(e,t){return lr(ca(e,t),1)}function oa(e,t){return lr(ca(e,t),Ae)}function sa(e,t,n){return n=n===Z?1:mu(n),lr(ca(e,t),n)}function aa(e,t){return(hp(e)?n:ff)(e,yo(t,3))}function ua(e,t){return(hp(e)?r:pf)(e,yo(t,3))}function la(e,t,n,r){e=za(e)?e:Vu(e),n=n&&!r?mu(n):0;var i=e.length;return n<0&&(n=Bc(i+n,0)),fu(e)?n<=i&&e.indexOf(t,n)>-1:!!i&&y(e,t,n)>-1}function ca(e,t){return(hp(e)?u:Pr)(e,yo(t,3))}function fa(e,t,n,r){return null==e?[]:(hp(t)||(t=null==t?[]:[t]),n=r?Z:n,hp(n)||(n=null==n?[]:[n]),Ur(e,t,n))}function pa(e,t,n){var r=hp(e)?c:C,i=arguments.length<3;return r(e,yo(t,4),n,i,ff)}function ha(e,t,n){var r=hp(e)?f:C,i=arguments.length<3;return r(e,yo(t,4),n,i,pf)}function da(e,t){return(hp(e)?o:ur)(e,Ea(yo(t,3)))}function ga(e){return(hp(e)?zn:ei)(e)}function va(e,t,n){return t=(n?Oo(e,t,n):t===Z)?1:mu(t),(hp(e)?Wn:ti)(e,t)}function ya(e){return(hp(e)?Un:ri)(e)}function ma(e){if(null==e)return 0;if(za(e))return fu(e)?G(e):e.length;var t=Cf(e);return t==ze||t==Ye?e.size:qr(e).length}function ba(e,t,n){var r=hp(e)?p:oi;return n&&Oo(e,t,n)&&(t=Z),r(e,yo(t,3))}function _a(e,t){if("function"!=typeof t)throw new sc(ee);return e=mu(e),function(){if(--e<1)return t.apply(this,arguments)}}function wa(e,t,n){return t=n?Z:t,t=e&&null==t?e.length:t,io(e,ve,Z,Z,Z,Z,t)}function xa(e,t){var n;if("function"!=typeof t)throw new sc(ee);return e=mu(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=Z),n}}function Ca(e,t,n){t=n?Z:t;var r=io(e,pe,Z,Z,Z,Z,Z,t);return r.placeholder=Ca.placeholder,r}function ka(e,t,n){t=n?Z:t;var r=io(e,he,Z,Z,Z,Z,Z,t);return r.placeholder=ka.placeholder,r}function Aa(e,t,n){function r(t){var n=p,r=h;return p=h=Z,m=t,g=e.apply(r,n)}function i(e){return m=e,v=Sf(a,t),b?r(e):g}function o(e){var n=e-y,r=e-m,i=t-n;return _?zc(i,d-r):i}function s(e){var n=e-y,r=e-m;return y===Z||n>=t||n<0||_&&r>=d}function a(){var e=tp();if(s(e))return u(e);v=Sf(a,o(e))}function u(e){return v=Z,w&&p?r(e):(p=h=Z,g)}function l(){v!==Z&&mf(v),m=0,p=y=h=v=Z}function c(){return v===Z?g:u(tp())}function f(){var e=tp(),n=s(e);if(p=arguments,h=this,y=e,n){if(v===Z)return i(y);if(_)return mf(v),v=Sf(a,t),r(y)}return v===Z&&(v=Sf(a,t)),g}var p,h,d,g,v,y,m=0,b=!1,_=!1,w=!0;if("function"!=typeof e)throw new sc(ee);return t=_u(t)||0,eu(n)&&(b=!!n.leading,_="maxWait"in n,d=_?Bc(_u(n.maxWait)||0,t):d,w="trailing"in n?!!n.trailing:w),f.cancel=l,f.flush=c,f}function Sa(e){return io(e,me)}function Ta(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new sc(ee);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(Ta.Cache||sn),n}function Ea(e){if("function"!=typeof e)throw new sc(ee);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function $a(e){return xa(2,e)}function ja(e,t){if("function"!=typeof e)throw new sc(ee);return t=t===Z?t:mu(t),Qr(e,t)}function Oa(t,n){if("function"!=typeof t)throw new sc(ee);return n=null==n?0:Bc(mu(n),0),Qr(function(r){var i=r[n],o=wi(r,0,n);return i&&l(o,i),e(t,this,o)})}function Da(e,t,n){var r=!0,i=!0;if("function"!=typeof e)throw new sc(ee);return eu(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Aa(e,t,{leading:r,maxWait:t,trailing:i})}function La(e){return wa(e,1)}function Na(e,t){return ap(bi(t),e)}function qa(){if(!arguments.length)return[];var e=arguments[0];return hp(e)?e:[e]}function Ra(e){return er(e,se)}function Ia(e,t){return t="function"==typeof t?t:Z,er(e,se,t)}function Pa(e){return er(e,ie|se)}function Ma(e,t){return t="function"==typeof t?t:Z,er(e,ie|se,t)}function Ha(e,t){return null==t||nr(e,t,Ru(t))}function Ba(e,t){return e===t||e!==e&&t!==t}function za(e){return null!=e&&Qa(e.length)&&!Za(e)}function Wa(e){return tu(e)&&za(e)}function Ua(e){return!0===e||!1===e||tu(e)&&gr(e)==Re}function Fa(e){return tu(e)&&1===e.nodeType&&!lu(e)}function Ga(e){if(null==e)return!0;if(za(e)&&(hp(e)||"string"==typeof e||"function"==typeof e.splice||gp(e)||_p(e)||pp(e)))return!e.length;var t=Cf(e);if(t==ze||t==Ye)return!e.size;if(Ro(e))return!qr(e).length;for(var n in e)if(pc.call(e,n))return!1;return!0}function Ka(e,t){return Sr(e,t)}function Ya(e,t,n){n="function"==typeof n?n:Z;var r=n?n(e,t):Z;return r===Z?Sr(e,t,Z,n):!!r}function Va(e){if(!tu(e))return!1;var t=gr(e);return t==Me||t==Pe||"string"==typeof e.message&&"string"==typeof e.name&&!lu(e)}function Xa(e){return"number"==typeof e&&Pc(e)}function Za(e){if(!eu(e))return!1;var t=gr(e);return t==He||t==Be||t==qe||t==Ge}function Ja(e){return"number"==typeof e&&e==mu(e)}function Qa(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Se}function eu(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function tu(e){return null!=e&&"object"==typeof e}function nu(e,t){return e===t||$r(e,t,bo(t))}function ru(e,t,n){return n="function"==typeof n?n:Z,$r(e,t,bo(t),n)}function iu(e){return uu(e)&&e!=+e}function ou(e){if(kf(e))throw new ec(Q);return jr(e)}function su(e){return null===e}function au(e){return null==e}function uu(e){return"number"==typeof e||tu(e)&&gr(e)==We}function lu(e){if(!tu(e)||gr(e)!=Fe)return!1;var t=Cc(e);if(null===t)return!0;var n=pc.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&fc.call(n)==vc}function cu(e){return Ja(e)&&e>=-Se&&e<=Se}function fu(e){return"string"==typeof e||!hp(e)&&tu(e)&&gr(e)==Ve}function pu(e){return"symbol"==typeof e||tu(e)&&gr(e)==Xe}function hu(e){return e===Z}function du(e){return tu(e)&&Cf(e)==Je}function gu(e){return tu(e)&&gr(e)==Qe}function vu(e){if(!e)return[];if(za(e))return fu(e)?K(e):Di(e);if(Ec&&e[Ec])return P(e[Ec]());var t=Cf(e);return(t==ze?M:t==Ye?z:Vu)(e)}function yu(e){if(!e)return 0===e?e:0;if((e=_u(e))===Ae||e===-Ae){return(e<0?-1:1)*Te}return e===e?e:0}function mu(e){var t=yu(e),n=t%1;return t===t?n?t-n:t:0}function bu(e){return e?Qn(mu(e),0,$e):0}function _u(e){if("number"==typeof e)return e;if(pu(e))return Ee;if(eu(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=eu(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(St,"");var n=It.test(e);return n||Mt.test(e)?xn(e.slice(2),n?2:8):Rt.test(e)?Ee:+e}function wu(e){return Li(e,Iu(e))}function xu(e){return e?Qn(mu(e),-Se,Se):0===e?e:0}function Cu(e){return null==e?"":ci(e)}function ku(e,t){var n=cf(e);return null==t?n:Vn(n,t)}function Au(e,t){return g(e,yo(t,3),cr)}function Su(e,t){return g(e,yo(t,3),fr)}function Tu(e,t){return null==e?e:hf(e,yo(t,3),Iu)}function Eu(e,t){return null==e?e:df(e,yo(t,3),Iu)}function $u(e,t){return e&&cr(e,yo(t,3))}function ju(e,t){return e&&fr(e,yo(t,3))}function Ou(e){return null==e?[]:pr(e,Ru(e))}function Du(e){return null==e?[]:pr(e,Iu(e))}function Lu(e,t,n){var r=null==e?Z:hr(e,t);return r===Z?n:r}function Nu(e,t){return null!=e&&ko(e,t,yr)}function qu(e,t){return null!=e&&ko(e,t,mr)}function Ru(e){return za(e)?In(e):qr(e)}function Iu(e){return za(e)?In(e,!0):Rr(e)}function Pu(e,t){var n={};return t=yo(t,3),cr(e,function(e,r,i){Zn(n,t(e,r,i),e)}),n}function Mu(e,t){var n={};return t=yo(t,3),cr(e,function(e,r,i){Zn(n,r,t(e,r,i))}),n}function Hu(e,t){return Bu(e,Ea(yo(t)))}function Bu(e,t){if(null==e)return{};var n=u(ho(e),function(e){return[e]});return t=yo(t),Gr(e,n,function(e,n){return t(e,n[0])})}function zu(e,t,n){t=_i(t,e);var r=-1,i=t.length;for(i||(i=1,e=Z);++r<i;){var o=null==e?Z:e[Vo(t[r])];o===Z&&(r=i,o=n),e=Za(o)?o.call(e):o}return e}function Wu(e,t,n){return null==e?e:ni(e,t,n)}function Uu(e,t,n,r){return r="function"==typeof r?r:Z,null==e?e:ni(e,t,n,r)}function Fu(e,t,r){var i=hp(e),o=i||gp(e)||_p(e);if(t=yo(t,4),null==r){var s=e&&e.constructor;r=o?i?new s:[]:eu(e)&&Za(s)?cf(Cc(e)):{}}return(o?n:cr)(e,function(e,n,i){return t(r,e,n,i)}),r}function Gu(e,t){return null==e||pi(e,t)}function Ku(e,t,n){return null==e?e:hi(e,t,bi(n))}function Yu(e,t,n,r){return r="function"==typeof r?r:Z,null==e?e:hi(e,t,bi(n),r)}function Vu(e){return null==e?[]:$(e,Ru(e))}function Xu(e){return null==e?[]:$(e,Iu(e))}function Zu(e,t,n){return n===Z&&(n=t,t=Z),n!==Z&&(n=_u(n),n=n===n?n:0),t!==Z&&(t=_u(t),t=t===t?t:0),Qn(_u(e),t,n)}function Ju(e,t,n){return t=yu(t),n===Z?(n=t,t=0):n=yu(n),e=_u(e),br(e,t,n)}function Qu(e,t,n){if(n&&"boolean"!=typeof n&&Oo(e,t,n)&&(t=n=Z),n===Z&&("boolean"==typeof t?(n=t,t=Z):"boolean"==typeof e&&(n=e,e=Z)),e===Z&&t===Z?(e=0,t=1):(e=yu(e),t===Z?(t=e,e=0):t=yu(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=Fc();return zc(e+i*(t-e+wn("1e-"+((i+"").length-1))),t)}return Xr(e,t)}function el(e){return Gp(Cu(e).toLowerCase())}function tl(e){return(e=Cu(e))&&e.replace(Bt,Pn).replace(un,"")}function nl(e,t,n){e=Cu(e),t=ci(t);var r=e.length;n=n===Z?r:Qn(mu(n),0,r);var i=n;return(n-=t.length)>=0&&e.slice(n,i)==t}function rl(e){return e=Cu(e),e&&yt.test(e)?e.replace(gt,Mn):e}function il(e){return e=Cu(e),e&&At.test(e)?e.replace(kt,"\\$&"):e}function ol(e,t,n){e=Cu(e),t=mu(t);var r=t?G(e):0;if(!t||r>=t)return e;var i=(t-r)/2;return Zi(qc(i),n)+e+Zi(Nc(i),n)}function sl(e,t,n){e=Cu(e),t=mu(t);var r=t?G(e):0;return t&&r<t?e+Zi(t-r,n):e}function al(e,t,n){e=Cu(e),t=mu(t);var r=t?G(e):0;return t&&r<t?Zi(t-r,n)+e:e}function ul(e,t,n){return n||null==t?t=0:t&&(t=+t),Uc(Cu(e).replace(Tt,""),t||0)}function ll(e,t,n){return t=(n?Oo(e,t,n):t===Z)?1:mu(t),Jr(Cu(e),t)}function cl(){var e=arguments,t=Cu(e[0]);return e.length<3?t:t.replace(e[1],e[2])}function fl(e,t,n){return n&&"number"!=typeof n&&Oo(e,t,n)&&(t=n=Z),(n=n===Z?$e:n>>>0)?(e=Cu(e),e&&("string"==typeof t||null!=t&&!mp(t))&&!(t=ci(t))&&R(e)?wi(K(e),0,n):e.split(t,n)):[]}function pl(e,t,n){return e=Cu(e),n=null==n?0:Qn(mu(n),0,e.length),t=ci(t),e.slice(n,n+t.length)==t}function hl(e,t,n){var r=U.templateSettings;n&&Oo(e,t,n)&&(t=Z),e=Cu(e),t=Ap({},t,r,oo);var i,o,s=Ap({},t.imports,r.imports,oo),a=Ru(s),u=$(s,a),l=0,c=t.interpolate||zt,f="__p += '",p=ic((t.escape||zt).source+"|"+c.source+"|"+(c===_t?Nt:zt).source+"|"+(t.evaluate||zt).source+"|$","g"),h="//# sourceURL="+(pc.call(t,"sourceURL")?(t.sourceURL+"").replace(/[\r\n]/g," "):"lodash.templateSources["+ ++dn+"]")+"\n";e.replace(p,function(t,n,r,s,a,u){return r||(r=s),f+=e.slice(l,u).replace(Wt,N),n&&(i=!0,f+="' +\n__e("+n+") +\n'"),a&&(o=!0,f+="';\n"+a+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+t.length,t}),f+="';\n";var d=pc.call(t,"variable")&&t.variable;d||(f="with (obj) {\n"+f+"\n}\n"),f=(o?f.replace(ft,""):f).replace(pt,"$1").replace(ht,"$1;"),f="function("+(d||"obj")+") {\n"+(d?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var g=Kp(function(){return tc(a,h+"return "+f).apply(Z,u)});if(g.source=f,Va(g))throw g;return g}function dl(e){return Cu(e).toLowerCase()}function gl(e){return Cu(e).toUpperCase()}function vl(e,t,n){if((e=Cu(e))&&(n||t===Z))return e.replace(St,"");if(!e||!(t=ci(t)))return e;var r=K(e),i=K(t);return wi(r,O(r,i),D(r,i)+1).join("")}function yl(e,t,n){if((e=Cu(e))&&(n||t===Z))return e.replace(Et,"");if(!e||!(t=ci(t)))return e;var r=K(e);return wi(r,0,D(r,K(t))+1).join("")}function ml(e,t,n){if((e=Cu(e))&&(n||t===Z))return e.replace(Tt,"");if(!e||!(t=ci(t)))return e;var r=K(e);return wi(r,O(r,K(t))).join("")}function bl(e,t){var n=be,r=_e;if(eu(t)){var i="separator"in t?t.separator:i;n="length"in t?mu(t.length):n,r="omission"in t?ci(t.omission):r}e=Cu(e);var o=e.length;if(R(e)){var s=K(e);o=s.length}if(n>=o)return e;var a=n-G(r);if(a<1)return r;var u=s?wi(s,0,a).join(""):e.slice(0,a);if(i===Z)return u+r;if(s&&(a+=u.length-a),mp(i)){if(e.slice(a).search(i)){var l,c=u;for(i.global||(i=ic(i.source,Cu(qt.exec(i))+"g")),i.lastIndex=0;l=i.exec(c);)var f=l.index;u=u.slice(0,f===Z?a:f)}}else if(e.indexOf(ci(i),a)!=a){var p=u.lastIndexOf(i);p>-1&&(u=u.slice(0,p))}return u+r}function _l(e){return e=Cu(e),e&&vt.test(e)?e.replace(dt,Hn):e}function wl(e,t,n){return e=Cu(e),t=n?Z:t,t===Z?I(e)?X(e):d(e):e.match(t)||[]}function xl(t){var n=null==t?0:t.length,r=yo();return t=n?u(t,function(e){if("function"!=typeof e[1])throw new sc(ee);return[r(e[0]),e[1]]}):[],Qr(function(r){for(var i=-1;++i<n;){var o=t[i];if(e(o[0],this,r))return e(o[1],this,r)}})}function Cl(e){return tr(er(e,ie))}function kl(e){return function(){return e}}function Al(e,t){return null==e||e!==e?t:e}function Sl(e){return e}function Tl(e){return Nr("function"==typeof e?e:er(e,ie))}function El(e){return Mr(er(e,ie))}function $l(e,t){return Hr(e,er(t,ie))}function jl(e,t,r){var i=Ru(t),o=pr(t,i);null!=r||eu(t)&&(o.length||!i.length)||(r=t,t=e,e=this,o=pr(t,Ru(t)));var s=!(eu(r)&&"chain"in r&&!r.chain),a=Za(e);return n(o,function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(s||t){var n=e(this.__wrapped__);return(n.__actions__=Di(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,l([this.value()],arguments))})}),e}function Ol(){return An._===this&&(An._=yc),this}function Dl(){}function Ll(e){return e=mu(e),Qr(function(t){return Wr(t,e)})}function Nl(e){return Do(e)?w(Vo(e)):Kr(e)}function ql(e){return function(t){return null==e?Z:hr(e,t)}}function Rl(){return[]}function Il(){return!1}function Pl(){return{}}function Ml(){return""}function Hl(){return!0}function Bl(e,t){if((e=mu(e))<1||e>Se)return[];var n=$e,r=zc(e,$e);t=yo(t),e-=$e;for(var i=S(r,t);++n<e;)t(n);return i}function zl(e){return hp(e)?u(e,Vo):pu(e)?[e]:Di(Ef(Cu(e)))}function Wl(e){var t=++hc;return Cu(e)+t}function Ul(e){return e&&e.length?sr(e,Sl,vr):Z}function Fl(e,t){return e&&e.length?sr(e,yo(t,2),vr):Z}function Gl(e){return _(e,Sl)}function Kl(e,t){return _(e,yo(t,2))}function Yl(e){return e&&e.length?sr(e,Sl,Ir):Z}function Vl(e,t){return e&&e.length?sr(e,yo(t,2),Ir):Z}function Xl(e){return e&&e.length?A(e,Sl):0}function Zl(e,t){return e&&e.length?A(e,yo(t,2)):0}x=null==x?An:Bn.defaults(An.Object(),x,Bn.pick(An,hn));var Jl=x.Array,Ql=x.Date,ec=x.Error,tc=x.Function,nc=x.Math,rc=x.Object,ic=x.RegExp,oc=x.String,sc=x.TypeError,ac=Jl.prototype,uc=tc.prototype,lc=rc.prototype,cc=x["__core-js_shared__"],fc=uc.toString,pc=lc.hasOwnProperty,hc=0,dc=function(){var e=/[^.]+$/.exec(cc&&cc.keys&&cc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),gc=lc.toString,vc=fc.call(rc),yc=An._,mc=ic("^"+fc.call(pc).replace(kt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bc=En?x.Buffer:Z,_c=x.Symbol,wc=x.Uint8Array,xc=bc?bc.allocUnsafe:Z,Cc=H(rc.getPrototypeOf,rc),kc=rc.create,Ac=lc.propertyIsEnumerable,Sc=ac.splice,Tc=_c?_c.isConcatSpreadable:Z,Ec=_c?_c.iterator:Z,$c=_c?_c.toStringTag:Z,jc=function(){try{var e=_o(rc,"defineProperty");return e({},"",{}),e}catch(e){}}(),Oc=x.clearTimeout!==An.clearTimeout&&x.clearTimeout,Dc=Ql&&Ql.now!==An.Date.now&&Ql.now,Lc=x.setTimeout!==An.setTimeout&&x.setTimeout,Nc=nc.ceil,qc=nc.floor,Rc=rc.getOwnPropertySymbols,Ic=bc?bc.isBuffer:Z,Pc=x.isFinite,Mc=ac.join,Hc=H(rc.keys,rc),Bc=nc.max,zc=nc.min,Wc=Ql.now,Uc=x.parseInt,Fc=nc.random,Gc=ac.reverse,Kc=_o(x,"DataView"),Yc=_o(x,"Map"),Vc=_o(x,"Promise"),Xc=_o(x,"Set"),Zc=_o(x,"WeakMap"),Jc=_o(rc,"create"),Qc=Zc&&new Zc,ef={},tf=Xo(Kc),nf=Xo(Yc),rf=Xo(Vc),of=Xo(Xc),sf=Xo(Zc),af=_c?_c.prototype:Z,uf=af?af.valueOf:Z,lf=af?af.toString:Z,cf=function(){function e(){}return function(t){if(!eu(t))return{};if(kc)return kc(t);e.prototype=t;var n=new e;return e.prototype=Z,n}}();U.templateSettings={escape:mt,evaluate:bt,interpolate:_t,variable:"",imports:{_:U}},U.prototype=Y.prototype,U.prototype.constructor=U,V.prototype=cf(Y.prototype),V.prototype.constructor=V,Dt.prototype=cf(Y.prototype),Dt.prototype.constructor=Dt,Kt.prototype.clear=Yt,Kt.prototype.delete=Vt,Kt.prototype.get=Xt,Kt.prototype.has=Zt,Kt.prototype.set=Jt,Qt.prototype.clear=en,Qt.prototype.delete=tn,Qt.prototype.get=nn,Qt.prototype.has=rn,Qt.prototype.set=on,sn.prototype.clear=ln,sn.prototype.delete=cn,sn.prototype.get=fn,sn.prototype.has=pn,sn.prototype.set=yn,mn.prototype.add=mn.prototype.push=bn,mn.prototype.has=_n,Cn.prototype.clear=kn,Cn.prototype.delete=Sn,Cn.prototype.get=Tn,Cn.prototype.has=$n,Cn.prototype.set=jn;var ff=Pi(cr),pf=Pi(fr,!0),hf=Mi(),df=Mi(!0),gf=Qc?function(e,t){return Qc.set(e,t),e}:Sl,vf=jc?function(e,t){return jc(e,"toString",{configurable:!0,enumerable:!1,value:kl(t),writable:!0})}:Sl,yf=Qr,mf=Oc||function(e){return An.clearTimeout(e)},bf=Xc&&1/z(new Xc([,-0]))[1]==Ae?function(e){return new Xc(e)}:Dl,_f=Qc?function(e){return Qc.get(e)}:Dl,wf=Rc?function(e){return null==e?[]:(e=rc(e),o(Rc(e),function(t){return Ac.call(e,t)}))}:Rl,xf=Rc?function(e){for(var t=[];e;)l(t,wf(e)),e=Cc(e);return t}:Rl,Cf=gr;(Kc&&Cf(new Kc(new ArrayBuffer(1)))!=tt||Yc&&Cf(new Yc)!=ze||Vc&&"[object Promise]"!=Cf(Vc.resolve())||Xc&&Cf(new Xc)!=Ye||Zc&&Cf(new Zc)!=Je)&&(Cf=function(e){var t=gr(e),n=t==Fe?e.constructor:Z,r=n?Xo(n):"";if(r)switch(r){case tf:return tt;case nf:return ze;case rf:return"[object Promise]";case of:return Ye;case sf:return Je}return t});var kf=cc?Za:Il,Af=Ko(gf),Sf=Lc||function(e,t){return An.setTimeout(e,t)},Tf=Ko(vf),Ef=function(e){var t=Ta(e,function(e){return n.size===ne&&n.clear(),e}),n=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ct,function(e,n,r,i){t.push(r?i.replace(Lt,"$1"):n||e)}),t}),$f=Qr(function(e,t){return Wa(e)?ir(e,lr(t,1,Wa,!0)):[]}),jf=Qr(function(e,t){var n=ys(t);return Wa(n)&&(n=Z),Wa(e)?ir(e,lr(t,1,Wa,!0),yo(n,2)):[]}),Of=Qr(function(e,t){var n=ys(t);return Wa(n)&&(n=Z),Wa(e)?ir(e,lr(t,1,Wa,!0),Z,n):[]}),Df=Qr(function(e){var t=u(e,mi);return t.length&&t[0]===e[0]?_r(t):[]}),Lf=Qr(function(e){var t=ys(e),n=u(e,mi);return t===ys(n)?t=Z:n.pop(),n.length&&n[0]===e[0]?_r(n,yo(t,2)):[]}),Nf=Qr(function(e){var t=ys(e),n=u(e,mi);return t="function"==typeof t?t:Z,t&&n.pop(),n.length&&n[0]===e[0]?_r(n,Z,t):[]}),qf=Qr(_s),Rf=fo(function(e,t){var n=null==e?0:e.length,r=Jn(e,t);return Vr(e,u(t,function(e){return jo(e,n)?+e:e}).sort(Ei)),r}),If=Qr(function(e){return fi(lr(e,1,Wa,!0))}),Pf=Qr(function(e){var t=ys(e);return Wa(t)&&(t=Z),fi(lr(e,1,Wa,!0),yo(t,2))}),Mf=Qr(function(e){var t=ys(e);return t="function"==typeof t?t:Z,fi(lr(e,1,Wa,!0),Z,t)}),Hf=Qr(function(e,t){return Wa(e)?ir(e,t):[]}),Bf=Qr(function(e){return vi(o(e,Wa))}),zf=Qr(function(e){var t=ys(e);return Wa(t)&&(t=Z),vi(o(e,Wa),yo(t,2))}),Wf=Qr(function(e){var t=ys(e);return t="function"==typeof t?t:Z,vi(o(e,Wa),Z,t)}),Uf=Qr(zs),Ff=Qr(function(e){var t=e.length,n=t>1?e[t-1]:Z;return n="function"==typeof n?(e.pop(),n):Z,Ws(e,n)}),Gf=fo(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Jn(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Dt&&jo(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Ys,args:[i],thisArg:Z}),new V(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(Z),e})):this.thru(i)}),Kf=Ri(function(e,t,n){pc.call(e,n)?++e[n]:Zn(e,n,1)}),Yf=Fi(as),Vf=Fi(us),Xf=Ri(function(e,t,n){pc.call(e,n)?e[n].push(t):Zn(e,n,[t])}),Zf=Qr(function(t,n,r){var i=-1,o="function"==typeof n,s=za(t)?Jl(t.length):[];return ff(t,function(t){s[++i]=o?e(n,t,r):xr(t,n,r)}),s}),Jf=Ri(function(e,t,n){Zn(e,n,t)}),Qf=Ri(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),ep=Qr(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Oo(e,t[0],t[1])?t=[]:n>2&&Oo(t[0],t[1],t[2])&&(t=[t[0]]),Ur(e,lr(t,1),[])}),tp=Dc||function(){return An.Date.now()},np=Qr(function(e,t,n){var r=le;if(n.length){var i=B(n,vo(np));r|=de}return io(e,r,t,n,i)}),rp=Qr(function(e,t,n){var r=le|ce;if(n.length){var i=B(n,vo(rp));r|=de}return io(t,r,e,n,i)}),ip=Qr(function(e,t){return rr(e,1,t)}),op=Qr(function(e,t,n){return rr(e,_u(t)||0,n)});Ta.Cache=sn;var sp=yf(function(t,n){n=1==n.length&&hp(n[0])?u(n[0],E(yo())):u(lr(n,1),E(yo()));var r=n.length;return Qr(function(i){for(var o=-1,s=zc(i.length,r);++o<s;)i[o]=n[o].call(this,i[o]);return e(t,this,i)})}),ap=Qr(function(e,t){var n=B(t,vo(ap));return io(e,de,Z,t,n)}),up=Qr(function(e,t){var n=B(t,vo(up));return io(e,ge,Z,t,n)}),lp=fo(function(e,t){return io(e,ye,Z,Z,Z,t)}),cp=eo(vr),fp=eo(function(e,t){return e>=t}),pp=Cr(function(){return arguments}())?Cr:function(e){return tu(e)&&pc.call(e,"callee")&&!Ac.call(e,"callee")},hp=Jl.isArray,dp=On?E(On):kr,gp=Ic||Il,vp=Dn?E(Dn):Ar,yp=Ln?E(Ln):Er,mp=Nn?E(Nn):Or,bp=qn?E(qn):Dr,_p=Rn?E(Rn):Lr,wp=eo(Ir),xp=eo(function(e,t){return e<=t}),Cp=Ii(function(e,t){if(Ro(t)||za(t))return void Li(t,Ru(t),e);for(var n in t)pc.call(t,n)&&Gn(e,n,t[n])}),kp=Ii(function(e,t){Li(t,Iu(t),e)}),Ap=Ii(function(e,t,n,r){Li(t,Iu(t),e,r)}),Sp=Ii(function(e,t,n,r){Li(t,Ru(t),e,r)}),Tp=fo(Jn),Ep=Qr(function(e,t){e=rc(e);var n=-1,r=t.length,i=r>2?t[2]:Z;for(i&&Oo(t[0],t[1],i)&&(r=1);++n<r;)for(var o=t[n],s=Iu(o),a=-1,u=s.length;++a<u;){var l=s[a],c=e[l];(c===Z||Ba(c,lc[l])&&!pc.call(e,l))&&(e[l]=o[l])}return e}),$p=Qr(function(t){return t.push(Z,so),e(Np,Z,t)}),jp=Yi(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=gc.call(t)),e[t]=n},kl(Sl)),Op=Yi(function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=gc.call(t)),pc.call(e,t)?e[t].push(n):e[t]=[n]},yo),Dp=Qr(xr),Lp=Ii(function(e,t,n){Br(e,t,n)}),Np=Ii(function(e,t,n,r){Br(e,t,n,r)}),qp=fo(function(e,t){var n={};if(null==e)return n;var r=!1;t=u(t,function(t){return t=_i(t,e),r||(r=t.length>1),t}),Li(e,ho(e),n),r&&(n=er(n,ie|oe|se,ao));for(var i=t.length;i--;)pi(n,t[i]);return n}),Rp=fo(function(e,t){return null==e?{}:Fr(e,t)}),Ip=ro(Ru),Pp=ro(Iu),Mp=zi(function(e,t,n){return t=t.toLowerCase(),e+(n?el(t):t)}),Hp=zi(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Bp=zi(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),zp=Bi("toLowerCase"),Wp=zi(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Up=zi(function(e,t,n){return e+(n?" ":"")+Gp(t)}),Fp=zi(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Gp=Bi("toUpperCase"),Kp=Qr(function(t,n){try{return e(t,Z,n)}catch(e){return Va(e)?e:new ec(e)}}),Yp=fo(function(e,t){return n(t,function(t){t=Vo(t),Zn(e,t,np(e[t],e))}),e}),Vp=Gi(),Xp=Gi(!0),Zp=Qr(function(e,t){return function(n){return xr(n,e,t)}}),Jp=Qr(function(e,t){return function(n){return xr(e,n,t)}
|
||
}),Qp=Xi(u),eh=Xi(i),th=Xi(p),nh=Qi(),rh=Qi(!0),ih=Vi(function(e,t){return e+t},0),oh=no("ceil"),sh=Vi(function(e,t){return e/t},1),ah=no("floor"),uh=Vi(function(e,t){return e*t},1),lh=no("round"),ch=Vi(function(e,t){return e-t},0);return U.after=_a,U.ary=wa,U.assign=Cp,U.assignIn=kp,U.assignInWith=Ap,U.assignWith=Sp,U.at=Tp,U.before=xa,U.bind=np,U.bindAll=Yp,U.bindKey=rp,U.castArray=qa,U.chain=Gs,U.chunk=Qo,U.compact=es,U.concat=ts,U.cond=xl,U.conforms=Cl,U.constant=kl,U.countBy=Kf,U.create=ku,U.curry=Ca,U.curryRight=ka,U.debounce=Aa,U.defaults=Ep,U.defaultsDeep=$p,U.defer=ip,U.delay=op,U.difference=$f,U.differenceBy=jf,U.differenceWith=Of,U.drop=ns,U.dropRight=rs,U.dropRightWhile=is,U.dropWhile=os,U.fill=ss,U.filter=ra,U.flatMap=ia,U.flatMapDeep=oa,U.flatMapDepth=sa,U.flatten=ls,U.flattenDeep=cs,U.flattenDepth=fs,U.flip=Sa,U.flow=Vp,U.flowRight=Xp,U.fromPairs=ps,U.functions=Ou,U.functionsIn=Du,U.groupBy=Xf,U.initial=gs,U.intersection=Df,U.intersectionBy=Lf,U.intersectionWith=Nf,U.invert=jp,U.invertBy=Op,U.invokeMap=Zf,U.iteratee=Tl,U.keyBy=Jf,U.keys=Ru,U.keysIn=Iu,U.map=ca,U.mapKeys=Pu,U.mapValues=Mu,U.matches=El,U.matchesProperty=$l,U.memoize=Ta,U.merge=Lp,U.mergeWith=Np,U.method=Zp,U.methodOf=Jp,U.mixin=jl,U.negate=Ea,U.nthArg=Ll,U.omit=qp,U.omitBy=Hu,U.once=$a,U.orderBy=fa,U.over=Qp,U.overArgs=sp,U.overEvery=eh,U.overSome=th,U.partial=ap,U.partialRight=up,U.partition=Qf,U.pick=Rp,U.pickBy=Bu,U.property=Nl,U.propertyOf=ql,U.pull=qf,U.pullAll=_s,U.pullAllBy=ws,U.pullAllWith=xs,U.pullAt=Rf,U.range=nh,U.rangeRight=rh,U.rearg=lp,U.reject=da,U.remove=Cs,U.rest=ja,U.reverse=ks,U.sampleSize=va,U.set=Wu,U.setWith=Uu,U.shuffle=ya,U.slice=As,U.sortBy=ep,U.sortedUniq=Ds,U.sortedUniqBy=Ls,U.split=fl,U.spread=Oa,U.tail=Ns,U.take=qs,U.takeRight=Rs,U.takeRightWhile=Is,U.takeWhile=Ps,U.tap=Ks,U.throttle=Da,U.thru=Ys,U.toArray=vu,U.toPairs=Ip,U.toPairsIn=Pp,U.toPath=zl,U.toPlainObject=wu,U.transform=Fu,U.unary=La,U.union=If,U.unionBy=Pf,U.unionWith=Mf,U.uniq=Ms,U.uniqBy=Hs,U.uniqWith=Bs,U.unset=Gu,U.unzip=zs,U.unzipWith=Ws,U.update=Ku,U.updateWith=Yu,U.values=Vu,U.valuesIn=Xu,U.without=Hf,U.words=wl,U.wrap=Na,U.xor=Bf,U.xorBy=zf,U.xorWith=Wf,U.zip=Uf,U.zipObject=Us,U.zipObjectDeep=Fs,U.zipWith=Ff,U.entries=Ip,U.entriesIn=Pp,U.extend=kp,U.extendWith=Ap,jl(U,U),U.add=ih,U.attempt=Kp,U.camelCase=Mp,U.capitalize=el,U.ceil=oh,U.clamp=Zu,U.clone=Ra,U.cloneDeep=Pa,U.cloneDeepWith=Ma,U.cloneWith=Ia,U.conformsTo=Ha,U.deburr=tl,U.defaultTo=Al,U.divide=sh,U.endsWith=nl,U.eq=Ba,U.escape=rl,U.escapeRegExp=il,U.every=na,U.find=Yf,U.findIndex=as,U.findKey=Au,U.findLast=Vf,U.findLastIndex=us,U.findLastKey=Su,U.floor=ah,U.forEach=aa,U.forEachRight=ua,U.forIn=Tu,U.forInRight=Eu,U.forOwn=$u,U.forOwnRight=ju,U.get=Lu,U.gt=cp,U.gte=fp,U.has=Nu,U.hasIn=qu,U.head=hs,U.identity=Sl,U.includes=la,U.indexOf=ds,U.inRange=Ju,U.invoke=Dp,U.isArguments=pp,U.isArray=hp,U.isArrayBuffer=dp,U.isArrayLike=za,U.isArrayLikeObject=Wa,U.isBoolean=Ua,U.isBuffer=gp,U.isDate=vp,U.isElement=Fa,U.isEmpty=Ga,U.isEqual=Ka,U.isEqualWith=Ya,U.isError=Va,U.isFinite=Xa,U.isFunction=Za,U.isInteger=Ja,U.isLength=Qa,U.isMap=yp,U.isMatch=nu,U.isMatchWith=ru,U.isNaN=iu,U.isNative=ou,U.isNil=au,U.isNull=su,U.isNumber=uu,U.isObject=eu,U.isObjectLike=tu,U.isPlainObject=lu,U.isRegExp=mp,U.isSafeInteger=cu,U.isSet=bp,U.isString=fu,U.isSymbol=pu,U.isTypedArray=_p,U.isUndefined=hu,U.isWeakMap=du,U.isWeakSet=gu,U.join=vs,U.kebabCase=Hp,U.last=ys,U.lastIndexOf=ms,U.lowerCase=Bp,U.lowerFirst=zp,U.lt=wp,U.lte=xp,U.max=Ul,U.maxBy=Fl,U.mean=Gl,U.meanBy=Kl,U.min=Yl,U.minBy=Vl,U.stubArray=Rl,U.stubFalse=Il,U.stubObject=Pl,U.stubString=Ml,U.stubTrue=Hl,U.multiply=uh,U.nth=bs,U.noConflict=Ol,U.noop=Dl,U.now=tp,U.pad=ol,U.padEnd=sl,U.padStart=al,U.parseInt=ul,U.random=Qu,U.reduce=pa,U.reduceRight=ha,U.repeat=ll,U.replace=cl,U.result=zu,U.round=lh,U.runInContext=h,U.sample=ga,U.size=ma,U.snakeCase=Wp,U.some=ba,U.sortedIndex=Ss,U.sortedIndexBy=Ts,U.sortedIndexOf=Es,U.sortedLastIndex=$s,U.sortedLastIndexBy=js,U.sortedLastIndexOf=Os,U.startCase=Up,U.startsWith=pl,U.subtract=ch,U.sum=Xl,U.sumBy=Zl,U.template=hl,U.times=Bl,U.toFinite=yu,U.toInteger=mu,U.toLength=bu,U.toLower=dl,U.toNumber=_u,U.toSafeInteger=xu,U.toString=Cu,U.toUpper=gl,U.trim=vl,U.trimEnd=yl,U.trimStart=ml,U.truncate=bl,U.unescape=_l,U.uniqueId=Wl,U.upperCase=Fp,U.upperFirst=Gp,U.each=aa,U.eachRight=ua,U.first=hs,jl(U,function(){var e={};return cr(U,function(t,n){pc.call(U.prototype,n)||(e[n]=t)}),e}(),{chain:!1}),U.VERSION="4.17.15",n(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){U[e].placeholder=U}),n(["drop","take"],function(e,t){Dt.prototype[e]=function(n){n=n===Z?1:Bc(mu(n),0);var r=this.__filtered__&&!t?new Dt(this):this.clone();return r.__filtered__?r.__takeCount__=zc(n,r.__takeCount__):r.__views__.push({size:zc(n,$e),type:e+(r.__dir__<0?"Right":"")}),r},Dt.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),n(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==Ce||3==n;Dt.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:yo(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),n(["head","last"],function(e,t){var n="take"+(t?"Right":"");Dt.prototype[e]=function(){return this[n](1).value()[0]}}),n(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");Dt.prototype[e]=function(){return this.__filtered__?new Dt(this):this[n](1)}}),Dt.prototype.compact=function(){return this.filter(Sl)},Dt.prototype.find=function(e){return this.filter(e).head()},Dt.prototype.findLast=function(e){return this.reverse().find(e)},Dt.prototype.invokeMap=Qr(function(e,t){return"function"==typeof e?new Dt(this):this.map(function(n){return xr(n,e,t)})}),Dt.prototype.reject=function(e){return this.filter(Ea(yo(e)))},Dt.prototype.slice=function(e,t){e=mu(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Dt(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==Z&&(t=mu(t),n=t<0?n.dropRight(-t):n.take(t-e)),n)},Dt.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Dt.prototype.toArray=function(){return this.take($e)},cr(Dt.prototype,function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=U[r?"take"+("last"==t?"Right":""):t],o=r||/^find/.test(t);i&&(U.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,a=t instanceof Dt,u=s[0],c=a||hp(t),f=function(e){var t=i.apply(U,l([e],s));return r&&p?t[0]:t};c&&n&&"function"==typeof u&&1!=u.length&&(a=c=!1);var p=this.__chain__,h=!!this.__actions__.length,d=o&&!p,g=a&&!h;if(!o&&c){t=g?t:new Dt(this);var v=e.apply(t,s);return v.__actions__.push({func:Ys,args:[f],thisArg:Z}),new V(v,p)}return d&&g?e.apply(this,s):(v=this.thru(f),d?r?v.value()[0]:v.value():v)})}),n(["pop","push","shift","sort","splice","unshift"],function(e){var t=ac[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);U.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var i=this.value();return t.apply(hp(i)?i:[],e)}return this[n](function(n){return t.apply(hp(n)?n:[],e)})}}),cr(Dt.prototype,function(e,t){var n=U[t];if(n){var r=n.name+"";pc.call(ef,r)||(ef[r]=[]),ef[r].push({name:t,func:n})}}),ef[Ki(Z,ce).name]=[{name:"wrapper",func:Z}],Dt.prototype.clone=Ut,Dt.prototype.reverse=Ft,Dt.prototype.value=Gt,U.prototype.at=Gf,U.prototype.chain=Vs,U.prototype.commit=Xs,U.prototype.next=Zs,U.prototype.plant=Qs,U.prototype.reverse=ea,U.prototype.toJSON=U.prototype.valueOf=U.prototype.value=ta,U.prototype.first=U.prototype.head,Ec&&(U.prototype[Ec]=Js),U}();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(An._=Bn,define(function(){return Bn})):Tn?((Tn.exports=Bn)._=Bn,Sn._=Bn):An._=Bn}).call(this),function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";function n(e,t,n){n=n||ue;var r,i,o=n.createElement("script");if(o.text=e,t)for(r in xe)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function r(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?de[ge.call(e)]||"object":typeof e}function i(e){var t=!!e&&"length"in e&&e.length,n=r(e);return!_e(e)&&!we(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function o(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function s(e,t,n){return _e(t)?Ce.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?Ce.grep(e,function(e){return e===t!==n}):"string"!=typeof t?Ce.grep(e,function(e){return he.call(t,e)>-1!==n}):Ce.filter(t,e,n)}function a(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function u(e){var t={};return Ce.each(e.match(Ne)||[],function(e,n){t[n]=!0}),t}function l(e){return e}function c(e){throw e}function f(e,t,n,r){var i;try{e&&_e(i=e.promise)?i.call(e).done(t).fail(n):e&&_e(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function p(){ue.removeEventListener("DOMContentLoaded",p),e.removeEventListener("load",p),Ce.ready()}function h(e,t){return t.toUpperCase()}function d(e){return e.replace(Pe,"ms-").replace(Me,h)}function g(){this.expando=Ce.expando+g.uid++}function v(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:We.test(e)?JSON.parse(e):e)}function y(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(Ue,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=v(n)}catch(e){}ze.set(e,t,n)}else n=void 0;return n}function m(e,t,n,r){var i,o,s=20,a=r?function(){return r.cur()}:function(){return Ce.css(e,t,"")},u=a(),l=n&&n[3]||(Ce.cssNumber[t]?"":"px"),c=e.nodeType&&(Ce.cssNumber[t]||"px"!==l&&+u)&&Ge.exec(Ce.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;s--;)Ce.style(e,t,c+l),(1-o)*(1-(o=a()/u||.5))<=0&&(s=0),c/=o;c*=2,Ce.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function b(e){var t,n=e.ownerDocument,r=e.nodeName,i=Qe[r];return i||(t=n.body.appendChild(n.createElement(r)),i=Ce.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Qe[r]=i,i)}function _(e,t){for(var n,r,i=[],o=0,s=e.length;o<s;o++)r=e[o],r.style&&(n=r.style.display,t?("none"===n&&(i[o]=Be.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&Ze(r)&&(i[o]=b(r))):"none"!==n&&(i[o]="none",Be.set(r,"display",n)));for(o=0;o<s;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}function w(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&o(e,t)?Ce.merge([e],n):n}function x(e,t){for(var n=0,r=e.length;n<r;n++)Be.set(e[n],"globalEval",!t||Be.get(t[n],"globalEval"))}function C(e,t,n,i,o){for(var s,a,u,l,c,f,p=t.createDocumentFragment(),h=[],d=0,g=e.length;d<g;d++)if((s=e[d])||0===s)if("object"===r(s))Ce.merge(h,s.nodeType?[s]:s);else if(it.test(s)){for(a=a||p.appendChild(t.createElement("div")),u=(tt.exec(s)||["",""])[1].toLowerCase(),l=rt[u]||rt._default,a.innerHTML=l[1]+Ce.htmlPrefilter(s)+l[2],f=l[0];f--;)a=a.lastChild;Ce.merge(h,a.childNodes),a=p.firstChild,a.textContent=""}else h.push(t.createTextNode(s));for(p.textContent="",d=0;s=h[d++];)if(i&&Ce.inArray(s,i)>-1)o&&o.push(s);else if(c=Ve(s),a=w(p.appendChild(s),"script"),c&&x(a),n)for(f=0;s=a[f++];)nt.test(s.type||"")&&n.push(s);return p}function k(){return!0}function A(){return!1}function S(e,t){return e===T()==("focus"===t)}function T(){try{return ue.activeElement}catch(e){}}function E(e,t,n,r,i,o){var s,a;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(a in t)E(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=A;else if(!i)return e;return 1===o&&(s=i,i=function(e){return Ce().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=Ce.guid++)),e.each(function(){Ce.event.add(this,t,i,r,n)})}function $(e,t,n){if(!n)return void(void 0===Be.get(e,t)&&Ce.event.add(e,t,k));Be.set(e,t,!1),Ce.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=Be.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)(Ce.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=ce.call(arguments),Be.set(this,t,o),r=n(this,t),this[t](),i=Be.get(this,t),o!==i||r?Be.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i.value}else o.length&&(Be.set(this,t,{value:Ce.event.trigger(Ce.extend(o[0],Ce.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})}function j(e,t){return o(e,"table")&&o(11!==t.nodeType?t:t.firstChild,"tr")?Ce(e).children("tbody")[0]||e:e}function O(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function D(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function L(e,t){var n,r,i,o,s,a,u,l;if(1===t.nodeType){if(Be.hasData(e)&&(o=Be.access(e),s=Be.set(t,o),l=o.events)){delete s.handle,s.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)Ce.event.add(t,i,l[i][n])}ze.hasData(e)&&(a=ze.access(e),u=Ce.extend({},a),ze.set(t,u))}}function N(e,t){var n=t.nodeName.toLowerCase();"input"===n&&et.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function q(e,t,r,i){t=fe.apply([],t);var o,s,a,u,l,c,f=0,p=e.length,h=p-1,d=t[0],g=_e(d);if(g||p>1&&"string"==typeof d&&!be.checkClone&&ct.test(d))return e.each(function(n){var o=e.eq(n);g&&(t[0]=d.call(this,n,o.html())),q(o,t,r,i)});if(p&&(o=C(t,e[0].ownerDocument,!1,e,i),s=o.firstChild,1===o.childNodes.length&&(o=s),s||i)){for(a=Ce.map(w(o,"script"),O),u=a.length;f<p;f++)l=o,f!==h&&(l=Ce.clone(l,!0,!0),u&&Ce.merge(a,w(l,"script"))),r.call(e[f],l,f);if(u)for(c=a[a.length-1].ownerDocument,Ce.map(a,D),f=0;f<u;f++)l=a[f],nt.test(l.type||"")&&!Be.access(l,"globalEval")&&Ce.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?Ce._evalUrl&&!l.noModule&&Ce._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")}):n(l.textContent.replace(ft,""),l,c))}return e}function R(e,t,n){for(var r,i=t?Ce.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||Ce.cleanData(w(r)),r.parentNode&&(n&&Ve(r)&&x(w(r,"script")),r.parentNode.removeChild(r));return e}function I(e,t,n){var r,i,o,s,a=e.style;return n=n||ht(e),n&&(s=n.getPropertyValue(t)||n[t],""!==s||Ve(e)||(s=Ce.style(e,t)),!be.pixelBoxStyles()&&pt.test(s)&&dt.test(t)&&(r=a.width,i=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=r,a.minWidth=i,a.maxWidth=o)),void 0!==s?s+"":s}function P(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function M(e){for(var t=e[0].toUpperCase()+e.slice(1),n=gt.length;n--;)if((e=gt[n]+t)in vt)return e}function H(e){var t=Ce.cssProps[e]||yt[e];return t||(e in vt?e:yt[e]=M(e)||e)}function B(e,t,n){var r=Ge.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function z(e,t,n,r,i,o){var s="width"===t?1:0,a=0,u=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(u+=Ce.css(e,n+Ke[s],!0,i)),r?("content"===n&&(u-=Ce.css(e,"padding"+Ke[s],!0,i)),"margin"!==n&&(u-=Ce.css(e,"border"+Ke[s]+"Width",!0,i))):(u+=Ce.css(e,"padding"+Ke[s],!0,i),"padding"!==n?u+=Ce.css(e,"border"+Ke[s]+"Width",!0,i):a+=Ce.css(e,"border"+Ke[s]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-a-.5))||0),u}function W(e,t,n){var r=ht(e),i=!be.boxSizingReliable()||n,o=i&&"border-box"===Ce.css(e,"boxSizing",!1,r),s=o,a=I(e,t,r),u="offset"+t[0].toUpperCase()+t.slice(1);if(pt.test(a)){if(!n)return a;a="auto"}return(!be.boxSizingReliable()&&o||"auto"===a||!parseFloat(a)&&"inline"===Ce.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===Ce.css(e,"boxSizing",!1,r),(s=u in e)&&(a=e[u])),(a=parseFloat(a)||0)+z(e,t,n||(o?"border":"content"),s,r,a)+"px"}function U(e,t,n,r,i){return new U.prototype.init(e,t,n,r,i)}function F(){Ct&&(!1===ue.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(F):e.setTimeout(F,Ce.fx.interval),Ce.fx.tick())}function G(){return e.setTimeout(function(){xt=void 0}),xt=Date.now()}function K(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)n=Ke[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function Y(e,t,n){for(var r,i=(Z.tweeners[t]||[]).concat(Z.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,t,e))return r}function V(e,t,n){var r,i,o,s,a,u,l,c,f="width"in t||"height"in t,p=this,h={},d=e.style,g=e.nodeType&&Ze(e),v=Be.get(e,"fxshow");n.queue||(s=Ce._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,p.always(function(){p.always(function(){s.unqueued--,Ce.queue(e,"fx").length||s.empty.fire()})}));for(r in t)if(i=t[r],kt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}h[r]=v&&v[r]||Ce.style(e,r)}if((u=!Ce.isEmptyObject(t))||!Ce.isEmptyObject(h)){f&&1===e.nodeType&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],l=v&&v.display,null==l&&(l=Be.get(e,"display")),c=Ce.css(e,"display"),"none"===c&&(l?c=l:(_([e],!0),l=e.style.display||l,c=Ce.css(e,"display"),_([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===Ce.css(e,"float")&&(u||(p.done(function(){d.display=l}),null==l&&(c=d.display,l="none"===c?"":c)),d.display="inline-block")),n.overflow&&(d.overflow="hidden",p.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),u=!1;for(r in h)u||(v?"hidden"in v&&(g=v.hidden):v=Be.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&_([e],!0),p.done(function(){g||_([e]),Be.remove(e,"fxshow");for(r in h)Ce.style(e,r,h[r])})),u=Y(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}}function X(e,t){var n,r,i,o,s;for(n in e)if(r=d(n),i=t[r],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(s=Ce.cssHooks[r])&&"expand"in s){o=s.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function Z(e,t,n){var r,i,o=0,s=Z.prefilters.length,a=Ce.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=xt||G(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,s=0,u=l.tweens.length;s<u;s++)l.tweens[s].run(o);return a.notifyWith(e,[l,o,n]),o<1&&u?n:(u||a.notifyWith(e,[l,1,0]),a.resolveWith(e,[l]),!1)},l=a.promise({elem:e,props:Ce.extend({},t),opts:Ce.extend(!0,{specialEasing:{},easing:Ce.easing._default},n),originalProperties:t,originalOptions:n,startTime:xt||G(),duration:n.duration,tweens:[],createTween:function(t,n){var r=Ce.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(a.notifyWith(e,[l,1,0]),a.resolveWith(e,[l,t])):a.rejectWith(e,[l,t]),this}}),c=l.props;for(X(c,l.opts.specialEasing);o<s;o++)if(r=Z.prefilters[o].call(l,e,c,l.opts))return _e(r.stop)&&(Ce._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return Ce.map(c,Y,l),_e(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),Ce.fx.timer(Ce.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}function J(e){return(e.match(Ne)||[]).join(" ")}function Q(e){return e.getAttribute&&e.getAttribute("class")||""}function ee(e){return Array.isArray(e)?e:"string"==typeof e?e.match(Ne)||[]:[]}function te(e,t,n,i){var o;if(Array.isArray(t))Ce.each(t,function(t,r){n||Rt.test(e)?i(e,r):te(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==r(t))i(e,t);else for(o in t)te(e+"["+o+"]",t[o],n,i)}function ne(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Ne)||[];if(_e(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function re(e,t,n,r){function i(a){var u;return o[a]=!0,Ce.each(e[a]||[],function(e,a){var l=a(t,n,r);return"string"!=typeof l||s||o[l]?s?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},s=e===Yt;return i(t.dataTypes[0])||!o["*"]&&i("*")}function ie(e,t){var n,r,i=Ce.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&Ce.extend(!0,e,r),e}function oe(e,t,n){for(var r,i,o,s,a=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==u[0]&&u.unshift(o),n[o]}function se(e,t,n,r){var i,o,s,a,u,l={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)l[s.toLowerCase()]=e.converters[s];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(s=l[u+" "+o]||l["* "+o]))for(i in l)if(a=i.split(" "),a[1]===o&&(s=l[u+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[i]:!0!==l[i]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}var ae=[],ue=e.document,le=Object.getPrototypeOf,ce=ae.slice,fe=ae.concat,pe=ae.push,he=ae.indexOf,de={},ge=de.toString,ve=de.hasOwnProperty,ye=ve.toString,me=ye.call(Object),be={},_e=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},we=function(e){return null!=e&&e===e.window},xe={type:!0,src:!0,nonce:!0,noModule:!0},Ce=function(e,t){return new Ce.fn.init(e,t)},ke=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;Ce.fn=Ce.prototype={jquery:"3.4.1",constructor:Ce,length:0,toArray:function(){return ce.call(this)},get:function(e){return null==e?ce.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=Ce.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return Ce.each(this,e)},map:function(e){return this.pushStack(Ce.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ce.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:pe,sort:ae.sort,splice:ae.splice},Ce.extend=Ce.fn.extend=function(){var e,t,n,r,i,o,s=arguments[0]||{},a=1,u=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||_e(s)||(s={}),a===u&&(s=this,a--);a<u;a++)if(null!=(e=arguments[a]))for(t in e)r=e[t],"__proto__"!==t&&s!==r&&(l&&r&&(Ce.isPlainObject(r)||(i=Array.isArray(r)))?(n=s[t],o=i&&!Array.isArray(n)?[]:i||Ce.isPlainObject(n)?n:{},i=!1,s[t]=Ce.extend(l,o,r)):void 0!==r&&(s[t]=r));return s},Ce.extend({expando:"jQuery"+("3.4.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==ge.call(e))&&(!(t=le(e))||"function"==typeof(n=ve.call(t,"constructor")&&t.constructor)&&ye.call(n)===me)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t){n(e,{nonce:t&&t.nonce})},each:function(e,t){var n,r=0;if(i(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(ke,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(i(Object(e))?Ce.merge(n,"string"==typeof e?[e]:e):pe.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:he.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,s=!n;i<o;i++)!t(e[i],i)!==s&&r.push(e[i]);return r},map:function(e,t,n){var r,o,s=0,a=[];if(i(e))for(r=e.length;s<r;s++)null!=(o=t(e[s],s,n))&&a.push(o);else for(s in e)null!=(o=t(e[s],s,n))&&a.push(o);return fe.apply([],a)},guid:1,support:be}),"function"==typeof Symbol&&(Ce.fn[Symbol.iterator]=ae[Symbol.iterator]),Ce.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){de["[object "+t+"]"]=t.toLowerCase()});var Ae=function(e){function t(e,t,n,r){var i,o,s,a,u,c,p,h=t&&t.ownerDocument,d=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==d&&9!==d&&11!==d)return n;if(!r&&((t?t.ownerDocument||t:M)!==O&&j(t),t=t||O,L)){if(11!==d&&(u=ye.exec(e)))if(i=u[1]){if(9===d){if(!(s=t.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(h&&(s=h.getElementById(i))&&I(t,s)&&s.id===i)return n.push(s),n}else{if(u[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&_.getElementsByClassName&&t.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(i)),n}if(_.qsa&&!F[e+" "]&&(!N||!N.test(e))&&(1!==d||"object"!==t.nodeName.toLowerCase())){if(p=e,h=t,1===d&&le.test(e)){for((a=t.getAttribute("id"))?a=a.replace(we,xe):t.setAttribute("id",a=P),c=k(e),o=c.length;o--;)c[o]="#"+a+" "+f(c[o]);p=c.join(","),h=me.test(e)&&l(t.parentNode)||t}try{return Z.apply(n,h.querySelectorAll(p)),n}catch(t){F(e,!0)}finally{a===P&&t.removeAttribute("id")}}}return S(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>w.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[P]=!0,e}function i(e){var t=O.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)w.attrHandle[n[r]]=t}function s(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function a(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ke(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function u(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))})})}function l(e){return e&&void 0!==e.getElementsByTagName&&e}function c(){}function f(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function p(e,t,n){var r=t.dir,i=t.next,o=i||r,s=n&&"parentNode"===o,a=B++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||s)return e(t,n,i);return!1}:function(t,n,u){var l,c,f,p=[H,a];if(u){for(;t=t[r];)if((1===t.nodeType||s)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||s)if(f=t[P]||(t[P]={}),c=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===H&&l[1]===a)return p[2]=l[2];if(c[o]=p,p[2]=e(t,n,u))return!0}return!1}}function h(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function d(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}function g(e,t,n,r,i){for(var o,s=[],a=0,u=e.length,l=null!=t;a<u;a++)(o=e[a])&&(n&&!n(o,r,i)||(s.push(o),l&&t.push(a)));return s}function v(e,t,n,i,o,s){return i&&!i[P]&&(i=v(i)),o&&!o[P]&&(o=v(o,s)),r(function(r,s,a,u){var l,c,f,p=[],h=[],v=s.length,y=r||d(t||"*",a.nodeType?[a]:a,[]),m=!e||!r&&t?y:g(y,p,e,a,u),b=n?o||(r?e:v||i)?[]:s:m;if(n&&n(m,b,a,u),i)for(l=g(b,h),i(l,[],a,u),c=l.length;c--;)(f=l[c])&&(b[h[c]]=!(m[h[c]]=f));if(r){if(o||e){if(o){for(l=[],c=b.length;c--;)(f=b[c])&&l.push(m[c]=f);o(null,b=[],l,u)}for(c=b.length;c--;)(f=b[c])&&(l=o?Q(r,f):p[c])>-1&&(r[l]=!(s[l]=f))}}else b=g(b===s?b.splice(v,b.length):b),o?o(null,s,b,u):Z.apply(s,b)})}function y(e){for(var t,n,r,i=e.length,o=w.relative[e[0].type],s=o||w.relative[" "],a=o?1:0,u=p(function(e){return e===t},s,!0),l=p(function(e){return Q(t,e)>-1},s,!0),c=[function(e,n,r){var i=!o&&(r||n!==T)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];a<i;a++)if(n=w.relative[e[a].type])c=[p(h(c),n)];else{if(n=w.filter[e[a].type].apply(null,e[a].matches),n[P]){for(r=++a;r<i&&!w.relative[e[r].type];r++);return v(a>1&&h(c),a>1&&f(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(se,"$1"),n,a<r&&y(e.slice(a,r)),r<i&&y(e=e.slice(r)),r<i&&f(e))}c.push(n)}return h(c)}function m(e,n){var i=n.length>0,o=e.length>0,s=function(r,s,a,u,l){var c,f,p,h=0,d="0",v=r&&[],y=[],m=T,b=r||o&&w.find.TAG("*",l),_=H+=null==m?1:Math.random()||.1,x=b.length;for(l&&(T=s===O||s||l);d!==x&&null!=(c=b[d]);d++){if(o&&c){for(f=0,s||c.ownerDocument===O||(j(c),a=!L);p=e[f++];)if(p(c,s||O,a)){u.push(c);break}l&&(H=_)}i&&((c=!p&&c)&&h--,r&&v.push(c))}if(h+=d,i&&d!==h){for(f=0;p=n[f++];)p(v,y,s,a);if(r){if(h>0)for(;d--;)v[d]||y[d]||(y[d]=V.call(u));y=g(y)}Z.apply(u,y),l&&!r&&y.length>0&&h+n.length>1&&t.uniqueSort(u)}return l&&(H=_,T=m),v};return i?r(s):s}var b,_,w,x,C,k,A,S,T,E,$,j,O,D,L,N,q,R,I,P="sizzle"+1*new Date,M=e.document,H=0,B=0,z=n(),W=n(),U=n(),F=n(),G=function(e,t){return e===t&&($=!0),0},K={}.hasOwnProperty,Y=[],V=Y.pop,X=Y.push,Z=Y.push,J=Y.slice,Q=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},ee="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",te="[\\x20\\t\\r\\n\\f]",ne="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",re="\\["+te+"*("+ne+")(?:"+te+"*([*^$|!~]?=)"+te+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+ne+"))|)"+te+"*\\]",ie=":("+ne+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+re+")*)|.*)\\)|)",oe=new RegExp(te+"+","g"),se=new RegExp("^"+te+"+|((?:^|[^\\\\])(?:\\\\.)*)"+te+"+$","g"),ae=new RegExp("^"+te+"*,"+te+"*"),ue=new RegExp("^"+te+"*([>+~]|"+te+")"+te+"*"),le=new RegExp(te+"|>"),ce=new RegExp(ie),fe=new RegExp("^"+ne+"$"),pe={ID:new RegExp("^#("+ne+")"),CLASS:new RegExp("^\\.("+ne+")"),TAG:new RegExp("^("+ne+"|[*])"),ATTR:new RegExp("^"+re),PSEUDO:new RegExp("^"+ie),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+te+"*(even|odd|(([+-]|)(\\d*)n|)"+te+"*(?:([+-]|)"+te+"*(\\d+)|))"+te+"*\\)|)","i"),bool:new RegExp("^(?:"+ee+")$","i"),needsContext:new RegExp("^"+te+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+te+"*((?:-\\d)?\\d*)"+te+"*\\)|)(?=[^-]|$)","i")},he=/HTML$/i,de=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,ve=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,me=/[+~]/,be=new RegExp("\\\\([\\da-f]{1,6}"+te+"?|("+te+")|.)","ig"),_e=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},we=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,xe=function(e,t){return t?"\0"===e?"<22>":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},Ce=function(){j()},ke=p(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{Z.apply(Y=J.call(M.childNodes),M.childNodes),Y[M.childNodes.length].nodeType}catch(e){Z={apply:Y.length?function(e,t){X.apply(e,J.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}_=t.support={},C=t.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!he.test(t||n&&n.nodeName||"HTML")},j=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:M;return r!==O&&9===r.nodeType&&r.documentElement?(O=r,D=O.documentElement,L=!C(O),M!==O&&(n=O.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Ce,!1):n.attachEvent&&n.attachEvent("onunload",Ce)),_.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),_.getElementsByTagName=i(function(e){return e.appendChild(O.createComment("")),!e.getElementsByTagName("*").length}),_.getElementsByClassName=ve.test(O.getElementsByClassName),_.getById=i(function(e){return D.appendChild(e).id=P,!O.getElementsByName||!O.getElementsByName(P).length
|
||
}),_.getById?(w.filter.ID=function(e){var t=e.replace(be,_e);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&L){var n=t.getElementById(e);return n?[n]:[]}}):(w.filter.ID=function(e){var t=e.replace(be,_e);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&L){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),w.find.TAG=_.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):_.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},w.find.CLASS=_.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&L)return t.getElementsByClassName(e)},q=[],N=[],(_.qsa=ve.test(O.querySelectorAll))&&(i(function(e){D.appendChild(e).innerHTML="<a id='"+P+"'></a><select id='"+P+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]="+te+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||N.push("\\["+te+"*(?:value|"+ee+")"),e.querySelectorAll("[id~="+P+"-]").length||N.push("~="),e.querySelectorAll(":checked").length||N.push(":checked"),e.querySelectorAll("a#"+P+"+*").length||N.push(".#.+[+~]")}),i(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=O.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&N.push("name"+te+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&N.push(":enabled",":disabled"),D.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),N.push(",.*:")})),(_.matchesSelector=ve.test(R=D.matches||D.webkitMatchesSelector||D.mozMatchesSelector||D.oMatchesSelector||D.msMatchesSelector))&&i(function(e){_.disconnectedMatch=R.call(e,"*"),R.call(e,"[s!='']:x"),q.push("!=",ie)}),N=N.length&&new RegExp(N.join("|")),q=q.length&&new RegExp(q.join("|")),t=ve.test(D.compareDocumentPosition),I=t||ve.test(D.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},G=t?function(e,t){if(e===t)return $=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!_.sortDetached&&t.compareDocumentPosition(e)===n?e===O||e.ownerDocument===M&&I(M,e)?-1:t===O||t.ownerDocument===M&&I(M,t)?1:E?Q(E,e)-Q(E,t):0:4&n?-1:1)}:function(e,t){if(e===t)return $=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],u=[t];if(!i||!o)return e===O?-1:t===O?1:i?-1:o?1:E?Q(E,e)-Q(E,t):0;if(i===o)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;a[r]===u[r];)r++;return r?s(a[r],u[r]):a[r]===M?-1:u[r]===M?1:0},O):O},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==O&&j(e),_.matchesSelector&&L&&!F[n+" "]&&(!q||!q.test(n))&&(!N||!N.test(n)))try{var r=R.call(e,n);if(r||_.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){F(n,!0)}return t(n,O,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==O&&j(e),I(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==O&&j(e);var n=w.attrHandle[t.toLowerCase()],r=n&&K.call(w.attrHandle,t.toLowerCase())?n(e,t,!L):void 0;return void 0!==r?r:_.attributes||!L?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(we,xe)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if($=!_.detectDuplicates,E=!_.sortStable&&e.slice(0),e.sort(G),$){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return E=null,e},x=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=x(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=x(t);return n},w=t.selectors={cacheLength:50,createPseudo:r,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,_e),e[3]=(e[3]||e[4]||e[5]||"").replace(be,_e),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ce.test(n)&&(t=k(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,_e).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=z[e+" "];return t||(t=new RegExp("(^|"+te+")"+e+"("+te+"|$)"))&&z(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(oe," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,h,d,g=o!==s?"nextSibling":"previousSibling",v=t.parentNode,y=a&&t.nodeName.toLowerCase(),m=!u&&!a,b=!1;if(v){if(o){for(;g;){for(p=t;p=p[g];)if(a?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;d=g="only"===e&&!d&&"nextSibling"}return!0}if(d=[s?v.firstChild:v.lastChild],s&&m){for(p=v,f=p[P]||(p[P]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),l=c[e]||[],h=l[0]===H&&l[1],b=h&&l[2],p=h&&v.childNodes[h];p=++h&&p&&p[g]||(b=h=0)||d.pop();)if(1===p.nodeType&&++b&&p===t){c[e]=[H,h,b];break}}else if(m&&(p=t,f=p[P]||(p[P]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),l=c[e]||[],h=l[0]===H&&l[1],b=h),!1===b)for(;(p=++h&&p&&p[g]||(b=h=0)||d.pop())&&((a?p.nodeName.toLowerCase()!==y:1!==p.nodeType)||!++b||(m&&(f=p[P]||(p[P]={}),c=f[p.uniqueID]||(f[p.uniqueID]={}),c[e]=[H,b]),p!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,n){var i,o=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[P]?o(n):o.length>1?(i=[e,e,"",n],w.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),s=i.length;s--;)r=Q(e,i[s]),e[r]=!(t[r]=i[s])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=A(e.replace(se,"$1"));return i[P]?r(function(e,t,n,r){for(var o,s=i(e,null,r,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(be,_e),function(t){return(t.textContent||x(t)).indexOf(e)>-1}}),lang:r(function(e){return fe.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,_e).toLowerCase(),function(t){var n;do{if(n=L?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===D},focus:function(e){return e===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:a(!1),disabled:a(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return ge.test(e.nodeName)},input:function(e){return de.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:u(function(){return[0]}),last:u(function(e,t){return[t-1]}),eq:u(function(e,t,n){return[n<0?n+t:n]}),even:u(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:u(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:u(function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e}),gt:u(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},w.pseudos.nth=w.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[b]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(b);for(b in{submit:!0,reset:!0})w.pseudos[b]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(b);return c.prototype=w.filters=w.pseudos,w.setFilters=new c,k=t.tokenize=function(e,n){var r,i,o,s,a,u,l,c=W[e+" "];if(c)return n?0:c.slice(0);for(a=e,u=[],l=w.preFilter;a;){r&&!(i=ae.exec(a))||(i&&(a=a.slice(i[0].length)||a),u.push(o=[])),r=!1,(i=ue.exec(a))&&(r=i.shift(),o.push({value:r,type:i[0].replace(se," ")}),a=a.slice(r.length));for(s in w.filter)!(i=pe[s].exec(a))||l[s]&&!(i=l[s](i))||(r=i.shift(),o.push({value:r,type:s,matches:i}),a=a.slice(r.length));if(!r)break}return n?a.length:a?t.error(e):W(e,u).slice(0)},A=t.compile=function(e,t){var n,r=[],i=[],o=U[e+" "];if(!o){for(t||(t=k(e)),n=t.length;n--;)o=y(t[n]),o[P]?r.push(o):i.push(o);o=U(e,m(i,r)),o.selector=e}return o},S=t.select=function(e,t,n,r){var i,o,s,a,u,c="function"==typeof e&&e,p=!r&&k(e=c.selector||e);if(n=n||[],1===p.length){if(o=p[0]=p[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&9===t.nodeType&&L&&w.relative[o[1].type]){if(!(t=(w.find.ID(s.matches[0].replace(be,_e),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=pe.needsContext.test(e)?0:o.length;i--&&(s=o[i],!w.relative[a=s.type]);)if((u=w.find[a])&&(r=u(s.matches[0].replace(be,_e),me.test(o[0].type)&&l(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&f(o)))return Z.apply(n,r),n;break}}return(c||A(e,p))(r,t,!L,n,!t||me.test(e)&&l(t.parentNode)||t),n},_.sortStable=P.split("").sort(G).join("")===P,_.detectDuplicates=!!$,j(),_.sortDetached=i(function(e){return 1&e.compareDocumentPosition(O.createElement("fieldset"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),_.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(ee,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);Ce.find=Ae,Ce.expr=Ae.selectors,Ce.expr[":"]=Ce.expr.pseudos,Ce.uniqueSort=Ce.unique=Ae.uniqueSort,Ce.text=Ae.getText,Ce.isXMLDoc=Ae.isXML,Ce.contains=Ae.contains,Ce.escapeSelector=Ae.escape;var Se=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&Ce(e).is(n))break;r.push(e)}return r},Te=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Ee=Ce.expr.match.needsContext,$e=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;Ce.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Ce.find.matchesSelector(r,e)?[r]:[]:Ce.find.matches(e,Ce.grep(t,function(e){return 1===e.nodeType}))},Ce.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(Ce(e).filter(function(){for(t=0;t<r;t++)if(Ce.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)Ce.find(e,i[t],n);return r>1?Ce.uniqueSort(n):n},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&Ee.test(e)?Ce(e):e||[],!1).length}});var je,Oe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(Ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||je,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Oe.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof Ce?t[0]:t,Ce.merge(this,Ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:ue,!0)),$e.test(r[1])&&Ce.isPlainObject(t))for(r in t)_e(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return i=ue.getElementById(r[2]),i&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):_e(e)?void 0!==n.ready?n.ready(e):e(Ce):Ce.makeArray(e,this)}).prototype=Ce.fn,je=Ce(ue);var De=/^(?:parents|prev(?:Until|All))/,Le={children:!0,contents:!0,next:!0,prev:!0};Ce.fn.extend({has:function(e){var t=Ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(Ce.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],s="string"!=typeof e&&Ce(e);if(!Ee.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&Ce.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?Ce.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?he.call(Ce(e),this[0]):he.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Ce.uniqueSort(Ce.merge(this.get(),Ce(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Ce.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Se(e,"parentNode")},parentsUntil:function(e,t,n){return Se(e,"parentNode",n)},next:function(e){return a(e,"nextSibling")},prev:function(e){return a(e,"previousSibling")},nextAll:function(e){return Se(e,"nextSibling")},prevAll:function(e){return Se(e,"previousSibling")},nextUntil:function(e,t,n){return Se(e,"nextSibling",n)},prevUntil:function(e,t,n){return Se(e,"previousSibling",n)},siblings:function(e){return Te((e.parentNode||{}).firstChild,e)},children:function(e){return Te(e.firstChild)},contents:function(e){return void 0!==e.contentDocument?e.contentDocument:(o(e,"template")&&(e=e.content||e),Ce.merge([],e.childNodes))}},function(e,t){Ce.fn[e]=function(n,r){var i=Ce.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=Ce.filter(r,i)),this.length>1&&(Le[e]||Ce.uniqueSort(i),De.test(e)&&i.reverse()),this.pushStack(i)}});var Ne=/[^\x20\t\r\n\f]+/g;Ce.Callbacks=function(e){e="string"==typeof e?u(e):Ce.extend({},e);var t,n,i,o,s=[],a=[],l=-1,c=function(){for(o=o||e.once,i=t=!0;a.length;l=-1)for(n=a.shift();++l<s.length;)!1===s[l].apply(n[0],n[1])&&e.stopOnFalse&&(l=s.length,n=!1);e.memory||(n=!1),t=!1,o&&(s=n?[]:"")},f={add:function(){return s&&(n&&!t&&(l=s.length-1,a.push(n)),function t(n){Ce.each(n,function(n,i){_e(i)?e.unique&&f.has(i)||s.push(i):i&&i.length&&"string"!==r(i)&&t(i)})}(arguments),n&&!t&&c()),this},remove:function(){return Ce.each(arguments,function(e,t){for(var n;(n=Ce.inArray(t,s,n))>-1;)s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?Ce.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return o=a=[],s=n="",this},disabled:function(){return!s},lock:function(){return o=a=[],n||t||(s=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!i}};return f},Ce.extend({Deferred:function(t){var n=[["notify","progress",Ce.Callbacks("memory"),Ce.Callbacks("memory"),2],["resolve","done",Ce.Callbacks("once memory"),Ce.Callbacks("once memory"),0,"resolved"],["reject","fail",Ce.Callbacks("once memory"),Ce.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return Ce.Deferred(function(t){Ce.each(n,function(n,r){var i=_e(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&_e(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){function o(t,n,r,i){return function(){var a=this,u=arguments,f=function(){var e,f;if(!(t<s)){if((e=r.apply(a,u))===n.promise())throw new TypeError("Thenable self-resolution");f=e&&("object"==typeof e||"function"==typeof e)&&e.then,_e(f)?i?f.call(e,o(s,n,l,i),o(s,n,c,i)):(s++,f.call(e,o(s,n,l,i),o(s,n,c,i),o(s,n,l,n.notifyWith))):(r!==l&&(a=void 0,u=[e]),(i||n.resolveWith)(a,u))}},p=i?f:function(){try{f()}catch(e){Ce.Deferred.exceptionHook&&Ce.Deferred.exceptionHook(e,p.stackTrace),t+1>=s&&(r!==c&&(a=void 0,u=[e]),n.rejectWith(a,u))}};t?p():(Ce.Deferred.getStackHook&&(p.stackTrace=Ce.Deferred.getStackHook()),e.setTimeout(p))}}var s=0;return Ce.Deferred(function(e){n[0][3].add(o(0,e,_e(i)?i:l,e.notifyWith)),n[1][3].add(o(0,e,_e(t)?t:l)),n[2][3].add(o(0,e,_e(r)?r:c))}).promise()},promise:function(e){return null!=e?Ce.extend(e,i):i}},o={};return Ce.each(n,function(e,t){var s=t[2],a=t[5];i[t[1]]=s.add,a&&s.add(function(){r=a},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),s.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=s.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=ce.call(arguments),o=Ce.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?ce.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(f(e,o.done(s(n)).resolve,o.reject,!t),"pending"===o.state()||_e(i[n]&&i[n].then)))return o.then();for(;n--;)f(i[n],s(n),o.reject);return o.promise()}});var qe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;Ce.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&qe.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},Ce.readyException=function(t){e.setTimeout(function(){throw t})};var Re=Ce.Deferred();Ce.fn.ready=function(e){return Re.then(e).catch(function(e){Ce.readyException(e)}),this},Ce.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--Ce.readyWait:Ce.isReady)||(Ce.isReady=!0,!0!==e&&--Ce.readyWait>0||Re.resolveWith(ue,[Ce]))}}),Ce.ready.then=Re.then,"complete"===ue.readyState||"loading"!==ue.readyState&&!ue.documentElement.doScroll?e.setTimeout(Ce.ready):(ue.addEventListener("DOMContentLoaded",p),e.addEventListener("load",p));var Ie=function(e,t,n,i,o,s,a){var u=0,l=e.length,c=null==n;if("object"===r(n)){o=!0;for(u in n)Ie(e,t,u,n[u],!0,s,a)}else if(void 0!==i&&(o=!0,_e(i)||(a=!0),c&&(a?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(Ce(e),n)})),t))for(;u<l;u++)t(e[u],n,a?i:i.call(e[u],u,t(e[u],n)));return o?e:c?t.call(e):l?t(e[0],n):s},Pe=/^-ms-/,Me=/-([a-z])/g,He=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};g.uid=1,g.prototype={cache:function(e){var t=e[this.expando];return t||(t={},He(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[d(t)]=n;else for(r in t)i[d(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][d(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){Array.isArray(t)?t=t.map(d):(t=d(t),t=t in r?[t]:t.match(Ne)||[]),n=t.length;for(;n--;)delete r[t[n]]}(void 0===t||Ce.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!Ce.isEmptyObject(t)}};var Be=new g,ze=new g,We=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ue=/[A-Z]/g;Ce.extend({hasData:function(e){return ze.hasData(e)||Be.hasData(e)},data:function(e,t,n){return ze.access(e,t,n)},removeData:function(e,t){ze.remove(e,t)},_data:function(e,t,n){return Be.access(e,t,n)},_removeData:function(e,t){Be.remove(e,t)}}),Ce.fn.extend({data:function(e,t){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(i=ze.get(o),1===o.nodeType&&!Be.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&(r=s[n].name,0===r.indexOf("data-")&&(r=d(r.slice(5)),y(o,r,i[r])));Be.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){ze.set(this,e)}):Ie(this,function(t){var n;if(o&&void 0===t){if(void 0!==(n=ze.get(o,e)))return n;if(void 0!==(n=y(o,e)))return n}else this.each(function(){ze.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){ze.remove(this,e)})}}),Ce.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Be.get(e,t),n&&(!r||Array.isArray(n)?r=Be.access(e,t,Ce.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=Ce.queue(e,t),r=n.length,i=n.shift(),o=Ce._queueHooks(e,t),s=function(){Ce.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,s,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Be.get(e,n)||Be.access(e,n,{empty:Ce.Callbacks("once memory").add(function(){Be.remove(e,[t+"queue",n])})})}}),Ce.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?Ce.queue(this[0],e):void 0===t?this:this.each(function(){var n=Ce.queue(this,e,t);Ce._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&Ce.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Ce.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=Ce.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=Be.get(o[s],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(t)}});var Fe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ge=new RegExp("^(?:([+-])=|)("+Fe+")([a-z%]*)$","i"),Ke=["Top","Right","Bottom","Left"],Ye=ue.documentElement,Ve=function(e){return Ce.contains(e.ownerDocument,e)},Xe={composed:!0};Ye.getRootNode&&(Ve=function(e){return Ce.contains(e.ownerDocument,e)||e.getRootNode(Xe)===e.ownerDocument});var Ze=function(e,t){return e=t||e,"none"===e.style.display||""===e.style.display&&Ve(e)&&"none"===Ce.css(e,"display")},Je=function(e,t,n,r){var i,o,s={};for(o in t)s[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=s[o];return i},Qe={};Ce.fn.extend({show:function(){return _(this,!0)},hide:function(){return _(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Ze(this)?Ce(this).show():Ce(this).hide()})}});var et=/^(?:checkbox|radio)$/i,tt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,nt=/^$|^module$|\/(?:java|ecma)script/i,rt={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};rt.optgroup=rt.option,rt.tbody=rt.tfoot=rt.colgroup=rt.caption=rt.thead,rt.th=rt.td;var it=/<|&#?\w+;/;!function(){var e=ue.createDocumentFragment(),t=e.appendChild(ue.createElement("div")),n=ue.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),be.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",be.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var ot=/^key/,st=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,at=/^([^.]*)(?:\.(.+)|)/;Ce.event={global:{},add:function(e,t,n,r,i){var o,s,a,u,l,c,f,p,h,d,g,v=Be.get(e);if(v)for(n.handler&&(o=n,n=o.handler,i=o.selector),i&&Ce.find.matchesSelector(Ye,i),n.guid||(n.guid=Ce.guid++),(u=v.events)||(u=v.events={}),(s=v.handle)||(s=v.handle=function(t){return void 0!==Ce&&Ce.event.triggered!==t.type?Ce.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(Ne)||[""],l=t.length;l--;)a=at.exec(t[l])||[],h=g=a[1],d=(a[2]||"").split(".").sort(),h&&(f=Ce.event.special[h]||{},h=(i?f.delegateType:f.bindType)||h,f=Ce.event.special[h]||{},c=Ce.extend({type:h,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&Ce.expr.match.needsContext.test(i),namespace:d.join(".")},o),(p=u[h])||(p=u[h]=[],p.delegateCount=0,f.setup&&!1!==f.setup.call(e,r,d,s)||e.addEventListener&&e.addEventListener(h,s)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),Ce.event.global[h]=!0)},remove:function(e,t,n,r,i){var o,s,a,u,l,c,f,p,h,d,g,v=Be.hasData(e)&&Be.get(e);if(v&&(u=v.events)){for(t=(t||"").match(Ne)||[""],l=t.length;l--;)if(a=at.exec(t[l])||[],h=g=a[1],d=(a[2]||"").split(".").sort(),h){for(f=Ce.event.special[h]||{},h=(r?f.delegateType:f.bindType)||h,p=u[h]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=p.length;o--;)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));s&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,d,v.handle)||Ce.removeEvent(e,h,v.handle),delete u[h])}else for(h in u)Ce.event.remove(e,h+t[l],n,r,!0);Ce.isEmptyObject(u)&&Be.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,s,a=Ce.event.fix(e),u=new Array(arguments.length),l=(Be.get(this,"events")||{})[a.type]||[],c=Ce.event.special[a.type]||{};for(u[0]=a,t=1;t<arguments.length;t++)u[t]=arguments[t];if(a.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,a)){for(s=Ce.event.handlers.call(this,a,l),t=0;(i=s[t++])&&!a.isPropagationStopped();)for(a.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!1!==o.namespace&&!a.rnamespace.test(o.namespace)||(a.handleObj=o,a.data=o.data,void 0!==(r=((Ce.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))&&!1===(a.result=r)&&(a.preventDefault(),a.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,r,i,o,s,a=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],s={},n=0;n<u;n++)r=t[n],i=r.selector+" ",void 0===s[i]&&(s[i]=r.needsContext?Ce(i,this).index(l)>-1:Ce.find(i,this,null,[l]).length),s[i]&&o.push(r);o.length&&a.push({elem:l,handlers:o})}return l=this,u<t.length&&a.push({elem:l,handlers:t.slice(u)}),a},addProp:function(e,t){Object.defineProperty(Ce.Event.prototype,e,{enumerable:!0,configurable:!0,get:_e(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[Ce.expando]?e:new Ce.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return et.test(t.type)&&t.click&&o(t,"input")&&$(t,"click",k),!1},trigger:function(e){var t=this||e;return et.test(t.type)&&t.click&&o(t,"input")&&$(t,"click"),!0},_default:function(e){var t=e.target;return et.test(t.type)&&t.click&&o(t,"input")&&Be.get(t,"click")||o(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},Ce.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},Ce.Event=function(e,t){if(!(this instanceof Ce.Event))return new Ce.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?k:A,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&Ce.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[Ce.expando]=!0},Ce.Event.prototype={constructor:Ce.Event,isDefaultPrevented:A,isPropagationStopped:A,isImmediatePropagationStopped:A,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=k,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=k,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=k,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},Ce.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&ot.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&st.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},Ce.event.addProp),Ce.each({focus:"focusin",blur:"focusout"},function(e,t){Ce.event.special[e]={setup:function(){return $(this,e,S),!1},trigger:function(){return $(this,e),!0},delegateType:t}}),Ce.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){Ce.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||Ce.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),Ce.fn.extend({on:function(e,t,n,r){return E(this,e,t,n,r)},one:function(e,t,n,r){return E(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,Ce(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=A),this.each(function(){Ce.event.remove(this,e,n,t)})}});var ut=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,lt=/<script|<style|<link/i,ct=/checked\s*(?:[^=]|=\s*.checked.)/i,ft=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;Ce.extend({htmlPrefilter:function(e){return e.replace(ut,"<$1></$2>")},clone:function(e,t,n){var r,i,o,s,a=e.cloneNode(!0),u=Ve(e);if(!(be.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Ce.isXMLDoc(e)))for(s=w(a),o=w(e),r=0,i=o.length;r<i;r++)N(o[r],s[r]);if(t)if(n)for(o=o||w(e),s=s||w(a),r=0,i=o.length;r<i;r++)L(o[r],s[r]);else L(e,a);return s=w(a,"script"),s.length>0&&x(s,!u&&w(e,"script")),a},cleanData:function(e){for(var t,n,r,i=Ce.event.special,o=0;void 0!==(n=e[o]);o++)if(He(n)){
|
||
if(t=n[Be.expando]){if(t.events)for(r in t.events)i[r]?Ce.event.remove(n,r):Ce.removeEvent(n,r,t.handle);n[Be.expando]=void 0}n[ze.expando]&&(n[ze.expando]=void 0)}}}),Ce.fn.extend({detach:function(e){return R(this,e,!0)},remove:function(e){return R(this,e)},text:function(e){return Ie(this,function(e){return void 0===e?Ce.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return q(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){j(this,e).appendChild(e)}})},prepend:function(){return q(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=j(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return q(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return q(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(Ce.cleanData(w(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Ce.clone(this,e,t)})},html:function(e){return Ie(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!lt.test(e)&&!rt[(tt.exec(e)||["",""])[1].toLowerCase()]){e=Ce.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(Ce.cleanData(w(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return q(this,arguments,function(t){var n=this.parentNode;Ce.inArray(this,e)<0&&(Ce.cleanData(w(this)),n&&n.replaceChild(t,this))},e)}}),Ce.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Ce.fn[e]=function(e){for(var n,r=[],i=Ce(e),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),Ce(i[s])[t](n),pe.apply(r,n.get());return this.pushStack(r)}});var pt=new RegExp("^("+Fe+")(?!px)[a-z%]+$","i"),ht=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},dt=new RegExp(Ke.join("|"),"i");!function(){function t(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",Ye.appendChild(u).appendChild(l);var t=e.getComputedStyle(l);r="1%"!==t.top,a=12===n(t.marginLeft),l.style.right="60%",s=36===n(t.right),i=36===n(t.width),l.style.position="absolute",o=12===n(l.offsetWidth/3),Ye.removeChild(u),l=null}}function n(e){return Math.round(parseFloat(e))}var r,i,o,s,a,u=ue.createElement("div"),l=ue.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",be.clearCloneStyle="content-box"===l.style.backgroundClip,Ce.extend(be,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),a},scrollboxSize:function(){return t(),o}}))}();var gt=["Webkit","Moz","ms"],vt=ue.createElement("div").style,yt={},mt=/^(none|table(?!-c[ea]).+)/,bt=/^--/,_t={position:"absolute",visibility:"hidden",display:"block"},wt={letterSpacing:"0",fontWeight:"400"};Ce.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=I(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,s,a=d(t),u=bt.test(t),l=e.style;if(u||(t=H(a)),s=Ce.cssHooks[t]||Ce.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(e,!1,r))?i:l[t];o=typeof n,"string"===o&&(i=Ge.exec(n))&&i[1]&&(n=m(e,t,i),o="number"),null!=n&&n===n&&("number"!==o||u||(n+=i&&i[3]||(Ce.cssNumber[a]?"":"px")),be.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,s,a=d(t);return bt.test(t)||(t=H(a)),s=Ce.cssHooks[t]||Ce.cssHooks[a],s&&"get"in s&&(i=s.get(e,!0,n)),void 0===i&&(i=I(e,t,r)),"normal"===i&&t in wt&&(i=wt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),Ce.each(["height","width"],function(e,t){Ce.cssHooks[t]={get:function(e,n,r){if(n)return!mt.test(Ce.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?W(e,t,r):Je(e,_t,function(){return W(e,t,r)})},set:function(e,n,r){var i,o=ht(e),s=!be.scrollboxSize()&&"absolute"===o.position,a=s||r,u=a&&"border-box"===Ce.css(e,"boxSizing",!1,o),l=r?z(e,t,r,u,o):0;return u&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-z(e,t,"border",!1,o)-.5)),l&&(i=Ge.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=Ce.css(e,t)),B(e,n,l)}}}),Ce.cssHooks.marginLeft=P(be.reliableMarginLeft,function(e,t){if(t)return(parseFloat(I(e,"marginLeft"))||e.getBoundingClientRect().left-Je(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),Ce.each({margin:"",padding:"",border:"Width"},function(e,t){Ce.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Ke[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(Ce.cssHooks[e+t].set=B)}),Ce.fn.extend({css:function(e,t){return Ie(this,function(e,t,n){var r,i,o={},s=0;if(Array.isArray(t)){for(r=ht(e),i=t.length;s<i;s++)o[t[s]]=Ce.css(e,t[s],!1,r);return o}return void 0!==n?Ce.style(e,t,n):Ce.css(e,t)},e,t,arguments.length>1)}}),Ce.Tween=U,U.prototype={constructor:U,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||Ce.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(Ce.cssNumber[n]?"":"px")},cur:function(){var e=U.propHooks[this.prop];return e&&e.get?e.get(this):U.propHooks._default.get(this)},run:function(e){var t,n=U.propHooks[this.prop];return this.options.duration?this.pos=t=Ce.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):U.propHooks._default.set(this),this}},U.prototype.init.prototype=U.prototype,U.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=Ce.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){Ce.fx.step[e.prop]?Ce.fx.step[e.prop](e):1!==e.elem.nodeType||!Ce.cssHooks[e.prop]&&null==e.elem.style[H(e.prop)]?e.elem[e.prop]=e.now:Ce.style(e.elem,e.prop,e.now+e.unit)}}},U.propHooks.scrollTop=U.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Ce.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},Ce.fx=U.prototype.init,Ce.fx.step={};var xt,Ct,kt=/^(?:toggle|show|hide)$/,At=/queueHooks$/;Ce.Animation=Ce.extend(Z,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return m(n.elem,e,Ge.exec(t),n),n}]},tweener:function(e,t){_e(e)?(t=e,e=["*"]):e=e.match(Ne);for(var n,r=0,i=e.length;r<i;r++)n=e[r],Z.tweeners[n]=Z.tweeners[n]||[],Z.tweeners[n].unshift(t)},prefilters:[V],prefilter:function(e,t){t?Z.prefilters.unshift(e):Z.prefilters.push(e)}}),Ce.speed=function(e,t,n){var r=e&&"object"==typeof e?Ce.extend({},e):{complete:n||!n&&t||_e(e)&&e,duration:e,easing:n&&t||t&&!_e(t)&&t};return Ce.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in Ce.fx.speeds?r.duration=Ce.fx.speeds[r.duration]:r.duration=Ce.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){_e(r.old)&&r.old.call(this),r.queue&&Ce.dequeue(this,r.queue)},r},Ce.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Ze).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=Ce.isEmptyObject(e),o=Ce.speed(t,n,r),s=function(){var t=Z(this,Ce.extend({},e),o);(i||Be.get(this,"finish"))&&t.stop(!0)};return s.finish=s,i||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=Ce.timers,s=Be.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&At.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||Ce.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Be.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=Ce.timers,s=r?r.length:0;for(n.finish=!0,Ce.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<s;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),Ce.each(["toggle","show","hide"],function(e,t){var n=Ce.fn[t];Ce.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(K(t,!0),e,r,i)}}),Ce.each({slideDown:K("show"),slideUp:K("hide"),slideToggle:K("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Ce.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),Ce.timers=[],Ce.fx.tick=function(){var e,t=0,n=Ce.timers;for(xt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||Ce.fx.stop(),xt=void 0},Ce.fx.timer=function(e){Ce.timers.push(e),Ce.fx.start()},Ce.fx.interval=13,Ce.fx.start=function(){Ct||(Ct=!0,F())},Ce.fx.stop=function(){Ct=null},Ce.fx.speeds={slow:600,fast:200,_default:400},Ce.fn.delay=function(t,n){return t=Ce.fx?Ce.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=ue.createElement("input"),t=ue.createElement("select"),n=t.appendChild(ue.createElement("option"));e.type="checkbox",be.checkOn=""!==e.value,be.optSelected=n.selected,e=ue.createElement("input"),e.value="t",e.type="radio",be.radioValue="t"===e.value}();var St,Tt=Ce.expr.attrHandle;Ce.fn.extend({attr:function(e,t){return Ie(this,Ce.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Ce.removeAttr(this,e)})}}),Ce.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?Ce.prop(e,t,n):(1===o&&Ce.isXMLDoc(e)||(i=Ce.attrHooks[t.toLowerCase()]||(Ce.expr.match.bool.test(t)?St:void 0)),void 0!==n?null===n?void Ce.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=Ce.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!be.radioValue&&"radio"===t&&o(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Ne);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),St={set:function(e,t,n){return!1===t?Ce.removeAttr(e,n):e.setAttribute(n,n),n}},Ce.each(Ce.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Tt[t]||Ce.find.attr;Tt[t]=function(e,t,r){var i,o,s=t.toLowerCase();return r||(o=Tt[s],Tt[s]=i,i=null!=n(e,t,r)?s:null,Tt[s]=o),i}});var Et=/^(?:input|select|textarea|button)$/i,$t=/^(?:a|area)$/i;Ce.fn.extend({prop:function(e,t){return Ie(this,Ce.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[Ce.propFix[e]||e]})}}),Ce.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&Ce.isXMLDoc(e)||(t=Ce.propFix[t]||t,i=Ce.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=Ce.find.attr(e,"tabindex");return t?parseInt(t,10):Et.test(e.nodeName)||$t.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),be.optSelected||(Ce.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),Ce.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Ce.propFix[this.toLowerCase()]=this}),Ce.fn.extend({addClass:function(e){var t,n,r,i,o,s,a,u=0;if(_e(e))return this.each(function(t){Ce(this).addClass(e.call(this,t,Q(this)))});if(t=ee(e),t.length)for(;n=this[u++];)if(i=Q(n),r=1===n.nodeType&&" "+J(i)+" "){for(s=0;o=t[s++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");a=J(r),i!==a&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,r,i,o,s,a,u=0;if(_e(e))return this.each(function(t){Ce(this).removeClass(e.call(this,t,Q(this)))});if(!arguments.length)return this.attr("class","");if(t=ee(e),t.length)for(;n=this[u++];)if(i=Q(n),r=1===n.nodeType&&" "+J(i)+" "){for(s=0;o=t[s++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");a=J(r),i!==a&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):_e(e)?this.each(function(n){Ce(this).toggleClass(e.call(this,n,Q(this),t),t)}):this.each(function(){var t,i,o,s;if(r)for(i=0,o=Ce(this),s=ee(e);t=s[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=Q(this),t&&Be.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Be.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+J(Q(n))+" ").indexOf(t)>-1)return!0;return!1}});var jt=/\r/g;Ce.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=_e(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,Ce(this).val()):e,null==i?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=Ce.map(i,function(e){return null==e?"":e+""})),(t=Ce.valHooks[this.type]||Ce.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=Ce.valHooks[i.type]||Ce.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(jt,""):null==n?"":n)}}}),Ce.extend({valHooks:{option:{get:function(e){var t=Ce.find.attr(e,"value");return null!=t?t:J(Ce.text(e))}},select:{get:function(e){var t,n,r,i=e.options,s=e.selectedIndex,a="select-one"===e.type,u=a?null:[],l=a?s+1:i.length;for(r=s<0?l:a?s:0;r<l;r++)if(n=i[r],(n.selected||r===s)&&!n.disabled&&(!n.parentNode.disabled||!o(n.parentNode,"optgroup"))){if(t=Ce(n).val(),a)return t;u.push(t)}return u},set:function(e,t){for(var n,r,i=e.options,o=Ce.makeArray(t),s=i.length;s--;)r=i[s],(r.selected=Ce.inArray(Ce.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),Ce.each(["radio","checkbox"],function(){Ce.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=Ce.inArray(Ce(e).val(),t)>-1}},be.checkOn||(Ce.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),be.focusin="onfocusin"in e;var Ot=/^(?:focusinfocus|focusoutblur)$/,Dt=function(e){e.stopPropagation()};Ce.extend(Ce.event,{trigger:function(t,n,r,i){var o,s,a,u,l,c,f,p,h=[r||ue],d=ve.call(t,"type")?t.type:t,g=ve.call(t,"namespace")?t.namespace.split("."):[];if(s=p=a=r=r||ue,3!==r.nodeType&&8!==r.nodeType&&!Ot.test(d+Ce.event.triggered)&&(d.indexOf(".")>-1&&(g=d.split("."),d=g.shift(),g.sort()),l=d.indexOf(":")<0&&"on"+d,t=t[Ce.expando]?t:new Ce.Event(d,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=g.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:Ce.makeArray(n,[t]),f=Ce.event.special[d]||{},i||!f.trigger||!1!==f.trigger.apply(r,n))){if(!i&&!f.noBubble&&!we(r)){for(u=f.delegateType||d,Ot.test(u+d)||(s=s.parentNode);s;s=s.parentNode)h.push(s),a=s;a===(r.ownerDocument||ue)&&h.push(a.defaultView||a.parentWindow||e)}for(o=0;(s=h[o++])&&!t.isPropagationStopped();)p=s,t.type=o>1?u:f.bindType||d,c=(Be.get(s,"events")||{})[t.type]&&Be.get(s,"handle"),c&&c.apply(s,n),(c=l&&s[l])&&c.apply&&He(s)&&(t.result=c.apply(s,n),!1===t.result&&t.preventDefault());return t.type=d,i||t.isDefaultPrevented()||f._default&&!1!==f._default.apply(h.pop(),n)||!He(r)||l&&_e(r[d])&&!we(r)&&(a=r[l],a&&(r[l]=null),Ce.event.triggered=d,t.isPropagationStopped()&&p.addEventListener(d,Dt),r[d](),t.isPropagationStopped()&&p.removeEventListener(d,Dt),Ce.event.triggered=void 0,a&&(r[l]=a)),t.result}},simulate:function(e,t,n){var r=Ce.extend(new Ce.Event,n,{type:e,isSimulated:!0});Ce.event.trigger(r,null,t)}}),Ce.fn.extend({trigger:function(e,t){return this.each(function(){Ce.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Ce.event.trigger(e,t,n,!0)}}),be.focusin||Ce.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){Ce.event.simulate(t,e.target,Ce.event.fix(e))};Ce.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Be.access(r,t);i||r.addEventListener(e,n,!0),Be.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Be.access(r,t)-1;i?Be.access(r,t,i):(r.removeEventListener(e,n,!0),Be.remove(r,t))}}});var Lt=e.location,Nt=Date.now(),qt=/\?/;Ce.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||Ce.error("Invalid XML: "+t),n};var Rt=/\[\]$/,It=/\r?\n/g,Pt=/^(?:submit|button|image|reset|file)$/i,Mt=/^(?:input|select|textarea|keygen)/i;Ce.param=function(e,t){var n,r=[],i=function(e,t){var n=_e(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!Ce.isPlainObject(e))Ce.each(e,function(){i(this.name,this.value)});else for(n in e)te(n,e[n],t,i);return r.join("&")},Ce.fn.extend({serialize:function(){return Ce.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Ce.prop(this,"elements");return e?Ce.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Ce(this).is(":disabled")&&Mt.test(this.nodeName)&&!Pt.test(e)&&(this.checked||!et.test(e))}).map(function(e,t){var n=Ce(this).val();return null==n?null:Array.isArray(n)?Ce.map(n,function(e){return{name:t.name,value:e.replace(It,"\r\n")}}):{name:t.name,value:n.replace(It,"\r\n")}}).get()}});var Ht=/%20/g,Bt=/#.*$/,zt=/([?&])_=[^&]*/,Wt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ut=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ft=/^(?:GET|HEAD)$/,Gt=/^\/\//,Kt={},Yt={},Vt="*/".concat("*"),Xt=ue.createElement("a");Xt.href=Lt.href,Ce.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Lt.href,type:"GET",isLocal:Ut.test(Lt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Vt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":Ce.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ie(ie(e,Ce.ajaxSettings),t):ie(Ce.ajaxSettings,e)},ajaxPrefilter:ne(Kt),ajaxTransport:ne(Yt),ajax:function(t,n){function r(t,n,r,a){var l,p,h,_,w,x=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,s=a||"",C.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(_=oe(d,C,r)),_=se(d,_,C,l),l?(d.ifModified&&(w=C.getResponseHeader("Last-Modified"),w&&(Ce.lastModified[o]=w),(w=C.getResponseHeader("etag"))&&(Ce.etag[o]=w)),204===t||"HEAD"===d.type?x="nocontent":304===t?x="notmodified":(x=_.state,p=_.data,h=_.error,l=!h)):(h=x,!t&&x||(x="error",t<0&&(t=0))),C.status=t,C.statusText=(n||x)+"",l?y.resolveWith(g,[p,x,C]):y.rejectWith(g,[C,x,h]),C.statusCode(b),b=void 0,f&&v.trigger(l?"ajaxSuccess":"ajaxError",[C,d,l?p:h]),m.fireWith(g,[C,x]),f&&(v.trigger("ajaxComplete",[C,d]),--Ce.active||Ce.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,s,a,u,l,c,f,p,h,d=Ce.ajaxSetup({},n),g=d.context||d,v=d.context&&(g.nodeType||g.jquery)?Ce(g):Ce.event,y=Ce.Deferred(),m=Ce.Callbacks("once memory"),b=d.statusCode||{},_={},w={},x="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Wt.exec(s);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==c&&(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||x;return i&&i.abort(t),r(0,t),this}};if(y.promise(C),d.url=((t||d.url||Lt.href)+"").replace(Gt,Lt.protocol+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(Ne)||[""],null==d.crossDomain){l=ue.createElement("a");try{l.href=d.url,l.href=l.href,d.crossDomain=Xt.protocol+"//"+Xt.host!=l.protocol+"//"+l.host}catch(e){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=Ce.param(d.data,d.traditional)),re(Kt,d,n,C),c)return C;f=Ce.event&&d.global,f&&0==Ce.active++&&Ce.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Ft.test(d.type),o=d.url.replace(Bt,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(Ht,"+")):(h=d.url.slice(o.length),d.data&&(d.processData||"string"==typeof d.data)&&(o+=(qt.test(o)?"&":"?")+d.data,delete d.data),!1===d.cache&&(o=o.replace(zt,"$1"),h=(qt.test(o)?"&":"?")+"_="+Nt+++h),d.url=o+h),d.ifModified&&(Ce.lastModified[o]&&C.setRequestHeader("If-Modified-Since",Ce.lastModified[o]),Ce.etag[o]&&C.setRequestHeader("If-None-Match",Ce.etag[o])),(d.data&&d.hasContent&&!1!==d.contentType||n.contentType)&&C.setRequestHeader("Content-Type",d.contentType),C.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Vt+"; q=0.01":""):d.accepts["*"]);for(p in d.headers)C.setRequestHeader(p,d.headers[p]);if(d.beforeSend&&(!1===d.beforeSend.call(g,C,d)||c))return C.abort();if(x="abort",m.add(d.complete),C.done(d.success),C.fail(d.error),i=re(Yt,d,n,C)){if(C.readyState=1,f&&v.trigger("ajaxSend",[C,d]),c)return C;d.async&&d.timeout>0&&(u=e.setTimeout(function(){C.abort("timeout")},d.timeout));try{c=!1,i.send(_,r)}catch(e){if(c)throw e;r(-1,e)}}else r(-1,"No Transport");return C},getJSON:function(e,t,n){return Ce.get(e,t,n,"json")},getScript:function(e,t){return Ce.get(e,void 0,t,"script")}}),Ce.each(["get","post"],function(e,t){Ce[t]=function(e,n,r,i){return _e(n)&&(i=i||r,r=n,n=void 0),Ce.ajax(Ce.extend({url:e,type:t,dataType:i,data:n,success:r},Ce.isPlainObject(e)&&e))}}),Ce._evalUrl=function(e,t){return Ce.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){Ce.globalEval(e,t)}})},Ce.fn.extend({wrapAll:function(e){var t;return this[0]&&(_e(e)&&(e=e.call(this[0])),t=Ce(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return _e(e)?this.each(function(t){Ce(this).wrapInner(e.call(this,t))}):this.each(function(){var t=Ce(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=_e(e);return this.each(function(n){Ce(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){Ce(this).replaceWith(this.childNodes)}),this}}),Ce.expr.pseudos.hidden=function(e){return!Ce.expr.pseudos.visible(e)},Ce.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Ce.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Zt={0:200,1223:204},Jt=Ce.ajaxSettings.xhr();be.cors=!!Jt&&"withCredentials"in Jt,be.ajax=Jt=!!Jt,Ce.ajaxTransport(function(t){var n,r;if(be.cors||Jt&&!t.crossDomain)return{send:function(i,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(s in i)a.setRequestHeader(s,i[s]);n=function(e){return function(){n&&(n=r=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Zt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),r=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=r:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),Ce.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),Ce.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return Ce.globalEval(e),e}}}),Ce.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Ce.ajaxTransport("script",function(e){if(e.crossDomain||e.scriptAttrs){var t,n;return{send:function(r,i){t=Ce("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),ue.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Qt=[],en=/(=)\?(?=&|$)|\?\?/;Ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Qt.pop()||Ce.expando+"_"+Nt++;return this[e]=!0,e}}),Ce.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,s,a=!1!==t.jsonp&&(en.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&en.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=_e(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(en,"$1"+i):!1!==t.jsonp&&(t.url+=(qt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||Ce.error(i+" was not called"),s[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){s=arguments},r.always(function(){void 0===o?Ce(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Qt.push(i)),s&&_e(o)&&o(s[0]),s=o=void 0}),"script"}),be.createHTMLDocument=function(){var e=ue.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),Ce.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var r,i,o;return t||(be.createHTMLDocument?(t=ue.implementation.createHTMLDocument(""),r=t.createElement("base"),r.href=ue.location.href,t.head.appendChild(r)):t=ue),i=$e.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=C([e],t,o),o&&o.length&&Ce(o).remove(),Ce.merge([],i.childNodes))},Ce.fn.load=function(e,t,n){var r,i,o,s=this,a=e.indexOf(" ");return a>-1&&(r=J(e.slice(a)),e=e.slice(0,a)),_e(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),s.length>0&&Ce.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,s.html(r?Ce("<div>").append(Ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},Ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Ce.fn[t]=function(e){return this.on(t,e)}}),Ce.expr.pseudos.animated=function(e){return Ce.grep(Ce.timers,function(t){return e===t.elem}).length},Ce.offset={setOffset:function(e,t,n){var r,i,o,s,a,u,l,c=Ce.css(e,"position"),f=Ce(e),p={};"static"===c&&(e.style.position="relative"),a=f.offset(),o=Ce.css(e,"top"),u=Ce.css(e,"left"),l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1,l?(r=f.position(),s=r.top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(u)||0),_e(t)&&(t=t.call(e,n,Ce.extend({},a))),null!=t.top&&(p.top=t.top-a.top+s),null!=t.left&&(p.left=t.left-a.left+i),"using"in t?t.using.call(e,p):f.css(p)}},Ce.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){Ce.offset.setOffset(this,e,t)});var t,n,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===Ce.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===Ce.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&(i=Ce(e).offset(),i.top+=Ce.css(e,"borderTopWidth",!0),i.left+=Ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-Ce.css(r,"marginTop",!0),left:t.left-i.left-Ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===Ce.css(e,"position");)e=e.offsetParent;return e||Ye})}}),Ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;Ce.fn[e]=function(r){return Ie(this,function(e,r,i){var o;if(we(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),Ce.each(["top","left"],function(e,t){Ce.cssHooks[t]=P(be.pixelPosition,function(e,n){if(n)return n=I(e,t),pt.test(n)?Ce(e).position()[t]+"px":n})}),Ce.each({Height:"height",Width:"width"},function(e,t){Ce.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){Ce.fn[r]=function(i,o){var s=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===o?"margin":"border");return Ie(this,function(t,n,i){var o;return we(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?Ce.css(t,n,a):Ce.style(t,n,i,a)},t,s?i:void 0,s)}})}),Ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){Ce.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),Ce.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),Ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),Ce.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),_e(e))return r=ce.call(arguments,2),i=function(){return e.apply(t||this,r.concat(ce.call(arguments)))},i.guid=e.guid=e.guid||Ce.guid++,i},Ce.holdReady=function(e){e?Ce.readyWait++:Ce.ready(!0)},Ce.isArray=Array.isArray,
|
||
Ce.parseJSON=JSON.parse,Ce.nodeName=o,Ce.isFunction=_e,Ce.isWindow=we,Ce.camelCase=d,Ce.type=r,Ce.now=Date.now,Ce.isNumeric=function(e){var t=Ce.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return Ce});var tn=e.jQuery,nn=e.$;return Ce.noConflict=function(t){return e.$===Ce&&(e.$=nn),t&&e.jQuery===Ce&&(e.jQuery=tn),Ce},t||(e.jQuery=e.$=Ce),Ce}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=function(t,n){return void 0===n&&(n="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(n),n}:e(jQuery)}(function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t=e.fn.select2.amd;var t;return function(){if(!t||!t.requirejs){t?n=t:t={};var e,n,r;!function(t){function i(e,t){return w.call(e,t)}function o(e,t){var n,r,i,o,s,a,u,l,c,f,p,h,d=t&&t.split("/"),g=b.map,v=g&&g["*"]||{};if(e){for(e=e.split("/"),s=e.length-1,b.nodeIdCompat&&C.test(e[s])&&(e[s]=e[s].replace(C,"")),"."===e[0].charAt(0)&&d&&(h=d.slice(0,d.length-1),e=h.concat(e)),c=0;c<e.length;c++)if("."===(p=e[c]))e.splice(c,1),c-=1;else if(".."===p){if(0===c||1===c&&".."===e[2]||".."===e[c-1])continue;c>0&&(e.splice(c-1,2),c-=2)}e=e.join("/")}if((d||v)&&g){for(n=e.split("/"),c=n.length;c>0;c-=1){if(r=n.slice(0,c).join("/"),d)for(f=d.length;f>0;f-=1)if((i=g[d.slice(0,f).join("/")])&&(i=i[r])){o=i,a=c;break}if(o)break;!u&&v&&v[r]&&(u=v[r],l=c)}!o&&u&&(o=u,a=l),o&&(n.splice(0,a,o),e=n.join("/"))}return e}function s(e,n){return function(){var r=x.call(arguments,0);return"string"!=typeof r[0]&&1===r.length&&r.push(null),d.apply(t,r.concat([e,n]))}}function a(e){return function(t){return o(t,e)}}function u(e){return function(t){y[e]=t}}function l(e){if(i(m,e)){var n=m[e];delete m[e],_[e]=!0,h.apply(t,n)}if(!i(y,e)&&!i(_,e))throw new Error("No "+e);return y[e]}function c(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function f(e){return e?c(e):[]}function p(e){return function(){return b&&b.config&&b.config[e]||{}}}var h,d,g,v,y={},m={},b={},_={},w=Object.prototype.hasOwnProperty,x=[].slice,C=/\.js$/;g=function(e,t){var n,r=c(e),i=r[0],s=t[1];return e=r[1],i&&(i=o(i,s),n=l(i)),i?e=n&&n.normalize?n.normalize(e,a(s)):o(e,s):(e=o(e,s),r=c(e),i=r[0],e=r[1],i&&(n=l(i))),{f:i?i+"!"+e:e,n:e,pr:i,p:n}},v={require:function(e){return s(e)},exports:function(e){var t=y[e];return void 0!==t?t:y[e]={}},module:function(e){return{id:e,uri:"",exports:y[e],config:p(e)}}},h=function(e,n,r,o){var a,c,p,h,d,b,w,x=[],C=typeof r;if(o=o||e,b=f(o),"undefined"===C||"function"===C){for(n=!n.length&&r.length?["require","exports","module"]:n,d=0;d<n.length;d+=1)if(h=g(n[d],b),"require"===(c=h.f))x[d]=v.require(e);else if("exports"===c)x[d]=v.exports(e),w=!0;else if("module"===c)a=x[d]=v.module(e);else if(i(y,c)||i(m,c)||i(_,c))x[d]=l(c);else{if(!h.p)throw new Error(e+" missing "+c);h.p.load(h.n,s(o,!0),u(c),{}),x[d]=y[c]}p=r?r.apply(y[e],x):void 0,e&&(a&&a.exports!==t&&a.exports!==y[e]?y[e]=a.exports:p===t&&w||(y[e]=p))}else e&&(y[e]=r)},e=n=d=function(e,n,r,i,o){if("string"==typeof e)return v[e]?v[e](n):l(g(e,f(n)).f);if(!e.splice){if(b=e,b.deps&&d(b.deps,b.callback),!n)return;n.splice?(e=n,n=r,r=null):e=t}return n=n||function(){},"function"==typeof r&&(r=i,i=o),i?h(t,e,n,r):setTimeout(function(){h(t,e,n,r)},4),d},d.config=function(e){return d(e)},e._defined=y,r=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),i(y,e)||i(m,e)||(m[e]=[e,t,n])},r.amd={jQuery:!0}}(),t.requirejs=e,t.require=n,t.define=r}}(),t.define("almond",function(){}),t.define("jquery",[],function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t}),t.define("select2/utils",["jquery"],function(e){function t(e){var t=e.prototype,n=[];for(var r in t){"function"==typeof t[r]&&("constructor"!==r&&n.push(r))}return n}var n={};n.Extend=function(e,t){function n(){this.constructor=e}var r={}.hasOwnProperty;for(var i in t)r.call(t,i)&&(e[i]=t[i]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},n.Decorate=function(e,n){function r(){var t=Array.prototype.unshift,r=n.prototype.constructor.length,i=e.prototype.constructor;r>0&&(t.call(arguments,e.prototype.constructor),i=n.prototype.constructor),i.apply(this,arguments)}function i(){this.constructor=r}var o=t(n),s=t(e);n.displayName=e.displayName,r.prototype=new i;for(var a=0;a<s.length;a++){var u=s[a];r.prototype[u]=e.prototype[u]}for(var l=0;l<o.length;l++){var c=o[l];r.prototype[c]=function(e){var t=function(){};e in r.prototype&&(t=r.prototype[e]);var i=n.prototype[e];return function(){return Array.prototype.unshift.call(arguments,t),i.apply(this,arguments)}}(c)}return r};var r=function(){this.listeners={}};r.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},r.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},r.prototype.invoke=function(e,t){for(var n=0,r=e.length;n<r;n++)e[n].apply(this,t)},n.Observable=r,n.generateChars=function(e){for(var t="",n=0;n<e;n++){t+=Math.floor(36*Math.random()).toString(36)}return t},n.bind=function(e,t){return function(){e.apply(t,arguments)}},n._convertData=function(e){for(var t in e){var n=t.split("-"),r=e;if(1!==n.length){for(var i=0;i<n.length;i++){var o=n[i];o=o.substring(0,1).toLowerCase()+o.substring(1),o in r||(r[o]={}),i==n.length-1&&(r[o]=e[t]),r=r[o]}delete e[t]}}return e},n.hasScroll=function(t,n){var r=e(n),i=n.style.overflowX,o=n.style.overflowY;return(i!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===i||"scroll"===o||(r.innerHeight()<n.scrollHeight||r.innerWidth()<n.scrollWidth))},n.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,function(e){return t[e]})},n.appendMany=function(t,n){if("1.7"===e.fn.jquery.substr(0,3)){var r=e();e.map(n,function(e){r=r.add(e)}),n=r}t.append(n)},n.__cache={};var i=0;return n.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++i),t=i.toString())),t},n.StoreData=function(e,t,r){var i=n.GetUniqueElementId(e);n.__cache[i]||(n.__cache[i]={}),n.__cache[i][t]=r},n.GetData=function(t,r){var i=n.GetUniqueElementId(t);return r?n.__cache[i]&&null!=n.__cache[i][r]?n.__cache[i][r]:e(t).data(r):n.__cache[i]},n.RemoveData=function(e){var t=n.GetUniqueElementId(e);null!=n.__cache[t]&&delete n.__cache[t],e.removeAttribute("data-select2-id")},n}),t.define("select2/results",["jquery","./utils"],function(e,t){function n(e,t,r){this.$element=e,this.data=r,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var r=e('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(t.message);r.append(n(i(t.args))),r[0].className+=" select2-results__message",this.$results.append(r)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(e){this.hideLoading();var t=[];if(null==e.results||0===e.results.length)return void(0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}));e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var r=e.results[n],i=this.option(r);t.push(i)}this.$results.append(t)},n.prototype.position=function(e,t){t.find(".select2-results").append(e)},n.prototype.sort=function(e){return this.options.get("sorter")(e)},n.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");t.length>0?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current(function(r){var i=e.map(r,function(e){return e.id.toString()});n.$results.find(".select2-results__option[aria-selected]").each(function(){var n=e(this),r=t.GetData(this,"data"),o=""+r.id;null!=r.element&&r.element.selected||null==r.element&&e.inArray(o,i)>-1?n.attr("aria-selected","true"):n.attr("aria-selected","false")})})},n.prototype.showLoading=function(e){this.hideLoading();var t=this.options.get("translations").get("searching"),n={disabled:!0,loading:!0,text:t(e)},r=this.option(n);r.className+=" loading-results",this.$results.prepend(r)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var r=document.createElement("li");r.className="select2-results__option";var i={role:"option","aria-selected":"false"},o=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;(null!=n.element&&o.call(n.element,":disabled")||null==n.element&&n.disabled)&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==n.id&&delete i["aria-selected"],null!=n._resultId&&(r.id=n._resultId),n.title&&(r.title=n.title),n.children&&(i.role="group",i["aria-label"]=n.text,delete i["aria-selected"]);for(var s in i){var a=i[s];r.setAttribute(s,a)}if(n.children){var u=e(r),l=document.createElement("strong");l.className="select2-results__group";e(l);this.template(n,l);for(var c=[],f=0;f<n.children.length;f++){var p=n.children[f],h=this.option(p);c.push(h)}var d=e("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});d.append(c),u.append(l),u.append(d)}else this.template(n,r);return t.StoreData(r,"data",n),r},n.prototype.bind=function(n,r){var i=this,o=n.id+"-results";this.$results.attr("id",o),n.on("results:all",function(e){i.clear(),i.append(e.data),n.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),n.on("results:append",function(e){i.append(e.data),n.isOpen()&&i.setClasses()}),n.on("query",function(e){i.hideMessages(),i.showLoading(e)}),n.on("select",function(){n.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())}),n.on("unselect",function(){n.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())}),n.on("open",function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()}),n.on("close",function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")}),n.on("results:toggle",function(){var e=i.getHighlightedResults();0!==e.length&&e.trigger("mouseup")}),n.on("results:select",function(){var e=i.getHighlightedResults();if(0!==e.length){var n=t.GetData(e[0],"data");"true"==e.attr("aria-selected")?i.trigger("close",{}):i.trigger("select",{data:n})}}),n.on("results:previous",function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e);if(!(n<=0)){var r=n-1;0===e.length&&(r=0);var o=t.eq(r);o.trigger("mouseenter");var s=i.$results.offset().top,a=o.offset().top,u=i.$results.scrollTop()+(a-s);0===r?i.$results.scrollTop(0):a-s<0&&i.$results.scrollTop(u)}}),n.on("results:next",function(){var e=i.getHighlightedResults(),t=i.$results.find("[aria-selected]"),n=t.index(e),r=n+1;if(!(r>=t.length)){var o=t.eq(r);o.trigger("mouseenter");var s=i.$results.offset().top+i.$results.outerHeight(!1),a=o.offset().top+o.outerHeight(!1),u=i.$results.scrollTop()+a-s;0===r?i.$results.scrollTop(0):a>s&&i.$results.scrollTop(u)}}),n.on("results:focus",function(e){e.element.addClass("select2-results__option--highlighted")}),n.on("results:message",function(e){i.displayMessage(e)}),e.fn.mousewheel&&this.$results.on("mousewheel",function(e){var t=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-t+e.deltaY,r=e.deltaY>0&&t-e.deltaY<=0,o=e.deltaY<0&&n<=i.$results.height();r?(i.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):o&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(n){var r=e(this),o=t.GetData(this,"data");if("true"===r.attr("aria-selected"))return void(i.options.get("multiple")?i.trigger("unselect",{originalEvent:n,data:o}):i.trigger("close",{}));i.trigger("select",{originalEvent:n,data:o})}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(n){var r=t.GetData(this,"data");i.getHighlightedResults().removeClass("select2-results__option--highlighted"),i.trigger("results:focus",{data:r,element:e(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]"),n=t.index(e),r=this.$results.offset().top,i=e.offset().top,o=this.$results.scrollTop()+(i-r),s=i-r;o-=2*e.outerHeight(!1),n<=2?this.$results.scrollTop(0):(s>this.$results.outerHeight()||s<0)&&this.$results.scrollTop(o)}},n.prototype.template=function(t,n){var r=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),o=r(t,n);null==o?n.style.display="none":"string"==typeof o?n.innerHTML=i(o):e(n).append(o)},n}),t.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),t.define("select2/selection/base",["jquery","../utils","../keys"],function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,t.Observable),r.prototype.render=function(){var n=e('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=t.GetData(this.$element[0],"old-tabindex")?this._tabindex=t.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),n.attr("title",this.$element.attr("title")),n.attr("tabindex",this._tabindex),n.attr("aria-disabled","false"),this.$selection=n,n},r.prototype.bind=function(e,t){var r=this,i=e.id+"-results";this.container=e,this.$selection.on("focus",function(e){r.trigger("focus",e)}),this.$selection.on("blur",function(e){r._handleBlur(e)}),this.$selection.on("keydown",function(e){r.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault()}),e.on("results:focus",function(e){r.$selection.attr("aria-activedescendant",e.data._resultId)}),e.on("selection:update",function(e){r.update(e.data)}),e.on("open",function(){r.$selection.attr("aria-expanded","true"),r.$selection.attr("aria-owns",i),r._attachCloseHandler(e)}),e.on("close",function(){r.$selection.attr("aria-expanded","false"),r.$selection.removeAttr("aria-activedescendant"),r.$selection.removeAttr("aria-owns"),r.$selection.trigger("focus"),r._detachCloseHandler(e)}),e.on("enable",function(){r.$selection.attr("tabindex",r._tabindex),r.$selection.attr("aria-disabled","false")}),e.on("disable",function(){r.$selection.attr("tabindex","-1"),r.$selection.attr("aria-disabled","true")})},r.prototype._handleBlur=function(t){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)||n.trigger("blur",t)},1)},r.prototype._attachCloseHandler=function(n){e(document.body).on("mousedown.select2."+n.id,function(n){var r=e(n.target),i=r.closest(".select2");e(".select2.select2-container--open").each(function(){this!=i[0]&&t.GetData(this,"element").select2("close")})})},r.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},r.prototype.position=function(e,t){t.find(".selection").append(e)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},r}),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,t,n,r){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},i.prototype.bind=function(e,t){var n=this;i.__super__.bind.apply(this,arguments);var r=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",r).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",r),this.$selection.on("mousedown",function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})}),this.$selection.on("focus",function(e){}),this.$selection.on("blur",function(e){}),e.on("focus",function(t){e.isOpen()||n.$selection.trigger("focus")})},i.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},i.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},i.prototype.selectionContainer=function(){return e("<span></span>")},i.prototype.update=function(e){if(0===e.length)return void this.clear();var t=e[0],n=this.$selection.find(".select2-selection__rendered"),r=this.display(t,n);n.empty().append(r);var i=t.title||t.text;i?n.attr("title",i):n.removeAttr("title")},i}),t.define("select2/selection/multiple",["jquery","./base","../utils"],function(e,t,n){function r(e,t){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},r.prototype.bind=function(t,i){var o=this;r.__super__.bind.apply(this,arguments),this.$selection.on("click",function(e){o.trigger("toggle",{originalEvent:e})}),this.$selection.on("click",".select2-selection__choice__remove",function(t){if(!o.options.get("disabled")){var r=e(this),i=r.parent(),s=n.GetData(i[0],"data");o.trigger("unselect",{originalEvent:t,data:s})}})},r.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return e('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>')},r.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],r=0;r<e.length;r++){var i=e[r],o=this.selectionContainer(),s=this.display(i,o);o.append(s);var a=i.title||i.text;a&&o.attr("title",a),n.StoreData(o[0],"data",i),t.push(o)}var u=this.$selection.find(".select2-selection__rendered");n.appendMany(u,t)}},r}),t.define("select2/selection/placeholder",["../utils"],function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(t.length>1||n)return e.call(this,t);this.clear();var r=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(r)},t}),t.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(e,t,n){function r(){}return r.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",function(e){r._handleClear(e)}),t.on("keypress",function(e){r._handleKeyboardClear(e,t)})},r.prototype._handleClear=function(e,t){if(!this.options.get("disabled")){var r=this.$selection.find(".select2-selection__clear");if(0!==r.length){t.stopPropagation();var i=n.GetData(r[0],"data"),o=this.$element.val();this.$element.val(this.placeholder.id);var s={data:i};if(this.trigger("clear",s),s.prevented)return void this.$element.val(o);for(var a=0;a<i.length;a++)if(s={data:i[a]},this.trigger("unselect",s),s.prevented)return void this.$element.val(o);this.$element.trigger("change"),this.trigger("toggle",{})}}},r.prototype._handleKeyboardClear=function(e,n,r){r.isOpen()||n.which!=t.DELETE&&n.which!=t.BACKSPACE||this._handleClear(n)},r.prototype.update=function(t,r){if(t.call(this,r),!(this.$selection.find(".select2-selection__placeholder").length>0||0===r.length)){var i=this.options.get("translations").get("removeAllItems"),o=e('<span class="select2-selection__clear" title="'+i()+'">×</span>');n.StoreData(o[0],"data",r),this.$selection.find(".select2-selection__rendered").prepend(o)}},r}),t.define("select2/selection/search",["jquery","../utils","../keys"],function(e,t,n){function r(e,t,n){e.call(this,t,n)}return r.prototype.render=function(t){var n=e('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var r=t.call(this);return this._transferTabIndex(),r},r.prototype.bind=function(e,r,i){var o=this,s=r.id+"-results";e.call(this,r,i),r.on("open",function(){o.$search.attr("aria-controls",s),o.$search.trigger("focus")}),r.on("close",function(){o.$search.val(""),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")}),r.on("enable",function(){o.$search.prop("disabled",!1),o._transferTabIndex()}),r.on("disable",function(){o.$search.prop("disabled",!0)}),r.on("focus",function(e){o.$search.trigger("focus")}),r.on("results:focus",function(e){e.data._resultId?o.$search.attr("aria-activedescendant",e.data._resultId):o.$search.removeAttr("aria-activedescendant")}),this.$selection.on("focusin",".select2-search--inline",function(e){o.trigger("focus",e)}),this.$selection.on("focusout",".select2-search--inline",function(e){o._handleBlur(e)}),this.$selection.on("keydown",".select2-search--inline",function(e){if(e.stopPropagation(),o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&""===o.$search.val()){var r=o.$searchContainer.prev(".select2-selection__choice");if(r.length>0){var i=t.GetData(r[0],"data");o.searchRemoveChoice(i),e.preventDefault()}}}),this.$selection.on("click",".select2-search--inline",function(e){o.$search.val()&&e.stopPropagation()});var a=document.documentMode,u=a&&a<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(e){if(u)return void o.$selection.off("input.search input.searchcheck");o.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(e){if(u&&"input"===e.type)return void o.$selection.off("input.search input.searchcheck");var t=e.which;t!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&o.handleSearch(e)})},r.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},r.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},r.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},r.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},r.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},r.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";if(""!==this.$search.attr("placeholder"))e=this.$selection.find(".select2-selection__rendered").width();else{e=.75*(this.$search.val().length+1)+"em"}this.$search.css("width",e)},r}),t.define("select2/selection/eventRelay",["jquery"],function(e){function t(){}return t.prototype.bind=function(t,n,r){var i=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],s=["opening","closing","selecting","unselecting","clearing"];t.call(this,n,r),n.on("*",function(t,n){if(-1!==e.inArray(t,o)){n=n||{};var r=e.Event("select2:"+t,{params:n});i.$element.trigger(r),-1!==e.inArray(t,s)&&(n.prevented=r.isDefaultPrevented())}})},t}),t.define("select2/translation",["jquery","require"],function(e,t){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(e){if(!(e in n._cache)){var r=t(e);n._cache[e]=r}return new n(n._cache[e])},n}),t.define("select2/diacritics",[],function(){return{"Ⓐ":"A","A":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","B":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","C":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","D":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","DZ":"DZ","DŽ":"DZ","Dz":"Dz","Dž":"Dz","Ⓔ":"E","E":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","F":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","G":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","I":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","J":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","L":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","LJ":"LJ","Lj":"Lj","Ⓜ":"M","M":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","N":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","NJ":"NJ","Nj":"Nj","Ⓞ":"O","O":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","P":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Q":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","R":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","S":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","T":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","U":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","V":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","W":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","X":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Y":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Z":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","a":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","b":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","c":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","d":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","dz":"dz","dž":"dz","ⓔ":"e","e":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","f":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","g":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","h":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","i":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","j":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","k":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","l":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l",ſ:"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","lj":"lj","ⓜ":"m","m":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","n":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ʼn":"n","ꞑ":"n","ꞥ":"n","nj":"nj","ⓞ":"o","o":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","p":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","q":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","r":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r",
|
||
"ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","s":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","t":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","u":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","v":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","w":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","x":"x","ẋ":"x","ẍ":"x","ⓨ":"y","y":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","z":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}}),t.define("select2/data/base",["../utils"],function(e){function t(e,n){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var r=t.id+"-result-";return r+=e.generateChars(4),null!=n.id?r+="-"+n.id.toString():r+="-"+e.generateChars(4),r},t}),t.define("select2/data/select",["./base","../utils","jquery"],function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,e),r.prototype.current=function(e){var t=[],r=this;this.$element.find(":selected").each(function(){var e=n(this),i=r.item(e);t.push(i)}),e(t)},r.prototype.select=function(e){var t=this;if(e.selected=!0,n(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("change");if(this.$element.prop("multiple"))this.current(function(r){var i=[];e=[e],e.push.apply(e,r);for(var o=0;o<e.length;o++){var s=e[o].id;-1===n.inArray(s,i)&&i.push(s)}t.$element.val(i),t.$element.trigger("change")});else{var r=e.id;this.$element.val(r),this.$element.trigger("change")}},r.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple")){if(e.selected=!1,n(e.element).is("option"))return e.element.selected=!1,void this.$element.trigger("change");this.current(function(r){for(var i=[],o=0;o<r.length;o++){var s=r[o].id;s!==e.id&&-1===n.inArray(s,i)&&i.push(s)}t.$element.val(i),t.$element.trigger("change")})}},r.prototype.bind=function(e,t){var n=this;this.container=e,e.on("select",function(e){n.select(e.data)}),e.on("unselect",function(e){n.unselect(e.data)})},r.prototype.destroy=function(){this.$element.find("*").each(function(){t.RemoveData(this)})},r.prototype.query=function(e,t){var r=[],i=this;this.$element.children().each(function(){var t=n(this);if(t.is("option")||t.is("optgroup")){var o=i.item(t),s=i.matches(e,o);null!==s&&r.push(s)}}),t({results:r})},r.prototype.addOptions=function(e){t.appendMany(this.$element,e)},r.prototype.option=function(e){var r;e.children?(r=document.createElement("optgroup"),r.label=e.text):(r=document.createElement("option"),void 0!==r.textContent?r.textContent=e.text:r.innerText=e.text),void 0!==e.id&&(r.value=e.id),e.disabled&&(r.disabled=!0),e.selected&&(r.selected=!0),e.title&&(r.title=e.title);var i=n(r),o=this._normalizeItem(e);return o.element=r,t.StoreData(r,"data",o),i},r.prototype.item=function(e){var r={};if(null!=(r=t.GetData(e[0],"data")))return r;if(e.is("option"))r={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){r={text:e.prop("label"),children:[],title:e.prop("title")};for(var i=e.children("option"),o=[],s=0;s<i.length;s++){var a=n(i[s]),u=this.item(a);o.push(u)}r.children=o}return r=this._normalizeItem(r),r.element=e[0],t.StoreData(e[0],"data",r),r},r.prototype._normalizeItem=function(e){e!==Object(e)&&(e={id:e,text:e}),e=n.extend({},{text:""},e);var t={selected:!1,disabled:!1};return null!=e.id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},t,e)},r.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},r}),t.define("select2/data/array",["./select","../utils","jquery"],function(e,t,n){function r(e,t){this._dataToConvert=t.get("data")||[],r.__super__.constructor.call(this,e,t)}return t.Extend(r,e),r.prototype.bind=function(e,t){r.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},r.prototype.select=function(e){var t=this.$element.find("option").filter(function(t,n){return n.value==e.id.toString()});0===t.length&&(t=this.option(e),this.addOptions(t)),r.__super__.select.call(this,e)},r.prototype.convertToOptions=function(e){for(var r=this,i=this.$element.find("option"),o=i.map(function(){return r.item(n(this)).id}).get(),s=[],a=0;a<e.length;a++){var u=this._normalizeItem(e[a]);if(n.inArray(u.id,o)>=0){var l=i.filter(function(e){return function(){return n(this).val()==e.id}}(u)),c=this.item(l),f=n.extend(!0,{},u,c),p=this.option(f);l.replaceWith(p)}else{var h=this.option(u);if(u.children){var d=this.convertToOptions(u.children);t.appendMany(h,d)}s.push(h)}}return s},r}),t.define("select2/data/ajax",["./array","../utils","jquery"],function(e,t,n){function r(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),r.__super__.constructor.call(this,e,t)}return t.Extend(r,e),r.prototype._applyDefaults=function(e){var t={data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,r){var i=n.ajax(e);return i.then(t),i.fail(r),i}};return n.extend({},t,e,!0)},r.prototype.processResults=function(e){return e},r.prototype.query=function(e,t){function r(){var r=o.transport(o,function(r){var o=i.processResults(r,e);i.options.get("debug")&&window.console&&console.error&&(o&&o.results&&n.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(o)},function(){"status"in r&&(0===r.status||"0"===r.status)||i.trigger("results:message",{message:"errorLoading"})});i._request=r}var i=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var o=n.extend({type:"GET"},this.ajaxOptions);"function"==typeof o.url&&(o.url=o.url.call(this.$element,e)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(r,this.ajaxOptions.delay)):r()},r}),t.define("select2/data/tags",["jquery"],function(e){function t(t,n,r){var i=r.get("tags"),o=r.get("createTag");void 0!==o&&(this.createTag=o);var s=r.get("insertTag");if(void 0!==s&&(this.insertTag=s),t.call(this,n,r),e.isArray(i))for(var a=0;a<i.length;a++){var u=i[a],l=this._normalizeItem(u),c=this.option(l);this.$element.append(c)}}return t.prototype.query=function(e,t,n){function r(e,o){for(var s=e.results,a=0;a<s.length;a++){var u=s[a],l=null!=u.children&&!r({results:u.children},!0);if((u.text||"").toUpperCase()===(t.term||"").toUpperCase()||l)return!o&&(e.data=s,void n(e))}if(o)return!0;var c=i.createTag(t);if(null!=c){var f=i.option(c);f.attr("data-select2-tag",!0),i.addOptions([f]),i.insertTag(s,c)}e.results=s,n(e)}var i=this;if(this._removeOldTags(),null==t.term||null!=t.page)return void e.call(this,t,n);e.call(this,t,r)},t.prototype.createTag=function(t,n){var r=e.trim(n.term);return""===r?null:{id:r,text:r}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){this.$element.find("option[data-select2-tag]").each(function(){this.selected||e(this).remove()})},t}),t.define("select2/data/tokenizer",["jquery"],function(e){function t(e,t,n){var r=n.get("tokenizer");void 0!==r&&(this.tokenizer=r),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},t.prototype.query=function(t,n,r){function i(t){var n=s._normalizeItem(t);if(!s.$element.find("option").filter(function(){return e(this).val()===n.id}).length){var r=s.option(n);r.attr("data-select2-tag",!0),s._removeOldTags(),s.addOptions([r])}o(n)}function o(e){s.trigger("select",{data:e})}var s=this;n.term=n.term||"";var a=this.tokenizer(n,this.options,i);a.term!==n.term&&(this.$search.length&&(this.$search.val(a.term),this.$search.trigger("focus")),n.term=a.term),t.call(this,n,r)},t.prototype.tokenizer=function(t,n,r,i){for(var o=r.get("tokenSeparators")||[],s=n.term,a=0,u=this.createTag||function(e){return{id:e.term,text:e.term}};a<s.length;){var l=s[a];if(-1!==e.inArray(l,o)){var c=s.substr(0,a),f=e.extend({},n,{term:c}),p=u(f);null!=p?(i(p),s=s.substr(a+1)||"",a=0):a++}else a++}return{term:s}},t}),t.define("select2/data/minimumInputLength",[],function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){if(t.term=t.term||"",t.term.length<this.minimumInputLength)return void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}});e.call(this,t,n)},e}),t.define("select2/data/maximumInputLength",[],function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){if(t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength)return void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}});e.call(this,t,n)},e}),t.define("select2/data/maximumSelectionLength",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("select",function(){r._checkIfMaximumSelected()})},e.prototype.query=function(e,t,n){var r=this;this._checkIfMaximumSelected(function(){e.call(r,t,n)})},e.prototype._checkIfMaximumSelected=function(e,t){var n=this;this.current(function(e){var r=null!=e?e.length:0;if(n.maximumSelectionLength>0&&r>=n.maximumSelectionLength)return void n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}});t&&t()})},e}),t.define("select2/dropdown",["jquery","./utils"],function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),t.define("select2/dropdown/search",["jquery","../utils"],function(e,t){function n(){}return n.prototype.render=function(t){var n=t.call(this),r=e('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=r,this.$search=r.find("input"),n.prepend(r),n},n.prototype.bind=function(t,n,r){var i=this,o=n.id+"-results";t.call(this,n,r),this.$search.on("keydown",function(e){i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on("input",function(t){e(this).off("keyup")}),this.$search.on("keyup input",function(e){i.handleSearch(e)}),n.on("open",function(){i.$search.attr("tabindex",0),i.$search.attr("aria-controls",o),i.$search.trigger("focus"),window.setTimeout(function(){i.$search.trigger("focus")},0)}),n.on("close",function(){i.$search.attr("tabindex",-1),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.val(""),i.$search.trigger("blur")}),n.on("focus",function(){n.isOpen()||i.$search.trigger("focus")}),n.on("results:all",function(e){if(null==e.query.term||""===e.query.term){i.showSearch(e)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide")}}),n.on("results:focus",function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant")})},n.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},n.prototype.showSearch=function(e,t){return!0},n}),t.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,t,n,r){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,r)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),r=t.length-1;r>=0;r--){var i=t[r];this.placeholder.id===i.id&&n.splice(r,1)}return n},e}),t.define("select2/dropdown/infiniteScroll",["jquery"],function(e){function t(e,t,n,r){this.lastParams={},e.call(this,t,n,r),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},t.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("query",function(e){r.lastParams=e,r.loading=!0}),t.on("query:append",function(e){r.lastParams=e,r.loading=!0}),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},t.prototype.loadMoreIfNeeded=function(){var t=e.contains(document.documentElement,this.$loadingMore[0]);if(!this.loading&&t){this.$results.offset().top+this.$results.outerHeight(!1)+50>=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)&&this.loadMore()}},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return t.html(n(this.lastParams)),t},t}),t.define("select2/dropdown/attachBody",["jquery","../utils"],function(e,t){function n(t,n,r){this.$dropdownParent=e(r.get("dropdownParent")||document.body),t.call(this,n,r)}return n.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("open",function(){r._showDropdown(),r._attachPositioningHandler(t),r._bindContainerResultHandlers(t)}),t.on("close",function(){r._hideDropdown(),r._detachPositioningHandler(t)}),this.$dropdownContainer.on("mousedown",function(e){e.stopPropagation()})},n.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e("<span></span>"),r=t.call(this);return n.append(r),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on("results:all",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:append",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("results:message",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("select",function(){n._positionDropdown(),n._resizeDropdown()}),t.on("unselect",function(){n._positionDropdown(),n._resizeDropdown()}),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,r){var i=this,o="scroll.select2."+r.id,s="resize.select2."+r.id,a="orientationchange.select2."+r.id,u=this.$container.parents().filter(t.hasScroll);u.each(function(){t.StoreData(this,"select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})}),u.on(o,function(n){var r=t.GetData(this,"select2-scroll-position");e(this).scrollTop(r.y)}),e(window).on(o+" "+s+" "+a,function(e){i._positionDropdown(),i._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,r){var i="scroll.select2."+r.id,o="resize.select2."+r.id,s="orientationchange.select2."+r.id;this.$container.parents().filter(t.hasScroll).off(i),e(window).off(i+" "+o+" "+s)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown.hasClass("select2-dropdown--above"),r=this.$dropdown.hasClass("select2-dropdown--below"),i=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=o.top,s.bottom=o.top+s.height;var a={height:this.$dropdown.outerHeight(!1)},u={top:t.scrollTop(),bottom:t.scrollTop()+t.height()},l=u.top<o.top-a.height,c=u.bottom>o.bottom+a.height,f={left:o.left,top:s.bottom},p=this.$dropdownParent;"static"===p.css("position")&&(p=p.offsetParent());var h=p.offset();f.top-=h.top,f.left-=h.left,n||r||(i="below"),c||!l||n?!l&&c&&n&&(i="below"):i="above",("above"==i||n&&"below"!==i)&&(f.top=s.top-h.top-a.height),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(f)},n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),t.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(t){for(var n=0,r=0;r<t.length;r++){var i=t[r];i.children?n+=e(i.children):n++}return n}function t(e,t,n,r){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,r)}return t.prototype.showSearch=function(t,n){return!(e(n.data.results)<this.minimumResultsForSearch)&&t.call(this,n)},t}),t.define("select2/dropdown/selectOnClose",["../utils"],function(e){function t(){}return t.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("close",function(e){r._handleSelectOnClose(e)})},t.prototype._handleSelectOnClose=function(t,n){if(n&&null!=n.originalSelect2Event){var r=n.originalSelect2Event;if("select"===r._type||"unselect"===r._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var o=e.GetData(i[0],"data");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger("select",{data:o})}},t}),t.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("select",function(e){r._selectTriggered(e)}),t.on("unselect",function(e){r._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e}),t.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}}),t.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],function(e,t,n,r,i,o,s,a,u,l,c,f,p,h,d,g,v,y,m,b,_,w,x,C,k,A,S,T,E){function $(){this.reset()}return $.prototype.apply=function(c){if(c=e.extend(!0,{},this.defaults,c),null==c.dataAdapter){if(null!=c.ajax?c.dataAdapter=d:null!=c.data?c.dataAdapter=h:c.dataAdapter=p,c.minimumInputLength>0&&(c.dataAdapter=l.Decorate(c.dataAdapter,y)),c.maximumInputLength>0&&(c.dataAdapter=l.Decorate(c.dataAdapter,m)),c.maximumSelectionLength>0&&(c.dataAdapter=l.Decorate(c.dataAdapter,b)),c.tags&&(c.dataAdapter=l.Decorate(c.dataAdapter,g)),null==c.tokenSeparators&&null==c.tokenizer||(c.dataAdapter=l.Decorate(c.dataAdapter,v)),null!=c.query){var f=t(c.amdBase+"compat/query");c.dataAdapter=l.Decorate(c.dataAdapter,f)}if(null!=c.initSelection){var E=t(c.amdBase+"compat/initSelection");c.dataAdapter=l.Decorate(c.dataAdapter,E)}}if(null==c.resultsAdapter&&(c.resultsAdapter=n,null!=c.ajax&&(c.resultsAdapter=l.Decorate(c.resultsAdapter,C)),null!=c.placeholder&&(c.resultsAdapter=l.Decorate(c.resultsAdapter,x)),c.selectOnClose&&(c.resultsAdapter=l.Decorate(c.resultsAdapter,S))),null==c.dropdownAdapter){if(c.multiple)c.dropdownAdapter=_;else{var $=l.Decorate(_,w);c.dropdownAdapter=$}if(0!==c.minimumResultsForSearch&&(c.dropdownAdapter=l.Decorate(c.dropdownAdapter,A)),c.closeOnSelect&&(c.dropdownAdapter=l.Decorate(c.dropdownAdapter,T)),null!=c.dropdownCssClass||null!=c.dropdownCss||null!=c.adaptDropdownCssClass){var j=t(c.amdBase+"compat/dropdownCss");c.dropdownAdapter=l.Decorate(c.dropdownAdapter,j)}c.dropdownAdapter=l.Decorate(c.dropdownAdapter,k)}if(null==c.selectionAdapter){if(c.multiple?c.selectionAdapter=i:c.selectionAdapter=r,null!=c.placeholder&&(c.selectionAdapter=l.Decorate(c.selectionAdapter,o)),c.allowClear&&(c.selectionAdapter=l.Decorate(c.selectionAdapter,s)),c.multiple&&(c.selectionAdapter=l.Decorate(c.selectionAdapter,a)),null!=c.containerCssClass||null!=c.containerCss||null!=c.adaptContainerCssClass){var O=t(c.amdBase+"compat/containerCss");c.selectionAdapter=l.Decorate(c.selectionAdapter,O)}c.selectionAdapter=l.Decorate(c.selectionAdapter,u)}c.language=this._resolveLanguage(c.language),c.language.push("en");for(var D=[],L=0;L<c.language.length;L++){var N=c.language[L];-1===D.indexOf(N)&&D.push(N)}return c.language=D,c.translations=this._processTranslations(c.language,c.debug),c},$.prototype.reset=function(){function t(e){function t(e){return f[e]||e}return e.replace(/[^\u0000-\u007E]/g,t)}function n(r,i){if(""===e.trim(r.term))return i;if(i.children&&i.children.length>0){for(var o=e.extend(!0,{},i),s=i.children.length-1;s>=0;s--){null==n(r,i.children[s])&&o.children.splice(s,1)}return o.children.length>0?o:n(r,o)}var a=t(i.text).toUpperCase(),u=t(r.term).toUpperCase();return a.indexOf(u)>-1?i:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:l.escapeMarkup,language:{},matcher:n,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},$.prototype.applyFromElement=function(e,t){var n=e.language,r=this.defaults.language,i=t.prop("lang"),o=t.closest("[lang]").prop("lang"),s=Array.prototype.concat.call(this._resolveLanguage(i),this._resolveLanguage(n),this._resolveLanguage(r),this._resolveLanguage(o));return e.language=s,e},$.prototype._resolveLanguage=function(t){if(!t)return[];if(e.isEmptyObject(t))return[];if(e.isPlainObject(t))return[t];var n;n=e.isArray(t)?t:[t];for(var r=[],i=0;i<n.length;i++)if(r.push(n[i]),"string"==typeof n[i]&&n[i].indexOf("-")>0){var o=n[i].split("-"),s=o[0];r.push(s)}return r},$.prototype._processTranslations=function(t,n){for(var r=new c,i=0;i<t.length;i++){var o=new c,s=t[i];if("string"==typeof s)try{o=c.loadPath(s)}catch(e){try{s=this.defaults.amdLanguageBase+s,o=c.loadPath(s)}catch(e){n&&window.console&&console.warn&&console.warn('Select2: The language file for "'+s+'" could not be automatically loaded. A fallback will be used instead.')}}else o=e.isPlainObject(s)?new c(s):s;r.extend(o)}return r},$.prototype.set=function(t,n){var r=e.camelCase(t),i={};i[r]=n;var o=l._convertData(i);e.extend(!0,this.defaults,o)},new $}),t.define("select2/options",["require","jquery","./defaults","./utils"],function(e,t,n,r){function i(t,i){if(this.options=t,null!=i&&this.fromElement(i),null!=i&&(this.options=n.applyFromElement(this.options,i)),this.options=n.apply(this.options),i&&i.is("input")){var o=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=r.Decorate(this.options.dataAdapter,o)}}return i.prototype.fromElement=function(e){function n(e,t){return t.toUpperCase()}var i=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),r.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),r.StoreData(e[0],"data",r.GetData(e[0],"select2Tags")),r.StoreData(e[0],"tags",!0)),r.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",r.GetData(e[0],"ajaxUrl")),r.StoreData(e[0],"ajax-Url",r.GetData(e[0],"ajaxUrl")));for(var o={},s=0;s<e[0].attributes.length;s++){var a=e[0].attributes[s].name;if("data-"==a.substr(0,"data-".length)){var u=a.substring("data-".length),l=r.GetData(e[0],u);o[u.replace(/-([a-z])/g,n)]=l}}t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset&&(o=t.extend(!0,{},e[0].dataset,o));var c=t.extend(!0,{},r.GetData(e[0]),o);c=r._convertData(c);for(var f in c)t.inArray(f,i)>-1||(t.isPlainObject(this.options[f])?t.extend(this.options[f],c[f]):this.options[f]=c[f]);return this},i.prototype.get=function(e){return this.options[e]},i.prototype.set=function(e,t){this.options[e]=t},i}),t.define("select2/core",["jquery","./options","./utils","./keys"],function(e,t,n,r){var i=function(e,r){null!=n.GetData(e[0],"select2")&&n.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),r=r||{},this.options=new t(r,e),i.__super__.constructor.call(this);var o=e.attr("tabindex")||0;n.StoreData(e[0],"old-tabindex",o),e.attr("tabindex","-1");var s=this.options.get("dataAdapter");this.dataAdapter=new s(e,this.options);var a=this.render();this._placeContainer(a);var u=this.options.get("selectionAdapter");this.selection=new u(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,a);var l=this.options.get("dropdownAdapter");this.dropdown=new l(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,a);var c=this.options.get("resultsAdapter");this.results=new c(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var f=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(e){f.trigger("selection:update",{data:e})}),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(e[0],"select2",this),e.data("select2",this)};return n.Extend(i,n.Observable),i.prototype._generateId=function(e){var t="";return t=null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+n.generateChars(2):n.generateChars(4),t=t.replace(/(:|\.|\[|\]|,)/g,""),t="select2-"+t},i.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},i.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var r=this._resolveWidth(e,"style");return null!=r?r:this._resolveWidth(e,"element")}if("element"==t){var i=e.outerWidth(!1);return i<=0?"auto":i+"px"}if("style"==t){var o=e.attr("style");if("string"!=typeof o)return null;for(var s=o.split(";"),a=0,u=s.length;a<u;a+=1){var l=s[a].replace(/\s/g,""),c=l.match(n);if(null!==c&&c.length>=1)return c[1]}return null}if("computedstyle"==t){return window.getComputedStyle(e[0]).width}return t},i.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},i.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",function(){t.dataAdapter.current(function(e){t.trigger("selection:update",{data:e})})}),this.$element.on("focus.select2",function(e){t.trigger("focus",e)}),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var r=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=r?(this._observer=new r(function(n){e.each(n,t._syncA),e.each(n,t._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},i.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",function(t,n){e.trigger(t,n)})},i.prototype._registerSelectionEvents=function(){var t=this,n=["toggle","focus"];this.selection.on("toggle",function(){t.toggleDropdown()}),this.selection.on("focus",function(e){t.focus(e)}),this.selection.on("*",function(r,i){-1===e.inArray(r,n)&&t.trigger(r,i)})},i.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",function(t,n){e.trigger(t,n)})},i.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",function(t,n){e.trigger(t,n)})},i.prototype._registerEvents=function(){var e=this;this.on("open",function(){e.$container.addClass("select2-container--open")}),this.on("close",function(){e.$container.removeClass("select2-container--open")}),this.on("enable",function(){
|
||
e.$container.removeClass("select2-container--disabled")}),this.on("disable",function(){e.$container.addClass("select2-container--disabled")}),this.on("blur",function(){e.$container.removeClass("select2-container--focus")}),this.on("query",function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,function(n){e.trigger("results:all",{data:n,query:t})})}),this.on("query:append",function(t){this.dataAdapter.query(t,function(n){e.trigger("results:append",{data:n,query:t})})}),this.on("keypress",function(t){var n=t.which;e.isOpen()?n===r.ESC||n===r.TAB||n===r.UP&&t.altKey?(e.close(),t.preventDefault()):n===r.ENTER?(e.trigger("results:select",{}),t.preventDefault()):n===r.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===r.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===r.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===r.ENTER||n===r.SPACE||n===r.DOWN&&t.altKey)&&(e.open(),t.preventDefault())})},i.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.options.get("disabled")?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},i.prototype._syncSubtree=function(e,t){var n=!1,r=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(t)if(t.addedNodes&&t.addedNodes.length>0)for(var i=0;i<t.addedNodes.length;i++){var o=t.addedNodes[i];o.selected&&(n=!0)}else t.removedNodes&&t.removedNodes.length>0&&(n=!0);else n=!0;n&&this.dataAdapter.current(function(e){r.trigger("selection:update",{data:e})})}},i.prototype.trigger=function(e,t){var n=i.__super__.trigger,r={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in r){var o=r[e],s={prevented:!1,name:e,args:t};if(n.call(this,o,s),s.prevented)return void(t.prevented=!0)}n.call(this,e,t)},i.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())},i.prototype.open=function(){this.isOpen()||this.trigger("query",{})},i.prototype.close=function(){this.isOpen()&&this.trigger("close",{})},i.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},i.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},i.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},i.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},i.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current(function(t){e=t}),e},i.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var n=t[0];e.isArray(n)&&(n=e.map(n,function(e){return e.toString()})),this.$element.val(n).trigger("change")},i.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),n.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},i.prototype.render=function(){var t=e('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),n.StoreData(t[0],"element",this.$element),t},i}),t.define("jquery-mousewheel",["jquery"],function(e){return e}),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(e,t,n,r,i){if(null==e.fn.select2){var o=["open","close","destroy"];e.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each(function(){var r=e.extend(!0,{},t);new n(e(this),r)}),this;if("string"==typeof t){var r,s=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=i.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),r=e[t].apply(e,s)}),e.inArray(t,o)>-1?this:r}throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.select2.defaults&&(e.fn.select2.defaults=r),n}),{define:t.define,require:t.require}}(),n=t.require("jquery.select2");return e.fn.select2.amd=t,n}),function(e){if(!e.hasInitialised){var t={escapeRegExp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},hasClass:function(e,t){var n=" ";return 1===e.nodeType&&(n+e.className+n).replace(/[\n\t]/g,n).indexOf(n+t+n)>=0},addClass:function(e,t){e.className+=" "+t},removeClass:function(e,t){var n=new RegExp("\\b"+this.escapeRegExp(t)+"\\b");e.className=e.className.replace(n,"")},interpolateString:function(e,t){return e.replace(/{{([a-z][a-z0-9\-_]*)}}/gi,function(e){return t(arguments[1])||""})},getCookie:function(e){var t=("; "+document.cookie).split("; "+e+"=");return t.length<2?void 0:t.pop().split(";").shift()},setCookie:function(e,t,n,r,i,o){var s=new Date;s.setHours(s.getHours()+24*(n||365));var a=[e+"="+t,"expires="+s.toUTCString(),"path="+(i||"/")];r&&a.push("domain="+r),o&&a.push("secure"),document.cookie=a.join(";")},deepExtend:function(e,t){for(var n in t)t.hasOwnProperty(n)&&(n in e&&this.isPlainObject(e[n])&&this.isPlainObject(t[n])?this.deepExtend(e[n],t[n]):e[n]=t[n]);return e},throttle:function(e,t){var n=!1;return function(){n||(e.apply(this,arguments),n=!0,setTimeout(function(){n=!1},t))}},hash:function(e){var t,n,r=0;if(0===e.length)return r;for(t=0,n=e.length;t<n;++t)r=(r<<5)-r+e.charCodeAt(t),r|=0;return r},normaliseHex:function(e){return"#"==e[0]&&(e=e.substr(1)),3==e.length&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),e},getContrast:function(e){return e=this.normaliseHex(e),(299*parseInt(e.substr(0,2),16)+587*parseInt(e.substr(2,2),16)+114*parseInt(e.substr(4,2),16))/1e3>=128?"#000":"#fff"},getLuminance:function(e){var t=parseInt(this.normaliseHex(e),16),n=38+(t>>16),r=38+(t>>8&255),i=38+(255&t);return"#"+(16777216+65536*(n<255?n<1?0:n:255)+256*(r<255?r<1?0:r:255)+(i<255?i<1?0:i:255)).toString(16).slice(1)},isMobile:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},isPlainObject:function(e){return"object"==typeof e&&null!==e&&e.constructor==Object},traverseDOMPath:function(e,n){return e&&e.parentNode?t.hasClass(e,n)?e:this.traverseDOMPath(e.parentNode,n):null}};e.status={deny:"deny",allow:"allow",dismiss:"dismiss"},e.transitionEnd=function(){var e=document.createElement("div"),t={t:"transitionend",OT:"oTransitionEnd",msT:"MSTransitionEnd",MozT:"transitionend",WebkitT:"webkitTransitionEnd"};for(var n in t)if(t.hasOwnProperty(n)&&void 0!==e.style[n+"ransition"])return t[n];return""}(),e.hasTransition=!!e.transitionEnd;var n=Object.keys(e.status).map(t.escapeRegExp);e.customStyles={},e.Popup=function(){function r(){this.initialise.apply(this,arguments)}function i(e){this.openingTimeout=null,t.removeClass(e,"cc-invisible")}function o(t){t.style.display="none",t.removeEventListener(e.transitionEnd,this.afterTransition),this.afterTransition=null}function s(){var e=this.options.position.split("-"),t=[];return e.forEach(function(e){t.push("cc-"+e)}),t}function a(r){var i=this.options,o=document.createElement("div"),s=i.container&&1===i.container.nodeType?i.container:document.body;o.innerHTML=r;var a=o.children[0];return a.style.display="none",t.hasClass(a,"cc-window")&&e.hasTransition&&t.addClass(a,"cc-invisible"),this.onButtonClick=function(r){var i=t.traverseDOMPath(r.target,"cc-btn")||r.target;if(t.hasClass(i,"cc-btn")){var o=i.className.match(new RegExp("\\bcc-("+n.join("|")+")\\b")),s=o&&o[1]||!1;s&&(this.setStatus(s),this.close(!0))}t.hasClass(i,"cc-close")&&(this.setStatus(e.status.dismiss),this.close(!0)),t.hasClass(i,"cc-revoke")&&this.revokeChoice()}.bind(this),a.addEventListener("click",this.onButtonClick),i.autoAttach&&(s.firstChild?s.insertBefore(a,s.firstChild):s.appendChild(a)),a}function u(e){return"000000"==(e=t.normaliseHex(e))?"#222":t.getLuminance(e)}function l(e,t){for(var n=0,r=e.length;n<r;++n){var i=e[n];if(i instanceof RegExp&&i.test(t)||"string"==typeof i&&i.length&&i===t)return!0}return!1}var c={enabled:!0,container:null,cookie:{name:"cookieconsent_status",path:"/",domain:"",expiryDays:365,secure:!1},onPopupOpen:function(){},onPopupClose:function(){},onInitialise:function(e){},onStatusChange:function(e,t){},onRevokeChoice:function(){},onNoCookieLaw:function(e,t){},content:{header:"Cookies used on the website!",message:"This website uses cookies to ensure you get the best experience on our website.",dismiss:"Got it!",allow:"Allow cookies",deny:"Decline",link:"Learn more",href:"https://www.cookiesandyou.com",close:"❌",target:"_blank",policy:"Cookie Policy"},elements:{header:'<span class="cc-header">{{header}}</span> ',message:'<span id="cookieconsent:desc" class="cc-message">{{message}}</span>',messagelink:'<span id="cookieconsent:desc" class="cc-message">{{message}} <a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}</a></span>',dismiss:'<a aria-label="dismiss cookie message" role=button tabindex="0" class="cc-btn cc-dismiss">{{dismiss}}</a>',allow:'<a aria-label="allow cookies" role=button tabindex="0" class="cc-btn cc-allow">{{allow}}</a>',deny:'<a aria-label="deny cookies" role=button tabindex="0" class="cc-btn cc-deny">{{deny}}</a>',link:'<a aria-label="learn more about cookies" role=button tabindex="0" class="cc-link" href="{{href}}" rel="noopener noreferrer nofollow" target="{{target}}">{{link}}</a>',close:'<span aria-label="dismiss cookie message" role=button tabindex="0" class="cc-close">{{close}}</span>'},window:'<div role="dialog" aria-live="polite" aria-label="cookieconsent" aria-describedby="cookieconsent:desc" class="cc-window {{classes}}">\x3c!--googleoff: all--\x3e{{children}}\x3c!--googleon: all--\x3e</div>',revokeBtn:'<div class="cc-revoke {{classes}}">{{policy}}</div>',compliance:{info:'<div class="cc-compliance">{{dismiss}}</div>',"opt-in":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}</div>',"opt-out":'<div class="cc-compliance cc-highlight">{{deny}}{{allow}}</div>'},type:"info",layouts:{basic:"{{messagelink}}{{compliance}}","basic-close":"{{messagelink}}{{compliance}}{{close}}","basic-header":"{{header}}{{message}}{{link}}{{compliance}}"},layout:"basic",position:"bottom",theme:"block",static:!1,palette:null,revokable:!1,animateRevokable:!0,showLink:!0,dismissOnScroll:!1,dismissOnTimeout:!1,dismissOnWindowClick:!1,ignoreClicksFrom:["cc-revoke","cc-btn"],autoOpen:!0,autoAttach:!0,whitelistPage:[],blacklistPage:[],overrideHTML:null};return r.prototype.initialise=function(n){this.options&&this.destroy(),t.deepExtend(this.options={},c),t.isPlainObject(n)&&t.deepExtend(this.options,n),function(){var t=this.options.onInitialise.bind(this);if(!window.navigator.cookieEnabled)return t(e.status.deny),!0;if(window.CookiesOK||window.navigator.CookiesOK)return t(e.status.allow),!0;var n=Object.keys(e.status),r=this.getStatus(),i=n.indexOf(r)>=0;return i&&t(r),i}.call(this)&&(this.options.enabled=!1),l(this.options.blacklistPage,location.pathname)&&(this.options.enabled=!1),l(this.options.whitelistPage,location.pathname)&&(this.options.enabled=!0);var r=this.options.window.replace("{{classes}}",function(){var n=this.options,r="top"==n.position||"bottom"==n.position?"banner":"floating";t.isMobile()&&(r="floating");var i=["cc-"+r,"cc-type-"+n.type,"cc-theme-"+n.theme];return n.static&&i.push("cc-static"),i.push.apply(i,s.call(this)),function(n){var r=t.hash(JSON.stringify(n)),i="cc-color-override-"+r,o=t.isPlainObject(n);return this.customStyleSelector=o?i:null,o&&function(n,r,i){if(e.customStyles[n])return void++e.customStyles[n].references;var o={},s=r.popup,a=r.button,l=r.highlight;s&&(s.text=s.text?s.text:t.getContrast(s.background),s.link=s.link?s.link:s.text,o[i+".cc-window"]=["color: "+s.text,"background-color: "+s.background],o[i+".cc-revoke"]=["color: "+s.text,"background-color: "+s.background],o[i+" .cc-link,"+i+" .cc-link:active,"+i+" .cc-link:visited"]=["color: "+s.link],a&&(a.text=a.text?a.text:t.getContrast(a.background),a.border=a.border?a.border:"transparent",o[i+" .cc-btn"]=["color: "+a.text,"border-color: "+a.border,"background-color: "+a.background],a.padding&&o[i+" .cc-btn"].push("padding: "+a.padding),"transparent"!=a.background&&(o[i+" .cc-btn:hover, "+i+" .cc-btn:focus"]=["background-color: "+(a.hover||u(a.background))]),l?(l.text=l.text?l.text:t.getContrast(l.background),l.border=l.border?l.border:"transparent",o[i+" .cc-highlight .cc-btn:first-child"]=["color: "+l.text,"border-color: "+l.border,"background-color: "+l.background]):o[i+" .cc-highlight .cc-btn:first-child"]=["color: "+s.text]));var c=document.createElement("style");document.head.appendChild(c),e.customStyles[n]={references:1,element:c.sheet};var f=-1;for(var p in o)o.hasOwnProperty(p)&&c.sheet.insertRule(p+"{"+o[p].join(";")+"}",++f)}(r,n,"."+i),o}.call(this,this.options.palette),this.customStyleSelector&&i.push(this.customStyleSelector),i}.call(this).join(" ")).replace("{{children}}",function(){var e={},n=this.options;n.showLink||(n.elements.link="",n.elements.messagelink=n.elements.message),Object.keys(n.elements).forEach(function(r){e[r]=t.interpolateString(n.elements[r],function(e){var t=n.content[e];return e&&"string"==typeof t&&t.length?t:""})});var r=n.compliance[n.type];r||(r=n.compliance.info),e.compliance=t.interpolateString(r,function(t){return e[t]});var i=n.layouts[n.layout];return i||(i=n.layouts.basic),t.interpolateString(i,function(t){return e[t]})}.call(this)),i=this.options.overrideHTML;if("string"==typeof i&&i.length&&(r=i),this.options.static){var o=a.call(this,'<div class="cc-grower">'+r+"</div>");o.style.display="",this.element=o.firstChild,this.element.style.display="none",t.addClass(this.element,"cc-invisible")}else this.element=a.call(this,r);(function(){var n=this.setStatus.bind(this),r=this.close.bind(this),i=this.options.dismissOnTimeout;"number"==typeof i&&i>=0&&(this.dismissTimeout=window.setTimeout(function(){n(e.status.dismiss),r(!0)},Math.floor(i)));var o=this.options.dismissOnScroll;if("number"==typeof o&&o>=0){var s=function(t){window.pageYOffset>Math.floor(o)&&(n(e.status.dismiss),r(!0),window.removeEventListener("scroll",s),this.onWindowScroll=null)};this.options.enabled&&(this.onWindowScroll=s,window.addEventListener("scroll",s))}var a=this.options.dismissOnWindowClick,u=this.options.ignoreClicksFrom;if(a){var l=function(i){for(var o=!1,s=i.path.length,a=u.length,c=0;c<s;c++)if(!o)for(var f=0;f<a;f++)o||(o=t.hasClass(i.path[c],u[f]));o||(n(e.status.dismiss),r(!0),window.removeEventListener("click",l),window.removeEventListener("touchend",l),this.onWindowClick=null)}.bind(this);this.options.enabled&&(this.onWindowClick=l,window.addEventListener("click",l),window.addEventListener("touchend",l))}}).call(this),function(){if("info"!=this.options.type&&(this.options.revokable=!0),t.isMobile()&&(this.options.animateRevokable=!1),this.options.revokable){var e=s.call(this);this.options.animateRevokable&&e.push("cc-animate"),this.customStyleSelector&&e.push(this.customStyleSelector);var n=this.options.revokeBtn.replace("{{classes}}",e.join(" ")).replace("{{policy}}",this.options.content.policy);this.revokeBtn=a.call(this,n);var r=this.revokeBtn;if(this.options.animateRevokable){var i=t.throttle(function(e){var n=!1,i=window.innerHeight-20;t.hasClass(r,"cc-top")&&e.clientY<20&&(n=!0),t.hasClass(r,"cc-bottom")&&e.clientY>i&&(n=!0),n?t.hasClass(r,"cc-active")||t.addClass(r,"cc-active"):t.hasClass(r,"cc-active")&&t.removeClass(r,"cc-active")},200);this.onMouseMove=i,window.addEventListener("mousemove",i)}}}.call(this),this.options.autoOpen&&this.autoOpen()},r.prototype.destroy=function(){this.onButtonClick&&this.element&&(this.element.removeEventListener("click",this.onButtonClick),this.onButtonClick=null),this.dismissTimeout&&(clearTimeout(this.dismissTimeout),this.dismissTimeout=null),this.onWindowScroll&&(window.removeEventListener("scroll",this.onWindowScroll),this.onWindowScroll=null),this.onWindowClick&&(window.removeEventListener("click",this.onWindowClick),this.onWindowClick=null),this.onMouseMove&&(window.removeEventListener("mousemove",this.onMouseMove),this.onMouseMove=null),this.element&&this.element.parentNode&&this.element.parentNode.removeChild(this.element),this.element=null,this.revokeBtn&&this.revokeBtn.parentNode&&this.revokeBtn.parentNode.removeChild(this.revokeBtn),this.revokeBtn=null,function(n){if(t.isPlainObject(n)){var r=t.hash(JSON.stringify(n)),i=e.customStyles[r];if(i&&!--i.references){var o=i.element.ownerNode;o&&o.parentNode&&o.parentNode.removeChild(o),e.customStyles[r]=null}}}(this.options.palette),this.options=null},r.prototype.open=function(t){if(this.element)return this.isOpen()||(e.hasTransition?this.fadeIn():this.element.style.display="",this.options.revokable&&this.toggleRevokeButton(),this.options.onPopupOpen.call(this)),this},r.prototype.close=function(t){if(this.element)return this.isOpen()&&(e.hasTransition?this.fadeOut():this.element.style.display="none",t&&this.options.revokable&&this.toggleRevokeButton(!0),this.options.onPopupClose.call(this)),this},r.prototype.fadeIn=function(){var n=this.element;if(e.hasTransition&&n&&(this.afterTransition&&o.call(this,n),t.hasClass(n,"cc-invisible"))){if(n.style.display="",this.options.static){var r=this.element.clientHeight;this.element.parentNode.style.maxHeight=r+"px"}this.openingTimeout=setTimeout(i.bind(this,n),20)}},r.prototype.fadeOut=function(){var n=this.element;e.hasTransition&&n&&(this.openingTimeout&&(clearTimeout(this.openingTimeout),i.bind(this,n)),t.hasClass(n,"cc-invisible")||(this.options.static&&(this.element.parentNode.style.maxHeight=""),this.afterTransition=o.bind(this,n),n.addEventListener(e.transitionEnd,this.afterTransition),t.addClass(n,"cc-invisible")))},r.prototype.isOpen=function(){return this.element&&""==this.element.style.display&&(!e.hasTransition||!t.hasClass(this.element,"cc-invisible"))},r.prototype.toggleRevokeButton=function(e){this.revokeBtn&&(this.revokeBtn.style.display=e?"":"none")},r.prototype.revokeChoice=function(e){this.options.enabled=!0,this.clearStatus(),this.options.onRevokeChoice.call(this),e||this.autoOpen()},r.prototype.hasAnswered=function(t){return Object.keys(e.status).indexOf(this.getStatus())>=0},r.prototype.hasConsented=function(t){var n=this.getStatus();return n==e.status.allow||n==e.status.dismiss},r.prototype.autoOpen=function(e){!this.hasAnswered()&&this.options.enabled?this.open():this.hasAnswered()&&this.options.revokable&&this.toggleRevokeButton(!0)},r.prototype.setStatus=function(n){var r=this.options.cookie,i=t.getCookie(r.name),o=Object.keys(e.status).indexOf(i)>=0;Object.keys(e.status).indexOf(n)>=0?(t.setCookie(r.name,n,r.expiryDays,r.domain,r.path,r.secure),this.options.onStatusChange.call(this,n,o)):this.clearStatus()},r.prototype.getStatus=function(){return t.getCookie(this.options.cookie.name)},r.prototype.clearStatus=function(){var e=this.options.cookie;t.setCookie(e.name,"",-1,e.domain,e.path)},r}(),e.Location=function(){function e(e){t.deepExtend(this.options={},o),t.isPlainObject(e)&&t.deepExtend(this.options,e),this.currentServiceIndex=-1}function n(e,t,n){var r,i=document.createElement("script");i.type="text/"+(e.type||"javascript"),i.src=e.src||e,i.async=!1,i.onreadystatechange=i.onload=function(){var e=i.readyState;clearTimeout(r),t.done||e&&!/loaded|complete/.test(e)||(t.done=!0,t(),i.onreadystatechange=i.onload=null)},document.body.appendChild(i),r=setTimeout(function(){t.done=!0,t(),i.onreadystatechange=i.onload=null},n)}function r(e,t,n,r,i){var o=new(window.XMLHttpRequest||window.ActiveXObject)("MSXML2.XMLHTTP.3.0");if(o.open(r?"POST":"GET",e,1),o.setRequestHeader("Content-type","application/x-www-form-urlencoded"),Array.isArray(i))for(var s=0,a=i.length;s<a;++s){var u=i[s].split(":",2);o.setRequestHeader(u[0].replace(/^\s+|\s+$/g,""),u[1].replace(/^\s+|\s+$/g,""))}"function"==typeof t&&(o.onreadystatechange=function(){o.readyState>3&&t(o)}),o.send(r)}function i(e){return new Error("Error ["+(e.code||"UNKNOWN")+"]: "+e.error)}var o={timeout:5e3,services:["ipinfo"],serviceDefinitions:{ipinfo:function(){return{url:"//ipinfo.io",headers:["Accept: application/json"],callback:function(e,t){try{var n=JSON.parse(t);return n.error?i(n):{code:n.country}}catch(e){return i({error:"Invalid response ("+e+")"})}}}},ipinfodb:function(e){return{url:"//api.ipinfodb.com/v3/ip-country/?key={api_key}&format=json&callback={callback}",isScript:!0,callback:function(e,t){try{var n=JSON.parse(t);return"ERROR"==n.statusCode?i({error:n.statusMessage}):{code:n.countryCode}}catch(e){return i({error:"Invalid response ("+e+")"})}}}},maxmind:function(){return{url:"//js.maxmind.com/js/apis/geoip2/v2.1/geoip2.js",isScript:!0,callback:function(e){window.geoip2?geoip2.country(function(t){try{e({code:t.country.iso_code})}catch(t){e(i(t))}},function(t){e(i(t))}):e(new Error("Unexpected response format. The downloaded script should have exported `geoip2` to the global scope"))}}}}};return e.prototype.getNextService=function(){var e;do{e=this.getServiceByIdx(++this.currentServiceIndex)}while(this.currentServiceIndex<this.options.services.length&&!e);return e},e.prototype.getServiceByIdx=function(e){var n=this.options.services[e];if("function"==typeof n){var r=n();return r.name&&t.deepExtend(r,this.options.serviceDefinitions[r.name](r)),r}return"string"==typeof n?this.options.serviceDefinitions[n]():t.isPlainObject(n)?this.options.serviceDefinitions[n.name](n):null},e.prototype.locate=function(e,t){var n=this.getNextService();n?(this.callbackComplete=e,this.callbackError=t,this.runService(n,this.runNextServiceOnError.bind(this))):t(new Error("No services to run"))},e.prototype.setupUrl=function(e){var t=this.getCurrentServiceOpts();return e.url.replace(/\{(.*?)\}/g,function(n,r){if("callback"===r){var i="callback"+Date.now();return window[i]=function(t){e.__JSONP_DATA=JSON.stringify(t)},i}if(r in t.interpolateUrl)return t.interpolateUrl[r]})},e.prototype.runService=function(e,t){var i=this;e&&e.url&&e.callback&&(e.isScript?n:r)(this.setupUrl(e),function(n){var r=n?n.responseText:"";e.__JSONP_DATA&&(r=e.__JSONP_DATA,delete e.__JSONP_DATA),i.runServiceCallback.call(i,t,e,r)},this.options.timeout,e.data,e.headers)},e.prototype.runServiceCallback=function(e,t,n){var r=this,i=t.callback(function(t){i||r.onServiceResult.call(r,e,t)},n);i&&this.onServiceResult.call(this,e,i)},e.prototype.onServiceResult=function(e,t){t instanceof Error||t&&t.error?e.call(this,t,null):e.call(this,null,t)},e.prototype.runNextServiceOnError=function(e,t){if(e){this.logError(e);var n=this.getNextService();n?this.runService(n,this.runNextServiceOnError.bind(this)):this.completeService.call(this,this.callbackError,new Error("All services failed"))}else this.completeService.call(this,this.callbackComplete,t)},e.prototype.getCurrentServiceOpts=function(){var e=this.options.services[this.currentServiceIndex];return"string"==typeof e?{name:e}:"function"==typeof e?e():t.isPlainObject(e)?e:{}},e.prototype.completeService=function(e,t){this.currentServiceIndex=-1,e&&e(t)},e.prototype.logError=function(e){var t=this.currentServiceIndex,n=this.getServiceByIdx(t);console.warn("The service["+t+"] ("+n.url+") responded with the following error",e)},e}(),e.Law=function(){function e(e){this.initialise.apply(this,arguments)}var n={regionalLaw:!0,hasLaw:["AT","BE","BG","HR","CZ","CY","DK","EE","FI","FR","DE","EL","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","SK","ES","SE","GB","UK","GR","EU"],revokable:["HR","CY","DK","EE","FR","DE","LV","LT","NL","PT","ES"],explicitAction:["HR","IT","ES"]};return e.prototype.initialise=function(e){t.deepExtend(this.options={},n),t.isPlainObject(e)&&t.deepExtend(this.options,e)},e.prototype.get=function(e){var t=this.options;return{hasLaw:t.hasLaw.indexOf(e)>=0,revokable:t.revokable.indexOf(e)>=0,explicitAction:t.explicitAction.indexOf(e)>=0}},e.prototype.applyLaw=function(e,t){var n=this.get(t);return n.hasLaw||(e.enabled=!1,"function"==typeof e.onNoCookieLaw&&e.onNoCookieLaw(t,n)),this.options.regionalLaw&&(n.revokable&&(e.revokable=!0),n.explicitAction&&(e.dismissOnScroll=!1,e.dismissOnTimeout=!1)),e},e}(),e.initialise=function(n,r,i){var o=new e.Law(n.law);r||(r=function(){}),i||(i=function(){});var s=Object.keys(e.status),a=t.getCookie("cookieconsent_status");s.indexOf(a)>=0?r(new e.Popup(n)):e.getCountryCode(n,function(t){delete n.law,delete n.location,t.code&&(n=o.applyLaw(n,t.code)),r(new e.Popup(n))},function(t){delete n.law,delete n.location,i(t,new e.Popup(n))})},e.getCountryCode=function(t,n,r){t.law&&t.law.countryCode?n({code:t.law.countryCode}):t.location?new e.Location(t.location).locate(function(e){n(e||{})},r):n({})},e.utils=t,e.hasInitialised=!0,window.cookieconsent=e}}(window.cookieconsent||{});
|