1System.register(["select2.css"],(function(e){"use strict";var t;return{setters:[function(e){t=e.default}],execute:function(){e({AttachBody:z,Dropdown:H,DropdownSearch:G,MultipleSelection:b}),document.adoptedStyleSheets=[...document.adoptedStyleSheets,t];var n={de:{errorLoading:function(){return"Die Ergebnisse konnten nicht geladen werden."},inputTooLong:function(e){return"Bitte "+(e.input.length-e.maximum)+" Zeichen weniger eingeben"},inputTooShort:function(e){return"Bitte "+(e.minimum-e.input.length)+" Zeichen mehr eingeben"},loadingMore:function(){return"Lade mehr Ergebnisseâ¦"},maximumSelected:function(e){var t="Sie können nur "+e.maximum+" Element";return 1!=e.maximum&&(t+="e"),t+" auswählen"},noResults:function(){return"Keine Ãbereinstimmungen gefunden"},searching:function(){return"Sucheâ¦"},removeAllItems:function(){return"Entferne alle Elemente"},removeItem:function(){return"Element entfernen"},search:function(){return"Suchen"},placeholder:function(){return"suchen"}},en:{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more resultsâ¦"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searchingâ¦"},removeAllItems:function(){return"Remove all items"},removeItem:function(){return"Remove item"},search:function(){return"Search"},placeholder:function(){return"Search"}}};let s=e("Utils",{}),i=e("instance",null);function r(){var e=46656*Math.random()|0,t=46656*Math.random()|0;return(e=("000"+e.toString(36)).slice(-3))+(t=("000"+t.toString(36)).slice(-3))}function o(e){var t=e.prototype,n=[];for(var s in t){"function"==typeof t[s]&&("constructor"!==s&&n.push(s))}return n}s.Extend=function(e,t){var n={}.hasOwnProperty;function s(){this.constructor=e}for(var i in t)n.call(t,i)&&(e[i]=t[i]);return s.prototype=t.prototype,e.prototype=new s,e.__super__=t.prototype,e},s.Decorate=function(e,t){var n=o(t),s=o(e);function i(){var n=Array.prototype.unshift,s=t.prototype.constructor.length,i=e.prototype.constructor;s>0&&(n.call(arguments,e.prototype.constructor),i=t.prototype.constructor),i.apply(this,arguments)}t.displayName=e.displayName,i.prototype=new function(){this.constructor=i};for(var r=0;r<s.length;r++){var a=s[r];i.prototype[a]=e.prototype[a]}for(var l=function(e){var n=function(){};e in i.prototype&&(n=i.prototype[e]);var s=t.prototype[e];return function(){return Array.prototype.unshift.call(arguments,n),s.apply(this,arguments)}},c=0;c<n.length;c++){var u=n[c];i.prototype[u]=l(u)}return i};var a=function(){this.listeners={}};a.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},a.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},a.prototype.invoke=function(e,t){for(var n=0,s=e.length;n<s;n++)e[n].apply(this,t)},s.Observable=a,s.generateChars=function(e){for(var t="",n=0;n<e;n++){t+=Math.floor(36*Math.random()).toString(36)}return t},s.bind=function(e,t){return function(){e.apply(t,arguments)}},s._convertData=function(e){for(var t in e){var n=t.split("-"),s=e;if(1!==n.length){for(var i=0;i<n.length;i++){var r=n[i];(r=r.substring(0,1).toLowerCase()+r.substring(1))in s||(s[r]={}),i==n.length-1&&(s[r]=e[t]),s=s[r]}delete e[t]}}return e},s.hasScroll=function(e,t){var n=$(t),s=t.style.overflowX,i=t.style.overflowY;return(s!==i||"hidden"!==i&&"visible"!==i)&&("scroll"===s||"scroll"===i||(n.innerHeight()<t.scrollHeight||n.innerWidth()<t.scrollWidth))},s.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,(function(e){return t[e]}))},s.__cache={};var l=0;
1function c(e,t,n){this.$element=e,this.data=n,this.options=t,c.__super__.constructor.call(this)}s.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null!=t||(t=e.id?"select2-data-"+e.id:"select2-data-"+(++l).toString()+"-"+s.generateChars(4),e.setAttribute("data-select2-id",t)),t},s.StoreData=function(e,t,n){var i=s.GetUniqueElementId(e);s.__cache[i]||(s.__cache[i]={}),s.__cache[i][t]=n},s.GetData=function(e,t){var n=s.GetUniqueElementId(e);return t?s.__cache[n]&&null!=s.__cache[n][t]?s.__cache[n][t]:$(e).data(t):s.__cache[n]},s.RemoveData=function(e){var t=s.GetUniqueElementId(e);null!=s.__cache[t]&&delete s.__cache[t],e.removeAttribute("data-select2-id")},s.copyNonInternalCssClasses=function(e,t){var n=e.getAttribute("class").trim().split(/\s+/);n=n.filter((function(e){return 0===e.indexOf("select2-")}));var s=t.getAttribute("class").trim().split(/\s+/);s=s.filter((function(e){return 0!==e.indexOf("select2-")}));var i=n.concat(s);e.setAttribute("class",i.join(" "))},s.Extend(c,s.Observable),c.prototype.render=function(e){var t=e.id+"-results",n=$(`<ul class="select2-results__options" role="listbox" id="${t}"></ul>`);return this.options.get("multiple")&&n.attr("aria-multiselectable","true"),this.$results=n,n},c.prototype.clear=function(){this.$results.empty()},c.prototype.displayMessage=function(e){var t=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var n=$('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),s=this.options.get("translations").get(e.message);n.append(t(s(e.args))),n[0].className+=" select2-results__message",this.$results.append(n)},c.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},c.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var s=e.results[n],i=this.option(s);t.push(i)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},c.prototype.position=function(e,t){t.find(".select2-results").append(e)},c.prototype.sort=function(e){return this.options.get("sorter")(e)},c.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option--selectable"),t=e.filter(".select2-results__option--selected");t.length>0?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},c.prototype.setClasses=function(){var e=this;this.data.current((function(t){var n=t.map((function(e){return e.id.toString()}));e.$results.find(".select2-results__option--selectable").each((function(){var e=$
1(this),t=s.GetData(this,"data"),i=""+t.id;null!=t.element&&t.element.selected||null==t.element&&n.indexOf(i)>-1?(this.classList.add("select2-results__option--selected"),e.attr("aria-selected","true")):(this.classList.remove("select2-results__option--selected"),e.attr("aria-selected","false"))}))}))},c.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.html(n)},c.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},c.prototype.option=function(e){var t=document.createElement("li");t.classList.add("select2-results__option"),t.classList.add("select2-results__option--selectable");var n={role:"option"},i=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var r in(null!=e.element&&i.call(e.element,":disabled")||null==e.element&&e.disabled)&&(n["aria-disabled"]="true",t.classList.remove("select2-results__option--selectable"),t.classList.add("select2-results__option--disabled")),null==e.id&&t.classList.remove("select2-results__option--selectable"),null!=e._resultId&&(t.id=e._resultId),e.title&&(t.title=e.title),e.children&&(n.role="group",n["aria-label"]=e.text,t.classList.remove("select2-results__option--selectable"),t.classList.add("select2-results__option--group")),n){var o=n[r];t.setAttribute(r,o)}if(e.children){var a=$(t),l=document.createElement("strong");l.className="select2-results__group",this.template(e,l);for(var c=[],u=0;u<e.children.length;u++){var p=e.children[u],d=this.option(p);c.push(d)}var h=$("<ul></ul>",{class:"select2-results__options select2-results__options--nested",role:"none"});h.append(c),a.append(l),a.append(h)}else this.template(e,t);return s.StoreData(t,"data",e),t},c.prototype.bind=function(e,t){var n=this;e.on("results:all",(function(t){n.clear(),n.append(t.data),e.isOpen()&&(n.setClasses(),n.highlightFirstItem())})),e.on("results:append",(function(t){n.append(t.data),e.isOpen()&&n.setClasses()})),e.on("query",(function(e){n.hideMessages(),n.showLoading(e)})),e.on("select",(function(){e.isOpen()&&(n.setClasses(),n.options.get("scrollAfterSelect")&&n.highlightFirstItem())})),e.on("unselect",(function(){e.isOpen()&&(n.setClasses(),n.options.get("scrollAfterSelect")&&n.highlightFirstItem())})),e.on("open",(function(){n.$results.attr("aria-expanded","true"),n.$results.attr("aria-hidden","false"),n.setClasses(),n.ensureHighlightVisible()})),e.on("close",(function(){n.$results.attr("aria-expanded","false"),n.$results.attr("aria-hidden","true"),n.$results.removeAttr("aria-activedescendant")})),e.on("results:toggle",(function(){var e=n.getHighlightedResults();0!==e.length&&e.trigger("mouseup")})),e.on("results:select",(function(){var e=n.getHighlightedResults();if(0!==e.length){var t=s.GetData(e[0],"data");e.hasClass("select2-results__option--selected")?n.trigger("close",{}):n.trigger("select",{data:t})}})),e.on("results:previous",(function(){var e=n.getHighlightedResults(),t=n.$results.find(".select2-results__option--selectable"),s=t.index(e);if(!(s<=0)){var i=s-1;0===e.length&&(i=0);var r=t.eq(i);r.trigger("mouseenter");var o=n.$results.offset().top,a=r.offset().top,l=n.$results.scrollTop()+(a-o);0===i?n.$results.scrollTop(0):a-o<0&&n.$results.scrollTop(l)}})),e.on("results:next",(function(){var e=n.getHighlightedResults(),t=n.$results.find(".select2-results__option--selectable"),s=t.index(e)+1;if(!(s>=t.length)){var i=t.eq(s);i.trigger("mouseenter");var r=n.$results.offset().top+n.$results.outerHeight(!1),o=i.offset().top+i.outerHeight(!1),a=n.$results.scrollTop()+o-r;0===s?n.$results.scrollTop(0):o>r&&n.$results.scrollTop(a)}})),e.on("results:focus",(function(e){e.element[0].classList.add("select2-results__option--highlighted")})),e.on("results:message",(function(e){n.displayMessage(e)})),$.fn.mousewheel&&this.$results.on("mousewheel",(function(e){var t=n.$results.scrollTop(),s=n.$results.get(0).scrollHeight-t+e.deltaY,i=e.deltaY>0&&t-e.deltaY<=0,r=e.deltaY<0&&s<=n.$results.height();i?(n.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):r&&(n.$results.scrollTop(n.$results.get(0).scrollHeight-n.$results.height()),e.preventDefault(),e.stopPropagation())})),this.$results.on("mouseup keydown",".select2-results__option--selectable",(function(e){var t=$(this),i=s.GetData(this,"data");t.hasClass("select2-results__option--selected")?n.options.get("multiple")?n.trigger("unselect",{originalEvent:e,data:i}):n.trigger("close",{}):n.trigger("select",{originalEvent:e,data:i})})),this.$results.on("mouseenter",".select2-results__option--selectable",(function(e){var t=s.GetData(this,"data");n.getHighlightedResults().removeClass("select2-results__option--highlighted"),n.trigger("results:focus",{data:t,element:$(this)})}))},c.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},c.prototype.destroy=function(){this.$results.remove()},c.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find(".select2-results__option--selectable").index(e),n=this.$results.offset().top,s=e.offset().top,i=this.$results.scrollTop()+(s-n),r=s-n;i-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(r>this.$results.outerHeight()||r<0)&&this.$results.scrollTop(i)}},c.prototype.template=function(e,t){var n=this.options.get("templateResult"),s=this.options.get("escapeMarkup"),i=n(e,t);null==i?t.style.display="none":"string"==typeof i?t.innerHTML=s(i):$(t).append(i)};var u=8,p=9,d=13,h=27,g=32,f=38,m=40,v=46;function _(e,t){this.$element=e,this.options=t,_.__super__.constructor.call(this)}function y(){y.__super__.constructor.apply(this,arguments)}function b(e,t){b.__super__.constructor.apply(this,arguments)}function w(e,t){w.__super__.constructor.apply(this,arguments)}function x(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}function A(){}function S(){}function D(){}function O(e){this.dict=e||{}}
1s.Extend(_,s.Observable),_.prototype.render=function(){var e=$('<span role="button" class="select2-selection" aria-haspopup="dialog" aria-expanded="false"></span>');this._tabindex=0,null!=s.GetData(this.$element[0],"old-tabindex")?this._tabindex=s.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),e.attr("title",this.$element.attr("title")),e.attr("tabindex",this._tabindex),e.attr("aria-disabled","false");const t=this.$element[0].getAttribute("aria-labelledby");t&&e.attr("aria-labelledby",t);const n=this.$element[0].getAttribute("id");return n&&(this.$element[0].removeAttribute("id"),e.attr("id",n)),this.$selection=e,e},_.prototype.bind=function(e,t){var n=this;e.id;var s=e.id+"-container";t.find(".select2-selection__rendered").attr("id",s),this.$selection.attr("aria-describedby",s),this.$selection.attr("aria-controls",t.attr("data-dialog-id")),this.container=e,this.$selection.on("focus",(function(e){n.trigger("focus",e)})),this.$selection.on("blur",(function(e){n._handleBlur(e)})),this.$selection.on("keydown",(function(e){n.trigger("keypress",e),e.which===g&&e.preventDefault()})),e.on("selection:update",(function(e){n.update(e.data)})),e.on("open",(function(){n.$selection.attr("aria-expanded","true"),n._attachCloseHandler(e)})),e.on("close",(function(){n.$selection.attr("aria-expanded","false"),n.$selection.trigger("focus"),n._detachCloseHandler(e)})),e.on("enable",(function(){n.$selection.attr("tabindex",n._tabindex),n.$selection.attr("aria-disabled","false")})),e.on("disable",(function(){n.$selection.attr("tabindex","-1"),n.$selection.attr("aria-disabled","true")}))},_.prototype._handleBlur=function(e){var t=this;window.setTimeout((function(){document.activeElement==t.$selection[0]||$.contains(t.$selection[0],document.activeElement)||t.trigger("blur",e)}),1)},_.prototype._attachCloseHandler=function(e){$(document.body).on("mousedown.select2."+e.id,(function(e){var t=$(e.target).closest(".select2");$(".select2.select2-container--open").each((function(){this!=t[0]&&s.GetData(this,"element").select2("close")}))}))},_.prototype._detachCloseHandler=function(e){$(document.body).off("mousedown.select2."+e.id)},_.prototype.position=function(e,t){t.find(".select2-selection__wrapper").prepend(e)},_.prototype.destroy=function(){this._detachCloseHandler(this.container)},_.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},_.prototype.isEnabled=function(){return!this.isDisabled()},_.prototype.isDisabled=function(){return this.options.get("disabled")},s.Extend(y,_),y.prototype.render=function(){return y.__super__.render.call(this)},y.prototype.bind=function(e,t){var n=this;y.__super__.bind.apply(this,arguments),t.on("click",".select2-selection__dropdown-icon",(function(e){n.trigger("toggle",{originalEvent:e})})),this.$selection.on("mousedown",(function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})})),e.on("focus",(function(t){e.isOpen()||n.$selection.trigger("focus")}))},y.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},y.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},y.prototype.selectionContainer=function(){return $("<span></span>")},y.prototype.update=function(e){if(0===e.length)return void this.clear();var t=e[0],n=this.$selection.closest(".select2-selection__wrapper").find(".select2-selection__rendered"),s=this.display(t,n);const i=$('<span class="select2-selection__choice select2-selection__text-only"></span>'),r=$('<span class="select2-selection__choice__display"></span>');i.append(r),r.append(s),n.empty().append(i);var o=t.title||t.text;o?n.attr("title",o):n.removeAttr("title")},s.Extend(b,_),b.prototype.render=function(){var e=b.__super__.render.call(this);return e[0].classList.add("select2-selection--multiple"),this.$selection[0].classList.add("select2-selection--inline-tags"),e},b.prototype.bind=function(e,t){var n=this;b.__super__.bind.apply(this,arguments),this.$selection.on("click",(function(e){n.trigger("toggle",{originalEvent:e})})),t.on("click",".select2-selection__dropdown-icon",(function(e){n.trigger("toggle",{originalEvent:e})})),this.$selection.on("click",".select2-selection__choice__remove",(function(e){if(!n.isDisabled()){var t=$(this).parent(),i=s.GetData(t[0],"data");n.trigger("unselect",{originalEvent:e,data:i}),e.stopPropagation()}})),this.$selection.on("keydown",".select2-selection__choice__remove",(function(e){n.isDisabled()||e.stopPropagation()}))},b.prototype.clear=function(){var e=this.$selection.closest(".select2-selection__wrapper").find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},b.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},b.prototype.selectionContainer=function(e,t){var n=null;return t||!e.countTag?(n=$('<li class="select2-selection__choice select2-selection__text-only"><span class="select2-selection__choice__display"></span><span class="select2-selection__choice__display-divider" aria-hidden="true"></span></li>'),!t&&e.visuallyHidden&&n[0].classList.add("select2-hidden-accessible")):n=$('<li aria-hidden="true" tabindex="-1" class="select2-selection__choice select2-selection__text-only select2-selection--extended-count"><span class="select2-selection__choice__display"></span><span class="select2-selection__choice__display-divider" aria-hidden="true"></span></li>'),n},b.prototype.update=function(e){if(this.clear(),0===e.length)return;var t=[],n=this.$selection.closest(".select2-selection__wrapper").find(".select2-selection__rendered").attr("id")+"-choice-";e.forEach((e=>{e.visuallyHidden=!1}));let i=e;if(e.length>this.options.options.maxTagCount){const t=e.slice(this.options.options.maxTagCount);i=e.slice(0,this.options.options.maxTagCount);for(let e=0;e<i.length;e++)i[e].visuallyHidden=!0;for(let e=0;e<t.length;e++)t[e].visuallyHidden=!0;i=i.concat(t);const n=this.$element.find("option").length;i.push({countTag:!0,text:`${e.length} von ${n} ausgewählt`,disabled:!1})}for(var r=0;r<i.length;r++){var o=i[r],a=this.selectionContainer(o,!1),l="";l=o.countTag?o.text:this.display(o,a);var c=n+s.generateChars(4)+"-";if(o.id?c+=o.id:c+=s.generateChars(4),a.find(".select2-selection__choice__display").append(l).attr("id",c),!o.countTag){var u=o.title||o.text;u&&a.attr("title",u)}a.find(".select2-selection__choice__remove").attr("aria-hidden","true"),s.StoreData(a[0],"data",o),t.push(a)}this.$selection.closest(".select2-selection__wrapper").find(".select2-selection__rendered").append(t)},s.Extend(w,b),w.prototype.update=function(e){let t="";if(0===e.length)t="Keine ausgewählt";else{var n=this.$element.find("option").length;t=e.length+" von "+n+" ausgewählt"}const s=$(`<span class="select2-selection__label">${t}</span><span class="select2-selection__dropdown-icon" aria-hidden="true"></span>`);this.$selection.html(s)},x.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},x.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer(null,!0);n.html(this.display(t)),n[0].classList.add("select2-selection__placeholder"),n[0].classList.remove("select2-selection__choice");var s=t.title||t.text||n.text();return this.$selection.closest(".select2-selection__wrapper").find(".select2-selection__rendered").attr("title",s),n},x.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(t.length>1||n)return e.call(this,t);this.clear();var s=this.createPlaceholder(this.placeholder);this.$selection.closest(".select2-selection__wrapper").find(".select2-selection__rendered").append(s)},A.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.container.$container.on("click",".select2-selection__clear",(function(e){s._handleClear(e)})),t.on("keypress",(function(e){s._handleKeyboardClear(e,t)}))},A.prototype._handleClear=function(e,t){if(!this.isDisabled()){var n=this.container.$container.find(".select2-selection__clear");if(0!==n.length){t.stopPropagation();var i=s.GetData(n[0],"data"),r=this.$element.val();this.$element.val(this.placeholder.id);var o={data:i};if(this.trigger("clear",o),o.prevented)this.$element.val(r);else{for(var a=0;a<i.length;a++)if(o={data:i[a]},this.trigger("unselect",o),o.prevented)return void this.$element.val(r);this.$element.trigger("input").trigger("change"),this.$selection.trigger("focus")}}}},A.prototype._handleKeyboardClear=function(e,t,n){n.isOpen()||t.which!=v&&t.which!=u||this._handleClear(t)},A.prototype.update=function(e,t){if(e.call(this,t),this.container.$container.find(".select2-selection__clear").remove(),this.container.$container[0].classList.remove("select2-selection--clearable"),!(this.$selection.find(".select2-selection__placeholder").length>0||0===t.length)){var n=this.$selection.closest(".select2-selection__wrapper").find(".select2-selection__rendered").attr("id"),i=this.options.get("translations").get("removeAllItems"),r=$('\n <button type="button" class="select2-selection__clear">
1\n <span aria-hidden="true" class="select2-selection__clear-icon">\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" viewBox="0 0 16 16" part="svg">\n <path d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zM5.354 4.646a.5.5 0 1 0-.708.708L7.293 8l-2.647 2.646a.5.5 0 0 0 .708.708L8 8.707l2.646 2.647a.5.5 0 0 0 .708-.708L8.707 8l2.647-2.646a.5.5 0 0 0-.708-.708L8 7.293 5.354 4.646z"></path>\n </svg>\n </span>\n </button>\n ');r.attr("title",i()),r.attr("aria-label",i()),r.attr("aria-describedby",n),s.StoreData(r[0],"data",t),this.container.$container.find(".select2-selection__postfix-wrapper").prepend(r),this.container.$container[0].classList.add("select2-selection--clearable")}},S.prototype.render=function(e){var t=e.call(this),n=this.options.get("selectionCssClass")||"";return-1!==n.indexOf(":all:")&&(n=n.replace(":all:",""),s.copyNonInternalCssClasses(t[0],this.$element[0])),t.addClass(n),t},D.prototype.bind=function(e,t,n){var s=this,i=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],r=["opening","closing","selecting","unselecting","clearing"];e.call(this,t,n),t.on("*",(function(e,t){if(-1!==i.indexOf(e)){t=t||{};var n=$.Event("select2:"+e,{params:t});s.$element.trigger(n),-1!==r.indexOf(e)&&(t.prevented=n.isDefaultPrevented())}}))},O.prototype.all=function(){return this.dict},O.prototype.get=function(e){return this.dict[e]},O.prototype.extend=function(e){this.dict=$.extend({},e.all(),this.dict)};var L={"â¶":"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","â¸":"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","Ç":"DZ","Dz":"Dz","Ç
":"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","â»":"F","F":"F","á¸":"F","Æ":"F","ê»":"F","â¼":"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","â":"M","ï¼":"M","Ḿ":"M","á¹":"M","á¹":"M","â±®":"M","Æ":"M","â":"N","ï¼®":"N","Ǹ":"N","Å":"N","Ã":"N","á¹":"N","Å":"N","á¹":"N","Å
":"N","á¹":"N","á¹":"N","È ":"N","Æ":"N","ê":"N","ê¤":"N","Ç":"NJ","Ç":"Nj","â":"O","O":"O","Ã":"O","Ã":"O","Ã":"O","á»":"O","á»":"O","á»":"O","á»":"O","Ã":"O","á¹":"O","Ȭ":"O","á¹":"O","Å":"O","á¹":"O","á¹":"O","Å":"O","È®":"O","Ȱ":"O","Ã":"O","Ȫ":"O","á»":"O","Å":"O","Ç":"O","È":"O","È":"O","Æ ":"O","á»":"O","á»":"O","á» ":"O","á»":"O","Ợ":"O","á»":"O","á»":"O","Ǫ":"O","Ǭ":"O","Ã":"O","Ǿ":"O","Æ":"O","Æ":"O","ê":"O","ê":"O","Å":"OE","Æ¢":"OI","ê":"OO","È¢":"OU","â
":"P","ï¼°":"P","á¹":"P","á¹":"P","Ƥ":"P","â±£":"P","ê":"P","ê":"P","ê":"P","â":"Q","ï¼±":"Q","ê":"Q","ê":"Q","É":"Q","â":"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","â":"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","â":"V","ï¼¶":"V","á¹¼":"V","á¹¾":"V","Ʋ":"
1V","ê":"V","É
":"V","ê ":"VY","â":"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","â":"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","ê³":"aa","æ":"ae","ǽ":"ae","Ç£":"ae","êµ":"ao","ê·":"au","ê¹":"av","ê»":"av","ê½":"ay","â":"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","dz":"dz","Ç":"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","â":"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","Æ":"hv","â":"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","â":"l","ï½":"l","Å":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","Å¿":"l","Å":"l","Æ":"l","É«":"l","ⱡ":"l","ê":"l","ê":"l","ê":"l","Ç":"lj","â":"m","ï½":"m","ḿ":"m","á¹":"m","á¹":"m","ɱ":"m","ɯ":"m","â":"n","ï½":"n","ǹ":"n","Å":"n","ñ":"n","á¹
":"n","Å":"n","á¹":"n","Å":"n","á¹":"n","á¹":"n","Æ":"n","ɲ":"n","Å":"n","ê":"n","ê¥":"n","Ç":"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","Å":"oe","Æ£":"oi","È£":"ou","ê":"oo","â":"p","ï½":"p","á¹":"p","á¹":"p","Æ¥":"p","áµ½":"p","ê":"p","ê":"p","ê":"p","â ":"q","ï½":"q","É":"q","ê":"q","ê":"q","â¡":"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","â¥":"v","ï½":"v","á¹½":"v","ṿ":"v","Ê":"v","ê":"v","Ê":"v","ê¡":"vy","â¦":"w","ï½":"w","áº":"w","áº":"w","ŵ":"w","áº":"w","áº
":"w","áº":"w","áº":"w","â±³":"w","â§":"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","Î":"Î","Î":"Î","Î":"Î","Î":"Î","Ϊ":"Î","Î":"Î","Î":"Î¥","Ϋ":"Î¥","Î":"Ω","ά":"α","Î":"ε","ή":"η","ί":"ι","Ï":"ι","Î":"ι","Ï":"ο","Ï":"Ï
","Ï":"Ï
","ΰ":"Ï
","Ï":"Ï","Ï":"Ï","â":"'"};function C(e,t){C.__super__.constructor.call(this)}function E(e,t){this.$element=e,this.options=t,E.__super__.constructor.call(this)}function T(e,t){this._dataToConvert=t.get("data")||[],T.__super__.constructor.call(this,e,t)}function I(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),I.__super__.constructor.call(this,e,t)}
1function k(e,t,n){var s=n.get("tags"),i=n.get("createTag");void 0!==i&&(this.createTag=i);var r=n.get("insertTag");if(void 0!==r&&(this.insertTag=r),e.call(this,t,n),Array.isArray(s))for(var o=0;o<s.length;o++){var a=s[o],l=this._normalizeItem(a),c=this.option(l);this.$element.append(c)}}function M(e,t,n){var s=n.get("tokenizer");void 0!==s&&(this.tokenizer=s),e.call(this,t,n)}function U(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}function R(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}function q(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}function H(e,t){this.$element=e,this.options=t,H.__super__.constructor.call(this)}function G(){}function N(e,t,n,s){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,s)}function P(e,t,n,s){this.lastParams={},e.call(this,t,n,s),this.$loadingMore=this.createLoadingMore(),this.loading=!1}function z(e,t,n){e.call(this,t,n)}function j(e){for(var t=0,n=0;n<e.length;n++){var s=e[n];s.children?t+=j(s.children):t++}return t}function Y(e,t,n,s){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,s)}function F(){}function K(){}function Z(){}function W(){}function B(){this.reset()}s.Extend(C,s.Observable),C.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},C.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},C.prototype.bind=function(e,t){},C.prototype.destroy=function(){},C.prototype.generateResultId=function(e,t){var n=e.id+"-result-";return n+=s.generateChars(4),null!=t.id?n+="-"+t.id.toString():n+="-"+s.generateChars(4),n},s.Extend(E,C),E.prototype.current=function(e){var t=this;e(Array.prototype.map.call(this.$element[0].querySelectorAll(":checked"),(function(e){return t.item($(e))})))},E.prototype.select=function(e){var t=this;if(e.selected=!0,null!=e.element&&"option"===e.element.tagName.toLowerCase())return e.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current((function(n){var s=[];(e=[e]).push.apply(e,n);for(var i=0;i<e.length;i++){var r=e[i].id;-1===s.indexOf(r)&&s.push(r)}t.$element.val(s),t.$element.trigger("input").trigger("change")}));else{var n=e.id;this.$element.val(n),this.$element.trigger("input").trigger("change")}},E.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple")){if(e.selected=!1,null!=e.element&&"option"===e.element.tagName.toLowerCase())return e.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current((function(n){for(var s=[],i=0;i<n.length;i++){var r=n[i].id;r!==e.id&&-1===s.indexOf(r)&&s.push(r)}t.$element.val(s),t.$element.trigger("input").trigger("change")}))}},E.prototype.bind=function(e,t){var n=this;this.container=e,e.on("select",(function(e){n.select(e.data)})),e.on("unselect",(function(e){n.unselect(e.data)}))},E.prototype.destroy=function(){this.$element.find("*").each((function(){s.RemoveData(this)}))},E.prototype.query=function(e,t){var n=[],s=this;this.$element.children().each((function(){if("option"===this.tagName.toLowerCase()||"optgroup"===this.tagName.toLowerCase()){var t=$(this),i=s.item(t),r=s.matches(e,i);null!==r&&n.push(r)}})),t({results:n})},E.prototype.addOptions=function(e){this.$element.append(e)},E.prototype.option=function(e){var t;e.children?(t=document.createElement("optgroup")).label=e.text:void 0!==(t=document.createElement("option")).textContent?t.textContent=e.text:t.innerText=e.text,void 0!==e.id&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var n=this._normalizeItem(e);return n.element=t,s.StoreData(t,"data",n),$(t)},E.prototype.item=function(e){var t={};if(null!=(t=s.GetData(e[0],"data")))return t;var n=e[0];if("option"===n.tagName.toLowerCase())t={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if("optgroup"===n.tagName.toLowerCase()){t={text:e.prop("label"),children:[],title:e.prop("title")};for(var i=e.children("option"),r=[],o=0;o<i.length;o++){var a=$(i[o]),l=this.item(a);r.push(l)}t.children=r}return(t=this._normalizeItem(t)).element=e[0],s.StoreData(e[0],"data",t),t},E.prototype._normalizeItem=function(e){e!==Object(e)&&(e={id:e,text:e});return null!=(e=$.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),$.extend({},{selected:!1,disabled:!1},e)},E.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},s.Extend(T,E),T.prototype.bind=function(e,t){T.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},T.prototype.select=function(e){var t=this.$element.find("option").filter((function(t,n){return n.value==e.id.toString()}));0===t.length&&(t=this.option(e),this.addOptions(t)),T.__super__.select.call(this,e)},T.prototype.convertToOptions=function(e){var t=this,n=this.$element.find("option"),s=n.map((function(){return t.item($(this)).id})).get(),i=[];function r(e){return function(){return $(this).val()==e.id}}for(var o=0;o<e.length;o++){var a=this._normalizeItem(e[o]);if(s.indexOf(a.id)>=0){var l=n.filter(r(a)),c=this.item(l),u=$.extend(!0,{},a,c),p=this.option(u);l.replaceWith(p)}else{var d=this.option(a);if(a.children){var h=this.convertToOptions(a.children);d.append(h)}i.push(d)}}return i},s.Extend(I,T),I.prototype._applyDefaults=function(e){var t={data:function(e){return $.extend({},e,{q:e.term})},transport:function(e,t,n){var s=$.ajax(e);return s.then(t),s.fail(n),s}};return $.extend({},t,e,!0)},I.prototype.processResults=function(e){return e},I.prototype.query=function(e,t){var n=this;null!=this._request&&("function"==typeof this._request.abort&&this._request.abort(),this._request=null);var s=$.extend({type:"GET"},this.ajaxOptions);function i(){var i=s.transport(s,(function(s){var i=n.processResults(s,e);n.options.get("debug")&&window.console&&console.error&&(i&&i.results&&Array.isArray(i.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(i)}),(function(){(!("status"in i)||0!==i.status&&"0"!==i.status)&&n.trigger("results:message",{message:"errorLoading"})}));n._request=i}"function"==typeof s.url&&(s.url=s.url.call(this.$element,e)),"function"==typeof s.data&&(s.data=s.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(i,this.ajaxOptions.delay)):i()},k.prototype.query=function(e,t,n){var s=this;this._removeOldTags(),null!=t.term&&null==t.page?e.call(this,t,(function e(i,r){for(var o=i.results,a=0;a<o.length;a++){var l=o[a],c=null!=l.children&&!e({results:l.children},!0);if((l.text||"").toUpperCase()===(t.term||"").toUpperCase()||c)return!r&&(i.data=o,void n(i))}if(r)return!0;var u=s.createTag(t);if(null!=u){var p=s.option(u);p.attr("data-select2-tag","true"),s.addOptions([p]),s.insertTag(o,u)}i.results=o,n(i)})):e.call(this,t,n)},k.prototype.createTag=function(e,t){if(null==t.term)return null;var n=t.term.trim();return""===n?null:{id:n,text:n}},k.prototype.insertTag=function(e,t,n){t.unshift(n)},k.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each((function(){this.selected||$(this).remove()}))},M.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},M.prototype.query=function(e,t,n){var s=this;t.term=t.term||"";
1var i=this.tokenizer(t,this.options,(function(e){var t=s._normalizeItem(e);if(!s.$element.find("option").filter((function(){return $(this).val()===t.id})).length){var n=s.option(t);n.attr("data-select2-tag",!0),s._removeOldTags(),s.addOptions([n])}!function(e){s.trigger("select",{data:e})}(t)}));i.term!==t.term&&(this.$search.length&&(this.$search.val(i.term),this.$search.trigger("focus")),t.term=i.term),e.call(this,t,n)},M.prototype.tokenizer=function(e,t,n,s){for(var i=n.get("tokenSeparators")||[],r=t.term,o=0,a=this.createTag||function(e){return{id:e.term,text:e.term}};o<r.length;){var l=r[o];if(-1!==i.indexOf(l)){var c=r.substr(0,o),u=a($.extend({},t,{term:c}));null!=u?(s(u),r=r.substr(o+1)||"",o=0):o++}else o++}return{term:r}},U.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},R.prototype.query=function(e,t,n){t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},q.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),t.on("select",(function(){s._checkIfMaximumSelected()}))},q.prototype.query=function(e,t,n){var s=this;this._checkIfMaximumSelected((function(){e.call(s,t,n)}))},q.prototype._checkIfMaximumSelected=function(e,t){var n=this;this.current((function(e){var s=null!=e?e.length:0;n.maximumSelectionLength>0&&s>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):t&&t()}))}
1,s.Extend(H,s.Observable),H.prototype.render=function(){var e=$('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},H.prototype.bind=function(){},H.prototype.position=function(e,t){},H.prototype.destroy=function(){this.$dropdown.remove()},G.prototype.render=function(e){var t=e.call(this),n="select2-search-field-"+s.generateChars(4),i=$(`<span class="select2-search select2-search--dropdown">\n <label class="select2-search__label" for="${n}">Optionen filtern</label>\n <input id="${n}" type="text" aria-autocomplete='list' role="combobox" class="select2-search__field" tabindex="-1" autocorrect="off" autocapitalize="none" autocomplete="off" spellcheck="false" />\n </span>`);return this.$searchContainer=i,this.$search=i.find("input"),t.prepend(i),t},G.prototype.bind=function(e,t,n){var s=this,i=t.id+"-results";e.call(this,t,n),this.$search.on("keydown",(function(e){s.trigger("keypress",e),s._keyUpPrevented=e.isDefaultPrevented()})),this.$search.on("input",(function(e){$(this).off("keyup")})),this.$search.on("keyup input",(function(e){s.handleSearch(e)})),t.on("open",(function(){s.$search.attr("tabindex",0),s.$search.attr("aria-controls",i),s.$search.trigger("focus"),window.setTimeout((function(){s.$search.trigger("focus")}),0)})),t.on("close",(function(){s.$search.attr("tabindex",-1),s.$search.removeAttr("aria-controls"),s.$search.removeAttr("aria-activedescendant"),s.$search.val(""),s.$search.trigger("blur")})),t.on("focus",(function(){t.isOpen()||s.$search.trigger("focus")})),t.on("results:all",(function(e){null!=e.query.term&&""!==e.query.term||(s.showSearch(e)?s.$searchContainer[0].classList.remove("select2-search--hide"):s.$searchContainer[0].classList.add("select2-search--hide"))})),t.on("results:focus",(function(e){e.data._resultId?s.$search.attr("aria-activedescendant",e.data._resultId):s.$search.removeAttr("aria-activedescendant")}))},G.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},G.prototype.showSearch=function(e,t){return!0},N.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},N.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},N.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),s=t.length-1;s>=0;s--){var i=t[s];this.placeholder.id===i.id&&n.splice(s,1)}return n},P.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},P.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),t.on("query",(function(e){s.lastParams=e,s.loading=!0})),t.on("query:append",(function(e){s.lastParams=e,s.loading=!0})),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},P.prototype.loadMoreIfNeeded=function(){var e=$.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&e&&(this.$results.offset().top+this.$results.outerHeight(!1)+50>=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)&&this.loadMore())},P.prototype.loadMore=function(){this.loading=!0;var e=$.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},P.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more}
1,P.prototype.createLoadingMore=function(){var e=$('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),t=this.options.get("translations").get("loadingMore");return e.html(t(this.lastParams)),e},z.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),t.on("open",(function(){s._showDropdown()})),t.on("close",(function(){s._hideDropdown()})),this.$dropdownParent=n,this.$dropdownContainer.on("mousedown",(function(e){e.stopPropagation()}))},z.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},z.prototype.position=function(e,t,n){t.attr("class","select2-dropdown__wrapper"),t[0].classList.remove("select2"),t[0].classList.add("select2-container--open"),t[0].setAttribute("id",n.attr("data-dialog-id")),t[0].setAttribute("role","dialog"),this.$container=n},z.prototype.render=function(e){var t=$("<span></span>"),n=e.call(this);return t.append(n),this.$dropdownContainer=t,t},z.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},z.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent)},Y.prototype.showSearch=function(e,t){return!(j(t.d.ata.results)<this.minimumResultsForSearch)&&e.call(this,t)},F.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),t.on("close",(function(e){s._handleSelectOnClose(e)}))},F.prototype._handleSelectOnClose=function(e,t){if(t&&null!=t.originalSelect2Event){var n=t.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var r=s.GetData(i[0],"data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},K.prototype.bind=function(e,t,n){var s=this;e.call(this,t,n),t.on("select",(function(e){s._selectTriggered(e)})),t.on("unselect",(function(e){s._selectTriggered(e)}))},K.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},Z.prototype.render=function(e){var t=e.call(this),n=this.options.get("dropdownCssClass")||"";return-1!==n.indexOf(":all:")&&(n=n.replace(":all:",""),s.copyNonInternalCssClasses(t[0],this.$element[0])),t.addClass(n),t},W.prototype.highlightFirstItem=function(e){var t=this.$results.find(".select2-results__option--selectable:not(.select2-results__option--selected)");if(t.length>0){var n=t.first(),i=s.GetData(n[0],"data").element;if(i&&i.getAttribute&&"true"===i.getAttribute("data-select2-tag"))return void n.trigger("mouseenter")}e.call(this)},B.prototype.apply=function(e){(e=$.extend(!0,{},this.defaults,e)).multiple&&(e.allowClear=!0),null==e.dataAdapter&&(null!=e.ajax?e.dataAdapter=I:null!=e.data?e.dataAdapter=T:e.dataAdapter=E,e.minimumInputLength>0&&(e.dataAdapter=s.Decorate(e.dataAdapter,U)),e.maximumInputLength>0&&(e.dataAdapter=s.Decorate(e.dataAdapter,R)),e.maximumSelectionLength>0&&(e.dataAdapter=s.Decorate(e.dataAdapter,q)),e.tags&&(e.dataAdapter=s.Decorate(e.dataAdapter,k)),null==e.tokenSeparators&&null==e.tokenizer||(e.dataAdapter=s.Decorate(e.dataAdapter,M))),null==e.resultsAdapter&&(e.resultsAdapter=c,null!=e.ajax&&(e.resultsAdapter=s.Decorate(e.resultsAdapter,P)),null!=e.placeholder&&(e.resultsAdapter=s.Decorate(e.resultsAdapter,N)),e.selectOnClose&&(e.resultsAdapter=s.Decorate(e.resultsAdapter,F)),e.tags&&(e.resultsAdapter=s.Decorate(e.resultsAdapter,W))),e.multiple,null==e.dropdownAdapter&&(e.dropdownAdapter=s.Decorate(H,G),0!==e.minimumResultsForSearch&&(e.dropdownAdapter=s.Decorate(e.dropdownAdapter,Y)),e.closeOnSelect&&(e.dropdownAdapter=s.Decorate(e.dropdownAdapter,K)),null!=e.dropdownCssClass&&(e.dropdownAdapter=s.Decorate(e.dropdownAdapter,Z)),e.dropdownAdapter=s.Decorate(e.dropdownAdapter,z)),null==e.selectionAdapter&&(e.multiple?e.selectionAdapter=b:e.selectionAdapter=y,null!=e.placeholder&&(e.selectionAdapter=s.Decorate(e.selectionAdapter,x)),e.allowClear&&(e.selectionAdapter=s.Decorate(e.selectionAdapter,A)),null!=e.selectionCssClass&&(e.selectionAdapter=s.Decorate(e.selectionAdapter,S)),e.selectionAdapter=s.Decorate(e.selectionAdapter,D)),e.language=this._resolveLanguage(e.language);for(var t=[],n=0;n<e.language.length;n++){var i=e.language[n];-1===t.indexOf(i)&&t.push(i)}return e.language=t,e.translations=this._processTranslations(e.language,e.debug),e},B.prototype.reset=function(){function e(e){return e.replace(/[^\u
10000-\u007E]/g,(function(e){return L[e]||e}))}this.defaults={allowClear:!1,autocomplete:"off",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:s.escapeMarkup,language:n.en,matcher:function t(n,s){if(null==n.term||""===n.term.trim())return s;if(s.children&&s.children.length>0){for(var i=$.extend(!0,{},s),r=s.children.length-1;r>=0;r--){null==t(n,s.children[r])&&i.children.splice(r,1)}return i.children.length>0?i:t(n,i)}var o=e(s.text).toUpperCase(),a=e(n.term).toUpperCase();return o.indexOf(a)>-1?s:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,maxTagCount:3,tagsAsPills:!0,inlineSearch:!1,sorter:function(e){return e},templateResult:function(e){return $(`<span class="select2-results__checkbox" aria-hidden="true"><svg viewBox="0 0 16 16"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round"><g stroke="currentColor" stroke-width="2"><g transform="translate(3.428571, 3.428571)"><path d="M0,5.71428571 L3.42857143,9.14285714"></path><path d="M9.14285714,0 L3.42857143,9.14285714"></path></g></g></g></svg></span><span class="select2-results__label">${e.text}</span>`)},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},B.prototype.applyFromElement=function(e,t){var n=e.language,s=this.defaults.language,i=t.prop("lang"),r=t.closest("[lang]").prop("lang"),o=Array.prototype.concat.call(this._resolveLanguage(i),this._resolveLanguage(n),this._resolveLanguage(r),this._resolveLanguage(s));return e.language=o,e},B.prototype._resolveLanguage=function(e){if(!e)return[];if($.isEmptyObject(e))return[];if($.isPlainObject(e))return[e];var t;t=Array.isArray(e)?e:[e];for(var s=[],i=0;i<t.length;i++)if(s.push(t[i]),"string"==typeof t[i]&&t[i].indexOf("-")>0){var r=t[i].split("-")[0];n[r]&&s.push(n[r])}return s},B.prototype._processTranslations=function(e,t){for(var n=new O,s=0;s<e.length;s++){var i=new O;i=new O(e[s]),n.extend(i)}return n},B.prototype.set=function(e,t){var n={};n[$.camelCase(e)]=t;var i=s._convertData(n);$.extend(!0,this.defaults,i)};let V=new B;function J(e,t){this.options=e,null!=t&&this.fromElement(t),null!=t&&(this.options=V.applyFromElement(this.options,t)),this.options=V.apply(this.options)}J.prototype.fromElement=function(e){var t=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.autocomplete&&e.prop("autocomplete")&&(this.options.autocomplete=e.prop("autocomplete")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),s.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),s.StoreData(e[0],"data",s.GetData(e[0],"select2Tags")),s.StoreData(e[0],"tags",!0)),s.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",s.GetData(e[0],"ajaxUrl")),s.StoreData(e[0],"ajax-Url",s.GetData(e[0],"ajaxUrl")));var n={};function i(e,t){return t.toUpperCase()}for(var r=0;r<e[0].attributes.length;r++){var o=e[0].attributes[r].name,a="data-";if(o.substr(0,5)==a){var l=o.substring(5),c=s.GetData(e[0],l);n[l.replace(/-([a-z])/g,i)]=c}}$.fn.jquery&&"1."==$.fn.jquery.substr(0,2)&&e[0].dataset&&(n=$.extend(!0,{},e[0].dataset,n));var u=$.extend(!0,{},s.GetData(e[0]),n);for(var p in u=s._convertData(u))t.indexOf(p)>-1||($.isPlainObject(this.options[p])?$.extend(this.options[p],u[p]):this.options[p]=u[p]);return this},J.prototype.get=function(e){return this.options[e]},J.prototype.set=function(e,t){this.options[e]=t};var X=function(e,t){null!=s.GetData(e[0],"select2")&&s.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),t=t||{}
1,this.options=new J(t,e),X.__super__.constructor.call(this);var n=e.attr("tabindex")||0;s.StoreData(e[0],"old-tabindex",n),e.attr("tabindex","-1");var i=this.options.get("dataAdapter");this.dataAdapter=new i(e,this.options);var o=this.render();o.attr("data-dialog-id",`dropdown-${r()}`),o.attr("data-results-id",`results-${r()}`),this._placeContainer(o);var a=this.options.get("selectionAdapter");this.selection=new a(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,o);var l=this.options.get("dropdownAdapter");this.dropdown=new l(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,o);var c=this.options.get("resultsAdapter");this.results=new c(e,this.options,this.dataAdapter),this.$results=this.results.render(this),this.results.position(this.$results,this.$dropdown);var u=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current((function(e){u.trigger("selection:update",{data:e})})),e[0].classList.add("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),s.StoreData(e[0],"select2",this),e.data("select2",this)};if(s.Extend(X,s.Observable),X.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+s.generateChars(2):s.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},X.prototype._placeContainer=function(e){e.insertAfter(this.$element)},X.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var s=this._resolveWidth(e,"style");return null!=s?s:this._resolveWidth(e,"element")}if("element"==t){var i=e.outerWidth(!1);return i<=0?"auto":i+"px"}if("style"==t){var r=e.attr("style");if("string"!=typeof r)return null;for(var o=r.split(";"),a=0,l=o.length;a<l;a+=1){var c=o[a].replace(/\s/g,"").match(n);if(null!==c&&c.length>=1)return c[1]}return null}return"computedstyle"==t?window.getComputedStyle(e[0]).width:t},X.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)},X.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",(function(){e.dataAdapter.current((function(t){e.trigger("selection:update",{data:t})}))})),this.$element.on("focus.select2",(function(t){e.trigger("focus",t)})),this._syncA=s.bind(this._syncAttributes,this),this._syncS=s.bind(this._syncSubtree,this),this._observer=new window.MutationObserver((function(t){e._syncA(),e._syncS(t)})),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})},X.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",(function(t,n){e.trigger(t,n)}))},X.prototype._registerSelectionEvents=function(){var e=this,t=["toggle","focus"];this.selection.on("toggle",(function(){e.toggleDropdown()})),this.selection.on("focus",(function(t){e.focus(t)})),this.selection.on("*",(function(n,s){-1===t.indexOf(n)&&e.trigger(n,s)}))},X.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",(function(t,n){e.trigger(t,n)}))},X.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",(function(t,n){e.trigger(t,n)}))},X.prototype._registerEvents=function(){var e=this;this.on("open",(function(){e.$container[0].classList.add("select2-container--open")})),this.on("close",(function(){e.$container[0].classList.remove("select2-container--open")})),this.on("enable",(function(){e.$container[0].classList.remove("select2-container--disabled")})),this.on("disable",(function(){e.$container[0].classList.add("select2-container--disabled")})),this.on("blur",(function(){e.$container[0].classList.remove("select2-container--focus")})),this.on("query",(function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,(function(n){e.trigger("results:all",{data:n,query:t})}))})),this.on("query:append",(function(t){this.dataAdapter.query(t,(function(n){e.trigger("results:append",{data:n,query:t})}))}
1)),this.on("keypress",(function(t){var n=t.which;if(e.isOpen())n===h||n===p||n===f&&t.altKey?(e.close(),t.preventDefault()):n===d||n===g&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===f?(e.trigger("results:previous",{}),t.preventDefault()):n===m&&(e.trigger("results:next",{}),t.preventDefault());else{if(n===m)return e.open(),void t.preventDefault();n!==d&&n!==g||t.target&&t.target.matches(".select2-selection")&&(e.open(),t.preventDefault())}})),$(document).on("keydown",(function(t){var n=t.which;e.isOpen()&&n===h&&(e.close(t),t.preventDefault())}))},X.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},X.prototype._isChangeMutation=function(e){var t=this;if(e.addedNodes&&e.addedNodes.length>0)for(var n=0;n<e.addedNodes.length;n++){if(e.addedNodes[n].selected)return!0}else{if(e.removedNodes&&e.removedNodes.length>0)return!0;if(Array.isArray(e))return e.some((function(e){return t._isChangeMutation(e)}))}return!1},X.prototype._syncSubtree=function(e){var t=this._isChangeMutation(e),n=this;t&&this.dataAdapter.current((function(e){n.trigger("selection:update",{data:e})}))},X.prototype.trigger=function(e,t){var n=X.__super__.trigger,s={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in s){var i=s[e],r={prevented:!1,name:e,args:t};if(n.call(this,i,r),r.prevented)return void(t.prevented=!0)}n.call(this,e,t)},X.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},X.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},X.prototype.close=function(e){this.isOpen()&&this.trigger("close",{originalEvent:e})},X.prototype.isEnabled=function(){return!this.isDisabled()},X.prototype.isDisabled=function(){return this.options.get("disabled")},X.prototype.isOpen=function(){return this.$container[0].classList.contains("select2-container--open")},X.prototype.hasFocus=function(){return this.$container[0].classList.contains("select2-container--focus")},X.prototype.focus=function(e){this.hasFocus()||(this.$container[0].classList.add("select2-container--focus"),this.trigger("focus",{}))},X.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},X.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current((function(t){e=t})),e},X.prototype.val=function(e){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==e||0===e.length)return this.$element.val();var t=e[0];Array.isArray(t)&&(t=t.map((function(e){return e.toString()}))),this.$element.val(t).trigger("input").trigger("change")},X.prototype.destroy=function(){s.RemoveData(this.$container[0]),this.$container.remove(),this._observer.disconnect(),this._observer=null,this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",s.GetData(this.$element[0],"old-tabindex")),this.$element[0].classList.remove("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),s.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null}
1,X.prototype.render=function(){var e=$('<span class="select2 select2-container">\n <span class="select2-selection__wrapper">\n \n <span class="select2-selection__postfix-wrapper">\n <span class="select2-selection__dropdown-icon" aria-hidden="true">\n <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16" part="svg">\n <path fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"></path>\n </svg>\n </span>\n </span>\n </span>\n <span class="dropdown-wrapper" aria-hidden="true"></span>\n <span class="select2-messages" aria-live="polite"></span></span>\n ');return this.$element.prop("multiple")?e.find(".select2-selection__wrapper").prepend('<ul class="select2-selection__rendered"></ul>'):e.find(".select2-selection__wrapper").prepend('<span class="select2-selection__rendered"></span>'),e.attr("dir",this.options.get("dir")),this.$container=e,this.$container[0].classList.add("select2-container--"+this.options.get("theme")),s.StoreData(e[0],"element",this.$element),e},null==$.fn.select2){var Q=["open","close","destroy"];$.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each((function(){var n=$.extend(!0,{},t);e("instance",i=new X($(this),n))})),this;if("string"==typeof t){var n,r=Array.prototype.slice.call(arguments,1);return this.each((function(){e("instance",i=s.GetData(this,"select2")),null==i&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),n=i[t].apply(i,r)})),Q.indexOf(t)>-1?this:n}throw new Error("Invalid arguments for Select2: "+t)}}null==$.fn.select2.defaults&&($.fn.select2.defaults=V)}}})); 2//# sourceMappingURL=select2.system.js.map
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.