PageSourceSearch

https://www.visa.com.ng/etc.clientlibs/rvcom/rvcom-clientlibs/global.min.js

js visa.com.ng collected 2026-10-02 10:31:03 UTC 110,471 bytes, 1,759 lines download raw bytes

1(function(d){d.Granite=d.Granite||{};
2d.Granite.HTTP=d.Granite.HTTP||{};
3var c=null;
4function b(){var j=/^(?:http|https):\/\/[^/]+(\/.*)\/(?:etc\.clientlibs|etc(\/.*)*\/clientlibs|libs(\/.*)*\/clientlibs|apps(\/.*)*\/clientlibs|etc\/designs).*\.js(\?.*)?$/;
5try{if(d.CQURLInfo){c=CQURLInfo.contextPath||""
6}else{var g=document.getElementsByTagName("script");
7for(var h=0;
8h<g.length;
9h++){var f=j.exec(g[h].src);
10if(f){c=f[1];
11return
12}}c=""
13}}catch(k){}}d.Granite.HTTP.externalize=d.Granite.HTTP.externalize||function(f){if(c===null){b()
14}try{if(f.indexOf("/")===0&&c&&f.indexOf(c+"/")!==0){f=c+f
15}}catch(g){}return f
16}
17})(this);
18(function(b){if(window.Granite.csrf){return
19}window.Granite.csrf=b(window.Granite.HTTP)
20}(function(n){function c(){this._handler=[]
21}c.prototype={then:function(u,t){this._handler.push({resolve:u,reject:t})
22},resolve:function(){this._execute("resolve",arguments)
23},reject:function(){this._execute("reject",arguments)
24},_execute:function(t,u){if(this._handler===null){throw new Error("Promise already completed.")
25}for(var v=0,w=this._handler.length;
26v<w;
27v++){this._handler[v][t].apply(window,u)
28}this.then=function(y,x){(t==="resolve"?y:x).apply(window,u)
29};
30this._handler=null
31}};
32function f(u){var v=document.location.host;
33var x=document.location.protocol;
34var w="//"+v;
35var t=x+w;
36return(u===t||u.slice(0,t.length+1)===t+"/")||(u===w||u.slice(0,w.length+1)===w+"/")||!(/^(\/\/|http:|https:).*/.test(u))
37}var q=":cq_csrf_token";
38var h="CSRF-Token";
39var l=n.externalize("/libs/granite/csrf/token.json");
40var k;
41var s;
42function p(t){if(window.console){console.warn("CSRF data not available;The data may be unavailable by design, such as during non-authenticated requests: "+t)
43}}function o(){var t=new c();
44k=t;
45var u=new XMLHttpRequest();
46u.onreadystatechange=function(){if(u.readyState===4){try{var w=JSON.parse(u.responseText);
47s=w.token;
48t.resolve(s)
49}catch(v){p(v);
50t.reject(u.responseText)
51}}};
52u.open("GET",l,true);
53u.send();
54return t
55}function e(){var u=new XMLHttpRequest();
56u.open("GET",l,false);
57u.send();
58try{return s=JSON.parse(u.responseText).token
59}catch(t){p(t)
60}}function m(){s=undefined;
61o()
62}function b(u){var v=u.getAttribute("action");
63if(u.method.toUpperCase()==="GET"||(v&&!f(v))){return
64}if(!s){e()
65}if(!s){return
66}var t=u.querySelector('input[name="'+q+'"]');
67if(!t){t=document.createElement("input");
68t.setAttribute("type","hidden");
69t.setAttribute("name",q);
70u.appendChild(t)
71}t.setAttribute("value",s)
72}function j(t){var u=function(w){var v=w.target;
73if(v.nodeName==="FORM"){b(v)
74}};
75if(t.addEventListener){t.addEventListener("submit",u,true)
76}else{if(t.attachEvent){t.attachEvent("submit",u)
77}}}j(document);
78var i=XMLHttpRequest.prototype.open;
79XMLHttpRequest.prototype.open=function(v,t,u){if(v.toLowerCase()!=="get"&&f(t)){this._csrf=true;
80this._async=u
81}return i.apply(this,arguments)
82};
83var d=XMLHttpRequest.prototype.send;
84XMLHttpRequest.prototype.send=function(){if(!this._csrf){d.apply(this,arguments);
85return
86}if(s){this.setRequestHeader(h,s);
87d.apply(this,arguments);
88return
89}if(this._async===false){e();
90if(s){this.setRequestHeader(h,s)
91}d.apply(this,arguments);
92return
93}var t=this;
94var u=Array.prototype.slice.call(arguments);
95k.then(function(v){t.setRequestHeader(h,v);
96d.apply(t,u)
97},function(){d.apply(t,u)
98})
99};
100var g=HTMLFormElement.prototype.submit;
101HTMLFormElement.prototype.submit=function(){b(this);
102return g.apply(this,arguments)
103};
104if(window.Node){var r=Node.prototype.appendChild;
105Node.prototype.appendChild=function(){var t=r.apply(this,arguments);
106if(t.nodeName==="IFRAME"){try{if(t.contentWindow&&!t._csrf){t._csrf=true;
107j(t.contentWindow.document)
108}}catch(u){if(t.src&&t.src.length&&f(t.src)){if(window.console){console.error("Unable to attach CSRF token to an iframe element on the same origin")
109}}}}return t
110}
111}o();
112setInterval(function(){o()
113},300000);
114return{initialised:false,refreshToken:o,_clearToken:m}
115}));
116function initLazyLoading(){var d="vs-lazy";
117var c="vs-img-placeholder";
118var e=function(g){let src=g.attr("data-src"),bgimage=g.attr("data-bgimage"),video=g.is("video");
119if(src){g.attr("src",src);
120g.removeAttr("data-src");
121g.removeClass(d)
122}if(bgimage){g.css("background-image","url("+bgimage+")");
123g.removeAttr("data-bgimage");
124g.removeClass(d)
125}if(video){let source=g.find("source");
126src=source.attr("data-src");
127source.attr("src",src);
128var f=$(g).get(0);
129$(f).trigger("load");
130source.removeAttr("data-src");
131g.removeClass(d)
132}};
133let allLazyImages=$("img."+d+"."+c),allLazyBgImages=$(".vs-bg-image."+d),allLazyVideos=$("video."+d),disabledLazyImages=$("[data-disable-lazyloading='true'] img."+d+"."+c),disabledBgLazyImages=$("[data-disable-lazyloading='true'] .vs-bg-image."+d),disabledLazyVideos=$("[data-disable-lazyloading='true'] video."+d),disabledLazyItems=$.merge($.merge(disabledLazyImages,disabledBgLazyImages),disabledLazyVideos),enabledLazyImages=allLazyImages.not(disabledLazyImages),enabledBgLazyImages=allLazyBgImages.not(disabledBgLazyImages),enabledLazyVideos=allLazyVideos.not(disabledLazyVideos),enabledLazyItems=$.merge($.merge(enabledBgLazyImages,enabledLazyImages),enabledLazyVideos);
134disabledLazyItems.each(function(){e($(this))
135});
136if("IntersectionObserver" in window&&("isIntersecting" in IntersectionObserverEntry.prototype)){var b=new IntersectionObserver(function(f,g){f.forEach(function(h){var i=$(h.target);
137if(h.isIntersecting){e(i);
138b.unobserve(i[0])
139}})
140});
141enabledLazyItems.each(function(){b.observe(this)
142})
143}else{enabledLazyItems.inview({inview:function(){e($(this))
144}})
145}}(function(b){initLazyLoading()
146})(jQuery);
147$(document).ready(function(){document.addEventListener("user_auth_state",function(b){if(b.detail){location.reload()
148}})
149});
150window.Modernizr=function(aw,av,au){function T(b){am.cssText=b
151}function S(d,c){return T(ai.join(d+";")+(c||""))
152}
152function R(d,c){return typeof d===c
153}function Q(d,c){return !!~(""+d).indexOf(c)
154}function P(f,c){for(var h in f){var g=f[h];
155if(!Q(g,"-")&&am[g]!==au){return c=="pfx"?g:!0
156}}return !1
157}function O(g,c,j){for(var i in g){var h=c[g[i]];
158if(h!==au){return j===!1?g[i]:R(h,"function")?h.bind(j||c):h
159}}return !1
160}function N(g,f,j){var i=g.charAt(0).toUpperCase()+g.slice(1),h=(g+" "+ag.join(i+" ")+i).split(" ");
161return R(f,"string")||R(f,"undefined")?P(h,f):(h=(g+" "+af.join(i+" ")+i).split(" "),O(h,f,j))
162}function M(){ar.input=function(g){for(var f=0,b=g.length;
163f<b;
164f++){ab[g[f]]=g[f] in al
165}return ab.list&&(ab.list=!!av.createElement("datalist")&&!!aw.HTMLDataListElement),ab
166}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),ar.inputtypes=function(b){for(var l=0,k,j,g,c=b.length;
167l<c;
168l++){al.setAttribute("type",j=b[l]),k=al.type!=="text",k&&(al.value=ak,al.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(j)&&al.style.WebkitAppearance!==au?(ap.appendChild(al),g=av.defaultView,k=g.getComputedStyle&&g.getComputedStyle(al,null).WebkitAppearance!=="textfield"&&al.offsetHeight!==0,ap.removeChild(al)):/^(search|tel)$/.test(j)||(/^(url|email)$/.test(j)?k=al.checkValidity&&al.checkValidity()===!1:k=al.value!=ak)),ac[b[l]]=!!k
169}return ac
170}("search tel url email datetime date month week time datetime-local number range color".split(" "))
171}var at="2.8.3",ar={},aq=!0,ap=av.documentElement,ao="modernizr",an=av.createElement(ao),am=an.style,al=av.createElement("input"),ak=":)",aj={}.toString,ai=" -webkit- -moz- -o- -ms- ".split(" "),ah="Webkit Moz O ms",ag=ah.split(" "),af=ah.toLowerCase().split(" "),ae={svg:"http://www.w3.org/2000/svg"},ad={},ac={},ab={},aa=[],Z=aa.slice,Y,X=function(v,u,t,s){var r,q,p,o,h=av.createElement("div"),g=av.body,b=g||av.createElement("body");
172if(parseInt(t,10)){while(t--){p=av.createElement("div"),p.id=s?s[t]:ao+(t+1),h.appendChild(p)
173}}return r=["&#173;",'<style id="s',ao,'">',v,"</style>"].join(""),h.id=ao,(g?h:b).innerHTML+=r,b.appendChild(h),g||(b.style.background="",b.style.overflow="hidden",o=ap.style.overflow,ap.style.overflow="hidden",ap.appendChild(b)),q=u(h,v),g?h.parentNode.removeChild(h):(b.parentNode.removeChild(b),ap.style.overflow=o),!!q
174},W=function(){function c(i,h){h=h||av.createElement(b[i]||"div"),i="on"+i;
175var g=i in h;
176return g||(h.setAttribute||(h=av.createElement("div")),h.setAttribute&&h.removeAttribute&&(h.setAttribute(i,""),g=R(h[i],"function"),R(h[i],"undefined")||(h[i]=au),h.removeAttribute(i))),h=null,g
177}var b={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};
178return c
179}(),V={}.hasOwnProperty,U;
180!R(V,"undefined")&&!R(V.call,"undefined")?U=function(d,c){return V.call(d,c)
181}:U=function(d,c){return c in d&&R(d.constructor.prototype[c],"undefined")
182},Function.prototype.bind||(Function.prototype.bind=function(f){var i=this;
183if(typeof i!="function"){throw new TypeError
184}var h=Z.call(arguments,1),g=function(){if(this instanceof g){var b=function(){};
185b.prototype=i.prototype;
186var d=new b,c=i.apply(d,h.concat(Z.call(arguments)));
187return Object(c)===c?c:d
188}return i.apply(f,h.concat(Z.call(arguments)))
189};
190return g
191}),ad.flexbox=function(){return N("flexWrap")
192},ad.flexboxlegacy=function(){return N("boxDirection")
193},ad.canvas=function(){var b=av.createElement("canvas");
194return !!b.getContext&&!!b.getContext("2d")
195},ad.canvastext=function(){return !!ar.canvas&&!!R(av.createElement("canvas").getContext("2d").fillText,"function")
196},ad.webgl=function(){return !!aw.WebGLRenderingContext
197},ad.touch=function(){var b;
198return"ontouchstart" in aw||aw.DocumentTouch&&av instanceof DocumentTouch?b=!0:X(["@media (",ai.join("touch-enabled),("),ao,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(c){b=c.offsetTop===9
199}),b
200},ad.geolocation=function(){return"geolocation" in navigator
201},ad.postmessage=function(){return !!aw.postMessage
202},ad.websqldatabase=function(){return !!aw.openDatabase
203},ad.indexedDB=function(){return !!N("indexedDB",aw)
204},ad.hashchange=function(){return W("hashchange",aw)&&(av.documentMode===au||av.documentMode>7)
205}
205,ad.history=function(){return !!aw.history&&!!history.pushState
206},ad.draganddrop=function(){var b=av.createElement("div");
207return"draggable" in b||"ondragstart" in b&&"ondrop" in b
208},ad.websockets=function(){return"WebSocket" in aw||"MozWebSocket" in aw
209},ad.rgba=function(){return T("background-color:rgba(150,255,150,.5)"),Q(am.backgroundColor,"rgba")
210},ad.hsla=function(){return T("background-color:hsla(120,40%,100%,.5)"),Q(am.backgroundColor,"rgba")||Q(am.backgroundColor,"hsla")
211},ad.multiplebgs=function(){return T("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(am.background)
212},ad.backgroundsize=function(){return N("backgroundSize")
213},ad.borderimage=function(){return N("borderImage")
214},ad.borderradius=function(){return N("borderRadius")
215},ad.boxshadow=function(){return N("boxShadow")
216},ad.textshadow=function(){return av.createElement("div").style.textShadow===""
217},ad.opacity=function(){return S("opacity:.55"),/^0.55$/.test(am.opacity)
218},ad.cssanimations=function(){return N("animationName")
219},ad.csscolumns=function(){return N("columnCount")
220},ad.cssgradients=function(){var e="background-image:",d="gradient(linear,left top,right bottom,from(#9f9),to(white));",f="linear-gradient(left top,#9f9, white);";
221return T((e+"-webkit- ".split(" ").join(d+e)+ai.join(f+e)).slice(0,-e.length)),Q(am.backgroundImage,"gradient")
222},ad.cssreflections=function(){return N("boxReflect")
223},ad.csstransforms=function(){return !!N("transform")
224},ad.csstransforms3d=function(){var b=!!N("perspective");
225return b&&"webkitPerspective" in ap.style&&X("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(d,e){b=d.offsetLeft===9&&d.offsetHeight===3
226}),b
227},ad.csstransitions=function(){return N("transition")
228},ad.fontface=function(){var b;
229return X('@font-face {font-family:"font";src:url("https://")}',function(l,k){var j=av.getElementById("smodernizr"),i=j.sheet||j.styleSheet,h=i?i.cssRules&&i.cssRules[0]?i.cssRules[0].cssText:i.cssText||"":"";
230b=/src/i.test(h)&&h.indexOf(k.split(" ")[0])===0
231}),b
232},ad.generatedcontent=function(){var b;
233return X(["#",ao,"{font:0/0 a}#",ao,':after{content:"',ak,'";visibility:hidden;font:3px/1 a}'].join(""),function(c){b=c.offsetHeight>=3
234}),b
235},ad.video=function(){var b=av.createElement("video"),f=!1;
236try{if(f=!!b.canPlayType){f=new Boolean(f),f.ogg=b.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),f.h264=b.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),f.webm=b.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")
237}}catch(e){}return f
238},ad.audio=function(){var b=av.createElement("audio"),f=!1;
239try{if(f=!!b.canPlayType){f=new Boolean(f),f.ogg=b.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),f.mp3=b.canPlayType("audio/mpeg;").replace(/^no$/,""),f.wav=b.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),f.m4a=(b.canPlayType("audio/x-m4a;")||b.canPlayType("audio/aac;")).replace(/^no$/,"")
240}}catch(e){}return f
241},ad.localstorage=function(){try{return localStorage.setItem(ao,ao),localStorage.removeItem(ao),!0
242}catch(b){return !1
243}},ad.sessionstorage=function(){try{return sessionStorage.setItem(ao,ao),sessionStorage.removeItem(ao),!0
244}catch(b){return !1
245}},ad.webworkers=function(){return !!aw.Worker
246},ad.applicationcache=function(){return !!aw.applicationCache
247},ad.svg=function(){return !!av.createElementNS&&!!av.createElementNS(ae.svg,"svg").createSVGRect
248},ad.inlinesvg=function(){var b=av.createElement("div");
249return b.innerHTML="<svg/>",(b.firstChild&&b.firstChild.namespaceURI)==ae.svg
250},ad.smil=function(){return !!av.createElementNS&&/SVGAnimate/.test(aj.call(av.createElementNS(ae.svg,"animate")))
251},ad.svgclippaths=function(){return !!av.createElementNS&&/SVGClipPath/.test(aj.call(av.createElementNS(ae.svg,"clipPath")))
252};
253for(var L in ad){U(ad,L)&&(Y=L.toLowerCase(),ar[Y]=ad[L](),aa.push((ar[Y]?"":"no-")+Y))
254}return ar.input||M(),ar.addTest=function(e,c){if(typeof e=="object"){for(var f in e){U(e,f)&&ar.addTest(f,e[f])
255}}else{e=e.toLowerCase();
256if(ar[e]!==au){return ar
257}c=typeof c=="function"?c():c,typeof aq!="undefined"&&aq&&(ap.className+=" "+(c?"":"no-")+e),ar[e]=c
258}return ar
259},T(""),an=al=null,function(ax,K){function A(f,e){var h=f.createElement("p"),g=f.getElementsByTagName("head")[0]||f.documentElement;
260return h.innerHTML="x<style>"+e+"</style>",g.insertBefore(h.lastChild,g.firstChild)
261}function z(){var b=t.elements;
262return typeof b=="string"?b.split(" "):b
263}function y(d){var c=C[d[E]];
264return c||(c={},D++,d[E]=D,C[D]=c),c
265}function x(b,h,f){h||(h=K);
266if(B){return h.createElement(b)
267}f||(f=y(h));
268var e;
269return f.cache[b]?e=f.cache[b].cloneNode():G.test(b)?e=(f.cache[b]=f.createElem(b)).cloneNode():e=f.createElem(b),e.canHaveChildren&&!H.test(b)&&!e.tagUrn?f.frag.appendChild(e):e
270}function w(b,l){b||(b=K);
271if(B){return b.createDocumentFragment()
272}l=l||y(b);
273var k=l.frag.cloneNode(),j=0,i=z(),h=i.length;
274for(;
275j<h;
276j++){k.createElement(i[j])
277}return k
278}function v(d,c){c.cache||(c.cache={}
278,c.createElem=d.createElement,c.createFrag=d.createDocumentFragment,c.frag=c.createFrag()),d.createElement=function(b){return t.shivMethods?x(b,d,c):c.createElem(b)
279},d.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+z().join().replace(/[\w\-]+/g,function(b){return c.createElem(b),c.frag.createElement(b),'c("'+b+'")'
280})+");return n}")(t,c.frag)
281}function u(b){b||(b=K);
282var d=y(b);
283return t.shivCSS&&!F&&!d.hasCSS&&(d.hasCSS=!!A(b,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),B||v(b,d),b
284}var J="3.7.0",I=ax.html5||{},H=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,G=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,F,E="_html5shiv",D=0,C={},B;
285(function(){try{var b=K.createElement("a");
286b.innerHTML="<xyz></xyz>",F="hidden" in b,B=b.childNodes.length==1||function(){K.createElement("a");
287var c=K.createDocumentFragment();
288return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"
289}()
290}catch(d){F=!0,B=!0
291}})();
292var t={elements:I.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:J,shivCSS:I.shivCSS!==!1,supportsUnknownElements:B,shivMethods:I.shivMethods!==!1,type:"default",shivDocument:u,createElement:x,createDocumentFragment:w};
293ax.html5=t,u(K)
294}(this,av),ar._version=at,ar._prefixes=ai,ar._domPrefixes=af,ar._cssomPrefixes=ag,ar.hasEvent=W,ar.testProp=function(b){return P([b])
295},ar.testAllProps=N,ar.testStyles=X,ap.className=ap.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(aq?" js "+aa.join(" "):""),ar
296}(this,this.document),function(ad,ac,ab){function aa(b){return"[object Function]"==P.call(b)
297}function Z(b){return"string"==typeof b
298}function Y(){}function X(b){return !b||"loaded"==b||"complete"==b||"uninitialized"==b
299}function W(){var b=O.shift();
300M=1,b?b.t?R(function(){("c"==b.t?L.injectCss:L.injectJs)(b.s,0,b.a,b.x,b.e,1)
301},0):(b(),W()):M=0
302}function V(w,v,t,s,q,p,n){function m(c){if(!g&&X(h.readyState)&&(x.r=g=1,!M&&W(),h.onload=h.onreadystatechange=null,c)){"img"!=w&&R(function(){I.removeChild(h)
303},50);
304for(var e in D[v]){D[v].hasOwnProperty(e)&&D[v][e].onload()
305}}}var n=n||L.errorTimeout,h=ac.createElement(w),g=0,b=0,x={t:t,s:v,e:q,a:p,x:n};
3061===D[v]&&(b=1,D[v]=[]),"object"==w?h.data=v:(h.src=v,h.type=w),h.width=h.height="0",h.onerror=h.onload=h.onreadystatechange=function(){m.call(this,b)
307},O.splice(s,0,x),"img"!=w&&(b||2===D[v]?(I.insertBefore(h,J?null:Q),R(m,n)):D[v].push(h))
308}function U(g,e,j,i,h){return M=0,e=e||"j",Z(g)?V("c"==e?G:H,g,e,this.i++,j,i,h):(O.splice(this.i++,0,g),1==O.length&&W()),this
309}function T(){var b=L;
310return b.loader={load:U,i:0},b
311}var S=ac.documentElement,R=ad.setTimeout,Q=ac.getElementsByTagName("script")[0],P={}.toString,O=[],M=0,K="MozAppearance" in S.style,J=K&&!!ac.createRange().compareNode,I=J?S:Q.parentNode,S=ad.opera&&"[object Opera]"==P.call(ad.opera),S=!!ac.attachEvent&&!S,H=K?"object":S?"script":"img",G=S?"script":H,F=Array.isArray||function(b){return"[object Array]"==P.call(b)
312},E=[],D={},C={timeout:function(d,c){return c.length&&(d.timeout=c[0]),d
313}},N,L;
314L=function(e){function c(i){var i=i.split("!"),h=E.length,q=i.pop(),p=i.length,q={url:q,origUrl:q,prefixes:i},o,l,j;
315for(l=0;
316l<p;
317l++){j=i[l].split("="),(o=C[j.shift()])&&(q=o(q,j))
318}for(l=0;
319l<h;
320l++){q=E[l](q)
321}return q
322}function n(b,s,r,q,p){var o=c(b),l=o.autoCallback;
323o.url.split(".").pop().split("?").shift(),o.bypass||(s&&(s=aa(s)?s:s[b]||s[q]||s[b.split("/").pop().split("?")[0]]),o.instead?o.instead(b,s,r,q,p):(D[o.url]?o.noexec=!0:D[o.url]=1,r.load(o.url,o.forceCSS||!o.forceJS&&"css"==o.url.split(".").pop().split("?").shift()?"c":ab,o.noexec,o.attrs,o.timeout),(aa(s)||aa(l))&&r.load(function(){T(),s&&s(o.origUrl,p,q),l&&l(o.origUrl,p,q),D[o.url]=2
324})))
325}function m(w,v){function u(b,h){if(b){if(Z(b)){h||(r=function(){var i=[].slice.call(arguments);
326q.apply(this,i),p()
327}),n(b,r,v,0,t)
328}else{if(Object(b)===b){for(g in o=function(){var i=0,j;
329for(j in b){b.hasOwnProperty(j)&&i++
330}return i
331}(),b){b.hasOwnProperty(g)&&(!h&&!--o&&(aa(r)?r=function(){var i=[].slice.call(arguments);
332q.apply(this,i),p()
333}:r[g]=function(i){return function(){var j=[].slice.call(arguments);
334i&&i.apply(this,j),p()
335}
336}(q[g])),n(b[g],r,v,g,t))
337}}}}else{!h&&p()
338}}var t=!!w.test,s=w.load||w.both,r=w.callback||Y,q=r,p=w.complete||Y,o,g;
339u(t?w.yep:w.nope,!!s),s&&u(s)
340}var k,f,d=this.yepnope.loader;
341if(Z(e)){n(e,0,d,0)
342}else{if(F(e)){for(k=0;
343k<e.length;
344k++){f=e[k],Z(f)?n(f,0,d,0):F(f)?L(f):Object(f)===f&&m(f,d)
345}}else{Object(e)===e&&m(e,d)
346}}},L.addPrefix=function(d,c){C[d]=c
347},L.addFilter=function(b){E.push(b)
348},L.errorTimeout=10000,null==ac.readyState&&ac.addEventListener&&(ac.readyState="loading",ac.addEventListener("DOMContentLoaded",N=function(){ac.removeEventListener("DOMContentLoaded",N,0),ac.readyState="complete"
349},0)),ad.yepnope=T(),ad.yepnope.executeStack=W,ad.yepnope.injectJs=function(r,q,p,n,m,h){var g=ac.createElement("script"),f,b,n=n||L.errorTimeout;
350g.src=r;
351for(b in p){g.setAttribute(b,p[b])
352}q=h?W:q||Y,g.onreadystatechange=g.onload=function(){!f&&X(g.readyState)&&(f=1,q(),g.onload=g.onreadystatechange=null)
353},R(function(){f||(f=1,q(1))
354},n),m?g.onload():Q.parentNode.insertBefore(g,Q)
355},ad.yepnope.injectCss=function(b,n,m,l,k,h){var l=ac.createElement("link"),f,n=h?W:n||Y;
356l.href=b,l.rel="stylesheet",l.type="text/css";
357for(f in m){l.setAttribute(f,m[f])
358}k||(Q.parentNode.insertBefore(l,Q),R(n,0))
359}
360}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))
361};
362Modernizr.addTest("ipad",function(){return !!navigator.userAgent.match(/iPad/i)
363}
363);
364Modernizr.addTest("iphone",function(){return !!navigator.userAgent.match(/iPhone/i)
365});
366Modernizr.addTest("ipod",function(){return !!navigator.userAgent.match(/iPod/i)
367});
368Modernizr.addTest("android",function(){return !!navigator.userAgent.match(/android/i)
369});
370Modernizr.addTest("mac",function(){return !!navigator.userAgent.match(/Mac/i)
371});
372Modernizr.addTest("appleios",function(){return(Modernizr.ipad||Modernizr.ipod||Modernizr.iphone)
373});
374(function(){var b,d,c;
375$.fn.access=function(e){var h,g,f;
376if(e){f=$("<span />");
377f.insertBefore(this);
378f.attr("tabindex","-1").on("blur focusout",function(){return $(this).remove()
379}).focus()
380}else{h="original-tabindex";
381g=$(this);
382g.data(h,g.attr("tabindex")||false);
383if(g.is("iframe")){g.on("blur focusout",function(){if(g.data(h)!==false){return g.attr("tabindex",g.data(h))
384}else{g.removeAttr("tabindex");
385g.off("blur focusout");
386return g.data(h,false)
387}})
388}else{g.attr("tabindex","-1").on("blur focusout",function(){if(g.data(h)!==false){return g.attr("tabindex",g.data(h))
389}else{g.removeAttr("tabindex");
390g.off("blur focusout");
391return g.data(h,false)
392}}).focus()
393}}return this
394};
395b=null;
396$.announce=function(g,e){var f,h;
397e=e||"polite";
398f=$("#a11y_announcer").attr("aria-live","off");
399h=function(){f.html("");
400b=null
401};
402f.attr("aria-live",e);
403f.html(g);
404clearTimeout(b);
405b=setTimeout(h,500);
406return this
407};
408c=function(e){return $.expr.filters.visible(e)&&!$(e).parents().addBack().filter(function(){return $.css(this,"visibility")==="hidden"
409}).length
410};
411d=function(g,e){var f,i,h,j;
412j=g.nodeName.toLowerCase();
413if("area"===j){i=g.parentNode;
414h=i.name;
415if(!g.href||!h||i.nodeName.toLowerCase()!=="map"){return false
416}f=$("img[usemap=#"+h+"]")[0];
417return !!f&&c(f)
418}return(/input|select|textarea|button|object/.test(j)?!g.disabled:"a"===j?g.href||e:e)&&c(g)
419};
420$.extend($.expr[":"],{data:($.expr.createPseudo?$.expr.createPseudo(function(e){return function(f){return !!$.data(f,e)
421}
422}):function(g,f,e){return !!$.data(g,e[3])
423}),focusable:function(e){return d(e,!isNaN($.attr(e,"tabindex")))
424},tabbable:function(g){var f,e;
425e=$.attr(g,"tabindex");
426f=isNaN(e);
427return(f||e>=0)&&d(g,!f)
428}})
429}).call(this);
430$.widget("visa.aria",{_airaExpanded:[{name:"aria-expanded",value:true},{name:"aria-selected",value:true},{name:"aria-collapsed",value:false}],_ariaCollapsed:[{name:"aria-expanded",value:false},{name:"aria-selected",value:false},{name:"aria-collapsed",value:true}],_create:function(){},_setAriaProperties:function(b){if(!this.element.length){return
431}$.each(b,function(c,d){if(typeof this.element.attr(d.name)!=="undefined"){this.element.attr(d.name,d.value)
432}}.bind(this))
433},setExpanded:function(){this._setAriaProperties(this._airaExpanded)
434},setCollapsed:function(){this._setAriaProperties(this._ariaCollapsed)
435},setFocusOnCollapsible:function(){this.element.on("shown.bs.collapse",function(){this.element.access()
436}.bind(this))
437}});
438$.widget("visa.focusFancyEle",{_$fancyEle:null,_create:function(){this._$fancyEle=$("input:checkbox, form input:radio");
439this._$fancyEle.each(function(){$(this).focus(function(){var b=$(this).next("label");
440$(b).toggleClass("focus-ele")
441})
442});
443this._$fancyEle.each(function(){$(this).blur(function(){var b=$(this).next("label");
444$(b).toggleClass("focus-ele")
445})
446})
447}});
448var vjs=[];
449var rteScriptList;
450$(document).ready(function(){$(document).focusFancyEle();
451if($(".visa-collapsible").length){$(".visa-collapsible").aria().aria("setFocusOnCollapsible")
452}$(".modal").on("show.bs.modal",function(){var d=$(this);
453setModalBackToMessage(d)
454});
455$("#dynamic-modal").on("shown.bs.modal",function(){var d=$(this);
456var e=d.find("h1, h2").first();
457if(e.length){e.attr("id","dynamic-modal-title");
458d.attr("aria-labelledby","dynamic-modal-title");
459e.attr("tabindex","0");
460e.focus()
461}$("#dynamic-modal-title").replaceWith(function(){return"<h2 id="+$(this).attr("id")+' tabindex="'+$(this).attr("tabindex")+'">'+$(this).html()+"</h2>"
462});
463$("#dynamic-modal-title").focus()
464});
465$("#dynamic-modal").on("hide.bs.modal",function(){var d=$(this);
466d.attr("aria-labelledby",null);
467d.attr("aria-hidden","true")
468});
469function c(h){var g=h,d,e=0,i=0,f=0;
470if(g){d=g.split(",");
471e=parseInt(d[0],10)*60*60;
472i=parseInt(d[1],10)*60;
473f=parseInt(d[2],10)
474}return(e+i+f)
475}$("video.video-js").each(function(j){var d=$(this),f=c(d.data("st"))||0,i=d.data("ap"),e=c(d.data("en"))||null,h=d.data("loop");
476h=(h===""?false:true);
477var k=videojs(d.attr("id"),{controls:true,autoplay:false,preload:"auto"},function(){});
478var g=k;
479g.on("loadedmetadata",function(){g.lp=h;
480g.st=parseInt(f,10)||0;
481g.en=((e===0)?g.duration():e);
482g.ntlp=0;
483g.pausedd=0;
484if(g.st>parseInt(g.en,10)||(g.en>parseInt(g.duration(),10))){g.dispose()
485}});
486g.on("playing",function(){$(".video-js").each(function(l){if(l!==j){this.player.pause()
487}})
488});
489g.off("play",function(){}).on("play",function(){if(g.pausedd===0){g.currentTime(g.st).play()
490}else{if(!g.lp){g.currentTime(g.st).play()
491}else{g.currentTime(g.pauseT).play()
492}g.pausedd=0
493}});
494g.on("pause",function(){g.pausedd=1;
495g.pauseT=g.currentTime()
496});
497g.on("timeupdate",function(){if(g.lp){if(g.en&&(parseInt(g.currentTime(),10)>=parseInt(g.en,10))){g.pause().currentTime(g.st).play()
498}}
498else{if(g.ntlp===0){g.currentTime(g.st);
499g.ntlp=1
500}if(g.en&&(parseInt(g.currentTime(),10)>=parseInt(g.en,10))){g.pause()
501}}});
502vjs.push(g)
503});
504$(".modal").on("shown.bs.modal",function(){if($(this).hasClass("video-modal")){$(this).find("button.play").focus()
505}else{if($(this).attr("id")&&$(this).attr("id")!=="dynamic-modal"){$(this).find("input, select, textarea, a[href], button, [tabindex=0]").first().focus()
506}}});
507$(".modal").on("hidden.bs.modal",function(){var d=$(this).attr("id");
508var e=$('[data-target="#'+d+"]");
509e.focus()
510});
511$("audio.video-js").each(function(){var d=$(this),e=d.attr("id");
512var f=videojs(e,{});
513vjs.push(f)
514});
515$(".modal.videojs-modal").on("show.bs.modal",function(g){var d=$(this);
516if(d.find(".vjs-audio").length>0){var f=d.find(".modal-body"),h=f.height();
517d.find(".vjs-audio").height(h+"px");
518d.find(".vjs-audio").width("100%")
519}});
520$(".modal.videojs-modal").on("hidden.bs.modal",function(g){var d=$(this),f=(d.find("video").length>0)?d.find("video").attr("id"):d.find("audio").attr("id");
521$("#"+f)[0].on("load")
522});
523function b(){if(window.innerWidth>768){var d=(window.innerWidth*0.375);
524$(".avcover").css({overflow:"hidden",height:d+"px"})
525}}$(window).resize(function(){b()
526});
527b();
528$(window).scroll(function(){if($(this).scrollTop()>200){$(".go-top").fadeIn(500)
529}else{$(".go-top").fadeOut(300)
530}});
531$(".go-top").click(function(d){d.preventDefault();
532$("html, body").animate({scrollTop:0},300)
533});
534$(".content-drawer button").on("click",function(){var e=$(this).find(".view-more");
535var d=$(this).find(".view-less");
536if($(this).hasClass("collapsed")){e.attr("aria-hidden","true");
537d.attr("aria-hidden","false")
538}else{e.attr("aria-hidden","false");
539d.attr("aria-hidden","true")
540}})
541});
542function setModalBackToMessage(d){var f=d.find(".modal-title");
543var e=document.title;
544var c="Back";
545var b=[];
546if(e!==undefined&&e.trim()!==""&&!f.hasClass("visaStartUp")){b=e.split("|");
547if(b!==undefined){lastIndex=b.length-1;
548c="Back to "+b[lastIndex]
549}}if(!f.hasClass("visaStartUp")){f.text(c)
550}}function set_cookie(d){var c=document.domain;
551var b=c?("; domain="+c):"";
552document.cookie="domaincookie ="+encodeURIComponent(d)+"; max-age="+60*60*24*365+"; path=/"+b
553}function set_language_cookie(d){var c=document.domain;
554var b=c?("; domain="+c):"";
555document.cookie="languagecookie ="+encodeURIComponent(d)+"; max-age="+60*60*24*365+"; path=/"+b
556}function set_alertcookie(b){var d=document.domain;
557var c=d?("; domain="+d):"";
558var e=parseInt(b,10);
559document.cookie="globalalertcookie = true; max-age="+60*60*24*e+"; path=/"+c
560}function get_cookie(b){var c=document.cookie;
561if(c.length!=0){var d=getCookieVal(b,c);
562return d
563}return""
564}function delete_cookie(b){var d=document.domain;
565var c=d?("; domain="+d):"";
566document.cookie=b+"=; max-age=0; path=/"+c+";HttpOnly;Secure"
567}function getCookieVal(b,c){var e=[];
568e=c.split(";"),requiredVal="",a=[];
569if(e&&e.length>0){for(var d=0;
570d<e.length;
571d++){if(e[d]){a=e[d].split("=");
572if(a[0].trim()===b){requiredVal=a[1];
573break
574}}}}return requiredVal
575}(function(){function c(){var e=$(".modal-dialog.modal-country"),f=$(window),d=f.width(),g=$(".modal-dialog.modal-country").find(".con");
576if(g&&g.length===3){if(d>768){e.removeClass("mod-dialog-coun-sm")
577}else{if(d<768){e.addClass("mod-dialog-coun-sm")
578}}}}var b=$(".modal-dialog.modal-country").find(".con");
579if(b&&b.length===3){c()
580}$(window).resize(function(){var d=$(".modal-dialog.modal-country").find(".con");
581if(d&&d.length===3){c()
582}})
583})();
584$(document).ready(function(){function b(){var d=$(this).find(".modal-dialog");
585var c=$(this).find(".modal-header");
586d.css("margin-top",Math.max(0,(($(window).height()-d.height())/2)-c.height()))
587}$(".modal").on("shown.bs.modal",b);
588$(window).on("resize",function(){$(".modal:visible").each(b)
589});
590$('[data-toggle="tooltip"]').tooltip();
591$('[data-toggle="popover"]').popover();
592$(document).keyup(function(c){if(c.which===27){$('[data-toggle="popover"]').popover("hide")
593}});
594$('[data-toggle="popover"]').on("click",function(c){$("#close").focus();
595$('[data-toggle="popover"]').not(this).popover("hide")
596});
597$('[data-toggle="popover"]').each(function(){var c=$(this);
598c.popover().on("shown.bs.popover",function(){c.data("bs.popover").tip().find('[data-dismiss="popover"]').on("click",function(){c.popover("toggle");
599c.focus()
600})
601})
602});
603$('[data-toggle="popover"]').on("hidden.bs.popover",function(e){var d=$(e.target).closest(".popover").attr("id");
604var c=$("button[aria-describedby='"+d+"']");
605c.focus()
606})
607});
608/*!
609Copyright (c) 2011, 2012 Julien Wajsberg <[email protected]>
610All rights reserved.
611
612Official repository: https://github.com/julienw/jquery-trap-input
613License is there: https://github.com/julienw/jquery-trap-input/blob/master/LICENSE
614This is version 1.2.0.
615*/
616(function(f,d){var c="trap.isTrapping";
617function e(o){if(o.keyCode===9){var p=!!(o.shiftKey);
618if(g(this,o.target,p)){o.preventDefault();
619o.stopPropagation()
620}}}function g(o,q,w){var u=k(o),x=q,t,r,p,s;
621do{t=u.index(x);
622r=t+1;
623p=t-1;
624s=u.length-1;
625switch(t){case -1:return false;
626case 0:p=s;
627break;
628case s:r=0;
629break
630}if(w){r=p
631}x=u.get(r);
632if(!x||x===q){return true
633}try{x.focus()
634}catch(v){return true
635}}while(u.length>1&&q===q.ownerDocument.activeElement);
636return true
637}function l(){return this.tabIndex>0
638}function h(){return !this.tabIndex
639}function m(p,o){return(p.t-o.t)||(p.i-o.i)
640}function k(p){var r=f(p);
641var o=[],q=0;
642n.enable&&n.enable();
643r.find("a[href], link[href], [draggable=true], [contenteditable=true], :input:enabled, [tabindex=0], iframe").filter(":visible").filter(h).each(function(s,t){o.push({v:t,t:0,i:q++})
644});
645r.find("[tabindex]").filter(":visible").filter(l).each(function(s,t){o.push({v:t,t:t.tabIndex,i:q++})
646});
647n.disable&&n.disable();
648o=f.map(o.sort(m),function(s){return s.v
649});
650return f(o)
651}function j(){this.keydown(e);
652this.data(c,true);
653return this
654}
654function b(){this.unbind("keydown",e);
655this.removeData(c);
656return this
657}function i(){return !!this.data(c)
658}f.fn.extend({trap:j,untrap:b,isTrapping:i});
659var n={};
660if(f.find.find&&f.find.attr!==f.attr){(function(){var p="tabindex";
661var o=f.expr.attrHandle;
662function s(u){var t=u.getAttributeNode(p);
663return t&&t.specified?parseInt(t.value,10):d
664}function r(){o[p]=o.tabIndex=s
665}function q(){delete o[p];
666delete o.tabIndex
667}n={enable:r,disable:q}
668})()
669}})(jQuery);
670!function(b){"function"==typeof define&&define.amd?define(["jquery"],b):"object"==typeof module&&module.exports?module.exports=function(d,e){return void 0===e&&(e="undefined"!=typeof window?require("jquery"):require("jquery")(d)),b(e),e
671}:b(jQuery)
672}(function(e){var d=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd){var c=e.fn.select2.amd
673}var c;
674return function(){if(!c||!c.requirejs){c?h=c:c={};
675var b,h,g;
676!function(Q){function P(j,i){return z.call(j,i)
677}function O(Z,Y){var X,W,V,U,T,S,R,w,v,u,t,s=Y&&Y.split("/"),r=B.map,q=r&&r["*"]||{};
678if(Z&&"."===Z.charAt(0)){if(Y){for(Z=Z.split("/"),T=Z.length-1,B.nodeIdCompat&&x.test(Z[T])&&(Z[T]=Z[T].replace(x,"")),Z=s.slice(0,s.length-1).concat(Z),v=0;
679v<Z.length;
680v+=1){if(t=Z[v],"."===t){Z.splice(v,1),v-=1
681}else{if(".."===t){if(1===v&&(".."===Z[2]||".."===Z[0])){break
682}v>0&&(Z.splice(v-1,2),v-=2)
683}}}Z=Z.join("/")
684}else{0===Z.indexOf("./")&&(Z=Z.substring(2))
685}}if((s||q)&&r){for(X=Z.split("/"),v=X.length;
686v>0;
687v-=1){if(W=X.slice(0,v).join("/"),s){for(u=s.length;
688u>0;
689u-=1){if(V=r[s.slice(0,u).join("/")],V&&(V=V[W])){U=V,S=v;
690break
691}}}if(U){break
692}!R&&q&&q[W]&&(R=q[W],w=v)
693}!U&&R&&(U=R,S=w),U&&(X.splice(0,S,U),Z=X.join("/"))
694}return Z
695}function N(i,j){return function(){var k=y.call(arguments,0);
696return"string"!=typeof k[0]&&1===k.length&&k.push(null),G.apply(Q,k.concat([i,j]))
697}
698}function M(i){return function(j){return O(j,i)
699}
700}function L(i){return function(j){D[i]=j
701}
702}function K(i){if(P(C,i)){var j=C[i];
703delete C[i],A[i]=!0,H.apply(Q,j)
704}if(!P(D,i)&&!P(A,i)){throw new Error("No "+i)
705}return D[i]
706}function J(j){var i,k=j?j.indexOf("!"):-1;
707return k>-1&&(i=j.substring(0,k),j=j.substring(k+1,j.length)),[i,j]
708}function I(i){return function(){return B&&B.config&&B.config[i]||{}
709}
710}var H,G,F,E,D={},C={},B={},A={},z=Object.prototype.hasOwnProperty,y=[].slice,x=/\.js$/;
711F=function(j,i){var m,l=J(j),k=l[0];
712return j=l[1],k&&(k=O(k,i),m=K(k)),k?j=m&&m.normalize?m.normalize(j,M(i)):O(j,i):(j=O(j,i),l=J(j),k=l[0],j=l[1],k&&(m=K(k))),{f:k?k+"!"+j:j,n:j,pr:k,p:m}
713},E={require:function(i){return N(i)
714},exports:function(j){var i=D[j];
715return"undefined"!=typeof i?i:D[j]={}
716},module:function(i){return{id:i,uri:"",exports:D[i],config:I(i)}
717}},H=function(R,w,t,r){var q,p,o,j,i,U,T=[],S=typeof t;
718if(r=r||R,"undefined"===S||"function"===S){for(w=!w.length&&t.length?["require","exports","module"]:w,i=0;
719i<w.length;
720i+=1){if(j=F(w[i],r),p=j.f,"require"===p){T[i]=E.require(R)
721}else{if("exports"===p){T[i]=E.exports(R),U=!0
722}else{if("module"===p){q=T[i]=E.module(R)
723}else{if(P(D,p)||P(C,p)||P(A,p)){T[i]=K(p)
724}else{if(!j.p){throw new Error(R+" missing "+p)
725}j.p.load(j.n,N(r,!0),L(p),{}),T[i]=D[p]
726}}}}}o=t?t.apply(D[R],T):void 0,R&&(q&&q.exports!==Q&&q.exports!==D[R]?D[R]=q.exports:o===Q&&U||(D[R]=o))
727}else{R&&(D[R]=t)
728}},b=h=G=function(i,m,l,k,j){if("string"==typeof i){return E[i]?E[i](m):K(F(i,m).f)
729}if(!i.splice){if(B=i,B.deps&&G(B.deps,B.callback),!m){return
730}m.splice?(i=m,m=l,l=null):i=Q
731}return m=m||function(){},"function"==typeof l&&(l=k,k=j),k?H(Q,i,m,l):setTimeout(function(){H(Q,i,m,l)
732},4),G
733},G.config=function(i){return G(i)
734},b._defined=D,g=function(j,i,k){if("string"!=typeof j){throw new Error("See almond README: incorrect module build, no module name")
735}i.splice||(k=i,i=[]),P(D,j)||P(C,j)||(C[j]=[j,i,k])
736},g.amd={jQuery:!0}
737}(),c.requirejs=b,c.require=h,c.define=g
738}}(),c.define("almond",function(){}),c.define("jquery",[],function(){var g=e||$;
739return null==g&&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."),g
740}),c.define("select2/utils",["jquery"],function(h){function g(l){var k=l.prototype,o=[];
741for(var n in k){var m=k[n];
742"function"==typeof m&&"constructor"!==n&&o.push(n)
743}return o
744}var j={};
745j.Extend=function(l,k){function o(){this.constructor=l
746}var n={}.hasOwnProperty;
747for(var m in k){n.call(k,m)&&(l[m]=k[m])
748}return o.prototype=k.prototype,l.prototype=new o,l.__super__=k.prototype,l
749},j.Decorate=function(v,u){function t(){var k=Array.prototype.unshift,w=u.prototype.constructor.length,l=v.prototype.constructor;
750w>0&&(k.call(arguments,v.prototype.constructor),l=u.prototype.constructor),l.apply(this,arguments)
751}function s(){this.constructor=t
752}var r=g(u),q=g(v);
753u.displayName=v.displayName,t.prototype=new s;
754for(var p=0;
755p<q.length;
756p++){var o=q[p];
757t.prototype[o]=v.prototype[o]
758}for(var n=(function(l){var k=function(){};
759l in t.prototype&&(k=t.prototype[l]);
760var w=u.prototype[l];
761return function(){var x=Array.prototype.unshift;
762return x.call(arguments,k),w.apply(this,arguments)
763}
764}),m=0;
765m<r.length;
766m++){var b=r[m];
767t.prototype[b]=n(b)
768}return t
769};
770var i=function(){this.listeners={}
771};
772return i.prototype.on=function(l,k){this.listeners=this.listeners||{},l in this.listeners?this.listeners[l].push(k):this.listeners[l]=[k]
773},i.prototype.trigger=function(l){var k=Array.prototype.slice,m=k.call(arguments,1
vendor: 23,247 bytes, lines 773-1047
773);
774this.listeners=this.listeners||{},null==m&&(m=[]),0===m.length&&m.push({}),m[0]._type=l,l in this.listeners&&this.invoke(this.listeners[l],k.call(arguments,1)),"*" in this.listeners&&this.invoke(this.listeners["*"],arguments)
775},i.prototype.invoke=function(l,k){for(var n=0,m=l.length;
776m>n;
777n++){l[n].apply(this,k)
778}},j.Observable=i,j.generateChars=function(l){for(var k="",n=0;
779l>n;
780n++){var m=Math.floor(36*Math.random());
781k+=m.toString(36)
782}return k
783},j.bind=function(l,k){return function(){l.apply(k,arguments)
784}
785},j._convertData=function(l){for(var k in l){var p=k.split("-"),o=l;
786if(1!==p.length){for(var n=0;
787n<p.length;
788n++){var m=p[n];
789m=m.substring(0,1).toLowerCase()+m.substring(1),m in o||(o[m]={}),n==p.length-1&&(o[m]=l[k]),o=o[m]
790}delete l[k]
791}}return l
792},j.hasScroll=function(k,o){var n=h(o),m=o.style.overflowX,l=o.style.overflowY;
793return m!==l||"hidden"!==l&&"visible"!==l?"scroll"===m||"scroll"===l?!0:n.innerHeight()<o.scrollHeight||n.innerWidth()<o.scrollWidth:!1
794},j.escapeMarkup=function(l){var k={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};
795return"string"!=typeof l?l:String(l).replace(/[&<>"'\/\\]/g,function(b){return k[b]
796})
797},j.appendMany=function(k,m){if("1.7"===h.fn.jquery.substr(0,3)){var l=h();
798h.map(m,function(b){l=l.add(b)
799}),m=l
800}k.append(m)
801},j
802}),c.define("select2/results",["jquery","./utils"],function(h,g){function i(k,j,l){this.$element=k,this.data=l,this.options=j,i.__super__.constructor.call(this)
803}return g.Extend(i,g.Observable),i.prototype.render=function(){var j=h('<ul class="select2-results__options" role="tree"></ul>');
804return this.options.get("multiple")&&j.attr("aria-multiselectable","true"),this.$results=j,j
805},i.prototype.clear=function(){this.$results.empty()
806},i.prototype.displayMessage=function(j){var m=this.options.get("escapeMarkup");
807this.clear(),this.hideLoading();
808var l=h('<li role="treeitem" aria-live="assertive" class="select2-results__option"></li>'),k=this.options.get("translations").get(j.message);
809l.append(m(k(j.args))),l[0].className+=" select2-results__message",this.$results.append(l)
810},i.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()
811},i.prototype.append=function(k){this.hideLoading();
812var j=[];
813if(null==k.results||0===k.results.length){return void (0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"}))
814}k.results=this.sort(k.results);
815for(var n=0;
816n<k.results.length;
817n++){var m=k.results[n],l=this.option(m);
818j.push(l)
819}this.$results.append(j)
820},i.prototype.position=function(k,j){var l=j.find(".select2-results");
821l.append(k)
822},i.prototype.sort=function(k){var j=this.options.get("sorter");
823return j(k)
824},i.prototype.highlightFirstItem=function(){var k=this.$results.find(".select2-results__option[aria-selected]"),j=k.filter("[aria-selected=true]");
825j.length>0?j.first().trigger("mouseenter"):k.first().trigger("mouseenter"),this.ensureHighlightVisible()
826},i.prototype.setClasses=function(){var j=this;
827this.data.current(function(l){var k=h.map(l,function(m){return m.id.toString()
828}),b=j.$results.find(".select2-results__option[aria-selected]");
829b.each(function(){var m=h(this),o=h.data(this,"data"),n=""+o.id;
830null!=o.element&&o.element.selected||null==o.element&&h.inArray(n,k)>-1?m.attr("aria-selected","true"):m.attr("aria-selected","false")
831})
832})
833},i.prototype.showLoading=function(k){this.hideLoading();
834var j=this.options.get("translations").get("searching"),m={disabled:!0,loading:!0,text:j(k)},l=this.option(m);
835l.className+=" loading-results",this.$results.prepend(l)
836},i.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()
837},i.prototype.option=function(y){var x=document.createElement("li");
838x.className="select2-results__option";
839var w={role:"treeitem","aria-selected":"false"};
840y.disabled&&(delete w["aria-selected"],w["aria-disabled"]="true"),null==y.id&&delete w["aria-selected"],null!=y._resultId&&(x.id=y._resultId),y.title&&(x.title=y.title),y.children&&(w.role="group",w["aria-label"]=y.text,delete w["aria-selected"]);
841for(var v in w){var u=w[v];
842x.setAttribute(v,u)
843}if(y.children){var t=h(x),s=document.createElement("strong");
844s.className="select2-results__group";
845h(s);
846this.template(y,s);
847for(var r=[],q=0;
848q<y.children.length;
849q++){var p=y.children[q],o=this.option(p);
850r.push(o)
851}var n=h("<ul></ul>",{"class":"select2-results__options select2-results__options--nested"});
852n.append(r),t.append(s),t.append(n)
853}else{this.template(y,x)
854}return h.data(x,"data",y),x
855},i.prototype.bind=function(j,m){var l=this,k=j.id+"-results";
856this.$results.attr("id",k),j.on("results:all",function(b){l.clear(),l.append(b.data),j.isOpen()&&(l.setClasses(),l.highlightFirstItem())
857}),j.on("results:append",function(b){l.append(b.data),j.isOpen()&&l.setClasses()
858}),j.on("query",function(b){l.hideMessages(),l.showLoading(b)
859}),j.on("select",function(){j.isOpen()&&(l.setClasses(),l.highlightFirstItem())
860}),j.on("unselect",function(){j.isOpen()&&(l.setClasses(),l.highlightFirstItem())
861}),j.on("open",function(){l.$results.attr("aria-expanded","true"),l.$results.attr("aria-hidden","false"),l.setClasses(),l.ensureHighlightVisible()
862}),j.on("close",function(){l.$results.attr("aria-expanded","false"),l.$results.attr("aria-hidden","true"),l.$results.removeAttr("aria-activedescendant")
863}),j.on("results:toggle",function(){var b=l.getHighlightedResults();
8640!==b.length&&b.trigger("mouseup")
865}),j.on("results:select",function(){var o=l.getHighlightedResults();
866if(0!==o.length){var n=o.data("data");
867"true"==o.attr("aria-selected")?l.trigger("close",{}):l.trigger("select",{data:n})
868}}),j.on("results:previous",function(){var o=l.getHighlightedResults(),n=l.$results.find("[aria-selected]"),u=n.index(o);
869if(0!==u){var t=u-1;
8700===o.length&&(t=0);
871var s=n.eq(t);
872s.trigger("mouseenter");
873var r=l.$results.offset().top,q=s.offset().top,p=l.$results.scrollTop()+(q-r);
8740===t?l.$results.scrollTop(0):0>q-r&&l.$results.scrollTop(p)
875}}),j.on("results:next",function(){var o=l.getHighlightedResults(),n=l.$results.find("[aria-selected]"),u=n.index(o),t=u+1;
876if(!(t>=n.length)){var s=n.eq(t);
877s.trigger("mouseenter");
878var r=l.$results.offset().top+l.$results.outerHeight(!1),q=s.offset().top+s.outerHeight(!1),p=l.$results.scrollTop()+q-r;
8790===t?l.$results.scrollTop(0):q>r&&l.$results.scrollTop(p)
880}}),j.on("results:focus",function(b){b.element.addClass("select2-results__option--highlighted")
881}),j.on("results:message",function(b){l.displayMessage(b)
882}),h.fn.mousewheel&&this.$results.on("mousewheel",function(o){var n=l.$results.scrollTop(),r=l.$results.get(0).scrollHeight-n+o.deltaY,q=o.deltaY>0&&n-o.deltaY<=0,p=o.deltaY<0&&r<=l.$results.height();
883q?(l.$results.scrollTop(0),o.preventDefault(),o.stopPropagation()):p&&(l.$results.scrollTop(l.$results.get(0).scrollHeight-l.$results.height()),o.preventDefault(),o.stopPropagation())
884}),this.$results.on("mouseup",".select2-results__option[aria-selected]",function(n){var p=h(this),o=p.data("data");
885return"true"===p.attr("aria-selected")?void (l.options.get("multiple")?l.trigger("unselect",{originalEvent:n,data:o}):l.trigger("close",{})):void l.trigger("select",{originalEvent:n,data:o})
886}),this.$results.on("mouseenter",".select2-results__option[aria-selected]",function(n){var o=h(this).data("data");
887l.getHighlightedResults().removeClass("select2-results__option--highlighted"),l.trigger("results:focus",{data:o,element:h(this)})
888})
889},i.prototype.getHighlightedResults=function(){var b=this.$results.find(".select2-results__option--highlighted");
890return b
891},i.prototype.destroy=function(){this.$results.remove()
892},i.prototype.ensureHighlightVisible=function(){var k=this.getHighlightedResults();
893if(0!==k.length){var j=this.$results.find("[aria-selected]"),p=j.index(k),o=this.$results.offset().top,n=k.offset().top,m=this.$results.scrollTop()+(n-o),l=n-o;
894m-=2*k.outerHeight(!1),2>=p?this.$results.scrollTop(0):(l>this.$results.outerHeight()||0>l)&&this.$results.scrollTop(m)
895}},i.prototype.template=function(j,n){var m=this.options.get("templateResult"),l=this.options.get("escapeMarkup"),k=m(j,n);
896null==k?n.style.display="none":"string"==typeof k?n.innerHTML=l(k):h(n).append(k)
897},i
898}),c.define("select2/keys",[],function(){var b={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};
899return b
900}),c.define("select2/selection/base",["jquery","../utils","../keys"],function(h,g,j){function i(l,k){this.$element=l,this.options=k,i.__super__.constructor.call(this)
901}return g.Extend(i,g.Observable),i.prototype.render=function(){var k=h('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"></span>');
902return this._tabindex=0,null!=this.$element.data("old-tabindex")?this._tabindex=this.$element.data("old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),k.attr("title",this.$element.attr("title")),k.attr("tabindex",this._tabindex),this.$selection=k,k
903},i.prototype.bind=function(l,k){var n=this,m=(l.id+"-container",l.id+"-results");
904this.container=l,this.$selection.on("focus",function(b){n.trigger("focus",b)
905}),this.$selection.on("blur",function(b){n._handleBlur(b)
906}),this.$selection.on("keydown",function(b){n.trigger("keypress",b),b.which===j.SPACE&&b.preventDefault()
907}),l.on("results:focus",function(b){n.$selection.attr("aria-activedescendant",b.data._resultId)
908}),l.on("selection:update",function(b){n.update(b.data)
909}),l.on("open",function(){n.$selection.attr("aria-expanded","true"),n.$selection.attr("aria-owns",m),n._attachCloseHandler(l)
910}),l.on("close",function(){n.$selection.attr("aria-expanded","false"),n.$selection.removeAttr("aria-activedescendant"),n.$selection.removeAttr("aria-owns"),n.$selection.focus(),n._detachCloseHandler(l)
911}),l.on("enable",function(){n.$selection.attr("tabindex",n._tabindex)
912}),l.on("disable",function(){n.$selection.attr("tabindex","-1")
913})
914},i.prototype._handleBlur=function(k){var l=this;
915window.setTimeout(function(){document.activeElement==l.$selection[0]||h.contains(l.$selection[0],document.activeElement)||l.trigger("blur",k)
916},1)
917},i.prototype._attachCloseHandler=function(k){h(document.body).on("mousedown.select2."+k.id,function(l){var o=h(l.target),n=o.closest(".select2"),m=h(".select2.select2-container--open");
918m.each(function(){var p=h(this);
919if(this!=n[0]){var q=p.data("element");
920q.select2("close")
921}})
922})
923},i.prototype._detachCloseHandler=function(k){h(document.body).off("mousedown.select2."+k.id)
924},i.prototype.position=function(l,k){var m=k.find(".selection");
925m.append(l)
926},i.prototype.destroy=function(){this._detachCloseHandler(this.container)
927},i.prototype.update=function(b){throw new Error("The `update` method must be defined in child classes.")
928},i
929}),c.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(h,g,k,j){function i(){i.__super__.constructor.apply(this,arguments)
930}return k.Extend(i,g),i.prototype.render=function(){var b=i.__super__.render.call(this);
931return b.addClass("select2-selection--single"),b.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),b
932},i.prototype.bind=function(m,l){var o=this;
933i.__super__.bind.apply(this,arguments);
934var n=m.id+"-container";
935this.$selection.find(".select2-selection__rendered").attr("id",n),this.$selection.attr("aria-labelledby",n),this.$selection.on("mousedown",function(b){1===b.which&&o.trigger("toggle",{originalEvent:b})
936}),this.$selection.on("focus",function(b){}),this.$selection.on("blur",function(b){}),m.on("focus",function(p){m.isOpen()||o.$selection.focus()
937}),m.on("selection:update",function(b){o.update(b.data)
938})
939},i.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()
940},i.prototype.display=function(m,l){var o=this.options.get("templateSelection"),n=this.options.get("escapeMarkup");
941return n(o(m,l))
942},i.prototype.selectionContainer=function(){return h("<span></span>")
943},i.prototype.update=function(m){if(0===m.length){return void this.clear()
944}var l=m[0],o=this.$selection.find(".select2-selection__rendered"),n=this.display(l,o);
945o.empty().append(n),o.prop("title",l.title||l.text)
946},i
947}),c.define("select2/selection/multiple",["jquery","./base","../utils"],function(h,g,j){function i(l,k){i.__super__.constructor.apply(this,arguments)
948}return j.Extend(i,g),i.prototype.render=function(){var b=i.__super__.render.call(this);
949return b.addClass("select2-selection--multiple"),b.html('<ul class="select2-selection__rendered"></ul>'),b
950},i.prototype.bind=function(k,m){var l=this;
951i.__super__.bind.apply(this,arguments),this.$selection.on("click",function(b){l.trigger("toggle",{originalEvent:b})
952}),this.$selection.on("click",".select2-selection__choice__remove",function(n){if(!l.options.get("disabled")){var q=h(this),p=q.parent(),o=p.data("data");
953l.trigger("unselect",{originalEvent:n,data:o})
954}})
955},i.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()
956},i.prototype.display=function(l,k){var n=this.options.get("templateSelection"),m=this.options.get("escapeMarkup");
957return m(n(l,k))
958},i.prototype.selectionContainer=function(){var k=h('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>');
959return k
960},i.prototype.update=function(l){if(this.clear(),0!==l.length){for(var k=[],q=0;
961q<l.length;
962q++){var p=l[q],o=this.selectionContainer(),n=this.display(p,o);
963o.append(n),o.prop("title",p.title||p.text),o.data("data",p),k.push(o)
964}var m=this.$selection.find(".select2-selection__rendered");
965j.appendMany(m,k)
966}},i
967}),c.define("select2/selection/placeholder",["../utils"],function(h){function g(j,i,k){this.placeholder=this.normalizePlaceholder(k.get("placeholder")),j.call(this,i,k)
968}return g.prototype.normalizePlaceholder=function(j,i){return"string"==typeof i&&(i={id:"",text:i}),i
969},g.prototype.createPlaceholder=function(j,i){var k=this.selectionContainer();
970return k.html(this.display(i)),k.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),k
971},g.prototype.update=function(j,i){var m=1==i.length&&i[0].id!=this.placeholder.id,l=i.length>1;
972if(l||m){return j.call(this,i)
973}this.clear();
974var k=this.createPlaceholder(this.placeholder);
975this.$selection.find(".select2-selection__rendered").append(k)
976},g
977}),c.define("select2/selection/allowClear",["jquery","../keys"],function(h,g){function i(){}return i.prototype.bind=function(k,j,m){var l=this;
978k.call(this,j,m),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(b){l._handleClear(b)
979}),j.on("keypress",function(b){l._handleKeyboardClear(b,j)
980})
981},i.prototype._handleClear=function(k,j){if(!this.options.get("disabled")){var o=this.$selection.find(".select2-selection__clear");
982if(0!==o.length){j.stopPropagation();
983for(var n=o.data("data"),m=0;
984m<n.length;
985m++){var l={data:n[m]};
986if(this.trigger("unselect",l),l.prevented){return
987}}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})
988}}},i.prototype._handleKeyboardClear=function(b,k,j){j.isOpen()||(k.which==g.DELETE||k.which==g.BACKSPACE)&&this._handleClear(k)
989},i.prototype.update=function(j,l){if(j.call(this,l),!(this.$selection.find(".select2-selection__placeholder").length>0||0===l.length)){var k=h('<span class="select2-selection__clear">&times;</span>');
990k.data("data",l),this.$selection.find(".select2-selection__rendered").prepend(k)
991}},i
992}),c.define("select2/selection/search",["jquery","../utils","../keys"],function(h,g,j){function i(l,k,m){l.call(this,k,m)
993}return i.prototype.render=function(k){var m=h('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');
994this.$searchContainer=m,this.$search=m.find("input");
995var l=k.call(this);
996return this._transferTabIndex(),l
997},i.prototype.bind=function(l,k,p){var o=this;
998l.call(this,k,p),k.on("open",function(){o.$search.trigger("focus")
999}),k.on("close",function(){o.$search.val(""),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")
1000}),k.on("enable",function(){o.$search.prop("disabled",!1),o._transferTabIndex()
1001}),k.on("disable",function(){o.$search.prop("disabled",!0)
1002}),k.on("focus",function(b){o.$search.trigger("focus")
1003}),k.on("results:focus",function(b){o.$search.attr("aria-activedescendant",b.id)
1004}),this.$selection.on("focusin",".select2-search--inline",function(b){o.trigger("focus",b)
1005}),this.$selection.on("focusout",".select2-search--inline",function(b){o._handleBlur(b)
1006}),this.$selection.on("keydown",".select2-search--inline",function(r){r.stopPropagation(),o.trigger("keypress",r),o._keyUpPrevented=r.isDefaultPrevented();
1007var q=r.which;
1008if(q===j.BACKSPACE&&""===o.$search.val()){var t=o.$searchContainer.prev(".select2-selection__choice");
1009if(t.length>0){var s=t.data("data");
1010o.searchRemoveChoice(s),r.preventDefault()
1011}}});
1012var n=document.documentMode,m=n&&11>=n;
1013this.$selection.on("input.searchcheck",".select2-search--inline",function(b){return m?void o.$selection.off("input.search input.searchcheck"):void o.$selection.off("keyup.search")
1014}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(r){if(m&&"input"===r.type){return void o.$selection.off("input.search input.searchcheck")
1015}var q=r.which;
1016q!=j.SHIFT&&q!=j.CTRL&&q!=j.ALT&&q!=j.TAB&&o.handleSearch(r)
1017})
1018},i.prototype._transferTabIndex=function(b){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")
1019},i.prototype.createPlaceholder=function(l,k){this.$search.attr("placeholder",k.text)
1020},i.prototype.update=function(l,k){var m=this.$search[0]==document.activeElement;
1021this.$search.attr("placeholder",""),l.call(this,k),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),m&&this.$search.focus()
1022},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var b=this.$search.val();
1023this.trigger("query",{term:b})
1024}this._keyUpPrevented=!1
1025},i.prototype.searchRemoveChoice=function(l,k){this.trigger("unselect",{data:k}),this.$search.val(k.text),this.handleSearch()
1026},i.prototype.resizeSearch=function(){this.$search.css("width","25px");
1027var l="";
1028if(""!==this.$search.attr("placeholder")){l=this.$selection.find(".select2-selection__rendered").innerWidth()
1029}else{var k=this.$search.val().length+1;
1030l=0.75*k+"em"
1031}this.$search.css("width",l)
1032},i
1033}),c.define("select2/selection/eventRelay",["jquery"],function(h){function g(){}return g.prototype.bind=function(i,n,m){var l=this,k=["open","opening","close","closing","select","selecting","unselect","unselecting"],j=["opening","closing","selecting","unselecting"];
1034i.call(this,n,m),n.on("*",function(o,q){if(-1!==h.inArray(o,k)){q=q||{};
1035var p=h.Event("select2:"+o,{params:q});
1036l.$element.trigger(p),-1!==h.inArray(o,j)&&(q.prevented=p.isDefaultPrevented())
1037}})
1038},g
1039}),c.define("select2/translation",["jquery","require"],function(h,g){function i(b){this.dict=b||{}
1040}return i.prototype.all=function(){return this.dict
1041},i.prototype.get=function(b){return this.dict[b]
1042},i.prototype.extend=function(j){this.dict=h.extend({},j.all(),this.dict)
1043},i._cache={},i.loadPath=function(b){if(!(b in i._cache)){var j=g(b);
1044i._cache[b]=j
1045}return new i(i._cache[b])
1046},i
1047}),c.define("select2/diacritics",[],function(){var b={"Ⓐ":"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","Ƣ":"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","Ʋ":"
1047V","Ꝟ":"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","ƣ":"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","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ω":"ω","ς":"σ"};
1048return b
1049}),c.define("select2/data/base",["../utils"],function(h){function g(b,i){g.__super__.constructor.call(this)
1050}return h.Extend(g,h.Observable),g.prototype.current=function(b){throw new Error("The `current` method must be defined in child classes.")
1051},g.prototype.query=function(j,i){throw new Error("The `query` method must be defined in child classes.")
1052},g.prototype.bind=function(j,i){},g.prototype.destroy=function(){},g.prototype.generateResultId=function(i,k){var j=i.id+"-result-";
1053return j+=h.generateChars(4),j+=null!=k.id?"-"+k.id.toString():"-"+h.generateChars(4)
1054},g
1055}),c.define("select2/data/select",["./base","../utils","jquery"],function(h,g,j){function i(l,k){this.$element=l,this.options=k,i.__super__.constructor.call(this)
1056}return g.Extend(i,h),i.prototype.current=function(l){var k=[],m=this;
1057this.$element.find(":selected").each(function(){var b=j(this),n=m.item(b);
1058k.push(n)
1059}),l(k)
1060},i.prototype.select=function(l){var k=this;
1061if(l.selected=!0,j(l.element).is("option")){return l.element.selected=!0,void this.$element.trigger("change")
1062}if(this.$element.prop("multiple")){this.current(function(p){var o=[];
1063l=[l],l.push.apply(l,p);
1064for(var n=0;
1065n<l.length;
1066n++){var b=l[n].id;
1067-1===j.inArray(b,o)&&o.push(b)
1068}k.$element.val(o),k.$element.trigger("change")
1069})
1070}else{var m=l.id;
1071this.$element.val(m),this.$element.trigger("change")
1072}},i.prototype.unselect=function(l){var k=this;
1073if(this.$element.prop("multiple")){return l.selected=!1,j(l.element).is("option")?(l.element.selected=!1,void this.$element.trigger("change")):void this.current(function(o){for(var n=[],m=0;
1074m<o.length;
1075m++){var b=o[m].id;
1076b!==l.id&&-1===j.inArray(b,n)&&n.push(b)
1077}k.$element.val(n),k.$element.trigger("change")
1078})
1079}},i.prototype.bind=function(l,k){var m=this;
1080this.container=l,l.on("select",function(b){m.select(b.data)
1081}),l.on("unselect",function(b){m.unselect(b.data)
1082})
1083},i.prototype.destroy=function(){this.$element.find("*").each(function(){j.removeData(this,"data")
1084})
1085},i.prototype.query=function(l,k){var o=[],n=this,m=this.$element.children();
1086m.each(function(){var p=j(this);
1087if(p.is("option")||p.is("optgroup")){var r=n.item(p),q=n.matches(l,r);
1088null!==q&&o.push(q)
1089}}),k({results:o})
1090},i.prototype.addOptions=function(b){g.appendMany(this.$element,b)
1091},i.prototype.option=function(l){var k;
1092l.children?(k=document.createElement("optgroup"),k.label=l.text):(k=document.createElement("option"),void 0!==k.textContent?k.textContent=l.text:k.innerText=l.text),void 0!==l.id&&(k.value=l.id),l.disabled&&(k.disabled=!0),l.selected&&(k.selected=!0),l.title&&(k.title=l.title);
1093var n=j(k),m=this._normalizeItem(l);
1094return m.element=k,j.data(k,"data",m),n
1095},i.prototype.item=function(l){var k={};
1096if(k=j.data(l[0],"data"),null!=k){return k
1097}if(l.is("option")){k={id:l.val(),text:l.text(),disabled:l.prop("disabled"),selected:l.prop("selected"),title:l.prop("title")}
1098}else{if(l.is("optgroup")){k={text:l.prop("label"),children:[],title:l.prop("title")};
1099for(var q=l.children("option"),p=[],o=0;
1100o<q.length;
1101o++){var n=j(q[o]),m=this.item(n);
1102p.push(m)
1103}k.children=p
1104}}return k=this._normalizeItem(k),k.element=l[0],j.data(l[0],"data",k),k
1105},i.prototype._normalizeItem=function(l){j.isPlainObject(l)||(l={id:l,text:l}),l=j.extend({},{text:""},l);
1106var k={selected:!1,disabled:!1};
vendor: 16,445 bytes, lines 1107-1323
1107return null!=l.id&&(l.id=l.id.toString()),null!=l.text&&(l.text=l.text.toString()),null==l._resultId&&l.id&&null!=this.container&&(l._resultId=this.generateResultId(this.container,l)),j.extend({},k,l)
1108},i.prototype.matches=function(l,k){var m=this.options.get("matcher");
1109return m(l,k)
1110},i
1111}),c.define("select2/data/array",["./select","../utils","jquery"],function(h,g,j){function i(l,k){var m=k.get("data")||[];
1112i.__super__.constructor.call(this,l,k),this.addOptions(this.convertToOptions(m))
1113}return g.Extend(i,h),i.prototype.select=function(l){var k=this.$element.find("option").filter(function(m,n){return n.value==l.id.toString()
1114});
11150===k.length&&(k=this.option(l),this.addOptions(k)),i.__super__.select.call(this,l)
1116},i.prototype.convertToOptions=function(C){function B(k){return function(){return j(this).val()==k.id
1117}
1118}for(var A=this,z=this.$element.find("option"),y=z.map(function(){return A.item(j(this)).id
1119}).get(),x=[],w=0;
1120w<C.length;
1121w++){var v=this._normalizeItem(C[w]);
1122if(j.inArray(v.id,y)>=0){var u=z.filter(B(v)),t=this.item(u),s=j.extend(!0,{},v,t),r=this.option(s);
1123u.replaceWith(r)
1124}else{var q=this.option(v);
1125if(v.children){var b=this.convertToOptions(v.children);
1126g.appendMany(q,b)
1127}x.push(q)
1128}}return x
1129},i
1130}),c.define("select2/data/ajax",["./array","../utils","jquery"],function(h,g,j){function i(l,k){this.ajaxOptions=this._applyDefaults(k.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,l,k)
1131}return g.Extend(i,h),i.prototype._applyDefaults=function(l){var k={data:function(b){return j.extend({},b,{q:b.term})
1132},transport:function(n,m,p){var o=j.ajax(n);
1133return o.then(m),o.fail(p),o
1134}};
1135return j.extend({},k,l,!0)
1136},i.prototype.processResults=function(b){return b
1137},i.prototype.query=function(l,k){function o(){var b=m.transport(m,function(q){var p=n.processResults(q,l);
1138n.options.get("debug")&&window.console&&console.error&&(p&&p.results&&j.isArray(p.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),k(p)
1139},function(){b.status&&"0"===b.status||n.trigger("results:message",{message:"errorLoading"})
1140});
1141n._request=b
1142}var n=this;
1143null!=this._request&&(j.isFunction(this._request.abort)&&this._request.abort(),this._request=null);
1144var m=j.extend({type:"GET"},this.ajaxOptions);
1145"function"==typeof m.url&&(m.url=m.url.call(this.$element,l)),"function"==typeof m.data&&(m.data=m.data.call(this.$element,l)),this.ajaxOptions.delay&&null!=l.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(o,this.ajaxOptions.delay)):o()
1146},i
1147}),c.define("select2/data/tags",["jquery"],function(h){function g(u,t,s){var r=s.get("tags"),q=s.get("createTag");
1148void 0!==q&&(this.createTag=q);
1149var p=s.get("insertTag");
1150if(void 0!==p&&(this.insertTag=p),u.call(this,t,s),h.isArray(r)){for(var o=0;
1151o<r.length;
1152o++){var n=r[o],m=this._normalizeItem(n),l=this.option(m);
1153this.$element.append(l)
1154}}}return g.prototype.query=function(j,i,m){function l(y,x){for(var w=y.results,v=0;
1155v<w.length;
1156v++){var u=w[v],t=null!=u.children&&!l({results:u.children},!0),s=(u.text||"").toUpperCase(),r=(i.term||"").toUpperCase(),q=s===r;
1157if(q||t){return x?!1:(y.data=w,void m(y))
1158}}if(x){return !0
1159}var p=k.createTag(i);
1160if(null!=p){var b=k.option(p);
1161b.attr("data-select2-tag",!0),k.addOptions([b]),k.insertTag(w,p)
1162}y.results=w,m(y)
1163}var k=this;
1164return this._removeOldTags(),null==i.term||null!=i.page?void j.call(this,i,m):void j.call(this,i,l)
1165},g.prototype.createTag=function(i,k){var j=h.trim(k.term);
1166return""===j?null:{id:j,text:j}
1167},g.prototype.insertTag=function(j,i,k){i.unshift(k)
1168},g.prototype._removeOldTags=function(i){var j=(this._lastTag,this.$element.find("option[data-select2-tag]"));
1169j.each(function(){this.selected||h(this).remove()
1170})
1171},g
1172}),c.define("select2/data/tokenizer",["jquery"],function(h){function g(j,i,l){var k=l.get("tokenizer");
1173void 0!==k&&(this.tokenizer=k),j.call(this,i,l)
1174}return g.prototype.bind=function(j,i,k){j.call(this,i,k),this.$search=i.dropdown.$search||i.selection.$search||k.find(".select2-search__field")
1175},g.prototype.query=function(i,o,n){function m(p){var s=k._normalizeItem(p),r=k.$element.find("option").filter(function(){return h(this).val()===s.id
1176});
1177if(!r.length){var q=k.option(s);
1178q.attr("data-select2-tag",!0),k._removeOldTags(),k.addOptions([q])
1179}l(s)
1180}function l(b){k.trigger("select",{data:b})
1181}var k=this;
1182o.term=o.term||"";
1183var j=this.tokenizer(o,this.options,m);
1184j.term!==o.term&&(this.$search.length&&(this.$search.val(j.term),this.$search.focus()),o.term=j.term),i.call(this,o,n)
1185},g.prototype.tokenizer=function(y,x,w,v){for(var u=w.get("tokenSeparators")||[],t=x.term,s=0,r=this.createTag||function(b){return{id:b.term,text:b.term}
1186};
1187s<t.length;
1188){var q=t[s];
1189if(-1!==h.inArray(q,u)){var p=t.substr(0,s),o=h.extend({},x,{term:p}),n=r(o);
1190null!=n?(v(n),t=t.substr(s+1)||"",s=0):s++
1191}else{s++
1192}}return{term:t}
1193},g
1194}),c.define("select2/data/minimumInputLength",[],function(){function b(h,g,i){this.minimumInputLength=i.get("minimumInputLength"),h.call(this,g,i)
1195}return b.prototype.query=function(h,g,i){return g.term=g.term||"",g.term.length<this.minimumInputLength?void this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:g.term,params:g}}):void h.call(this,g,i)
1196},b
1197}),c.define("select2/data/maximumInputLength",[],function(){function b(h,g,i){this.maximumInputLength=i.get("maximumInputLength"),h.call(this,g,i)
1198}return b.prototype.query=function(h,g,i){return g.term=g.term||"",this.maximumInputLength>0&&g.term.length>this.maximumInputLength?void this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:g.term,params:g}}):void h.call(this,g,i)
1199},b
1200}),c.define("select2/data/maximumSelectionLength",[],function(){function b(h,g,i){this.maximumSelectionLength=i.get("maximumSelectionLength"),h.call(this,g,i)
1201}return b.prototype.query=function(h,g,j){var i=this;
1202this.current(function(l){var k=null!=l?l.length:0;
1203return i.maximumSelectionLength>0&&k>=i.maximumSelectionLength?void i.trigger("results:message",{message:"maximumSelected",args:{maximum:i.maximumSelectionLength}}):void h.call(i,g,j)
1204})
1205},b
1206}),c.define("select2/dropdown",["jquery","./utils"],function(h,g){function i(k,j){this.$element=k,this.options=j,i.__super__.constructor.call(this)
1207}return g.Extend(i,g.Observable),i.prototype.render=function(){var j=h('<span class="select2-dropdown"><span class="select2-results"></span></span>');
1208return j.attr("dir",this.options.get("dir")),this.$dropdown=j,j
1209},i.prototype.bind=function(){},i.prototype.position=function(k,j){},i.prototype.destroy=function(){this.$dropdown.remove()
1210},i
1211}),c.define("select2/dropdown/search",["jquery","../utils"],function(h,g){function i(){}return i.prototype.render=function(j){var l=j.call(this),k=h('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" /></span>');
1212return this.$searchContainer=k,this.$search=k.find("input"),l.prepend(k),l
1213},i.prototype.bind=function(j,m,l){var k=this;
1214j.call(this,m,l),this.$search.on("keydown",function(b){k.trigger("keypress",b),k._keyUpPrevented=b.isDefaultPrevented()
1215}),this.$search.on("input",function(n){h(this).off("keyup")
1216}),this.$search.on("keyup input",function(b){k.handleSearch(b)
1217}),m.on("open",function(){k.$search.attr("tabindex",0),k.$search.focus(),window.setTimeout(function(){k.$search.focus()
1218},0)
1219}),m.on("close",function(){k.$search.attr("tabindex",-1),k.$search.val("")
1220}),m.on("focus",function(){m.isOpen()&&k.$search.focus()
1221}),m.on("results:all",function(o){if(null==o.query.term||""===o.query.term){var n=k.showSearch(o);
1222n?k.$searchContainer.removeClass("select2-search--hide"):k.$searchContainer.addClass("select2-search--hide")
1223}})
1224},i.prototype.handleSearch=function(k){if(!this._keyUpPrevented){var j=this.$search.val();
1225this.trigger("query",{term:j})
1226}this._keyUpPrevented=!1
1227},i.prototype.showSearch=function(k,j){return !0
1228},i
1229}),c.define("select2/dropdown/hidePlaceholder",[],function(){function b(h,g,j,i){this.placeholder=this.normalizePlaceholder(j.get("placeholder")),h.call(this,g,j,i)
1230}return b.prototype.append=function(h,g){g.results=this.removePlaceholder(g.results),h.call(this,g)
1231},b.prototype.normalizePlaceholder=function(h,g){return"string"==typeof g&&(g={id:"",text:g}),g
1232},b.prototype.removePlaceholder=function(h,g){for(var k=g.slice(0),j=g.length-1;
1233j>=0;
1234j--){var i=g[j];
1235this.placeholder.id===i.id&&k.splice(j,1)
1236}return k
1237},b
1238}),c.define("select2/dropdown/infiniteScroll",["jquery"],function(h){function g(j,i,l,k){this.lastParams={},j.call(this,i,l,k),this.$loadingMore=this.createLoadingMore(),this.loading=!1
1239}return g.prototype.append=function(j,i){this.$loadingMore.remove(),this.loading=!1,j.call(this,i),this.showLoadingMore(i)&&this.$results.append(this.$loadingMore)
1240},g.prototype.bind=function(i,l,k){var j=this;
1241i.call(this,l,k),l.on("query",function(b){j.lastParams=b,j.loading=!0
1242}),l.on("query:append",function(b){j.lastParams=b,j.loading=!0
1243}),this.$results.on("scroll",function(){var m=h.contains(document.documentElement,j.$loadingMore[0]);
1244if(!j.loading&&m){var o=j.$results.offset().top+j.$results.outerHeight(!1),n=j.$loadingMore.offset().top+j.$loadingMore.outerHeight(!1);
1245o+50>=n&&j.loadMore()
1246}})
1247},g.prototype.loadMore=function(){this.loading=!0;
1248var i=h.extend({},{page:1},this.lastParams);
1249i.page++,this.trigger("query:append",i)
1250},g.prototype.showLoadingMore=function(j,i){return i.pagination&&i.pagination.more
1251},g.prototype.createLoadingMore=function(){var i=h('<li class="select2-results__option select2-results__option--load-more"role="treeitem" aria-disabled="true"></li>'),j=this.options.get("translations").get("loadingMore");
1252return i.html(j(this.lastParams)),i
1253},g
1254}),c.define("select2/dropdown/attachBody",["jquery","../utils"],function(h,g){function i(j,l,k){this.$dropdownParent=k.get("dropdownParent")||h(document.body),j.call(this,l,k)
1255}return i.prototype.bind=function(k,j,n){var m=this,l=!1;
1256k.call(this,j,n),j.on("open",function(){m._showDropdown(),m._attachPositioningHandler(j),l||(l=!0,j.on("results:all",function(){m._positionDropdown(),m._resizeDropdown()
1257}),j.on("results:append",function(){m._positionDropdown(),m._resizeDropdown()
1258}))
1259}),j.on("close",function(){m._hideDropdown(),m._detachPositioningHandler(j)
1260}),this.$dropdownContainer.on("mousedown",function(b){b.stopPropagation()
1261})
1262},i.prototype.destroy=function(b){b.call(this),this.$dropdownContainer.remove()
1263},i.prototype.position=function(k,j,l){j.attr("class",l.attr("class")),j.removeClass("select2"),j.addClass("select2-container--open"),j.css({position:"absolute",top:-999999}),this.$container=l
1264},i.prototype.render=function(j){var l=h("<span></span>"),k=j.call(this);
1265return l.append(k),this.$dropdownContainer=l,l
1266},i.prototype._hideDropdown=function(b){this.$dropdownContainer.detach()
1267},i.prototype._attachPositioningHandler=function(o,n){var m=this,l="scroll.select2."+n.id,k="resize.select2."+n.id,j="orientationchange.select2."+n.id,b=this.$container.parents().filter(g.hasScroll);
1268b.each(function(){h(this).data("select2-scroll-position",{x:h(this).scrollLeft(),y:h(this).scrollTop()})
1269}),b.on(l,function(p){var q=h(this).data("select2-scroll-position");
1270h(this).scrollTop(q.y)
1271}),h(window).on(l+" "+k+" "+j,function(p){m._positionDropdown(),m._resizeDropdown()
1272})
1273},i.prototype._detachPositioningHandler=function(n,m){var l="scroll.select2."+m.id,k="resize.select2."+m.id,j="orientationchange.select2."+m.id,b=this.$container.parents().filter(g.hasScroll);
1274b.off(l),h(window).off(l+" "+k+" "+j)
1275},i.prototype._positionDropdown=function(){var A=h(window),z=this.$dropdown.hasClass("select2-dropdown--above"),y=this.$dropdown.hasClass("select2-dropdown--below"),x=null,w=this.$container.offset();
1276w.bottom=w.top+this.$container.outerHeight(!1);
1277var v={height:this.$container.outerHeight(!1)};
1278v.top=w.top,v.bottom=w.top+v.height;
1279var u={height:this.$dropdown.outerHeight(!1)},t={top:A.scrollTop(),bottom:A.scrollTop()+A.height()},s=t.top<w.top-u.height,r=t.bottom>w.bottom+u.height,q={left:w.left,top:v.bottom},p=this.$dropdownParent;
1280"static"===p.css("position")&&(p=p.offsetParent());
1281var o=p.offset();
1282q.top-=o.top,q.left-=o.left,z||y||(x="below"),r||!s||z?!s&&r&&z&&(x="below"):x="above",("above"==x||z&&"below"!==x)&&(q.top=v.top-o.top-u.height),null!=x&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+x),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+x)),this.$dropdownContainer.css(q)
1283},i.prototype._resizeDropdown=function(){var b={width:this.$container.outerWidth(!1)+"px"};
1284this.options.get("dropdownAutoWidth")&&(b.minWidth=b.width,b.position="relative",b.width="auto"),this.$dropdown.css(b)
1285},i.prototype._showDropdown=function(b){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()
1286},i
1287}),c.define("select2/dropdown/minimumResultsForSearch",[],function(){function h(i){for(var l=0,k=0;
1288k<i.length;
1289k++){var j=i[k];
1290j.children?l+=h(j.children):l++
1291}return l
1292}function g(j,i,l,k){this.minimumResultsForSearch=l.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),j.call(this,i,l,k)
1293}return g.prototype.showSearch=function(i,j){return h(j.data.results)<this.minimumResultsForSearch?!1:i.call(this,j)
1294},g
1295}),c.define("select2/dropdown/selectOnClose",[],function(){function b(){}return b.prototype.bind=function(h,g,j){var i=this;
1296h.call(this,g,j),g.on("close",function(k){i._handleSelectOnClose(k)
1297})
1298},b.prototype._handleSelectOnClose=function(h,g){if(g&&null!=g.originalSelect2Event){var k=g.originalSelect2Event;
1299if("select"===k._type||"unselect"===k._type){return
1300}}var j=this.getHighlightedResults();
1301if(!(j.length<1)){var i=j.data("data");
1302null!=i.element&&i.element.selected||null==i.element&&i.selected||this.trigger("select",{data:i})
1303}},b
1304}),c.define("select2/dropdown/closeOnSelect",[],function(){function b(){}return b.prototype.bind=function(h,g,j){var i=this;
1305h.call(this,g,j),g.on("select",function(k){i._selectTriggered(k)
1306}),g.on("unselect",function(k){i._selectTriggered(k)
1307})
1308},b.prototype._selectTriggered=function(h,g){var i=g.originalEvent;
1309i&&i.ctrlKey||this.trigger("close",{originalEvent:i,originalSelect2Event:g})
1310},b
1311}),c.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."
1312},inputTooLong:function(h){var g=h.input.length-h.maximum,i="Please delete "+g+" character";
1313return 1!=g&&(i+="s"),i
1314},inputTooShort:function(h){var g=h.minimum-h.input.length,i="Please enter "+g+" or more characters";
1315return i
1316},loadingMore:function(){return"Loading more results…"
1317},maximumSelected:function(h){var g="You can only select "+h.maximum+" item";
1318return 1!=h.maximum&&(g+="s"),g
1319},noResults:function(){return"No results found"
1320},searching:function(){return"Searching…"
1321}}
1322}),c.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(aj,ai,ah,ag,af,ae,ad,ac,ab,aa,Z,Y,X,W,V,U,S,Q,O,M,K,J,I,H,G,F,T,R,P){function N(){this.reset()
1323}N.prototype.apply=function(h){if(h=aj.extend(!0,{},this.defaults,h),null==h.dataAdapter){if(null!=h.ajax?h.dataAdapter=V:null!=h.data?h.dataAdapter=W:h.dataAdapter=X,h.minimumInputLength>0&&(h.dataAdapter=aa.Decorate(h.dataAdapter,Q)),h.maximumInputLength>0&&(h.dataAdapter=aa.Decorate(h.dataAdapter,O)),h.maximumSelectionLength>0&&(h.dataAdapter=aa.Decorate(h.dataAdapter,M)),h.tags&&(h.dataAdapter=aa.Decorate(h.dataAdapter,U)),(null!=h.tokenSeparators||null!=h.tokenizer)&&(h.dataAdapter=aa.Decorate(h.dataAdapter,S)),null!=h.query
1323){var g=ai(h.amdBase+"compat/query");
1324h.dataAdapter=aa.Decorate(h.dataAdapter,g)
1325}if(null!=h.initSelection){var b=ai(h.amdBase+"compat/initSelection");
1326h.dataAdapter=aa.Decorate(h.dataAdapter,b)
1327}}if(null==h.resultsAdapter&&(h.resultsAdapter=ah,null!=h.ajax&&(h.resultsAdapter=aa.Decorate(h.resultsAdapter,H)),null!=h.placeholder&&(h.resultsAdapter=aa.Decorate(h.resultsAdapter,I)),h.selectOnClose&&(h.resultsAdapter=aa.Decorate(h.resultsAdapter,T))),null==h.dropdownAdapter){if(h.multiple){h.dropdownAdapter=K
1328}else{var w=aa.Decorate(K,J);
1329h.dropdownAdapter=w
1330}if(0!==h.minimumResultsForSearch&&(h.dropdownAdapter=aa.Decorate(h.dropdownAdapter,F)),h.closeOnSelect&&(h.dropdownAdapter=aa.Decorate(h.dropdownAdapter,R)),null!=h.dropdownCssClass||null!=h.dropdownCss||null!=h.adaptDropdownCssClass){var v=ai(h.amdBase+"compat/dropdownCss");
1331h.dropdownAdapter=aa.Decorate(h.dropdownAdapter,v)
1332}h.dropdownAdapter=aa.Decorate(h.dropdownAdapter,G)
1333}if(null==h.selectionAdapter){if(h.multiple?h.selectionAdapter=af:h.selectionAdapter=ag,null!=h.placeholder&&(h.selectionAdapter=aa.Decorate(h.selectionAdapter,ae)),h.allowClear&&(h.selectionAdapter=aa.Decorate(h.selectionAdapter,ad)),h.multiple&&(h.selectionAdapter=aa.Decorate(h.selectionAdapter,ac)),null!=h.containerCssClass||null!=h.containerCss||null!=h.adaptContainerCssClass){var u=ai(h.amdBase+"compat/containerCss");
1334h.selectionAdapter=aa.Decorate(h.selectionAdapter,u)
1335}h.selectionAdapter=aa.Decorate(h.selectionAdapter,ab)
1336}if("string"==typeof h.language){if(h.language.indexOf("-")>0){var t=h.language.split("-"),s=t[0];
1337h.language=[h.language,s]
1338}else{h.language=[h.language]
1339}}if(aj.isArray(h.language)){var r=new Z;
1340h.language.push("en");
1341for(var q=h.language,p=0;
1342p<q.length;
1343p++){var o=q[p],n={};
1344try{n=Z.loadPath(o)
1345}catch(m){try{o=this.defaults.amdLanguageBase+o,n=Z.loadPath(o)
1346}catch(k){h.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+o+'" could not be automatically loaded. A fallback will be used instead.');
1347continue
1348}}r.extend(n)
1349}h.translations=r
1350}else{var j=Z.loadPath(this.defaults.amdLanguageBase+"en"),i=new Z(h.language);
1351i.extend(j),h.translations=i
1352}return h
1353},N.prototype.reset=function(){function g(j){function i(b){return Y[b]||b
1354}
vendor: 9,563 bytes, lines 1354-1477
1354return j.replace(/[^\u0000-\u007E]/g,i)
1355}function h(r,q){if(""===aj.trim(r.term)){return q
1356}if(q.children&&q.children.length>0){for(var p=aj.extend(!0,{},q),o=q.children.length-1;
1357o>=0;
1358o--){var n=q.children[o],m=h(r,n);
1359null==m&&p.children.splice(o,1)
1360}return p.children.length>0?p:h(r,p)
1361}var l=g(q.text).toUpperCase(),b=g(r.term).toUpperCase();
1362return l.indexOf(b)>-1?q:null
1363}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:aa.escapeMarkup,language:P,matcher:h,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(b){return b
1364},templateResult:function(b){return b.text
1365},templateSelection:function(b){return b.text
1366},theme:"default",width:"resolve"}
1367},N.prototype.set=function(g,k){var j=aj.camelCase(g),i={};
1368i[j]=k;
1369var h=aa._convertData(i);
1370aj.extend(this.defaults,h)
1371};
1372var L=new N;
1373return L
1374}),c.define("select2/options",["require","jquery","./defaults","./utils"],function(h,g,k,j){function i(l,n){if(this.options=l,null!=n&&this.fromElement(n),this.options=k.apply(this.options),n&&n.is("input")){var m=h(this.get("amdBase")+"compat/inputData");
1375this.options.dataAdapter=j.Decorate(this.options.dataAdapter,m)
1376}}return i.prototype.fromElement=function(b){var o=["select2"];
1377null==this.options.multiple&&(this.options.multiple=b.prop("multiple")),null==this.options.disabled&&(this.options.disabled=b.prop("disabled")),null==this.options.language&&(b.prop("lang")?this.options.language=b.prop("lang").toLowerCase():b.closest("[lang]").prop("lang")&&(this.options.language=b.closest("[lang]").prop("lang"))),null==this.options.dir&&(b.prop("dir")?this.options.dir=b.prop("dir"):b.closest("[dir]").prop("dir")?this.options.dir=b.closest("[dir]").prop("dir"):this.options.dir="ltr"),b.prop("disabled",this.options.disabled),b.prop("multiple",this.options.multiple),b.data("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.'),b.data("data",b.data("select2Tags")),b.data("tags",!0)),b.data("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."),b.attr("ajax--url",b.data("ajaxUrl")),b.data("ajax--url",b.data("ajaxUrl")));
1378var n={};
1379n=g.fn.jquery&&"1."==g.fn.jquery.substr(0,2)&&b[0].dataset?g.extend(!0,{},b[0].dataset,b.data()):b.data();
1380var m=g.extend(!0,{},n);
1381m=j._convertData(m);
1382for(var l in m){g.inArray(l,o)>-1||(g.isPlainObject(this.options[l])?g.extend(this.options[l],m[l]):this.options[l]=m[l])
1383}return this
1384},i.prototype.get=function(b){return this.options[b]
1385},i.prototype.set=function(m,l){this.options[m]=l
1386},i
1387}),c.define("select2/core",["jquery","./options","./utils","./keys"],function(h,g,k,j){var i=function(s,r){null!=s.data("select2")&&s.data("select2").destroy(),this.$element=s,this.id=this._generateId(s),r=r||{},this.options=new g(r,s),i.__super__.constructor.call(this);
1388var q=s.attr("tabindex")||0;
1389s.data("old-tabindex",q),s.attr("tabindex","-1");
1390var p=this.options.get("dataAdapter");
1391this.dataAdapter=new p(s,this.options);
1392var o=this.render();
1393this._placeContainer(o);
1394var n=this.options.get("selectionAdapter");
1395this.selection=new n(s,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,o);
1396var m=this.options.get("dropdownAdapter");
1397this.dropdown=new m(s,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,o);
1398var l=this.options.get("resultsAdapter");
1399this.results=new l(s,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);
1400var b=this;
1401this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current(function(t){b.trigger("selection:update",{data:t})
1402}),s.addClass("select2-hidden-accessible"),s.attr("aria-hidden","true"),this._syncAttributes(),s.data("select2",this)
1403};
1404return k.Extend(i,k.Observable),i.prototype._generateId=function(m){var l="";
1405return l=null!=m.attr("id")?m.attr("id"):null!=m.attr("name")?m.attr("name")+"-"+k.generateChars(2):k.generateChars(4),l=l.replace(/(:|\.|\[|\]|,)/g,""),l="select2-"+l
1406},i.prototype._placeContainer=function(m){m.insertAfter(this.$element);
1407var l=this._resolveWidth(this.$element,this.options.get("width"));
1408null!=l&&m.css("width",l)
1409},i.prototype._resolveWidth=function(v,u){var t=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;
1410if("resolve"==u){var s=this._resolveWidth(v,"style");
1411return null!=s?s:this._resolveWidth(v,"element")
1412}if("element"==u){var r=v.outerWidth(!1);
1413return 0>=r?"auto":r+"px"
1414}if("style"==u){var q=v.attr("style");
1415if("string"!=typeof q){return null
1416}for(var p=q.split(";"),o=0,n=p.length;
1417n>o;
1418o+=1){var m=p[o].replace(/\s/g,""),l=m.match(t);
1419if(null!==l&&l.length>=1){return l[1]
1420}}return null
1421}return u
1422},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)
1423},i.prototype._registerDomEvents=function(){var l=this;
1424this.$element.on("change.select2",function(){l.dataAdapter.current(function(b){l.trigger("selection:update",{data:b})
1425})
1426}),this.$element.on("focus.select2",function(b){l.trigger("focus",b)
1427}),this._syncA=k.bind(this._syncAttributes,this),this._syncS=k.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);
1428var m=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;
1429null!=m?(this._observer=new m(function(b){h.each(b,l._syncA),h.each(b,l._syncS)
1430}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",l._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",l._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",l._syncS,!1))
1431},i.prototype._registerDataEvents=function(){var b=this;
1432this.dataAdapter.on("*",function(l,m){b.trigger(l,m)
1433})
1434},i.prototype._registerSelectionEvents=function(){var l=this,m=["toggle","focus"];
1435this.selection.on("toggle",function(){l.toggleDropdown()
1436}),this.selection.on("focus",function(b){l.focus(b)
1437}),this.selection.on("*",function(n,b){-1===h.inArray(n,m)&&l.trigger(n,b)
1438})
1439},i.prototype._registerDropdownEvents=function(){var b=this;
1440this.dropdown.on("*",function(l,m){b.trigger(l,m)
1441})
1442},i.prototype._registerResultsEvents=function(){var b=this;
1443this.results.on("*",function(l,m){b.trigger(l,m)
1444})
1445},i.prototype._registerEvents=function(){var b=this;
1446this.on("open",function(){b.$container.addClass("select2-container--open")
1447}),this.on("close",function(){b.$container.removeClass("select2-container--open")
1448}),this.on("enable",function(){b.$container.removeClass("select2-container--disabled")
1449}),this.on("disable",function(){b.$container.addClass("select2-container--disabled")
1450}),this.on("blur",function(){b.$container.removeClass("select2-container--focus")
1451}),this.on("query",function(l){b.isOpen()||b.trigger("open",{}),this.dataAdapter.query(l,function(m){b.trigger("results:all",{data:m,query:l})
1452})
1453}),this.on("query:append",function(l){this.dataAdapter.query(l,function(m){b.trigger("results:append",{data:m,query:l})
1454})
1455}),this.on("keypress",function(l){var m=l.which;
1456b.isOpen()?m===j.ESC||m===j.TAB||m===j.UP&&l.altKey?(b.close(),l.preventDefault()):m===j.ENTER?(b.trigger("results:select",{}),l.preventDefault()):m===j.SPACE&&l.ctrlKey?(b.trigger("results:toggle",{}),l.preventDefault()):m===j.UP?(b.trigger("results:previous",{}),l.preventDefault()):m===j.DOWN&&(b.trigger("results:next",{}),l.preventDefault()):(m===j.ENTER||m===j.SPACE||m===j.DOWN&&l.altKey)&&(b.open(),l.preventDefault())
1457})
1458},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",{})
1459},i.prototype._syncSubtree=function(m,l){var q=!1,p=this;
1460if(!m||!m.target||"OPTION"===m.target.nodeName||"OPTGROUP"===m.target.nodeName){if(l){if(l.addedNodes&&l.addedNodes.length>0){for(var o=0;
1461o<l.addedNodes.length;
1462o++){var n=l.addedNodes[o];
1463n.selected&&(q=!0)
1464}}else{l.removedNodes&&l.removedNodes.length>0&&(q=!0)
1465}}else{q=!0
1466}q&&this.dataAdapter.current(function(b){p.trigger("selection:update",{data:b})
1467})
1468}},i.prototype.trigger=function(m,l){var q=i.__super__.trigger,p={open:"opening",close:"closing",select:"selecting",unselect:"unselecting"};
1469if(void 0===l&&(l={}),m in p){var o=p[m],n={prevented:!1,name:m,args:l};
1470if(q.call(this,o,n),n.prevented){return void (l.prevented=!0)
1471}}q.call(this,m,l)
1472},i.prototype.toggleDropdown=function(){this.options.get("disabled")||(this.isOpen()?this.close():this.open())
1473},i.prototype.open=function(){this.isOpen()||this.trigger("query",{})
1474},i.prototype.close=function(){this.isOpen()&&this.trigger("close",{})
1475},i.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")
1476},i.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")
1477}
1477,i.prototype.focus=function(b){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))
1478},i.prototype.enable=function(m){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==m||0===m.length)&&(m=[!0]);
1479var l=!m[0];
1480this.$element.prop("disabled",l)
1481},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()`.');
1482var b=[];
1483return this.dataAdapter.current(function(l){b=l
1484}),b
1485},i.prototype.val=function(l){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==l||0===l.length){return this.$element.val()
1486}var m=l[0];
1487h.isArray(m)&&(m=h.map(m,function(b){return b.toString()
1488})),this.$element.val(m).trigger("change")
1489},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",this.$element.data("old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),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
1490},i.prototype.render=function(){var l=h('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');
1491return l.attr("dir",this.options.get("dir")),this.$container=l,this.$container.addClass("select2-container--"+this.options.get("theme")),l.data("element",this.$element),l
1492},i
1493}),c.define("jquery-mousewheel",["jquery"],function(b){return b
1494}),c.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults"],function(h,g,k,j){if(null==h.fn.select2){var i=["open","close","destroy"];
1495h.fn.select2=function(l){if(l=l||{},"object"==typeof l){return this.each(function(){var b=h.extend(!0,{},l);
1496new k(h(this),b)
1497}),this
1498}if("string"==typeof l){var n,m=Array.prototype.slice.call(arguments,1);
1499return this.each(function(){var b=h(this).data("select2");
1500null==b&&window.console&&console.error&&console.error("The select2('"+l+"') method was called on an element that is not using Select2."),n=b[l].apply(b,m)
1501}),h.inArray(l,i)>-1?this:n
1502}throw new Error("Invalid arguments for Select2: "+l)
1503}
1504}return null==h.fn.select2.defaults&&(h.fn.select2.defaults=j),k
1505}),{define:c.define,require:c.require}
1506}(),f=d.require("jquery.select2");
1507return e.fn.select2.amd=d,f
1508});
1509(function(c){var b=function(e,d){this.options=c.extend({},c.fn.combobox.defaults,d);
1510this.template=this.options.template||this.template;
1511this.$source=c(e);
1512this.$container=this.setup();
1513this.$element=this.$container.find("input[type=text]");
1514this.$target=this.$container.find("input[type=hidden]");
1515this.$button=this.$container.find(".dropdown-toggle");
1516this.$menu=c(this.options.menu).appendTo("body");
1517this.matcher=this.options.matcher||this.matcher;
1518this.sorter=this.options.sorter||this.sorter;
1519this.highlighter=this.options.highlighter||this.highlighter;
1520this.shown=false;
1521this.selected=false;
1522this.refresh();
1523this.transferAttributes();
1524this.listen()
1525};
1526b.prototype={constructor:b,setup:function(){var d=c(this.template());
1527this.$source.before(d);
1528this.$source.hide();
1529return d
1530},disable:function(){this.$element.prop("disabled",true);
1531this.$button.attr("disabled",true);
1532this.disabled=true;
1533this.$container.addClass("combobox-disabled")
1534}
1534,enable:function(){this.$element.prop("disabled",false);
1535this.$button.attr("disabled",false);
1536this.disabled=false;
1537this.$container.removeClass("combobox-disabled")
1538},parse:function(){var f=this,h={},g=[],e=false,d="";
1539this.$source.find("option").each(function(){var i=c(this);
1540if(i.val()===""){f.options.placeholder=i.text();
1541return
1542}h[i.text()]=i.val();
1543g.push(i.text());
1544if(i.prop("selected")){e=i.text();
1545d=i.val()
1546}});
1547this.map=h;
1548if(e){this.$element.val(e);
1549this.$target.val(d);
1550this.$container.addClass("combobox-selected");
1551this.selected=true
1552}return g
1553},transferAttributes:function(){this.options.placeholder=this.$source.attr("data-placeholder")||this.options.placeholder;
1554if(this.options.appendId!=="undefined"){this.$element.attr("id",this.$source.attr("id")+this.options.appendId)
1555}this.$element.attr("placeholder",this.options.placeholder);
1556this.$element.attr("aria-label",this.options.placeholder);
1557this.$target.prop("name",this.$source.prop("name"));
1558this.$target.val(this.$source.val());
1559this.$source.removeAttr("name");
1560this.$element.attr("required",this.$source.attr("required"));
1561this.$element.attr("rel",this.$source.attr("rel"));
1562this.$element.attr("title",this.$source.attr("title"));
1563this.$element.attr("class",this.$source.attr("class"));
1564this.$element.attr("tabindex",this.$source.attr("tabindex"));
1565this.$source.removeAttr("tabindex");
1566if(this.$source.attr("disabled")!==undefined){this.disable()
1567}},select:function(){var d=this.$menu.find(".active").attr("data-value");
1568this.$element.val(this.updater(d)).trigger("change");
1569this.$target.val(this.map[d]).trigger("change");
1570this.$source.val(this.map[d]).trigger("change");
1571this.$container.addClass("combobox-selected");
1572this.selected=true;
1573return this.hide()
1574},updater:function(d){return d
1575},show:function(){var d=c.extend({},this.$element.position(),{height:this.$element[0].offsetHeight});
1576this.$menu.insertAfter(this.$element).css({top:d.top+d.height,left:d.left}).show();
1577c(".dropdown-menu").on("mousedown",this.scrollSafety.bind(this));
1578this.shown=true;
1579return this
1580},hide:function(){this.$menu.hide();
1581c(".dropdown-menu").off("mousedown",this.scrollSafety.bind(this));
1582this.$element.on("blur",this.blur.bind(this));
1583this.shown=false;
1584return this
1585},lookup:function(d){this.query=this.$element.val();
1586return this.process(this.source)
1587},process:function(d){var e=this;
1588d=c.grep(d,function(f){return e.matcher(f)
1589});
1590d=this.sorter(d);
1591if(!d.length){return this.shown?this.hide():this
1592}return this.render(d.slice(0,this.options.items)).show()
1593},template:function(){if(this.options.bsVersion=="2"){return'<div class="combobox-container"><input type="hidden" /> <div class="input-append"> <input type="text" autocomplete="off" /> <span class="add-on dropdown-toggle" data-dropdown="dropdown"> <span class="caret"/> <i class="icon-remove"/> </span> </div> </div>'
1594}else{return'<div class="combobox-container"> <input type="hidden" /> <div class="input-group"> <input type="text" autocomplete="off" /> <span class="input-group-addon dropdown-toggle" data-dropdown="dropdown"> <span class="caret" /> <span class="glyphicon glyphicon-remove" /> </span> </div> </div>'
1595}},matcher:function(d){return ~d.toLowerCase().indexOf(this.query.toLowerCase())
1596},sorter:function(f){var g=[],e=[],d=[],h;
1597while(h=f.shift()){if(!h.toLowerCase().indexOf(this.query.toLowerCase())){g.push(h)
1598}else{if(~h.indexOf(this.query)){e.push(h)
1599}else{d.push(h)
1600}}}return g.concat(e,d)
1601},highlighter:function(d){var e=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");
1602return d.replace(new RegExp("("+e+")","ig"),function(f,g){return"<strong>"+g+"</strong>"
1603})
1604},render:function(d){var e=this;
1605d=c(d).map(function(f,g){f=c(e.options.item).attr("data-value",g);
1606f.find("a").html(e.highlighter(g));
1607return f[0]
1608});
1609d.first().addClass("active");
1610this.$menu.html(d);
1611return this
1612},next:function(e){var f=this.$menu.find(".active").removeClass("active"),d=f.next();
1613if(!d.length){d=c(this.$menu.find("li")[0])
1614}d.addClass("active")
1615},prev:function(e){var f=this.$menu.find(".active").removeClass("active"),d=f.prev();
1616if(!d.length){d=this.$menu.find("li").last()
1617}d.addClass("active")
1618},toggle:function(){if(!this.disabled){if(this.$container.hasClass("combobox-selected")){this.clearTarget();
1619this.triggerChange();
1620this.clearElement()
1621}else{if(this.shown){this.hide()
1622}else{this.clearElement();
1623this.lookup()
1624}}}},scrollSafety:function(d){if(d.target.tagName=="UL"){this.$element.off("blur")
1625}},clearElement:function(){this.$element.val("").focus()
1626},clearTarget:function(){this.$source.val("");
1627this.$target.val("");
1628this.$container.removeClass("combobox-selected");
1629this.selected=false
1630},triggerChange:function(){this.$source.trigger("change")
1631},refresh:function(){this.source=this.parse();
1632this.options.items=this.source.length
1633},listen:function(){this.$element.on("focus",this.focus.bind(this)).on("blur",this.blur.bind(this)).on("keypress",this.keypress.bind(this)).on("keyup",this.keyup.bind(this));
1634if(this.eventSupported("keydown")){this.$element.on("keydown",this.keydown.bind(this))
1635}this.$menu.on("click",this.click.bind(this)).on("mouseenter","li",this.mouseenter.bind(this)).on("mouseleave","li",this.mouseleave.bind(this));
1636this.$button.on("click",this.toggle.bind(this))
1637},eventSupported:function(d){var e=d in this.$element;
1638if(!e){this.$element.setAttribute(d,"return;");
1639e=typeof this.$element[d]==="function"
1640}return e
1641},move:function(d){if(!this.shown){return
1642}switch(d.keyCode){case 9:case 13:case 27:d.preventDefault();
1643break;
1644case 38:d.preventDefault();
1645this.prev();
1646this.fixMenuScroll();
1647break;
1648case 40:d.preventDefault();
1649this.next();
1650this.fixMenuScroll();
1651break
1652}d.stopPropagation()
1653},fixMenuScroll:function(){var g=this.$menu.find(".active");
1654if(g.length){var f=g.position().top;
1655var d=f+g.height();
1656var e=this.$menu.scrollTop();
1657var h=this.$menu.height();
1658if(d>h){this.$menu.scrollTop(e+d-h)
1659}else{if(f<0){this.$menu.scrollTop(e+f)
1660}}}},keydown:function(d){this.suppressKeyPressRepeat=~c.inArray(d.keyCode,[40,38,9,13,27]);
1661this.move(d)
1662},keypress:function(d){if(this.suppressKeyPressRepeat){return
1663}this.move(d)
1664},keyup:function(d){switch(d.keyCode){case 40:if(!this.shown){this.toggle()
1665}break;
1666case 39:case 38:case 37:case 36:case 35:case 16:case 17:case 18:break;
1667case 9:case 13:if(!this.shown){return
1668}this.select();
1669break;
1670case 27:if(!this.shown){return
1671}this.hide();
1672break;
1673default:this.clearTarget();
1674this.lookup()
1675}d.stopPropagation();
1676d.preventDefault()
1677},focus:function(d){this.focused=true
1678},blur:function(f){var d=this;
1679this.focused=false;
1680var g=this.$element.val();
1681if(!this.selected&&g!==""){this.$element.val("");
1682this.$source.val("").trigger("change");
1683this.$target.val("").trigger("change")
1684}if(!this.mousedover&&this.shown){setTimeout(function(){d.hide()
1685},200)
1686}},click:function(d){d.stopPropagation();
1687d.preventDefault();
1688this.select();
1689this.$element.focus()
1690},mouseenter:function(d){this.mousedover=true;
1691this.$menu.find(".active").removeClass("active");
1692c(d.currentTarget).addClass("active")
1693},mouseleave:function(d){this.mousedover=false
1694}};
1695c.fn.combobox=function(d){return this.each(function(){var g=c(this),f=g.data("combobox"),e=typeof d=="object"&&d;
1696if(!f){g.data("combobox",(f=new b(this,e)))
1697}if(typeof d=="string"){f[d]()
1698}})
1699};
1700c.fn.combobox.defaults={bsVersion:"4",menu:'<ul class="typeahead typeahead-long dropdown-menu"></ul>',item:'<li><a href="#" class="dropdown-item"></a></li>'};
1701c.fn.combobox.Constructor=b
1702}(window.jQuery));
1703(function(b){b.fn.inview=function(c){var d=b.extend({inview:function(){}},c);
1704return this.each(function(){var e=b(this);
1705e.throttle({throttle:750,onscroll:function(){var g=e.offset().top,i=g+e.outerHeight();
1706var f=b(window).scrollTop(),h=f+b(window).height();
1707if(i>f&&g<h){return d.inview.call()
1708}return
1709}})
1710})
1711}
1712}(jQuery));
1713(function(b){b.fn.throttle=function(d){var e=b.extend({throttle:50,onscroll:function(){}},d);
1714var c;
1715b(window).on("scroll",function(){if(!c){c=setTimeout(function(){e.onscroll.call();
1716c=null
1717},e.throttle)
1718}})
1719}
1720}(jQuery));
1721$(function(){$.each($(".popover-btn"),function(d,f){var c=$(f),e=c.parent().next("span"),b=e.attr("data-popover-location");
1722c.attr("data-toggle","popover");
1723c.attr("data-container","body");
1724c.attr("data-html",true);
1725c.attr("data-placement",b);
1726c.attr("href","#");
1727c.attr("data-trigger","hover focus");
1728c.popover({html:true,delay:{hide:2500},content:function(){return e.html()
1729}})
1730});
1731$(".popover-btn").on("click",function(b){b.preventDefault()
1732});
1733$('[data-toggle="popover"]').each(function(){var b=$(this);
1734b.popover().on("shown.bs.popover",function(){b.data("bs.popover").tip().find('[data-dismiss="popover"]').on("click",function(){b.popover("hide")
1735})
1736});
1737if(b.hasClass("v-calc-info")){b.on("mouseenter focus",function(){b.popover("show")
1738}).on("mouseleave blur",function(){b.popover("hide")
1739})
1740}});
1741$(".popover-btn").hover(function(){$(".popover-btn").not(this).popover("hide")
1742});
1743$(".popover-btn").popover();
1744$(document).keyup(function(b){if(b.which===27){$(".popover-btn").popover("hide")
1745}})
1746});
1747$(function(){$.each($(".popover-btn"),function(d,f){var c=$(f),e=c.parent().next("span"),b=e.attr("data-popover-location");
1748c.attr("data-toggle","modal");
1749c.attr("data-container","body");
1750c.attr("data-html",true);
1751c.attr("data-placement",b);
1752c.attr("href","#modal-popover");
1753c.attr("data-trigger","hover focus");
1754c.popover({html:true,delay:{hide:2500},content:function(){return e.html()
1755}})
1756});
1757$(".popover-btn").on("click",function(b){$(".popover-btn").popover("hide")
1758})
1759});

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