403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/laragon/backup/www/quilla/wp-content/plugins/td-cloud-library/assets/js/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/laragon/backup/www/quilla/wp-content/plugins/td-cloud-library/assets/js/select2.js
/*
 Select2 4.1.0-rc.0 | https://github.com/select2/select2/blob/master/LICENSE.md */
!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=function(B,y){return void 0===y&&(y="undefined"!=typeof window?require("jquery"):require("jquery")(B)),t(y),y}:t(jQuery)}(function(t){function B(e,f){var d,a,c,b,n,m,r=f&&f.split("/"),l=v.map,q=l&&l["*"]||{};if(e){f=(e=e.split("/")).length-1;v.nodeIdCompat&&H.test(e[f])&&(e[f]=e[f].replace(H,""));"."===e[0].charAt(0)&&r&&(e=r.slice(0,r.length-1).concat(e));for(f=0;f<e.length;f++)"."===
(d=e[f])?(e.splice(f,1),--f):".."===d&&(0===f||1===f&&".."===e[2]||".."===e[f-1]||0<f&&(e.splice(f-1,2),f-=2));e=e.join("/")}if((r||q)&&l){for(f=(d=e.split("/")).length;0<f;--f){if(a=d.slice(0,f).join("/"),r)for(m=r.length;0<m;--m)if(c=l[r.slice(0,m).join("/")],c=c&&c[a]){var k=c;var u=f;break}if(k)break;!b&&q&&q[a]&&(b=q[a],n=f)}!k&&b&&(k=b,u=n);k&&(d.splice(0,u,k),e=d.join("/"))}return e}function y(e,f){return function(){var d=N.call(arguments,0);return"string"!=typeof d[0]&&1===d.length&&d.push(null),
C.apply(z,d.concat([e,f]))}}function E(e){var f;if(w.call(A,e)&&(f=A[e],delete A[e],F[e]=!0,G.apply(z,f)),!w.call(p,e)&&!w.call(F,e))throw Error("No "+e);return p[e]}function J(e){var f,d=e?e.indexOf("!"):-1;return-1<d&&(f=e.substring(0,d),e=e.substring(d+1,e.length)),[f,e]}function O(e){return e?J(e):[]}var K,L,z,G,C,M,D,p,A,v,F,w,N,H;var x=(t&&t.fn&&t.fn.select2&&t.fn.select2.amd&&(g=t.fn.select2.amd),g&&g.requirejs||(g?L=g:g={},p={},A={},v={},F={},w=Object.prototype.hasOwnProperty,N=[].slice,H=
/\.js$/,M=function(e,f){var d,a,c=J(e),b=c[0];f=f[1];return e=c[1],b&&(d=E(b=B(b,f))),b?e=d&&d.normalize?d.normalize(e,(a=f,function(b){return B(b,a)})):B(e,f):(b=(c=J(e=B(e,f)))[0],e=c[1],b&&(d=E(b))),{f:b?b+"!"+e:e,n:e,pr:b,p:d}},D={require:function(e){return y(e)},exports:function(e){var f=p[e];return void 0!==f?f:p[e]={}},module:function(e){return{id:e,uri:"",exports:p[e],config:(f=e,function(){return v&&v.config&&v.config[f]||{}})};var f}},G=function(e,f,d,a){var c,b,n=[];var m=typeof d;var r=
O(a=a||e);if("undefined"==m||"function"==m){f=!f.length&&d.length?["require","exports","module"]:f;for(b=0;b<f.length;b+=1)if("require"===(m=(c=M(f[b],r)).f))n[b]=D.require(e);else if("exports"===m){n[b]=D.exports(e);var l=!0}else if("module"===m)var q=n[b]=D.module(e);else if(w.call(p,m)||w.call(A,m)||w.call(F,m))n[b]=E(m);else{if(!c.p)throw Error(e+" missing "+m);c.p.load(c.n,y(a,!0),function(b){return function(c){p[b]=c}}(m),{});n[b]=p[m]}m=d?d.apply(p[e],n):void 0;e&&(q&&q.exports!==z&&q.exports!==
p[e]?p[e]=q.exports:m===z&&l||(p[e]=m))}else e&&(p[e]=d)},K=L=C=function(e,f,d,a,c){if("string"==typeof e)return D[e]?D[e](f):E(M(e,O(f)).f);if(!e.splice){if((v=e).deps&&C(v.deps,v.callback),!f)return;f.splice?(e=f,f=d,d=null):e=z}return f=f||function(){},"function"==typeof d&&(d=a,a=c),a?G(z,e,f,d):setTimeout(function(){G(z,e,f,d)},4),C},C.config=function(e){return C(e)},K._defined=p,(x=function(e,f,d){if("string"!=typeof e)throw Error("See almond README: incorrect module build, no module name");
f.splice||(d=f,f=[]);w.call(p,e)||w.call(A,e)||(A[e]=[e,f,d])}).amd={jQuery:!0},g.requirejs=K,g.require=L,g.define=x),g.define("almond",function(){}),g.define("jquery",[],function(){var e=t||$;return null==e&&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."),e}),g.define("select2/utils",["jquery"],function(e){function f(b){var c;b=b.prototype;var a=[];for(c in b)"function"==
typeof b[c]&&"constructor"!==c&&a.push(c);return a}function d(){this.listeners={}}var a={Extend:function(b,c){function a(){this.constructor=b}var n,d={}.hasOwnProperty;for(n in c)d.call(c,n)&&(b[n]=c[n]);return a.prototype=c.prototype,b.prototype=new a,b.__super__=c.prototype,b},Decorate:function(b,c){function a(){var a=Array.prototype.unshift,n=b.prototype.constructor;0<c.prototype.constructor.length&&(a.call(arguments,b.prototype.constructor),n=c.prototype.constructor);n.apply(this,arguments)}var n=
f(c),d=f(b);c.displayName=b.displayName;a.prototype=new function(){this.constructor=a};for(var e=0;e<d.length;e++){var k=d[e];a.prototype[k]=b.prototype[k]}for(d=0;d<n.length;d++)e=n[d],a.prototype[e]=function(b){var n=function(){};b in a.prototype&&(n=a.prototype[b]);var d=c.prototype[b];return function(){return Array.prototype.unshift.call(arguments,n),d.apply(this,arguments)}}(e);return a}};d.prototype.on=function(b,c){this.listeners=this.listeners||{};b in this.listeners?this.listeners[b].push(c):
this.listeners[b]=[c]};d.prototype.trigger=function(b){var c=Array.prototype.slice,a=c.call(arguments,1);this.listeners=this.listeners||{};null==a&&(a=[]);0===a.length&&a.push({});(a[0]._type=b)in this.listeners&&this.invoke(this.listeners[b],c.call(arguments,1));"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)};d.prototype.invoke=function(b,c){for(var a=0,n=b.length;a<n;a++)b[a].apply(this,c)};a.Observable=d;a.generateChars=function(b){for(var c="",a=0;a<b;a++)c+=Math.floor(36*Math.random()).toString(36);
return c};a.bind=function(b,c){return function(){b.apply(c,arguments)}};a._convertData=function(b){for(var c in b){var a=c.split("-"),d=b;if(1!==a.length){for(var e=0;e<a.length;e++){var f=a[e];(f=f.substring(0,1).toLowerCase()+f.substring(1))in d||(d[f]={});e==a.length-1&&(d[f]=b[c]);d=d[f]}delete b[c]}}return b};a.hasScroll=function(b,c){b=e(c);var a=c.style.overflowX,d=c.style.overflowY;return(a!==d||"hidden"!==d&&"visible"!==d)&&("scroll"===a||"scroll"===d||b.innerHeight()<c.scrollHeight||b.innerWidth()<
c.scrollWidth)};a.escapeMarkup=function(b){var c={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof b?b:String(b).replace(/[&<>"'\/\\]/g,function(b){return c[b]})};a.__cache={};var c=0;return a.GetUniqueElementId=function(b){var d=b.getAttribute("data-select2-id");return null!=d||(d=b.id?"select2-data-"+b.id:"select2-data-"+(++c).toString()+"-"+a.generateChars(4),b.setAttribute("data-select2-id",d)),d},a.StoreData=function(b,c,d){b=a.GetUniqueElementId(b);
a.__cache[b]||(a.__cache[b]={});a.__cache[b][c]=d},a.GetData=function(b,c){var d=a.GetUniqueElementId(b);return c?a.__cache[d]&&null!=a.__cache[d][c]?a.__cache[d][c]:e(b).data(c):a.__cache[d]},a.RemoveData=function(b){var c=a.GetUniqueElementId(b);null!=a.__cache[c]&&delete a.__cache[c];b.removeAttribute("data-select2-id")},a.copyNonInternalCssClasses=function(b,c){var a=(a=b.getAttribute("class").trim().split(/\s+/)).filter(function(b){return 0===b.indexOf("select2-")});c=(c=c.getAttribute("class").trim().split(/\s+/)).filter(function(b){return 0!==
b.indexOf("select2-")});c=a.concat(c);b.setAttribute("class",c.join(" "))},a}),g.define("select2/results",["jquery","./utils"],function(e,f){function d(a,c,b){this.$element=a;this.data=b;this.options=c;d.__super__.constructor.call(this)}return f.Extend(d,f.Observable),d.prototype.render=function(){var a=e('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&a.attr("aria-multiselectable","true"),this.$results=a},d.prototype.clear=function(){this.$results.empty()},
d.prototype.displayMessage=function(a){var c=this.options.get("escapeMarkup");this.clear();this.hideLoading();var b=e('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),d=this.options.get("translations").get(a.message);b.append(c(d(a.args)));b[0].className+=" select2-results__message";this.$results.append(b)},d.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},d.prototype.append=function(a){this.hideLoading();var c=[];if(null!=
a.results&&0!==a.results.length){a.results=this.sort(a.results);for(var b=0;b<a.results.length;b++){var d=a.results[b];d=this.option(d);c.push(d)}this.$results.append(c)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},d.prototype.position=function(a,c){c.find(".select2-results").append(a)},d.prototype.sort=function(a){return this.options.get("sorter")(a)},d.prototype.highlightFirstItem=function(){var a=this.$results.find(".select2-results__option--selectable"),
c=a.filter(".select2-results__option--selected");(0<c.length?c:a).first().trigger("mouseenter");this.ensureHighlightVisible()},d.prototype.setClasses=function(){var a=this;this.data.current(function(c){var b=c.map(function(b){return b.id.toString()});a.$results.find(".select2-results__option--selectable").each(function(){var c=e(this),a=f.GetData(this,"data"),d=""+a.id;null!=a.element&&a.element.selected||null==a.element&&-1<b.indexOf(d)?(this.classList.add("select2-results__option--selected"),c.attr("aria-selected",
"true")):(this.classList.remove("select2-results__option--selected"),c.attr("aria-selected","false"))})})},d.prototype.showLoading=function(a){this.hideLoading();a={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(a)};a=this.option(a);a.className+=" loading-results";this.$results.prepend(a)},d.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},d.prototype.option=function(a){var c=document.createElement("li");c.classList.add("select2-results__option");
c.classList.add("select2-results__option--selectable");var b={role:"option"},d=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(m in(null!=a.element&&d.call(a.element,":disabled")||null==a.element&&a.disabled)&&(b["aria-disabled"]="true",c.classList.remove("select2-results__option--selectable"),c.classList.add("select2-results__option--disabled")),null==a.id&&c.classList.remove("select2-results__option--selectable"),null!=
a._resultId&&(c.id=a._resultId),a.title&&(c.title=a.title),a.children&&(b.role="group",b["aria-label"]=a.text,c.classList.remove("select2-results__option--selectable"),c.classList.add("select2-results__option--group")),b)c.setAttribute(m,b[m]);if(a.children){var m=e(c);b=document.createElement("strong");b.className="select2-results__group";this.template(a,b);var r=[];for(d=0;d<a.children.length;d++){var l=a.children[d];l=this.option(l);r.push(l)}d=e("<ul></ul>",{class:"select2-results__options select2-results__options--nested",
role:"none"});d.append(r);m.append(b);m.append(d)}else this.template(a,c);return f.StoreData(c,"data",a),c},d.prototype.bind=function(a,c){var b=this;this.$results.attr("id",a.id+"-results");a.on("results:all",function(c){b.clear();b.append(c.data);a.isOpen()&&(b.setClasses(),b.highlightFirstItem())});a.on("results:append",function(c){b.append(c.data);a.isOpen()&&b.setClasses()});a.on("query",function(c){b.hideMessages();b.showLoading(c)});a.on("select",function(){a.isOpen()&&(b.setClasses(),b.options.get("scrollAfterSelect")&&
b.highlightFirstItem())});a.on("unselect",function(){a.isOpen()&&(b.setClasses(),b.options.get("scrollAfterSelect")&&b.highlightFirstItem())});a.on("open",function(){b.$results.attr("aria-expanded","true");b.$results.attr("aria-hidden","false");b.setClasses();b.ensureHighlightVisible()});a.on("close",function(){b.$results.attr("aria-expanded","false");b.$results.attr("aria-hidden","true");b.$results.removeAttr("aria-activedescendant")});a.on("results:toggle",function(){var c=b.getHighlightedResults();
0!==c.length&&c.trigger("mouseup")});a.on("results:select",function(){var c,a=b.getHighlightedResults();0!==a.length&&(c=f.GetData(a[0],"data"),a.hasClass("select2-results__option--selected")?b.trigger("close",{}):b.trigger("select",{data:c}))});a.on("results:previous",function(){var c,a=b.getHighlightedResults(),d=b.$results.find(".select2-results__option--selectable"),e=d.index(a);0>=e||(c=e-1,0===a.length&&(c=0),(e=d.eq(c)).trigger("mouseenter"),a=b.$results.offset().top,d=e.offset().top,e=b.$results.scrollTop()+
(d-a),0===c?b.$results.scrollTop(0):0>d-a&&b.$results.scrollTop(e))});a.on("results:next",function(){var c,a=b.getHighlightedResults(),d=b.$results.find(".select2-results__option--selectable"),e=d.index(a)+1;e>=d.length||((c=d.eq(e)).trigger("mouseenter"),a=b.$results.offset().top+b.$results.outerHeight(!1),d=c.offset().top+c.outerHeight(!1),c=b.$results.scrollTop()+d-a,0===e?b.$results.scrollTop(0):a<d&&b.$results.scrollTop(c))});a.on("results:focus",function(b){b.element[0].classList.add("select2-results__option--highlighted");
b.element[0].setAttribute("aria-selected","true")});a.on("results:message",function(c){b.displayMessage(c)});e.fn.mousewheel&&this.$results.on("mousewheel",function(c){var a=b.$results.scrollTop(),d=b.$results.get(0).scrollHeight-a+c.deltaY;a=0<c.deltaY&&0>=a-c.deltaY;d=0>c.deltaY&&d<=b.$results.height();a?(b.$results.scrollTop(0),c.preventDefault(),c.stopPropagation()):d&&(b.$results.scrollTop(b.$results.get(0).scrollHeight-b.$results.height()),c.preventDefault(),c.stopPropagation())});this.$results.on("mouseup",
".select2-results__option--selectable",function(c){var a=e(this),d=f.GetData(this,"data");a.hasClass("select2-results__option--selected")?b.options.get("multiple")?b.trigger("unselect",{originalEvent:c,data:d}):b.trigger("close",{}):b.trigger("select",{originalEvent:c,data:d})});this.$results.on("mouseenter",".select2-results__option--selectable",function(c){c=f.GetData(this,"data");b.getHighlightedResults().removeClass("select2-results__option--highlighted").attr("aria-selected","false");b.trigger("results:focus",
{data:c,element:e(this)})})},d.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},d.prototype.destroy=function(){this.$results.remove()},d.prototype.ensureHighlightVisible=function(){var a,c,b,d,e=this.getHighlightedResults();0!==e.length&&(a=this.$results.find(".select2-results__option--selectable").index(e),d=this.$results.offset().top,c=e.offset().top,b=this.$results.scrollTop()+(c-d),d=c-d,b-=2*e.outerHeight(!1),2>=a?this.$results.scrollTop(0):
(d>this.$results.outerHeight()||0>d)&&this.$results.scrollTop(b))},d.prototype.template=function(a,c){var b=this.options.get("templateResult"),d=this.options.get("escapeMarkup");a=b(a,c);null==a?c.style.display="none":"string"==typeof a?c.innerHTML=d(a):e(c).append(a)},d}),g.define("select2/keys",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),g.define("select2/selection/base",
["jquery","../utils","../keys"],function(e,f,d){function a(c,b){this.$element=c;this.options=b;a.__super__.constructor.call(this)}return f.Extend(a,f.Observable),a.prototype.render=function(){var c=e('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=f.GetData(this.$element[0],"old-tabindex")?this._tabindex=f.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),
c.attr("title",this.$element.attr("title")),c.attr("tabindex",this._tabindex),c.attr("aria-disabled","false"),this.$selection=c},a.prototype.bind=function(c,b){var a=this,e=c.id+"-results";this.container=c;this.$selection.on("focus",function(b){a.trigger("focus",b)});this.$selection.on("blur",function(b){a._handleBlur(b)});this.$selection.on("keydown",function(b){a.trigger("keypress",b);b.which===d.SPACE&&b.preventDefault()});c.on("results:focus",function(b){a.$selection.attr("aria-activedescendant",
b.data._resultId)});c.on("selection:update",function(b){a.update(b.data)});c.on("open",function(){a.$selection.attr("aria-expanded","true");a.$selection.attr("aria-owns",e);a._attachCloseHandler(c)});c.on("close",function(){a.$selection.attr("aria-expanded","false");a.$selection.removeAttr("aria-activedescendant");a.$selection.removeAttr("aria-owns");a.$selection.trigger("focus");a._detachCloseHandler(c)});c.on("enable",function(){a.$selection.attr("tabindex",a._tabindex);a.$selection.attr("aria-disabled",
"false")});c.on("disable",function(){a.$selection.attr("tabindex","-1");a.$selection.attr("aria-disabled","true")})},a.prototype._handleBlur=function(c){var b=this;window.setTimeout(function(){document.activeElement==b.$selection[0]||e.contains(b.$selection[0],document.activeElement)||b.trigger("blur",c)},1)},a.prototype._attachCloseHandler=function(c){e(document.body).on("mousedown.select2."+c.id,function(b){var c=e(b.target).closest(".select2");e(".select2.select2-container--open").each(function(){this!=
c[0]&&f.GetData(this,"element").select2("close")})})},a.prototype._detachCloseHandler=function(c){e(document.body).off("mousedown.select2."+c.id)},a.prototype.position=function(c,b){b.find(".selection").append(c)},a.prototype.destroy=function(){this._detachCloseHandler(this.container)},a.prototype.update=function(c){throw Error("The `update` method must be defined in child classes.");},a.prototype.isEnabled=function(){return!this.isDisabled()},a.prototype.isDisabled=function(){return this.options.get("disabled")},
a}),g.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(e,f,d,a){function c(){c.__super__.constructor.apply(this,arguments)}return d.Extend(c,f),c.prototype.render=function(){var b=c.__super__.render.call(this);return b[0].classList.add("select2-selection--single"),b.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),b},c.prototype.bind=function(b,a){var d=this;c.__super__.bind.apply(this,
arguments);var e=b.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",e).attr("role","textbox").attr("aria-readonly","true");this.$selection.attr("aria-labelledby",e);this.$selection.attr("aria-controls",e);this.$selection.on("mousedown",function(b){1===b.which&&d.trigger("toggle",{originalEvent:b})});this.$selection.on("focus",function(b){});this.$selection.on("blur",function(b){});b.on("focus",function(c){b.isOpen()||d.$selection.trigger("focus")})},c.prototype.clear=
function(){var b=this.$selection.find(".select2-selection__rendered");b.empty();b.removeAttr("title")},c.prototype.display=function(b,c){var a=this.options.get("templateSelection");return this.options.get("escapeMarkup")(a(b,c))},c.prototype.selectionContainer=function(){return e("<span></span>")},c.prototype.update=function(b){var c,a;0!==b.length?(a=b[0],c=this.$selection.find(".select2-selection__rendered"),b=this.display(a,c),c.empty().append(b),(a=a.title||a.text)?c.attr("title",a):c.removeAttr("title")):
this.clear()},c}),g.define("select2/selection/multiple",["jquery","./base","../utils"],function(e,f,d){function a(c,b){a.__super__.constructor.apply(this,arguments)}return d.Extend(a,f),a.prototype.render=function(){var c=a.__super__.render.call(this);return c[0].classList.add("select2-selection--multiple"),c.html('<ul class="select2-selection__rendered"></ul>'),c},a.prototype.bind=function(c,b){var f=this;a.__super__.bind.apply(this,arguments);var m=c.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",
m);this.$selection.on("click",function(b){f.trigger("toggle",{originalEvent:b})});this.$selection.on("click",".select2-selection__choice__remove",function(b){var c;f.isDisabled()||(c=e(this).parent(),c=d.GetData(c[0],"data"),f.trigger("unselect",{originalEvent:b,data:c}))});this.$selection.on("keydown",".select2-selection__choice__remove",function(b){f.isDisabled()||b.stopPropagation()})},a.prototype.clear=function(){var c=this.$selection.find(".select2-selection__rendered");c.empty();c.removeAttr("title")},
a.prototype.display=function(c,b){var a=this.options.get("templateSelection");return this.options.get("escapeMarkup")(a(c,b))},a.prototype.selectionContainer=function(){return e('<li class="select2-selection__choice"><button type="button" class="select2-selection__choice__remove" tabindex="-1"><span aria-hidden="true">&times;</span></button><span class="select2-selection__choice__display"></span></li>')},a.prototype.update=function(c){if(this.clear(),0!==c.length){for(var b=[],a=this.$selection.find(".select2-selection__rendered").attr("id")+
"-choice-",e=0;e<c.length;e++){var f=c[e],l=this.selectionContainer(),q=this.display(f,l),k=a+d.generateChars(4)+"-";f.id?k+=f.id:k+=d.generateChars(4);l.find(".select2-selection__choice__display").append(q).attr("id",k);var g=f.title||f.text;g&&l.attr("title",g);q=this.options.get("translations").get("removeItem");g=l.find(".select2-selection__choice__remove");g.attr("title",q());g.attr("aria-label",q());g.attr("aria-describedby",k);d.StoreData(l[0],"data",f);b.push(l)}this.$selection.find(".select2-selection__rendered").append(b)}},
a}),g.define("select2/selection/placeholder",[],function(){function e(e,d,a){this.placeholder=this.normalizePlaceholder(a.get("placeholder"));e.call(this,d,a)}return e.prototype.normalizePlaceholder=function(e,d){return"string"==typeof d&&(d={id:"",text:d}),d},e.prototype.createPlaceholder=function(e,d){e=this.selectionContainer();e.html(this.display(d));e[0].classList.add("select2-selection__placeholder");e[0].classList.remove("select2-selection__choice");d=d.title||d.text||e.text();return this.$selection.find(".select2-selection__rendered").attr("title",
d),e},e.prototype.update=function(e,d){var a=1==d.length&&d[0].id!=this.placeholder.id;if(1<d.length||a)return e.call(this,d);this.clear();d=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(d)},e}),g.define("select2/selection/allowClear",["jquery","../keys","../utils"],function(e,f,d){function a(){}return a.prototype.bind=function(c,b,a){var d=this;c.call(this,b,a);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){d._handleClear(b)});b.on("keypress",function(c){d._handleKeyboardClear(c,b)})},a.prototype._handleClear=function(c,b){if(!this.isDisabled()&&(c=this.$selection.find(".select2-selection__clear"),0!==c.length)){b.stopPropagation();b=d.GetData(c[0],"data");c=this.$element.val();this.$element.val(this.placeholder.id);var a=
{data:b};if(this.trigger("clear",a),a.prevented)this.$element.val(c);else{for(var e=0;e<b.length;e++)if(a={data:b[e]},this.trigger("unselect",a),a.prevented)return void this.$element.val(c);this.$element.trigger("input").trigger("change");this.trigger("toggle",{})}}},a.prototype._handleKeyboardClear=function(c,b,a){a.isOpen()||b.which!=f.DELETE&&b.which!=f.BACKSPACE||this._handleClear(b)},a.prototype.update=function(c,b){var a,f;c.call(this,b);this.$selection.find(".select2-selection__clear").remove();
this.$selection[0].classList.remove("select2-selection--clearable");0<this.$selection.find(".select2-selection__placeholder").length||0===b.length||(a=this.$selection.find(".select2-selection__rendered").attr("id"),f=this.options.get("translations").get("removeAllItems"),(c=e('<button type="button" class="select2-selection__clear" tabindex="-1"><span aria-hidden="true">&times;</span></button>')).attr("title",f()),c.attr("aria-label",f()),c.attr("aria-describedby",a),d.StoreData(c[0],"data",b),this.$selection.prepend(c),
this.$selection[0].classList.add("select2-selection--clearable"))},a}),g.define("select2/selection/search",["jquery","../utils","../keys"],function(e,f,d){function a(c,b,a){c.call(this,b,a)}return a.prototype.render=function(c){var b=this.options.get("translations").get("search"),a=e('<span class="select2-search select2-search--inline"><textarea class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" ></textarea></span>');
this.$searchContainer=a;this.$search=a.find("textarea");this.$search.prop("autocomplete",this.options.get("autocomplete"));this.$search.attr("aria-label",b());c=c.call(this);return this._transferTabIndex(),c.append(this.$searchContainer),c},a.prototype.bind=function(c,b,a){var e=this,n=b.id+"-results",l=b.id+"-container";c.call(this,b,a);e.$search.attr("aria-describedby",l);b.on("open",function(){e.$search.attr("aria-controls",n);e.$search.trigger("focus")});b.on("close",function(){e.$search.val("");
e.resizeSearch();e.$search.removeAttr("aria-controls");e.$search.removeAttr("aria-activedescendant");e.$search.trigger("focus")});b.on("enable",function(){e.$search.prop("disabled",!1);e._transferTabIndex()});b.on("disable",function(){e.$search.prop("disabled",!0)});b.on("focus",function(b){e.$search.trigger("focus")});b.on("results:focus",function(b){b.data._resultId?e.$search.attr("aria-activedescendant",b.data._resultId):e.$search.removeAttr("aria-activedescendant")});this.$selection.on("focusin",
".select2-search--inline",function(b){e.trigger("focus",b)});this.$selection.on("focusout",".select2-search--inline",function(b){e._handleBlur(b)});this.$selection.on("keydown",".select2-search--inline",function(b){var c;b.stopPropagation();e.trigger("keypress",b);e._keyUpPrevented=b.isDefaultPrevented();b.which!==d.BACKSPACE||""!==e.$search.val()||0<(c=e.$selection.find(".select2-selection__choice").last()).length&&(c=f.GetData(c[0],"data"),e.searchRemoveChoice(c),b.preventDefault())});this.$selection.on("click",
".select2-search--inline",function(b){e.$search.val()&&b.stopPropagation()});var g=(b=document.documentMode)&&11>=b;this.$selection.on("input.searchcheck",".select2-search--inline",function(b){g?e.$selection.off("input.search input.searchcheck"):e.$selection.off("keyup.search")});this.$selection.on("keyup.search input.search",".select2-search--inline",function(b){var c;g&&"input"===b.type?e.$selection.off("input.search input.searchcheck"):(c=b.which)!=d.SHIFT&&c!=d.CTRL&&c!=d.ALT&&c!=d.TAB&&e.handleSearch(b)})},
a.prototype._transferTabIndex=function(c){this.$search.attr("tabindex",this.$selection.attr("tabindex"));this.$selection.attr("tabindex","-1")},a.prototype.createPlaceholder=function(c,b){this.$search.attr("placeholder",b.text)},a.prototype.update=function(c,b){var a=this.$search[0]==document.activeElement;this.$search.attr("placeholder","");c.call(this,b);this.resizeSearch();a&&this.$search.trigger("focus")},a.prototype.handleSearch=function(){var c;this.resizeSearch();this._keyUpPrevented||(c=this.$search.val(),
this.trigger("query",{term:c}));this._keyUpPrevented=!1},a.prototype.searchRemoveChoice=function(c,b){this.trigger("unselect",{data:b});this.$search.val(b.text);this.handleSearch()},a.prototype.resizeSearch=function(){this.$search.css("width","25px");var c="100%";""===this.$search.attr("placeholder")&&(c=.75*(this.$search.val().length+1)+"em");this.$search.css("width",c)},a}),g.define("select2/selection/selectionCss",["../utils"],function(e){function f(){}return f.prototype.render=function(d){var a=
d.call(this);d=this.options.get("selectionCssClass")||"";return-1!==d.indexOf(":all:")&&(d=d.replace(":all:",""),e.copyNonInternalCssClasses(a[0],this.$element[0])),a.addClass(d),a},f}),g.define("select2/selection/eventRelay",["jquery"],function(e){function f(){}return f.prototype.bind=function(d,a,c){var b=this,f="open opening close closing select selecting unselect unselecting clear clearing".split(" "),m=["opening","closing","selecting","unselecting","clearing"];d.call(this,a,c);a.on("*",function(c,
a){var d;-1!==f.indexOf(c)&&(a=a||{},d=e.Event("select2:"+c,{params:a}),b.$element.trigger(d),-1!==m.indexOf(c)&&(a.prevented=d.isDefaultPrevented()))})},f}),g.define("select2/translation",["jquery","require"],function(e,f){function d(a){this.dict=a||{}}return d.prototype.all=function(){return this.dict},d.prototype.get=function(a){return this.dict[a]},d.prototype.extend=function(a){this.dict=e.extend({},a.all(),this.dict)},d._cache={},d.loadPath=function(a){var c;return a in d._cache||(c=f(a),d._cache[a]=
c),new d(d._cache[a])},d}),g.define("select2/diacritics",[],function(){return{"\u24b6":"A","\uff21":"A","\u00c0":"A","\u00c1":"A","\u00c2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\u00c3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\u00c4":"A","\u01de":"A","\u1ea2":"A","\u00c5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A",
"\ua732":"AA","\u00c6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u00c7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D",
"\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\u00c8":"E","\u00c9":"E","\u00ca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\u00cb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F",
"\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\u00cc":"I","\u00cd":"I","\u00ce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\u00cf":"I",
"\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K","\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f":"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L",
"\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\u00d1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\u00d2":"O","\u00d3":"O","\u00d4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O",
"\u00d5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\u00d6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\u00d8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u0152":"OE","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P",
"\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S",
"\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\u00d9":"U","\u00da":"U","\u00db":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\u00dc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U",
"\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\u00dd":"Y",
"\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\u00e0":"a","\u00e1":"a","\u00e2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\u00e3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a",
"\u1eb3":"a","\u0227":"a","\u01e1":"a","\u00e4":"a","\u01df":"a","\u1ea3":"a","\u00e5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\u00e6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c",
"\u0109":"c","\u010b":"c","\u010d":"c","\u00e7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\u00e8":"e","\u00e9":"e","\u00ea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e",
"\u00eb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h",
"\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\u00ec":"i","\u00ed":"i","\u00ee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\u00ef":"i","\u1e2f":"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k",
"\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\u00f1":"n",
"\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\u00f2":"o","\u00f3":"o","\u00f4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\u00f5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\u00f6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o",
"\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\u00f8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u0153":"oe","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r",
"\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\u00df":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t",
"\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\u00f9":"u","\u00fa":"u","\u00fb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\u00fc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v",
"\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\u00fd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\u00ff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f":"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z",
"\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z","\u0386":"\u0391","\u0388":"\u0395","\u0389":"\u0397","\u038a":"\u0399","\u03aa":"\u0399","\u038c":"\u039f","\u038e":"\u03a5","\u03ab":"\u03a5","\u038f":"\u03a9","\u03ac":"\u03b1","\u03ad":"\u03b5","\u03ae":"\u03b7","\u03af":"\u03b9","\u03ca":"\u03b9","\u0390":"\u03b9","\u03cc":"\u03bf","\u03cd":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u03ce":"\u03c9","\u03c2":"\u03c3","\u2019":"'"}}),
g.define("select2/data/base",["../utils"],function(e){function f(d,a){f.__super__.constructor.call(this)}return e.Extend(f,e.Observable),f.prototype.current=function(d){throw Error("The `current` method must be defined in child classes.");},f.prototype.query=function(d,a){throw Error("The `query` method must be defined in child classes.");},f.prototype.bind=function(d,a){},f.prototype.destroy=function(){},f.prototype.generateResultId=function(d,a){d=d.id+"-result-";return d+=e.generateChars(4),null!=
a.id?d+="-"+a.id.toString():d+="-"+e.generateChars(4),d},f}),g.define("select2/data/select",["./base","../utils","jquery"],function(e,f,d){function a(c,b){this.$element=c;this.options=b;a.__super__.constructor.call(this)}return f.Extend(a,e),a.prototype.current=function(c){var b=this;c(Array.prototype.map.call(this.$element[0].querySelectorAll(":checked"),function(c){return b.item(d(c))}))},a.prototype.select=function(c){var b,a=this;if(c.selected=!0,null!=c.element&&"option"===c.element.tagName.toLowerCase())return c.element.selected=
!0,void this.$element.trigger("input").trigger("change");this.$element.prop("multiple")?this.current(function(b){var d=[];(c=[c]).push.apply(c,b);for(b=0;b<c.length;b++){var e=c[b].id;-1===d.indexOf(e)&&d.push(e)}a.$element.val(d);a.$element.trigger("input").trigger("change")}):(b=c.id,this.$element.val(b),this.$element.trigger("input").trigger("change"))},a.prototype.unselect=function(c){var b=this;if(this.$element.prop("multiple")){if(c.selected=!1,null!=c.element&&"option"===c.element.tagName.toLowerCase())return c.element.selected=
!1,void this.$element.trigger("input").trigger("change");this.current(function(a){for(var d=[],e=0;e<a.length;e++){var f=a[e].id;f!==c.id&&-1===d.indexOf(f)&&d.push(f)}b.$element.val(d);b.$element.trigger("input").trigger("change")})}},a.prototype.bind=function(c,b){var a=this;(this.container=c).on("select",function(b){a.select(b.data)});c.on("unselect",function(b){a.unselect(b.data)})},a.prototype.destroy=function(){this.$element.find("*").each(function(){f.RemoveData(this)})},a.prototype.query=
function(c,b){var a=[],e=this;this.$element.children().each(function(){var b;"option"!==this.tagName.toLowerCase()&&"optgroup"!==this.tagName.toLowerCase()||(b=d(this),b=e.item(b),null!==(b=e.matches(c,b))&&a.push(b))});b({results:a})},a.prototype.addOptions=function(c){this.$element.append(c)},a.prototype.option=function(c){var b;c.children?(b=document.createElement("optgroup")).label=c.text:void 0!==(b=document.createElement("option")).textContent?b.textContent=c.text:b.innerText=c.text;void 0!==
c.id&&(b.value=c.id);c.disabled&&(b.disabled=!0);c.selected&&(b.selected=!0);c.title&&(b.title=c.title);c=this._normalizeItem(c);return c.element=b,f.StoreData(b,"data",c),d(b)},a.prototype.item=function(c){var b;if(null!=(b=f.GetData(c[0],"data")))return b;var a=c[0];if("option"===a.tagName.toLowerCase())b={id:c.val(),text:c.text(),disabled:c.prop("disabled"),selected:c.prop("selected"),title:c.prop("title")};else if("optgroup"===a.tagName.toLowerCase()){b={text:c.prop("label"),children:[],title:c.prop("title")};
a=c.children("option");for(var e=[],r=0;r<a.length;r++){var l=d(a[r]);l=this.item(l);e.push(l)}b.children=e}return(b=this._normalizeItem(b)).element=c[0],f.StoreData(c[0],"data",b),b},a.prototype._normalizeItem=function(c){c!==Object(c)&&(c={id:c,text:c});return null!=(c=d.extend({},{text:""},c)).id&&(c.id=c.id.toString()),null!=c.text&&(c.text=c.text.toString()),null==c._resultId&&c.id&&null!=this.container&&(c._resultId=this.generateResultId(this.container,c)),d.extend({},{selected:!1,disabled:!1},
c)},a.prototype.matches=function(c,b){return this.options.get("matcher")(c,b)},a}),g.define("select2/data/array",["./select","../utils","jquery"],function(e,f,d){function a(c,b){this._dataToConvert=b.get("data")||[];a.__super__.constructor.call(this,c,b)}return f.Extend(a,e),a.prototype.bind=function(c,b){a.__super__.bind.call(this,c,b);this.addOptions(this.convertToOptions(this._dataToConvert))},a.prototype.select=function(c){var b=this.$element.find("option").filter(function(b,a){return a.value==
c.id.toString()});0===b.length&&(b=this.option(c),this.addOptions(b));a.__super__.select.call(this,c)},a.prototype.convertToOptions=function(c){for(var b=this,a=this.$element.find("option"),e=a.map(function(){return b.item(d(this)).id}).get(),f=[],l=0;l<c.length;l++){var g,k,u=this._normalizeItem(c[l]);0<=e.indexOf(u.id)?(g=a.filter(function(b){return function(){return d(this).val()==b.id}}(u)),k=this.item(g),k=d.extend(!0,{},u,k),k=this.option(k),g.replaceWith(k)):(k=this.option(u),u.children&&(u=
this.convertToOptions(u.children),k.append(u)),f.push(k))}return f},a}),g.define("select2/data/ajax",["./array","../utils","jquery"],function(e,f,d){function a(c,b){this.ajaxOptions=this._applyDefaults(b.get("ajax"));null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults);a.__super__.constructor.call(this,c,b)}return f.Extend(a,e),a.prototype._applyDefaults=function(c){return d.extend({},{data:function(b){return d.extend({},b,{q:b.term})},transport:function(b,
c,a){b=d.ajax(b);return b.then(c),b.fail(a),b}},c,!0)},a.prototype.processResults=function(c){return c},a.prototype.query=function(c,b){function a(){var a=f.transport(f,function(a){a=e.processResults(a,c);e.options.get("debug")&&window.console&&console.error&&(a&&a.results&&Array.isArray(a.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response."));b(a)},function(){"status"in a&&(0===a.status||"0"===a.status)||e.trigger("results:message",{message:"errorLoading"})});
e._request=a}var e=this;null!=this._request&&("function"==typeof this._request.abort&&this._request.abort(),this._request=null);var f=d.extend({type:"GET"},this.ajaxOptions);"function"==typeof f.url&&(f.url=f.url.call(this.$element,c));"function"==typeof f.data&&(f.data=f.data.call(this.$element,c));this.ajaxOptions.delay&&null!=c.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(a,this.ajaxOptions.delay)):a()},a}),g.define("select2/data/tags",
["jquery"],function(e){function f(d,a,c){var b=c.get("tags"),e=c.get("createTag");void 0!==e&&(this.createTag=e);e=c.get("insertTag");if(void 0!==e&&(this.insertTag=e),d.call(this,a,c),Array.isArray(b))for(d=0;d<b.length;d++)a=b[d],a=this._normalizeItem(a),a=this.option(a),this.$element.append(a)}return f.prototype.query=function(d,a,c){var b=this;this._removeOldTags();null!=a.term&&null==a.page?d.call(this,a,function l(d,e){for(var f=d.results,m=0;m<f.length;m++){var g=f[m],r=null!=g.children&&!l({results:g.children},
!0);if((g.text||"").toUpperCase()===(a.term||"").toUpperCase()||r)return!e&&(d.data=f,void c(d))}if(e)return!0;var p;e=b.createTag(a);null!=e&&((p=b.option(e)).attr("data-select2-tag","true"),b.addOptions([p]),b.insertTag(f,e));d.results=f;c(d)}):d.call(this,a,c)},f.prototype.createTag=function(d,a){if(null==a.term)return null;a=a.term.trim();return""===a?null:{id:a,text:a}},f.prototype.insertTag=function(d,a,c){a.unshift(c)},f.prototype._removeOldTags=function(d){this.$element.find("option[data-select2-tag]").each(function(){this.selected||
e(this).remove()})},f}),g.define("select2/data/tokenizer",["jquery"],function(e){function f(d,a,c){var b=c.get("tokenizer");void 0!==b&&(this.tokenizer=b);d.call(this,a,c)}return f.prototype.bind=function(d,a,c){d.call(this,a,c);this.$search=a.dropdown.$search||a.selection.$search||c.find(".select2-search__field")},f.prototype.query=function(d,a,c){var b=this;a.term=a.term||"";var f=this.tokenizer(a,this.options,function(a){var c,d=b._normalizeItem(a);b.$element.find("option").filter(function(){return e(this).val()===
d.id}).length||((c=b.option(d)).attr("data-select2-tag",!0),b._removeOldTags(),b.addOptions([c]));b.trigger("select",{data:d})});f.term!==a.term&&(this.$search.length&&(this.$search.val(f.term),this.$search.trigger("focus")),a.term=f.term);d.call(this,a,c)},f.prototype.tokenizer=function(d,a,c,b){d=c.get("tokenSeparators")||[];c=a.term;for(var f=0,m=this.createTag||function(b){return{id:b.term,text:b.term}};f<c.length;){var g=c[f];-1!==d.indexOf(g)?(g=c.substr(0,f),null!=(g=m(e.extend({},a,{term:g})))?
(b(g),c=c.substr(f+1)||"",f=0):f++):f++}return{term:c}},f}),g.define("select2/data/minimumInputLength",[],function(){function e(e,d,a){this.minimumInputLength=a.get("minimumInputLength");e.call(this,d,a)}return e.prototype.query=function(e,d,a){d.term=d.term||"";d.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:d.term,params:d}}):e.call(this,d,a)},e}),g.define("select2/data/maximumInputLength",[],function(){function e(e,
d,a){this.maximumInputLength=a.get("maximumInputLength");e.call(this,d,a)}return e.prototype.query=function(e,d,a){d.term=d.term||"";0<this.maximumInputLength&&d.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:d.term,params:d}}):e.call(this,d,a)},e}),g.define("select2/data/maximumSelectionLength",[],function(){function e(e,d,a){this.maximumSelectionLength=a.get("maximumSelectionLength");e.call(this,d,a)}return e.prototype.bind=
function(e,d,a){var c=this;e.call(this,d,a);d.on("select",function(){c._checkIfMaximumSelected()})},e.prototype.query=function(e,d,a){var c=this;this._checkIfMaximumSelected(function(){e.call(c,d,a)})},e.prototype._checkIfMaximumSelected=function(e,d){var a=this;this.current(function(c){c=null!=c?c.length:0;0<a.maximumSelectionLength&&c>=a.maximumSelectionLength?a.trigger("results:message",{message:"maximumSelected",args:{maximum:a.maximumSelectionLength}}):d&&d()})},e}),g.define("select2/dropdown",
["jquery","./utils"],function(e,f){function d(a,c){this.$element=a;this.options=c;d.__super__.constructor.call(this)}return f.Extend(d,f.Observable),d.prototype.render=function(){var a=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return a.attr("dir",this.options.get("dir")),this.$dropdown=a},d.prototype.bind=function(){},d.prototype.position=function(a,c){},d.prototype.destroy=function(){this.$dropdown.remove()},d}),g.define("select2/dropdown/search",["jquery"],
function(e){function f(){}return f.prototype.render=function(d){var a=d.call(this),c=this.options.get("translations").get("search");d=e('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=d,this.$search=d.find("input"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",
c()),a.prepend(d),a},f.prototype.bind=function(d,a,c){var b=this,f=a.id+"-results";d.call(this,a,c);this.$search.on("keydown",function(a){b.trigger("keypress",a);b._keyUpPrevented=a.isDefaultPrevented()});this.$search.on("input",function(b){e(this).off("keyup")});this.$search.on("keyup input",function(a){b.handleSearch(a)});a.on("open",function(){b.$search.attr("tabindex",0);b.$search.attr("aria-controls",f);b.$search.trigger("focus");window.setTimeout(function(){b.$search.trigger("focus")},0)});
a.on("close",function(){b.$search.attr("tabindex",-1);b.$search.removeAttr("aria-controls");b.$search.removeAttr("aria-activedescendant");b.$search.val("");b.$search.trigger("blur")});a.on("focus",function(){a.isOpen()||b.$search.trigger("focus")});a.on("results:all",function(a){null!=a.query.term&&""!==a.query.term||(b.showSearch(a)?b.$searchContainer[0].classList.remove("select2-search--hide"):b.$searchContainer[0].classList.add("select2-search--hide"))});a.on("results:focus",function(a){a.data._resultId?
b.$search.attr("aria-activedescendant",a.data._resultId):b.$search.removeAttr("aria-activedescendant")})},f.prototype.handleSearch=function(d){var a;this._keyUpPrevented||(a=this.$search.val(),this.trigger("query",{term:a}));this._keyUpPrevented=!1},f.prototype.showSearch=function(d,a){return!0},f}),g.define("select2/dropdown/hidePlaceholder",[],function(){function e(e,d,a,c){this.placeholder=this.normalizePlaceholder(a.get("placeholder"));e.call(this,d,a,c)}return e.prototype.append=function(e,d){d.results=
this.removePlaceholder(d.results);e.call(this,d)},e.prototype.normalizePlaceholder=function(e,d){return"string"==typeof d&&(d={id:"",text:d}),d},e.prototype.removePlaceholder=function(e,d){e=d.slice(0);for(var a=d.length-1;0<=a;a--)this.placeholder.id===d[a].id&&e.splice(a,1);return e},e}),g.define("select2/dropdown/infiniteScroll",["jquery"],function(e){function f(d,a,c,b){this.lastParams={};d.call(this,a,c,b);this.$loadingMore=this.createLoadingMore();this.loading=!1}return f.prototype.append=function(d,
a){this.$loadingMore.remove();this.loading=!1;d.call(this,a);this.showLoadingMore(a)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},f.prototype.bind=function(d,a,c){var b=this;d.call(this,a,c);a.on("query",function(a){b.lastParams=a;b.loading=!0});a.on("query:append",function(a){b.lastParams=a;b.loading=!0});this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},f.prototype.loadMoreIfNeeded=function(){var d=e.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&
d&&(d=this.$results.offset().top+this.$results.outerHeight(!1),this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)<=d+50&&this.loadMore())},f.prototype.loadMore=function(){this.loading=!0;var d=e.extend({},{page:1},this.lastParams);d.page++;this.trigger("query:append",d)},f.prototype.showLoadingMore=function(d,a){return a.pagination&&a.pagination.more},f.prototype.createLoadingMore=function(){var d=e('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),
a=this.options.get("translations").get("loadingMore");return d.html(a(this.lastParams)),d},f}),g.define("select2/dropdown/attachBody",["jquery","../utils"],function(e,f){function d(a,c,b){this.$dropdownParent=e(b.get("dropdownParent")||document.body);a.call(this,c,b)}return d.prototype.bind=function(a,c,b){var d=this;a.call(this,c,b);c.on("open",function(){d._showDropdown();d._attachPositioningHandler(c);d._bindContainerResultHandlers(c)});c.on("close",function(){d._hideDropdown();d._detachPositioningHandler(c)});
this.$dropdownContainer.on("mousedown",function(b){b.stopPropagation()})},d.prototype.destroy=function(a){a.call(this);this.$dropdownContainer.remove()},d.prototype.position=function(a,c,b){c.attr("class",b.attr("class"));c[0].classList.remove("select2");c[0].classList.add("select2-container--open");c.css({position:"absolute",top:-999999});this.$container=b},d.prototype.render=function(a){var c=e("<span></span>");a=a.call(this);return c.append(a),this.$dropdownContainer=c},d.prototype._hideDropdown=
function(a){this.$dropdownContainer.detach()},d.prototype._bindContainerResultHandlers=function(a,c){var b;this._containerResultsHandlersBound||(b=this,c.on("results:all",function(){b._positionDropdown();b._resizeDropdown()}),c.on("results:append",function(){b._positionDropdown();b._resizeDropdown()}),c.on("results:message",function(){b._positionDropdown();b._resizeDropdown()}),c.on("select",function(){b._positionDropdown();b._resizeDropdown()}),c.on("unselect",function(){b._positionDropdown();b._resizeDropdown()}),
this._containerResultsHandlersBound=!0)},d.prototype._attachPositioningHandler=function(a,c){var b=this;a="scroll.select2."+c.id;var d="resize.select2."+c.id,m="orientationchange.select2."+c.id;c=this.$container.parents().filter(f.hasScroll);c.each(function(){f.StoreData(this,"select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})});c.on(a,function(b){b=f.GetData(this,"select2-scroll-position");e(this).scrollTop(b.y)});e(window).on(a+" "+d+" "+m,function(a){b._positionDropdown();
b._resizeDropdown()})},d.prototype._detachPositioningHandler=function(a,c){a="scroll.select2."+c.id;var b="resize.select2."+c.id;c="orientationchange.select2."+c.id;this.$container.parents().filter(f.hasScroll).off(a);e(window).off(a+" "+b+" "+c)},d.prototype._positionDropdown=function(){var a=e(window),c=this.$dropdown[0].classList.contains("select2-dropdown--above"),b=this.$dropdown[0].classList.contains("select2-dropdown--below"),d=null,f=this.$container.offset();f.bottom=f.top+this.$container.outerHeight(!1);
var g=this.$container.outerHeight(!1);var l=f.top;g=f.top+g;var q=this.$dropdown.outerHeight(!1),k=a.scrollTop(),u=a.scrollTop()+a.height(),I=k<f.top-q;a=u>f.bottom+q;k={left:f.left,top:g};u=this.$dropdownParent;"static"===u.css("position")&&(u=u.offsetParent());f={top:0,left:0};(e.contains(document.body,u[0])||u[0].isConnected)&&(f=u.offset());k.top-=f.top;k.left-=f.left;c||b||(d="below");a||!I||c?!I&&a&&c&&(d="below"):d="above";("above"==d||c&&"below"!==d)&&(k.top=l-f.top-q);null!=d&&(this.$dropdown[0].classList.remove("select2-dropdown--below"),
this.$dropdown[0].classList.remove("select2-dropdown--above"),this.$dropdown[0].classList.add("select2-dropdown--"+d),this.$container[0].classList.remove("select2-container--below"),this.$container[0].classList.remove("select2-container--above"),this.$container[0].classList.add("select2-container--"+d));this.$dropdownContainer.css(k)},d.prototype._resizeDropdown=function(){var a={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(a.minWidth=a.width,a.position="relative",
a.width="auto");this.$dropdown.css(a)},d.prototype._showDropdown=function(a){this.$dropdownContainer.appendTo(this.$dropdownParent);this._positionDropdown();this._resizeDropdown()},d}),g.define("select2/dropdown/minimumResultsForSearch",[],function(){function e(e,d,a,c){this.minimumResultsForSearch=a.get("minimumResultsForSearch");0>this.minimumResultsForSearch&&(this.minimumResultsForSearch=1/0);e.call(this,d,a,c)}return e.prototype.showSearch=function(e,d){return!(function b(c){for(var d=0,e=0;e<
c.length;e++){var f=c[e];f.children?d+=b(f.children):d++}return d}(d.data.results)<this.minimumResultsForSearch)&&e.call(this,d)},e}),g.define("select2/dropdown/selectOnClose",["../utils"],function(e){function f(){}return f.prototype.bind=function(d,a,c){var b=this;d.call(this,a,c);a.on("close",function(a){b._handleSelectOnClose(a)})},f.prototype._handleSelectOnClose=function(d,a){if(a&&null!=a.originalSelect2Event&&(d=a.originalSelect2Event,"select"===d._type||"unselect"===d._type))return;d=this.getHighlightedResults();
1>d.length||null!=(d=e.GetData(d[0],"data")).element&&d.element.selected||null==d.element&&d.selected||this.trigger("select",{data:d})},f}),g.define("select2/dropdown/closeOnSelect",[],function(){function e(){}return e.prototype.bind=function(e,d,a){var c=this;e.call(this,d,a);d.on("select",function(b){c._selectTriggered(b)});d.on("unselect",function(b){c._selectTriggered(b)})},e.prototype._selectTriggered=function(e,d){(e=d.originalEvent)&&(e.ctrlKey||e.metaKey)||this.trigger("close",{originalEvent:e,
originalSelect2Event:d})},e}),g.define("select2/dropdown/dropdownCss",["../utils"],function(e){function f(){}return f.prototype.render=function(d){var a=d.call(this);d=this.options.get("dropdownCssClass")||"";return-1!==d.indexOf(":all:")&&(d=d.replace(":all:",""),e.copyNonInternalCssClasses(a[0],this.$element[0])),a.addClass(d),a},f}),g.define("select2/dropdown/tagsSearchHighlight",["../utils"],function(e){function f(){}return f.prototype.highlightFirstItem=function(d){var a=this.$results.find(".select2-results__option--selectable:not(.select2-results__option--selected)");
if(0<a.length){var c=a.first();if((a=e.GetData(c[0],"data").element)&&a.getAttribute&&"true"===a.getAttribute("data-select2-tag"))return void c.trigger("mouseenter")}d.call(this)},f}),g.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var f=e.input.length-e.maximum;e="Please delete "+f+" character";return 1!=f&&(e+="s"),e},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},
loadingMore:function(){return"Loading more results\u2026"},maximumSelected:function(e){var f="You can only select "+e.maximum+" item";return 1!=e.maximum&&(f+="s"),f},noResults:function(){return"No results found"},searching:function(){return"Searching\u2026"},removeAllItems:function(){return"Remove all items"},removeItem:function(){return"Remove item"},search:function(){return"Search"}}}),g.define("select2/defaults","jquery ./results ./selection/single ./selection/multiple ./selection/placeholder ./selection/allowClear ./selection/search ./selection/selectionCss ./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 ./dropdown/dropdownCss ./dropdown/tagsSearchHighlight ./i18n/en".split(" "),
function(e,f,d,a,c,b,n,m,g,l,q,k,u,I,p,t,Q,R,v,w,x,y,z,A,B,C,D,E,F,G,H){function r(){this.reset()}return r.prototype.apply=function(h){var k;null==(h=e.extend(!0,{},this.defaults,h)).dataAdapter&&(null!=h.ajax?h.dataAdapter=p:null!=h.data?h.dataAdapter=I:h.dataAdapter=u,0<h.minimumInputLength&&(h.dataAdapter=l.Decorate(h.dataAdapter,R)),0<h.maximumInputLength&&(h.dataAdapter=l.Decorate(h.dataAdapter,v)),0<h.maximumSelectionLength&&(h.dataAdapter=l.Decorate(h.dataAdapter,w)),h.tags&&(h.dataAdapter=
l.Decorate(h.dataAdapter,t)),null==h.tokenSeparators&&null==h.tokenizer||(h.dataAdapter=l.Decorate(h.dataAdapter,Q)));null==h.resultsAdapter&&(h.resultsAdapter=f,null!=h.ajax&&(h.resultsAdapter=l.Decorate(h.resultsAdapter,A)),null!=h.placeholder&&(h.resultsAdapter=l.Decorate(h.resultsAdapter,z)),h.selectOnClose&&(h.resultsAdapter=l.Decorate(h.resultsAdapter,D)),h.tags&&(h.resultsAdapter=l.Decorate(h.resultsAdapter,G)));null==h.dropdownAdapter&&(h.multiple?h.dropdownAdapter=x:(k=l.Decorate(x,y),h.dropdownAdapter=
k),0!==h.minimumResultsForSearch&&(h.dropdownAdapter=l.Decorate(h.dropdownAdapter,C)),h.closeOnSelect&&(h.dropdownAdapter=l.Decorate(h.dropdownAdapter,E)),null!=h.dropdownCssClass&&(h.dropdownAdapter=l.Decorate(h.dropdownAdapter,F)),h.dropdownAdapter=l.Decorate(h.dropdownAdapter,B));null==h.selectionAdapter&&(h.multiple?h.selectionAdapter=a:h.selectionAdapter=d,null!=h.placeholder&&(h.selectionAdapter=l.Decorate(h.selectionAdapter,c)),h.allowClear&&(h.selectionAdapter=l.Decorate(h.selectionAdapter,
b)),h.multiple&&(h.selectionAdapter=l.Decorate(h.selectionAdapter,n)),null!=h.selectionCssClass&&(h.selectionAdapter=l.Decorate(h.selectionAdapter,m)),h.selectionAdapter=l.Decorate(h.selectionAdapter,g));h.language=this._resolveLanguage(h.language);h.language.push("en");k=[];for(var r=0;r<h.language.length;r++){var q=h.language[r];-1===k.indexOf(q)&&k.push(q)}return h.language=k,h.translations=this._processTranslations(h.language,h.debug),h},r.prototype.reset=function(){function b(b){return b.replace(/[^\u0000-\u007E]/g,
function(b){return k[b]||b})}this.defaults={amdLanguageBase:"./i18n/",autocomplete:"off",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:l.escapeMarkup,language:{},matcher:function P(a,c){if(null==a.term||""===a.term.trim())return c;if(c.children&&0<c.children.length){for(var d=e.extend(!0,{},c),f=c.children.length-1;0<=f;f--)null==P(a,c.children[f])&&d.children.splice(f,1);return 0<d.children.length?d:P(a,d)}d=b(c.text).toUpperCase();a=b(a.term).toUpperCase();return-1<d.indexOf(a)?c:
null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(b){return b},templateResult:function(b){return b.text},templateSelection:function(b){return b.text},theme:"default",width:"resolve"}},r.prototype.applyFromElement=function(b,a){var c=b.language,d=this.defaults.language,e=a.prop("lang");a=a.closest("[lang]").prop("lang");a=Array.prototype.concat.call(this._resolveLanguage(e),this._resolveLanguage(c),
this._resolveLanguage(d),this._resolveLanguage(a));return b.language=a,b},r.prototype._resolveLanguage=function(b){if(!b||e.isEmptyObject(b))return[];if(e.isPlainObject(b))return[b];var a;b=Array.isArray(b)?b:[b];for(var c=[],d=0;d<b.length;d++)c.push(b[d]),"string"==typeof b[d]&&0<b[d].indexOf("-")&&(a=b[d].split("-")[0],c.push(a));return c},r.prototype._processTranslations=function(b,a){for(var c=new q,d=0;d<b.length;d++){var f=new q,n=b[d];if("string"==typeof n)try{f=q.loadPath(n)}catch(S){try{n=
this.defaults.amdLanguageBase+n,f=q.loadPath(n)}catch(T){a&&window.console&&console.warn&&console.warn('Select2: The language file for "'+n+'" could not be automatically loaded. A fallback will be used instead.')}}else f=e.isPlainObject(n)?new q(n):n;c.extend(f)}return c},r.prototype.set=function(b,a){var c={};c[e.camelCase(b)]=a;c=l._convertData(c);e.extend(!0,this.defaults,c)},new r}),g.define("select2/options",["jquery","./defaults","./utils"],function(e,f,d){function a(a,b){this.options=a;null!=
b&&this.fromElement(b);null!=b&&(this.options=f.applyFromElement(this.options,b));this.options=f.apply(this.options)}return a.prototype.fromElement=function(a){function b(b,a){return a.toUpperCase()}var c=["select2"];null==this.options.multiple&&(this.options.multiple=a.prop("multiple"));null==this.options.disabled&&(this.options.disabled=a.prop("disabled"));null==this.options.autocomplete&&a.prop("autocomplete")&&(this.options.autocomplete=a.prop("autocomplete"));null==this.options.dir&&(a.prop("dir")?
this.options.dir=a.prop("dir"):a.closest("[dir]").prop("dir")?this.options.dir=a.closest("[dir]").prop("dir"):this.options.dir="ltr");a.prop("disabled",this.options.disabled);a.prop("multiple",this.options.multiple);d.GetData(a[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),d.StoreData(a[0],"data",
d.GetData(a[0],"select2Tags")),d.StoreData(a[0],"tags",!0));d.GetData(a[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),a.attr("ajax--url",d.GetData(a[0],"ajaxUrl")),d.StoreData(a[0],"ajax-Url",d.GetData(a[0],"ajaxUrl")));for(var f={},g=0;g<a[0].attributes.length;g++){var l=a[0].attributes[g].name,q="data-";l.substr(0,
q.length)==q&&(l=l.substring(q.length),q=d.GetData(a[0],l),f[l.replace(/-([a-z])/g,b)]=q)}e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&a[0].dataset&&(f=e.extend(!0,{},a[0].dataset,f));var k;a=e.extend(!0,{},d.GetData(a[0]),f);for(k in a=d._convertData(a))-1<c.indexOf(k)||(e.isPlainObject(this.options[k])?e.extend(this.options[k],a[k]):this.options[k]=a[k]);return this},a.prototype.get=function(a){return this.options[a]},a.prototype.set=function(a,b){this.options[a]=b},a}),g.define("select2/core",["jquery",
"./options","./utils","./keys"],function(e,f,d,a){var c=function(a,e){null!=d.GetData(a[0],"select2")&&d.GetData(a[0],"select2").destroy();this.$element=a;this.id=this._generateId(a);e=e||{};this.options=new f(e,a);c.__super__.constructor.call(this);var b=a.attr("tabindex")||0;d.StoreData(a[0],"old-tabindex",b);a.attr("tabindex","-1");e=this.options.get("dataAdapter");this.dataAdapter=new e(a,this.options);b=this.render();this._placeContainer(b);e=this.options.get("selectionAdapter");this.selection=
new e(a,this.options);this.$selection=this.selection.render();this.selection.position(this.$selection,b);e=this.options.get("dropdownAdapter");this.dropdown=new e(a,this.options);this.$dropdown=this.dropdown.render();this.dropdown.position(this.$dropdown,b);b=this.options.get("resultsAdapter");this.results=new b(a,this.options,this.dataAdapter);this.$results=this.results.render();this.results.position(this.$results,this.$dropdown);var n=this;this._bindAdapters();this._registerDomEvents();this._registerDataEvents();
this._registerSelectionEvents();this._registerDropdownEvents();this._registerResultsEvents();this._registerEvents();this.dataAdapter.current(function(a){n.trigger("selection:update",{data:a})});a[0].classList.add("select2-hidden-accessible");a.attr("aria-hidden","true");this._syncAttributes();d.StoreData(a[0],"select2",this);a.data("select2",this)};return d.Extend(c,d.Observable),c.prototype._generateId=function(a){return"select2-"+(null!=a.attr("id")?a.attr("id"):null!=a.attr("name")?a.attr("name")+
"-"+d.generateChars(2):d.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},c.prototype._placeContainer=function(a){a.insertAfter(this.$element);var b=this._resolveWidth(this.$element,this.options.get("width"));null!=b&&a.css("width",b)},c.prototype._resolveWidth=function(a,c){var b=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==c)return b=this._resolveWidth(a,"style"),null!=b?b:this._resolveWidth(a,"element");if("element"==c)return b=a.outerWidth(!1),0>=b?"auto":b+"px";
if("style"!=c)return"computedstyle"!=c?c:window.getComputedStyle(a[0]).width;a=a.attr("style");if("string"!=typeof a)return null;a=a.split(";");c=0;for(var d=a.length;c<d;c+=1){var e=a[c].replace(/\s/g,"").match(b);if(null!==e&&1<=e.length)return e[1]}return null},c.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)},c.prototype._registerDomEvents=
function(){var a=this;this.$element.on("change.select2",function(){a.dataAdapter.current(function(b){a.trigger("selection:update",{data:b})})});this.$element.on("focus.select2",function(b){a.trigger("focus",b)});this._syncA=d.bind(this._syncAttributes,this);this._syncS=d.bind(this._syncSubtree,this);this._observer=new window.MutationObserver(function(b){a._syncA();a._syncS(b)});this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})},c.prototype._registerDataEvents=function(){var a=
this;this.dataAdapter.on("*",function(b,c){a.trigger(b,c)})},c.prototype._registerSelectionEvents=function(){var a=this,c=["toggle","focus"];this.selection.on("toggle",function(){a.toggleDropdown()});this.selection.on("focus",function(b){a.focus(b)});this.selection.on("*",function(b,d){-1===c.indexOf(b)&&a.trigger(b,d)})},c.prototype._registerDropdownEvents=function(){var a=this;this.dropdown.on("*",function(b,c){a.trigger(b,c)})},c.prototype._registerResultsEvents=function(){var a=this;this.results.on("*",
function(b,c){a.trigger(b,c)})},c.prototype._registerEvents=function(){var b=this;this.on("open",function(){b.$container[0].classList.add("select2-container--open")});this.on("close",function(){b.$container[0].classList.remove("select2-container--open")});this.on("enable",function(){b.$container[0].classList.remove("select2-container--disabled")});this.on("disable",function(){b.$container[0].classList.add("select2-container--disabled")});this.on("blur",function(){b.$container[0].classList.remove("select2-container--focus")});
this.on("query",function(a){b.isOpen()||b.trigger("open",{});this.dataAdapter.query(a,function(c){b.trigger("results:all",{data:c,query:a})})});this.on("query:append",function(a){this.dataAdapter.query(a,function(c){b.trigger("results:append",{data:c,query:a})})});this.on("keypress",function(c){var d=c.which;b.isOpen()?d===a.ESC||d===a.UP&&c.altKey?(b.close(c),c.preventDefault()):d===a.ENTER||d===a.TAB?(b.trigger("results:select",{}),c.preventDefault()):d===a.SPACE&&c.ctrlKey?(b.trigger("results:toggle",
{}),c.preventDefault()):d===a.UP?(b.trigger("results:previous",{}),c.preventDefault()):d===a.DOWN&&(b.trigger("results:next",{}),c.preventDefault()):(d===a.ENTER||d===a.SPACE||d===a.DOWN&&c.altKey)&&(b.open(),c.preventDefault())})},c.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled"));this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},c.prototype._isChangeMutation=function(a){var b=this;if(a.addedNodes&&
0<a.addedNodes.length)for(var c=0;c<a.addedNodes.length;c++){if(a.addedNodes[c].selected)return!0}else{if(a.removedNodes&&0<a.removedNodes.length)return!0;if(Array.isArray(a))return a.some(function(a){return b._isChangeMutation(a)})}return!1},c.prototype._syncSubtree=function(a){a=this._isChangeMutation(a);var b=this;a&&this.dataAdapter.current(function(a){b.trigger("selection:update",{data:a})})},c.prototype.trigger=function(a,d){var b=c.__super__.trigger,e={open:"opening",close:"closing",select:"selecting",
unselect:"unselecting",clear:"clearing"};if(void 0===d&&(d={}),a in e){var f=e[a];e={prevented:!1,name:a,args:d};if(b.call(this,f,e),e.prevented)return void(d.prevented=!0)}b.call(this,a,d)},c.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},c.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},c.prototype.close=function(a){this.isOpen()&&this.trigger("close",{originalEvent:a})},c.prototype.isEnabled=function(){return!this.isDisabled()},
c.prototype.isDisabled=function(){return this.options.get("disabled")},c.prototype.isOpen=function(){return this.$container[0].classList.contains("select2-container--open")},c.prototype.hasFocus=function(){return this.$container[0].classList.contains("select2-container--focus")},c.prototype.focus=function(a){this.hasFocus()||(this.$container[0].classList.add("select2-container--focus"),this.trigger("focus",{}))},c.prototype.enable=function(a){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!=a&&0!==a.length||(a=[!0]);a=!a[0];this.$element.prop("disabled",a)},c.prototype.data=function(){this.options.get("debug")&&0<arguments.length&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var a=[];return this.dataAdapter.current(function(b){a=
b}),a},c.prototype.val=function(a){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==a||0===a.length)return this.$element.val();a=a[0];Array.isArray(a)&&(a=a.map(function(a){return a.toString()}));this.$element.val(a).trigger("input").trigger("change")},c.prototype.destroy=function(){d.RemoveData(this.$container[0]);this.$container.remove();
this._observer.disconnect();this._syncS=this._syncA=this._observer=null;this.$element.off(".select2");this.$element.attr("tabindex",d.GetData(this.$element[0],"old-tabindex"));this.$element[0].classList.remove("select2-hidden-accessible");this.$element.attr("aria-hidden","false");d.RemoveData(this.$element[0]);this.$element.removeData("select2");this.dataAdapter.destroy();this.selection.destroy();this.dropdown.destroy();this.results.destroy();this.results=this.dropdown=this.selection=this.dataAdapter=
null},c.prototype.render=function(){var a=e('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return a.attr("dir",this.options.get("dir")),this.$container=a,this.$container[0].classList.add("select2-container--"+this.options.get("theme")),d.StoreData(a[0],"element",this.$element),a},c}),g.define("select2/dropdown/attachContainer",[],function(){function e(e,d,a){e.call(this,d,a)}return e.prototype.position=function(e,
d,a){a.find(".dropdown-wrapper").append(d);d[0].classList.add("select2-dropdown--below");a[0].classList.add("select2-container--below")},e}),g.define("select2/dropdown/stopPropagation",[],function(){function e(){}return e.prototype.bind=function(e,d,a){e.call(this,d,a);this.$dropdown.on("blur change click dblclick focus focusin focusout input keydown keyup keypress mousedown mouseenter mouseleave mousemove mouseover mouseup search touchend touchstart",function(a){a.stopPropagation()})},e}),g.define("select2/selection/stopPropagation",
[],function(){function e(){}return e.prototype.bind=function(e,d,a){e.call(this,d,a);this.$selection.on("blur change click dblclick focus focusin focusout input keydown keyup keypress mousedown mouseenter mouseleave mousemove mouseover mouseup search touchend touchstart",function(a){a.stopPropagation()})},e}),x=function(e){function f(f){var g,k=f||window.event,l=r.call(arguments,1),n,m=0,p=0,t=0,v=0,w=0;if(f=e.event.fix(k),f.type="mousewheel","detail"in k&&(p=-1*k.detail),"wheelDelta"in k&&(p=k.wheelDelta),
"wheelDeltaY"in k&&(p=k.wheelDeltaY),"wheelDeltaX"in k&&(m=-1*k.wheelDeltaX),"axis"in k&&k.axis===k.HORIZONTAL_AXIS&&(m=-1*p,p=0),n=0===p?m:p,"deltaY"in k&&(n=p=-1*k.deltaY),"deltaX"in k&&(m=k.deltaX,0===p&&(n=-1*m)),0!==p||0!==m)return 1===k.deltaMode?(n*=g=e.data(this,"mousewheel-line-height"),p*=g,m*=g):2===k.deltaMode&&(n*=g=e.data(this,"mousewheel-page-height"),p*=g,m*=g),t=Math.max(Math.abs(p),Math.abs(m)),(!b||t<b)&&a(k,b=t)&&(b/=40),a(k,t)&&(n/=40,m/=40,p/=40),n=Math[1<=n?"floor":"ceil"](n/
b),m=Math[1<=m?"floor":"ceil"](m/b),p=Math[1<=p?"floor":"ceil"](p/b),q.settings.normalizeOffset&&this.getBoundingClientRect&&(t=this.getBoundingClientRect(),v=f.clientX-t.left,w=f.clientY-t.top),f.deltaX=m,f.deltaY=p,f.deltaFactor=b,f.offsetX=v,f.offsetY=w,f.deltaMode=0,l.unshift(f,n,m,p),c&&clearTimeout(c),c=setTimeout(d,200),(e.event.dispatch||e.event.handle).apply(this,l)}function d(){b=null}function a(a,b){return q.settings.adjustOldDeltas&&"mousewheel"===a.type&&0==b%120}var c,b,g=["wheel","mousewheel",
"DOMMouseScroll","MozMousePixelScroll"],m="onwheel"in document||9<=document.documentMode?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],r=Array.prototype.slice;if(e.event.fixHooks)for(var l=g.length;l;)e.event.fixHooks[g[--l]]=e.event.mouseHooks;var q=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var a=m.length;a;)this.addEventListener(m[--a],f,!1);else this.onmousewheel=f;e.data(this,"mousewheel-line-height",q.getLineHeight(this));e.data(this,
"mousewheel-page-height",q.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var a=m.length;a;)this.removeEventListener(m[--a],f,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height");e.removeData(this,"mousewheel-page-height")},getLineHeight:function(a){var b=e(a);a=b["offsetParent"in e.fn?"offsetParent":"parent"]();return a.length||(a=e("body")),parseInt(a.css("fontSize"),10)||parseInt(b.css("fontSize"),10)||16},getPageHeight:function(a){return e(a).height()},
settings:{adjustOldDeltas:!0,normalizeOffset:!0}};e.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})},"function"==typeof g.define&&g.define.amd?g.define("jquery-mousewheel",["jquery"],x):"object"==typeof exports?module.exports=x:x(t),g.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],function(e,f,d,a,c){var b;return null==e.fn.select2&&
(b=["open","close","destroy"],e.fn.select2=function(a){if("object"==typeof(a=a||{}))return this.each(function(){var b=e.extend(!0,{},a);new d(e(this),b)}),this;if("string"!=typeof a)throw Error("Invalid arguments for Select2: "+a);var f,g=Array.prototype.slice.call(arguments,1);return this.each(function(){var b=c.GetData(this,"select2");null==b&&window.console&&console.error&&console.error("The select2('"+a+"') method was called on an element that is not using Select2.");f=b[a].apply(b,g)}),-1<b.indexOf(a)?
this:f}),null==e.fn.select2.defaults&&(e.fn.select2.defaults=a),d}),{define:g.define,require:g.require});var g=x.require("jquery.select2");return t.fn.select2.amd=x,g});

Youez - 2016 - github.com/yon3zu
LinuXploit