{"request":{"hurl":"https:\/\/www.livingwage-sf.org\/wp-content\/plugins\/woocommerce\/assets\/js\/selectWoo\/selectWoo.full.min.js","inline":"","enable_minification":false,"type":"js","handle":"selectWoo","version":"1.0.9-wc.9.3.3"},"log":{"url":"\/wp-content\/plugins\/woocommerce\/assets\/js\/selectWoo\/selectWoo.full.min.js","success":true},"code":"\/*!\n * SelectWoo 1.0.10\n * https:\/\/github.com\/woocommerce\/selectWoo\n *\n * Released under the MIT license\n * https:\/\/github.com\/woocommerce\/selectWoo\/blob\/master\/LICENSE.md\n *\/\n!function(e){\"function\"==typeof define&&define.amd?define([\"jquery\"],e):\"object\"==typeof module&&module.exports?module.exports=function(t,n){return n===undefined&&(n=\"undefined\"!=typeof window?require(\"jquery\"):require(\"jquery\")(t)),e(n),n}:e(jQuery)}(function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t=e.fn.select2.amd;var n,i,o,r;return t&&t.requirejs||(t?i=t:t={},function(e){var t,r,s,a,l={},c={},u={},d={},p=Object.prototype.hasOwnProperty,h=[].slice,f=\/\\.js$\/;function g(e,t){return p.call(e,t)}function m(e,t){var n,i,o,r,s,a,l,c,d,p,h,g=t&&t.split(\"\/\"),m=u.map,v=m&&m[\"*\"]||{};if(e){for(s=(e=e.split(\"\/\")).length-1,u.nodeIdCompat&&f.test(e[s])&&(e[s]=e[s].replace(f,\"\")),\".\"===e[0].charAt(0)&&g&&(e=g.slice(0,g.length-1).concat(e)),d=0;d<e.length;d++)if(\".\"===(h=e[d]))e.splice(d,1),d-=1;else if(\"..\"===h){if(0===d||1===d&&\"..\"===e[2]||\"..\"===e[d-1])continue;d>0&&(e.splice(d-1,2),d-=2)}e=e.join(\"\/\")}if((g||v)&&m){for(d=(n=e.split(\"\/\")).length;d>0;d-=1){if(i=n.slice(0,d).join(\"\/\"),g)for(p=g.length;p>0;p-=1)if((o=m[g.slice(0,p).join(\"\/\")])&&(o=o[i])){r=o,a=d;break}if(r)break;!l&&v&&v[i]&&(l=v[i],c=d)}!r&&l&&(r=l,a=c),r&&(n.splice(0,a,r),e=n.join(\"\/\"))}return e}function v(t,n){return function(){var i=h.call(arguments,0);return\"string\"!=typeof i[0]&&1===i.length&&i.push(null),r.apply(e,i.concat([t,n]))}}function y(e){return function(t){l[e]=t}}function _(n){if(g(c,n)){var i=c[n];delete c[n],d[n]=!0,t.apply(e,i)}if(!g(l,n)&&!g(d,n))throw new Error(\"No \"+n);return l[n]}function w(e){var t,n=e?e.indexOf(\"!\"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function $(e){return e?w(e):[]}s=function(e,t){var n,i,o=w(e),r=o[0],s=t[1];return e=o[1],r&&(n=_(r=m(r,s))),r?e=n&&n.normalize?n.normalize(e,(i=s,function(e){return m(e,i)})):m(e,s):(r=(o=w(e=m(e,s)))[0],e=o[1],r&&(n=_(r))),{f:r?r+\"!\"+e:e,n:e,pr:r,p:n}},a={require:function(e){return v(e)},exports:function(e){var t=l[e];return void 0!==t?t:l[e]={}},module:function(e){return{id:e,uri:\"\",exports:l[e],config:function(e){return function(){return u&&u.config&&u.config[e]||{}}}(e)}}},t=function(t,n,i,o){var r,u,p,h,f,m,w,b=[],x=typeof i;if(m=$(o=o||t),\"undefined\"===x||\"function\"===x){for(n=!n.length&&i.length?[\"require\",\"exports\",\"module\"]:n,f=0;f<n.length;f+=1)if(\"require\"===(u=(h=s(n[f],m)).f))b[f]=a.require(t);else if(\"exports\"===u)b[f]=a.exports(t),w=!0;else if(\"module\"===u)r=b[f]=a.module(t);else if(g(l,u)||g(c,u)||g(d,u))b[f]=_(u);else{if(!h.p)throw new Error(t+\" missing \"+u);h.p.load(h.n,v(o,!0),y(u),{}),b[f]=l[u]}p=i?i.apply(l[t],b):undefined,t&&(r&&r.exports!==e&&r.exports!==l[t]?l[t]=r.exports:p===e&&w||(l[t]=p))}else t&&(l[t]=i)},n=i=r=function(n,i,o,l,c){if(\"string\"==typeof n)return a[n]?a[n](i):_(s(n,$(i)).f);if(!n.splice){if((u=n).deps&&r(u.deps,u.callback),!i)return;i.splice?(n=i,i=o,o=null):n=e}return i=i||function(){},\"function\"==typeof o&&(o=l,l=c),l?t(e,n,i,o):setTimeout(function(){t(e,n,i,o)},4),r},r.config=function(e){return r(e)},n._defined=l,(o=function(e,t,n){if(\"string\"!=typeof e)throw new Error(\"See almond README: incorrect module build, no module name\");t.splice||(n=t,t=[]),g(l,e)||g(c,e)||(c[e]=[e,t,n])}).amd={jQuery:!0}}(),t.requirejs=n,t.require=i,t.define=o),t.define(\"almond\",function(){}),t.define(\"jquery\",[],function(){var t=e||$;return null==t&&console&&console.error&&console.error(\"Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page.\"),t}),t.define(\"select2\/utils\",[\"jquery\"],function(e){var t={};function n(e){var t=e.prototype,n=[];for(var i in t){\"function\"==typeof t[i]&&(\"constructor\"!==i&&n.push(i))}return n}t.Extend=function(e,t){var n={}.hasOwnProperty;function i(){this.constructor=e}for(var o in t)n.call(t,o)&&(e[o]=t[o]);return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},t.Decorate=function(e,t){var i=n(t),o=n(e);function r(){var n=Array.prototype.unshift,i=t.prototype.constructor.length,o=e.prototype.constructor;i>0&&(n.call(arguments,e.prototype.constructor),o=t.prototype.constructor),o.apply(this,arguments)}t.displayName=e.displayName,r.prototype=new function(){this.constructor=r};for(var s=0;s<o.length;s++){var a=o[s];r.prototype[a]=e.prototype[a]}for(var l=function(e){var n=function(){};e in r.prototype&&(n=r.prototype[e]);var i=t.prototype[e];return function(){return Array.prototype.unshift.call(arguments,n),i.apply(this,arguments)}},c=0;c<i.length;c++){var u=i[c];r.prototype[u]=l(u)}return r};var i=function(){this.listeners={}};return i.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},i.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)},i.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},t.Observable=i,t.generateChars=function(e){for(var t=\"\",n=0;n<e;n++){t+=Math.floor(36*Math.random()).toString(36)}return t},t.bind=function(e,t){return function(){e.apply(t,arguments)}},t._convertData=function(e){for(var t in e){var n=t.split(\"-\"),i=e;if(1!==n.length){for(var o=0;o<n.length;o++){var r=n[o];(r=r.substring(0,1).toLowerCase()+r.substring(1))in i||(i[r]={}),o==n.length-1&&(i[r]=e[t]),i=i[r]}delete e[t]}}return e},t.hasScroll=function(t,n){var i=e(n),o=n.style.overflowX,r=n.style.overflowY;return(o!==r||\"hidden\"!==r&&\"visible\"!==r)&&(\"scroll\"===o||\"scroll\"===r||(i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth))},t.escapeMarkup=function(e){var t={\"\\\\\":\"&#92;\",\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\",\"\/\":\"&#47;\"};return\"string\"!=typeof e?e:String(e).replace(\/[&<>\"'\\\/\\\\]\/g,function(e){return t[e]})},t.entityDecode=function(e){var t=document.createElement(\"textarea\");return t.innerHTML=e,t.value},t.appendMany=function(t,n){if(\"1.7\"===e.fn.jquery.substr(0,3)){var i=e();e.map(n,function(e){i=i.add(e)}),n=i}t.append(n)},t.isTouchscreen=function(){return\"undefined\"==typeof t._isTouchscreenCache&&(t._isTouchscreenCache=\"ontouchstart\"in document.documentElement),t._isTouchscreenCache},t}),t.define(\"select2\/results\",[\"jquery\",\".\/utils\"],function(e,t){function n(e,t,i){this.$element=e,this.data=i,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class=\"select2-results__options\" role=\"listbox\" tabindex=\"-1\"><\/ul>');return this.options.get(\"multiple\")&&t.attr(\"aria-multiselectable\",\"true\"),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get(\"escapeMarkup\");this.clear(),this.hideLoading();var i=e('<li role=\"alert\" aria-live=\"assertive\" class=\"select2-results__option\"><\/li>'),o=this.options.get(\"translations\").get(t.message);i.append(n(o(t.args))),i[0].className+=\" select2-results__message\",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(\".select2-results__message\").remove()},n.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],o=this.option(i);t.push(o)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger(\"results:message\",{message:\"noResults\"})},n.prototype.position=function(e,t){t.find(\".select2-results\").append(e)},n.prototype.sort=function(e){return this.options.get(\"sorter\")(e)},n.prototype.highlightFirstItem=function(){var e=this.$results.find(\".select2-results__option[data-selected]\"),t=e.filter(\"[data-selected=true]\");t.length>0?t.first().trigger(\"mouseenter\"):e.first().trigger(\"mouseenter\"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var t=this;this.data.current(function(n){var i=e.map(n,function(e){return e.id.toString()});t.$results.find(\".select2-results__option[data-selected]\").each(function(){var t=e(this),n=e.data(this,\"data\"),o=\"\"+n.id;null!=n.element&&n.element.selected||null==n.element&&e.inArray(o,i)>-1?t.attr(\"data-selected\",\"true\"):t.attr(\"data-selected\",\"false\")})})},n.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.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(\".loading-results\").remove()},n.prototype.option=function(t){var n=document.createElement(\"li\");n.className=\"select2-results__option\";var i={role:\"option\",\"data-selected\":\"false\",tabindex:-1};for(var o in t.disabled&&(delete i[\"data-selected\"],i[\"aria-disabled\"]=\"true\"),null==t.id&&delete i[\"data-selected\"],null!=t._resultId&&(n.id=t._resultId),t.title&&(n.title=t.title),t.children&&(i[\"aria-label\"]=t.text,delete i[\"data-selected\"]),i){var r=i[o];n.setAttribute(o,r)}if(t.children){var s=e(n),a=document.createElement(\"strong\");a.className=\"select2-results__group\";var l=e(a);this.template(t,a),l.attr(\"role\",\"presentation\");for(var c=[],u=0;u<t.children.length;u++){var d=t.children[u],p=this.option(d);c.push(p)}var h=e(\"<ul><\/ul>\",{\"class\":\"select2-results__options select2-results__options--nested\",role:\"listbox\"});h.append(c),s.attr(\"role\",\"list\"),s.append(a),s.append(h)}else this.template(t,n);return e.data(n,\"data\",t),n},n.prototype.bind=function(t,n){var i=this,o=t.id+\"-results\";this.$results.attr(\"id\",o),t.on(\"results:all\",function(e){i.clear(),i.append(e.data),t.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),t.on(\"results:append\",function(e){i.append(e.data),t.isOpen()&&i.setClasses()}),t.on(\"query\",function(e){i.hideMessages(),i.showLoading(e)}),t.on(\"select\",function(){t.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),t.on(\"unselect\",function(){t.isOpen()&&(i.setClasses(),i.highlightFirstItem())}),t.on(\"open\",function(){i.$results.attr(\"aria-expanded\",\"true\"),i.$results.attr(\"aria-hidden\",\"false\"),i.setClasses(),i.ensureHighlightVisible();var e=i.$results.parents(\".select2-container\").find(\"input.select2-search__field\")[0];void 0!==e&&e.focus()}),t.on(\"close\",function(){i.$results.attr(\"aria-expanded\",\"false\"),i.$results.attr(\"aria-hidden\",\"true\"),i.$results.removeAttr(\"aria-activedescendant\")}),t.on(\"results:toggle\",function(){var e=i.getHighlightedResults();0!==e.length&&e.trigger(\"mouseup\")}),t.on(\"results:select\",function(){var e=i.getHighlightedResults();if(0!==e.length){var t=e.data(\"data\");\"true\"==e.attr(\"data-selected\")?i.trigger(\"close\",{}):i.trigger(\"select\",{data:t})}}),t.on(\"results:previous\",function(){var e=i.getHighlightedResults(),t=i.$results.find(\"[data-selected]\"),n=t.index(e);if(0!==n){var o=n-1;0===e.length&&(o=0);var r=t.eq(o);r.trigger(\"mouseenter\");var s=i.$results.offset().top,a=r.offset().top,l=i.$results.scrollTop()+(a-s);0===o?i.$results.scrollTop(0):a-s<0&&i.$results.scrollTop(l)}}),t.on(\"results:next\",function(){var e=i.getHighlightedResults(),t=i.$results.find(\"[data-selected]\"),n=t.index(e)+1;if(!(n>=t.length)){var o=t.eq(n);o.trigger(\"mouseenter\");var r=i.$results.offset().top+i.$results.outerHeight(!1),s=o.offset().top+o.outerHeight(!1),a=i.$results.scrollTop()+s-r;0===n?i.$results.scrollTop(0):s>r&&i.$results.scrollTop(a)}}),t.on(\"results:focus\",function(e){e.element.addClass(\"select2-results__option--highlighted\").attr(\"aria-selected\",\"true\"),i.$results.attr(\"aria-activedescendant\",e.element.attr(\"id\"))}),t.on(\"results:message\",function(e){i.displayMessage(e)}),e.fn.mousewheel&&this.$results.on(\"mousewheel\",function(e){var t=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-t+e.deltaY,o=e.deltaY>0&&t-e.deltaY<=0,r=e.deltaY<0&&n<=i.$results.height();o?(i.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):r&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),e.preventDefault(),e.stopPropagation())}),this.$results.on(\"mouseup\",\".select2-results__option[data-selected]\",function(t){var n=e(this),o=n.data(\"data\");\"true\"!==n.attr(\"data-selected\")?i.trigger(\"select\",{originalEvent:t,data:o}):i.options.get(\"multiple\")?i.trigger(\"unselect\",{originalEvent:t,data:o}):i.trigger(\"close\",{})}),this.$results.on(\"mouseenter\",\".select2-results__option[data-selected]\",function(t){var n=e(this).data(\"data\");i.getHighlightedResults().removeClass(\"select2-results__option--highlighted\").attr(\"aria-selected\",\"false\"),i.trigger(\"results:focus\",{data:n,element:e(this)})})},n.prototype.getHighlightedResults=function(){return this.$results.find(\".select2-results__option--highlighted\")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find(\"[data-selected]\").index(e),n=this.$results.offset().top,i=e.offset().top,o=this.$results.scrollTop()+(i-n),r=i-n;o-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(r>this.$results.outerHeight()||r<0)&&this.$results.scrollTop(o)}},n.prototype.template=function(t,n){var i=this.options.get(\"templateResult\"),o=this.options.get(\"escapeMarkup\"),r=i(t,n);null==r?n.style.display=\"none\":\"string\"==typeof r?n.innerHTML=o(r):e(n).append(r)},n}),t.define(\"select2\/keys\",[],function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}}),t.define(\"select2\/selection\/base\",[\"jquery\",\"..\/utils\",\"..\/keys\"],function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var t=e('<span class=\"select2-selection\"  aria-haspopup=\"true\" aria-expanded=\"false\"><\/span>');return this._tabindex=0,null!=this.$element.data(\"old-tabindex\")?this._tabindex=this.$element.data(\"old-tabindex\"):null!=this.$element.attr(\"tabindex\")&&(this._tabindex=this.$element.attr(\"tabindex\")),t.attr(\"title\",this.$element.attr(\"title\")),t.attr(\"tabindex\",this._tabindex),this.$selection=t,t},i.prototype.bind=function(e,t){var i=this,o=(e.id,e.id+\"-results\"),r=(this.options.get(\"minimumResultsForSearch\"),Infinity,!0===this.options.get(\"required\"));this.container=e,r&&this.$selection.attr(\"aria-required\",\"true\"),this.$selection.on(\"focus\",function(e){i.trigger(\"focus\",e)}),this.$selection.on(\"blur\",function(e){i._handleBlur(e)}),this.$selection.on(\"keydown\",function(e){i.trigger(\"keypress\",e),e.which===n.SPACE&&e.preventDefault()}),e.on(\"results:focus\",function(e){i.$selection.attr(\"aria-activedescendant\",e.data._resultId)}),e.on(\"selection:update\",function(e){i.update(e.data)}),e.on(\"open\",function(){i.$selection.attr(\"aria-expanded\",\"true\"),i.$selection.attr(\"aria-owns\",o),i._attachCloseHandler(e)}),e.on(\"close\",function(){i.$selection.attr(\"aria-expanded\",\"false\"),i.$selection.removeAttr(\"aria-activedescendant\"),i.$selection.removeAttr(\"aria-owns\"),window.setTimeout(function(){i.$selection.trigger(\"focus\")},1),i._detachCloseHandler(e)}),e.on(\"enable\",function(){i.$selection.attr(\"tabindex\",i._tabindex)}),e.on(\"disable\",function(){i.$selection.attr(\"tabindex\",\"-1\")})},i.prototype._handleBlur=function(t){var n=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)||n.trigger(\"blur\",t)},1)},i.prototype._attachCloseHandler=function(t){e(document.body).on(\"mousedown.select2.\"+t.id,function(t){var n=e(t.target),i=n.closest(\".select2\");e(\".select2.select2-container--open\").each(function(){var t=e(this);this!=i[0]&&(t.data(\"element\").select2(\"close\"),setTimeout(function(){t.find(\"*:focus\").trigger(\"blur\"),n.trigger(\"focus\")},1))})})},i.prototype._detachCloseHandler=function(t){e(document.body).off(\"mousedown.select2.\"+t.id)},i.prototype.position=function(e,t){t.find(\".selection\").append(e)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(e){throw new Error(\"The `update` method must be defined in child classes.\")},i}),t.define(\"select2\/selection\/single\",[\"jquery\",\".\/base\",\"..\/utils\",\"..\/keys\"],function(e,t,n,i){function o(){o.__super__.constructor.apply(this,arguments)}return n.Extend(o,t),o.prototype.render=function(){var e=o.__super__.render.call(this);return e.addClass(\"select2-selection--single\"),e.html('<span class=\"select2-selection__rendered\"><\/span><span class=\"select2-selection__arrow\" role=\"presentation\"><b role=\"presentation\"><\/b><\/span>'),e},o.prototype.bind=function(e,t){var n=this;o.__super__.bind.apply(this,arguments);var i=e.id+\"-container\";!0===this.options.get(\"required\")&&this.$selection.find(\".select2-selection__rendered\").attr(\"aria-required\",\"true\"),this.$selection.find(\".select2-selection__rendered\").attr(\"id\",i).attr(\"role\",\"textbox\").attr(\"aria-readonly\",\"true\");var r=this.options.get(\"label\");\"string\"==typeof r?this.$selection.attr(\"aria-label\",r):this.$selection.attr(\"aria-labelledby\",i),this.$selection.attr(\"role\",\"combobox\"),this.$selection.on(\"mousedown\",function(e){1===e.which&&n.trigger(\"toggle\",{originalEvent:e})}),this.$selection.on(\"focus\",function(e){}),this.$selection.on(\"keydown\",function(t){!e.isOpen()&&t.which>=48&&t.which<=90&&e.open()}),this.$selection.on(\"blur\",function(e){}),e.on(\"focus\",function(t){e.isOpen()||n.$selection.trigger(\"focus\")}),e.on(\"selection:update\",function(e){n.update(e.data)})},o.prototype.clear=function(){this.$selection.find(\".select2-selection__rendered\").empty()},o.prototype.display=function(e,t){var n=this.options.get(\"templateSelection\");return this.options.get(\"escapeMarkup\")(n(e,t))},o.prototype.selectionContainer=function(){return e(\"<span><\/span>\")},o.prototype.update=function(e){if(0!==e.length){var t=e[0],i=this.$selection.find(\".select2-selection__rendered\"),o=n.entityDecode(this.display(t,i));i.empty().text(o),i.prop(\"title\",t.title||t.text)}else this.clear()},o}),t.define(\"select2\/selection\/multiple\",[\"jquery\",\".\/base\",\"..\/utils\"],function(e,t,n){function i(e,t){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass(\"select2-selection--multiple\"),e.html('<ul class=\"select2-selection__rendered\" aria-live=\"polite\" aria-relevant=\"additions removals\" aria-atomic=\"true\"><\/ul>'),e},i.prototype.bind=function(t,n){var o=this;i.__super__.bind.apply(this,arguments),this.$selection.on(\"click\",function(e){o.trigger(\"toggle\",{originalEvent:e})}),this.$selection.on(\"click\",\".select2-selection__choice__remove\",function(t){if(!o.options.get(\"disabled\")){var n=e(this).parent().data(\"data\");o.trigger(\"unselect\",{originalEvent:t,data:n})}}),this.$selection.on(\"keydown\",function(e){!t.isOpen()&&e.which>=48&&e.which<=90&&t.open()}),t.on(\"focus\",function(){o.focusOnSearch()})},i.prototype.clear=function(){this.$selection.find(\".select2-selection__rendered\").empty()},i.prototype.display=function(e,t){var n=this.options.get(\"templateSelection\");return this.options.get(\"escapeMarkup\")(n(e,t))},i.prototype.selectionContainer=function(){return e('<li class=\"select2-selection__choice\"><span class=\"select2-selection__choice__remove\" role=\"presentation\" aria-hidden=\"true\">&times;<\/span><\/li>')},i.prototype.focusOnSearch=function(){var e=this;\"undefined\"!=typeof e.$search&&setTimeout(function(){e._keyUpPrevented=!0,e.$search.trigger(\"focus\")},1)},i.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],i=0;i<e.length;i++){var o=e[i],r=this.selectionContainer(),s=r.html(),a=this.display(o,r);\"string\"==typeof a&&(a=n.entityDecode(a.trim())),r.text(a),r.prepend(s),r.prop(\"title\",o.title||o.text),r.data(\"data\",o),t.push(r)}var l=this.$selection.find(\".select2-selection__rendered\");n.appendMany(l,t)}},i}),t.define(\"select2\/selection\/placeholder\",[\"..\/utils\"],function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get(\"placeholder\")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return\"string\"==typeof t&&(t={id:\"\",text:t}),t},t.prototype.createPlaceholder=function(t,n){var i=this.selectionContainer();return i.text(e.entityDecode(this.display(n))),i.addClass(\"select2-selection__placeholder\").removeClass(\"select2-selection__choice\"),i},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(t.length>1||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(\".select2-selection__rendered\").append(i)},t}),t.define(\"select2\/selection\/allowClear\",[\"jquery\",\"..\/keys\"],function(e,t){function n(){}return n.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get(\"debug\")&&window.console&&console.error&&console.error(\"Select2: The `allowClear` option should be used in combination with the `placeholder` option.\"),this.$selection.on(\"mousedown\",\".select2-selection__clear\",function(e){i._handleClear(e)}),t.on(\"keypress\",function(e){i._handleKeyboardClear(e,t)})},n.prototype._handleClear=function(e,t){if(!this.options.get(\"disabled\")){var n=this.$selection.find(\".select2-selection__clear\");if(0!==n.length){t.stopPropagation();for(var i=n.data(\"data\"),o=0;o<i.length;o++){var r={data:i[o]};if(this.trigger(\"unselect\",r),r.prevented)return}this.$element.val(this.placeholder.id).trigger(\"change\"),this.trigger(\"toggle\",{})}}},n.prototype._handleKeyboardClear=function(e,n,i){i.isOpen()||n.which!=t.DELETE&&n.which!=t.BACKSPACE||this._handleClear(n)},n.prototype.update=function(t,n){if(t.call(this,n),!(this.$selection.find(\".select2-selection__placeholder\").length>0||0===n.length)){var i=e('<span class=\"select2-selection__clear\">&times;<\/span>');i.data(\"data\",n),this.$selection.find(\".select2-selection__rendered\").prepend(i)}},n}),t.define(\"select2\/selection\/search\",[\"jquery\",\"..\/utils\",\"..\/keys\"],function(e,t,n){function i(e,t,n){e.call(this,t,n)}return i.prototype.render=function(t){var n=e('<li class=\"select2-search select2-search--inline\"><input class=\"select2-search__field\" type=\"text\" tabindex=\"-1\" autocomplete=\"off\" autocorrect=\"off\" autocapitalize=\"none\" spellcheck=\"false\" role=\"textbox\" aria-autocomplete=\"list\" \/><\/li>');this.$searchContainer=n,this.$search=n.find(\"input\");var i=t.call(this);return this._transferTabIndex(),i},i.prototype.bind=function(e,t,i){var o=this,r=t.id+\"-results\";e.call(this,t,i),t.on(\"open\",function(){o.$search.attr(\"aria-owns\",r),o.$search.trigger(\"focus\")}),t.on(\"close\",function(){o.$search.val(\"\"),o.$search.removeAttr(\"aria-activedescendant\"),o.$search.removeAttr(\"aria-owns\"),o.$search.trigger(\"focus\")}),t.on(\"enable\",function(){o.$search.prop(\"disabled\",!1),o._transferTabIndex()}),t.on(\"disable\",function(){o.$search.prop(\"disabled\",!0)}),t.on(\"focus\",function(e){o.$search.trigger(\"focus\")}),t.on(\"results:focus\",function(e){o.$search.attr(\"aria-activedescendant\",e.data._resultId)}),this.$selection.on(\"focusin\",\".select2-search--inline\",function(e){o.trigger(\"focus\",e)}),this.$selection.on(\"focusout\",\".select2-search--inline\",function(e){o._handleBlur(e)}),this.$selection.on(\"keydown\",\".select2-search--inline\",function(e){if(e.stopPropagation(),o.trigger(\"keypress\",e),o._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&\"\"===o.$search.val()){var i=o.$searchContainer.prev(\".select2-selection__choice\");if(i.length>0){var r=i.data(\"data\");o.searchRemoveChoice(r),e.preventDefault()}}else e.which===n.ENTER&&(t.open(),e.preventDefault())});var s=document.documentMode,a=s&&s<=11;this.$selection.on(\"input.searchcheck\",\".select2-search--inline\",function(e){a?o.$selection.off(\"input.search input.searchcheck\"):o.$selection.off(\"keyup.search\")}),this.$selection.on(\"keyup.search input.search\",\".select2-search--inline\",function(e){if(a&&\"input\"===e.type)o.$selection.off(\"input.search input.searchcheck\");else{var t=e.which;t!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&o.handleSearch(e)}})},i.prototype._transferTabIndex=function(e){this.$search.attr(\"tabindex\",this.$selection.attr(\"tabindex\")),this.$selection.attr(\"tabindex\",\"-1\")},i.prototype.createPlaceholder=function(e,t){this.$search.attr(\"placeholder\",t.text)},i.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr(\"placeholder\",\"\"),e.call(this,t),this.$selection.find(\".select2-selection__rendered\").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger(\"focus\")},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger(\"query\",{term:e})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(e,t){this.trigger(\"unselect\",{data:t}),this.$search.val(t.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css(\"width\",\"25px\");var e=\"\";\"\"!==this.$search.attr(\"placeholder\")?e=this.$selection.find(\".select2-selection__rendered\").innerWidth():e=.75*(this.$search.val().length+1)+\"em\";this.$search.css(\"width\",e)},i}),t.define(\"select2\/selection\/eventRelay\",[\"jquery\"],function(e){function t(){}return t.prototype.bind=function(t,n,i){var o=this,r=[\"open\",\"opening\",\"close\",\"closing\",\"select\",\"selecting\",\"unselect\",\"unselecting\"],s=[\"opening\",\"closing\",\"selecting\",\"unselecting\"];t.call(this,n,i),n.on(\"*\",function(t,n){if(-1!==e.inArray(t,r)){n=n||{};var i=e.Event(\"select2:\"+t,{params:n});o.$element.trigger(i),-1!==e.inArray(t,s)&&(n.prevented=i.isDefaultPrevented())}})},t}),t.define(\"select2\/translation\",[\"jquery\",\"require\"],function(e,t){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(e){if(!(e in n._cache)){var i=t(e);n._cache[e]=i}return new n(n._cache[e])},n}),t.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\",\"\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\",\"\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\",\"\u03c9\":\"\u03c9\",\"\u03c2\":\"\u03c3\"}}),t.define(\"select2\/data\/base\",[\"..\/utils\"],function(e){function t(e,n){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error(\"The `current` method must be defined in child classes.\")},t.prototype.query=function(e,t){throw new Error(\"The `query` method must be defined in child classes.\")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var i=\"\";return i+=null!=t?t.id:e.generateChars(4),i+=\"-result-\",i+=e.generateChars(4),null!=n.id?i+=\"-\"+n.id.toString():i+=\"-\"+e.generateChars(4),i},t}),t.define(\"select2\/data\/select\",[\".\/base\",\"..\/utils\",\"jquery\"],function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,e),i.prototype.current=function(e){var t=[],i=this;this.$element.find(\":selected\").each(function(){var e=n(this),o=i.item(e);t.push(o)}),e(t)},i.prototype.select=function(e){var t=this;if(e.selected=!0,n(e.element).is(\"option\"))return e.element.selected=!0,void this.$element.trigger(\"change\");if(this.$element.prop(\"multiple\"))this.current(function(i){var o=[];(e=[e]).push.apply(e,i);for(var r=0;r<e.length;r++){var s=e[r].id;-1===n.inArray(s,o)&&o.push(s)}t.$element.val(o),t.$element.trigger(\"change\")});else{var i=e.id;this.$element.val(i),this.$element.trigger(\"change\")}},i.prototype.unselect=function(e){var t=this;if(this.$element.prop(\"multiple\")){if(e.selected=!1,n(e.element).is(\"option\"))return e.element.selected=!1,void this.$element.trigger(\"change\");this.current(function(i){for(var o=[],r=0;r<i.length;r++){var s=i[r].id;s!==e.id&&-1===n.inArray(s,o)&&o.push(s)}t.$element.val(o),t.$element.trigger(\"change\")})}},i.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)})},i.prototype.destroy=function(){this.$element.find(\"*\").each(function(){n.removeData(this,\"data\")})},i.prototype.query=function(e,t){var i=[],o=this;this.$element.children().each(function(){var t=n(this);if(t.is(\"option\")||t.is(\"optgroup\")){var r=o.item(t),s=o.matches(e,r);null!==s&&i.push(s)}}),t({results:i})},i.prototype.addOptions=function(e){t.appendMany(this.$element,e)},i.prototype.option=function(e){var t;e.children?(t=document.createElement(\"optgroup\")).label=e.text:(t=document.createElement(\"option\")).textContent!==undefined?t.textContent=e.text:t.innerText=e.text,e.id!==undefined&&(t.value=e.id),e.disabled&&(t.disabled=!0),e.selected&&(t.selected=!0),e.title&&(t.title=e.title);var i=n(t),o=this._normalizeItem(e);return o.element=t,n.data(t,\"data\",o),i},i.prototype.item=function(e){var t={};if(null!=(t=n.data(e[0],\"data\")))return t;if(e.is(\"option\"))t={id:e.val(),text:e.text(),disabled:e.prop(\"disabled\"),selected:e.prop(\"selected\"),title:e.prop(\"title\")};else if(e.is(\"optgroup\")){t={text:e.prop(\"label\"),children:[],title:e.prop(\"title\")};for(var i=e.children(\"option\"),o=[],r=0;r<i.length;r++){var s=n(i[r]),a=this.item(s);o.push(a)}t.children=o}return(t=this._normalizeItem(t)).element=e[0],n.data(e[0],\"data\",t),t},i.prototype._normalizeItem=function(e){n.isPlainObject(e)||(e={id:e,text:e});return null!=(e=n.extend({},{text:\"\"},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},{selected:!1,disabled:!1},e)},i.prototype.matches=function(e,t){return this.options.get(\"matcher\")(e,t)},i}),t.define(\"select2\/data\/array\",[\".\/select\",\"..\/utils\",\"jquery\"],function(e,t,n){function i(e,t){var n=t.get(\"data\")||[];i.__super__.constructor.call(this,e,t),this.addOptions(this.convertToOptions(n))}return t.Extend(i,e),i.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)),i.__super__.select.call(this,e)},i.prototype.convertToOptions=function(e){var i=this,o=this.$element.find(\"option\"),r=o.map(function(){return i.item(n(this)).id}).get(),s=[];function a(e){return function(){return n(this).val()==e.id}}for(var l=0;l<e.length;l++){var c=this._normalizeItem(e[l]);if(n.inArray(c.id,r)>=0){var u=o.filter(a(c)),d=this.item(u),p=n.extend(!0,{},c,d),h=this.option(p);u.replaceWith(h)}else{var f=this.option(c);if(c.children){var g=this.convertToOptions(c.children);t.appendMany(f,g)}s.push(f)}}return s},i}),t.define(\"select2\/data\/ajax\",[\".\/array\",\"..\/utils\",\"jquery\"],function(e,t,n){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)}return t.Extend(i,e),i.prototype._applyDefaults=function(e){var t={data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,i){var o=n.ajax(e);return o.then(t),o.fail(i),o}};return n.extend({},t,e,!0)},i.prototype.processResults=function(e){return e},i.prototype.query=function(e,t){var i=this;null!=this._request&&(\"function\"==typeof this._request.abort&&this._request.abort(),this._request=null);var o=n.extend({type:\"GET\"},this.ajaxOptions);function r(){var n=o.transport(o,function(n){var o=i.processResults(n,e);i.options.get(\"debug\")&&window.console&&console.error&&(o&&o.results&&Array.isArray(o.results)||console.error(\"Select2: The AJAX results did not return an array in the `results` key of the response.\")),t(o),i.container.focusOnActiveElement()},function(){n.status&&\"0\"===n.status||i.trigger(\"results:message\",{message:\"errorLoading\"})});i._request=n}\"function\"==typeof o.url&&(o.url=o.url.call(this.$element,e)),\"function\"==typeof o.data&&(o.data=o.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(r,this.ajaxOptions.delay)):r()},i}),t.define(\"select2\/data\/tags\",[\"jquery\"],function(e){function t(e,t,n){var i=n.get(\"tags\"),o=n.get(\"createTag\");o!==undefined&&(this.createTag=o);var r=n.get(\"insertTag\");if(r!==undefined&&(this.insertTag=r),e.call(this,t,n),Array.isArray(i))for(var s=0;s<i.length;s++){var a=i[s],l=this._normalizeItem(a),c=this.option(l);this.$element.append(c)}}return t.prototype.query=function(e,t,n){var i=this;this._removeOldTags(),null!=t.term&&null==t.page?e.call(this,t,function o(e,r){for(var s=e.results,a=0;a<s.length;a++){var l=s[a],c=null!=l.children&&!o({results:l.children},!0);if((l.text||\"\").toUpperCase()===(t.term||\"\").toUpperCase()||c)return!r&&(e.data=s,void n(e))}if(r)return!0;var u=i.createTag(t);if(null!=u){var d=i.option(u);d.attr(\"data-select2-tag\",!0),i.addOptions([d]),i.insertTag(s,u)}e.results=s,n(e)}):e.call(this,t,n)},t.prototype.createTag=function(e,t){var n=t.term||0==t.term?t.term.toString().trim():\"\";return\"\"===n?null:{id:n,text:n}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){this._lastTag;this.$element.find(\"option[data-select2-tag]\").each(function(){this.selected||e(this).remove()})},t}),t.define(\"select2\/data\/tokenizer\",[\"jquery\"],function(e){function t(e,t,n){var i=n.get(\"tokenizer\");i!==undefined&&(this.tokenizer=i),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(\".select2-search__field\")},t.prototype.query=function(t,n,i){var o=this;n.term=n.term||\"\";var r=this.tokenizer(n,this.options,function(t){var n=o._normalizeItem(t);if(!o.$element.find(\"option\").filter(function(){return e(this).val()===n.id}).length){var i=o.option(n);i.attr(\"data-select2-tag\",!0),o._removeOldTags(),o.addOptions([i])}!function(e){o.trigger(\"select\",{data:e})}(n)});r.term!==n.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.trigger(\"focus\")),n.term=r.term),t.call(this,n,i)},t.prototype.tokenizer=function(t,n,i,o){for(var r=i.get(\"tokenSeparators\")||[],s=n.term,a=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};a<s.length;){var c=s[a];if(-1!==e.inArray(c,r)){var u=s.substr(0,a),d=l(e.extend({},n,{term:u}));null!=d?(o(d),s=s.substr(a+1)||\"\",a=0):a++}else a++}return{term:s}},t}),t.define(\"select2\/data\/minimumInputLength\",[],function(){function e(e,t,n){this.minimumInputLength=n.get(\"minimumInputLength\"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){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)},e}),t.define(\"select2\/data\/maximumInputLength\",[],function(){function e(e,t,n){this.maximumInputLength=n.get(\"maximumInputLength\"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){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)},e}),t.define(\"select2\/data\/maximumSelectionLength\",[],function(){function e(e,t,n){this.maximumSelectionLength=n.get(\"maximumSelectionLength\"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){var i=this;this.current(function(o){var r=null!=o?o.length:0;i.maximumSelectionLength>0&&r>=i.maximumSelectionLength?i.trigger(\"results:message\",{message:\"maximumSelected\",args:{maximum:i.maximumSelectionLength}}):e.call(i,t,n)})},e}),t.define(\"select2\/dropdown\",[\"jquery\",\".\/utils\"],function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class=\"select2-dropdown\"><span class=\"select2-results\"><\/span><\/span>');return t.attr(\"dir\",this.options.get(\"dir\")),this.$dropdown=t,t},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),t.define(\"select2\/dropdown\/search\",[\"jquery\",\"..\/utils\"],function(e,t){function n(){}return n.prototype.render=function(t){var n=t.call(this),i=e('<span class=\"select2-search select2-search--dropdown\"><input class=\"select2-search__field\" type=\"text\" tabindex=\"-1\" autocomplete=\"off\" autocorrect=\"off\" autocapitalize=\"none\" spellcheck=\"false\" role=\"combobox\" aria-autocomplete=\"list\" aria-expanded=\"true\" \/><\/span>');return this.$searchContainer=i,this.$search=i.find(\"input\"),n.prepend(i),n},n.prototype.bind=function(t,n,i){var o=this,r=n.id+\"-results\";t.call(this,n,i),this.$search.on(\"keydown\",function(e){o.trigger(\"keypress\",e),o._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on(\"input\",function(t){e(this).off(\"keyup\")}),this.$search.on(\"keyup input\",function(e){o.handleSearch(e)}),n.on(\"open\",function(){o.$search.attr(\"tabindex\",0),o.$search.attr(\"aria-owns\",r),o.$search.trigger(\"focus\"),window.setTimeout(function(){o.$search.trigger(\"focus\")},0)}),n.on(\"close\",function(){o.$search.attr(\"tabindex\",-1),o.$search.removeAttr(\"aria-activedescendant\"),o.$search.removeAttr(\"aria-owns\"),o.$search.val(\"\")}),n.on(\"focus\",function(){n.isOpen()||o.$search.trigger(\"focus\")}),n.on(\"results:all\",function(e){null!=e.query.term&&\"\"!==e.query.term||(o.showSearch(e)?o.$searchContainer.removeClass(\"select2-search--hide\"):o.$searchContainer.addClass(\"select2-search--hide\"))}),n.on(\"results:focus\",function(e){o.$search.attr(\"aria-activedescendant\",e.data._resultId)})},n.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger(\"query\",{term:t})}this._keyUpPrevented=!1},n.prototype.showSearch=function(e,t){return!0},n}),t.define(\"select2\/dropdown\/hidePlaceholder\",[],function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get(\"placeholder\")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return\"string\"==typeof t&&(t={id:\"\",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;i>=0;i--){var o=t[i];this.placeholder.id===o.id&&n.splice(i,1)}return n},e}),t.define(\"select2\/dropdown\/infiniteScroll\",[\"jquery\"],function(e){function t(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&this.$results.append(this.$loadingMore)},t.prototype.bind=function(t,n,i){var o=this;t.call(this,n,i),n.on(\"query\",function(e){o.lastParams=e,o.loading=!0}),n.on(\"query:append\",function(e){o.lastParams=e,o.loading=!0}),this.$results.on(\"scroll\",function(){var t=e.contains(document.documentElement,o.$loadingMore[0]);!o.loading&&t&&(o.$results.offset().top+o.$results.outerHeight(!1)+50>=o.$loadingMore.offset().top+o.$loadingMore.outerHeight(!1)&&o.loadMore())})},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger(\"query:append\",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class=\"select2-results__option select2-results__option--load-more\"role=\"option\" aria-disabled=\"true\"><\/li>'),n=this.options.get(\"translations\").get(\"loadingMore\");return t.html(n(this.lastParams)),t},t}),t.define(\"select2\/dropdown\/attachBody\",[\"jquery\",\"..\/utils\"],function(e,t){function n(t,n,i){this.$dropdownParent=i.get(\"dropdownParent\")||e(document.body),t.call(this,n,i)}return n.prototype.bind=function(e,t,n){var i=this,o=!1;e.call(this,t,n),t.on(\"open\",function(){i._showDropdown(),i._attachPositioningHandler(t),o||(o=!0,t.on(\"results:all\",function(){i._positionDropdown(),i._resizeDropdown()}),t.on(\"results:append\",function(){i._positionDropdown(),i._resizeDropdown()}))}),t.on(\"close\",function(){i._hideDropdown(),i._detachPositioningHandler(t)}),this.$dropdownContainer.on(\"mousedown\",function(e){e.stopPropagation()})},n.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(e,t,n){t.attr(\"class\",n.attr(\"class\")),t.removeClass(\"select2\"),t.addClass(\"select2-container--open\"),t.css({position:\"absolute\",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e(\"<span><\/span>\"),i=t.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._attachPositioningHandler=function(n,i){var o=this,r=\"scroll.select2.\"+i.id,s=\"resize.select2.\"+i.id,a=\"orientationchange.select2.\"+i.id,l=this.$container.parents().filter(t.hasScroll);l.each(function(){e(this).data(\"select2-scroll-position\",{x:e(this).scrollLeft(),y:e(this).scrollTop()})}),l.on(r,function(t){var n=e(this).data(\"select2-scroll-position\");e(this).scrollTop(n.y)}),e(window).on(r+\" \"+s+\" \"+a,function(e){o._positionDropdown(),o._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,i){var o=\"scroll.select2.\"+i.id,r=\"resize.select2.\"+i.id,s=\"orientationchange.select2.\"+i.id;this.$container.parents().filter(t.hasScroll).off(o),e(window).off(o+\" \"+r+\" \"+s)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown.hasClass(\"select2-dropdown--above\"),i=this.$dropdown.hasClass(\"select2-dropdown--below\"),o=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=r.top,s.bottom=r.top+s.height;var a=this.$dropdown.outerHeight(!1),l=t.scrollTop(),c=t.scrollTop()+t.height(),u=l<r.top-a,d=c>r.bottom+a,p={left:r.left,top:s.bottom},h=this.$dropdownParent;\"static\"===h.css(\"position\")&&(h=h.offsetParent());var f=h.offset();p.left-=f.left,n||i||(o=\"below\"),d||!u||n?!u&&d&&n&&(o=\"below\"):o=\"above\",(\"above\"==o||n&&\"below\"!==o)&&(p.top=s.top-a),null!=o&&(this.$dropdown.removeClass(\"select2-dropdown--below select2-dropdown--above\").addClass(\"select2-dropdown--\"+o),this.$container.removeClass(\"select2-container--below select2-container--above\").addClass(\"select2-container--\"+o)),this.$dropdownContainer.css(p)},n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+\"px\"};this.options.get(\"dropdownAutoWidth\")&&(e.minWidth=e.width,e.position=\"relative\",e.width=\"auto\"),this.$dropdown.css(e)},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),t.define(\"select2\/dropdown\/minimumResultsForSearch\",[],function(){function e(e,t,n,i){this.minimumResultsForSearch=n.get(\"minimumResultsForSearch\"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=Infinity),e.call(this,t,n,i)}return e.prototype.showSearch=function(e,t){return!(function n(e){for(var t=0,i=0;i<e.length;i++){var o=e[i];o.children?t+=n(o.children):t++}return t}(t.data.results)<this.minimumResultsForSearch)&&e.call(this,t)},e}),t.define(\"select2\/dropdown\/selectOnClose\",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on(\"close\",function(e){i._handleSelectOnClose(e)})},e.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 o=i.data(\"data\");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger(\"select\",{data:o})}},e}),t.define(\"select2\/dropdown\/closeOnSelect\",[],function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on(\"select\",function(e){i._selectTriggered(e)}),t.on(\"unselect\",function(e){i._selectTriggered(e)})},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&n.ctrlKey||this.trigger(\"close\",{originalEvent:n,originalSelect2Event:t})},e}),t.define(\"select2\/i18n\/en\",[],function(){return{errorLoading:function(){return\"The results could not be loaded.\"},inputTooLong:function(e){var t=e.input.length-e.maximum,n=\"Please delete \"+t+\" character\";return 1!=t&&(n+=\"s\"),n},inputTooShort:function(e){return\"Please enter \"+(e.minimum-e.input.length)+\" or more characters\"},loadingMore:function(){return\"Loading more results\u2026\"},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\u2026\"}}}),t.define(\"select2\/defaults\",[\"jquery\",\"require\",\".\/results\",\".\/selection\/single\",\".\/selection\/multiple\",\".\/selection\/placeholder\",\".\/selection\/allowClear\",\".\/selection\/search\",\".\/selection\/eventRelay\",\".\/utils\",\".\/translation\",\".\/diacritics\",\".\/data\/select\",\".\/data\/array\",\".\/data\/ajax\",\".\/data\/tags\",\".\/data\/tokenizer\",\".\/data\/minimumInputLength\",\".\/data\/maximumInputLength\",\".\/data\/maximumSelectionLength\",\".\/dropdown\",\".\/dropdown\/search\",\".\/dropdown\/hidePlaceholder\",\".\/dropdown\/infiniteScroll\",\".\/dropdown\/attachBody\",\".\/dropdown\/minimumResultsForSearch\",\".\/dropdown\/selectOnClose\",\".\/dropdown\/closeOnSelect\",\".\/i18n\/en\"],function(e,t,n,i,o,r,s,a,l,c,u,d,p,h,f,g,m,v,y,_,w,$,b,x,A,C,S,O,E){function D(){this.reset()}return D.prototype.apply=function(d){if(null==(d=e.extend(!0,{},this.defaults,d)).dataAdapter){if(null!=d.ajax?d.dataAdapter=f:null!=d.data?d.dataAdapter=h:d.dataAdapter=p,d.minimumInputLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,v)),d.maximumInputLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,y)),d.maximumSelectionLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,_)),d.tags&&(d.dataAdapter=c.Decorate(d.dataAdapter,g)),null==d.tokenSeparators&&null==d.tokenizer||(d.dataAdapter=c.Decorate(d.dataAdapter,m)),null!=d.query){var E=t(d.amdBase+\"compat\/query\");d.dataAdapter=c.Decorate(d.dataAdapter,E)}if(null!=d.initSelection){var D=t(d.amdBase+\"compat\/initSelection\");d.dataAdapter=c.Decorate(d.dataAdapter,D)}}if(null==d.resultsAdapter&&(d.resultsAdapter=n,null!=d.ajax&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,x)),null!=d.placeholder&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,b)),d.selectOnClose&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,S))),null==d.dropdownAdapter){if(d.multiple)d.dropdownAdapter=w;else{var T=c.Decorate(w,$);d.dropdownAdapter=T}if(0!==d.minimumResultsForSearch&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,C)),d.closeOnSelect&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,O)),null!=d.dropdownCssClass||null!=d.dropdownCss||null!=d.adaptDropdownCssClass){var q=t(d.amdBase+\"compat\/dropdownCss\");d.dropdownAdapter=c.Decorate(d.dropdownAdapter,q)}d.dropdownAdapter=c.Decorate(d.dropdownAdapter,A)}if(null==d.selectionAdapter){if(d.multiple?d.selectionAdapter=o:d.selectionAdapter=i,null!=d.placeholder&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,r)),d.allowClear&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,s)),d.multiple&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,a)),null!=d.containerCssClass||null!=d.containerCss||null!=d.adaptContainerCssClass){var j=t(d.amdBase+\"compat\/containerCss\");d.selectionAdapter=c.Decorate(d.selectionAdapter,j)}d.selectionAdapter=c.Decorate(d.selectionAdapter,l)}if(\"string\"==typeof d.language)if(d.language.indexOf(\"-\")>0){var L=d.language.split(\"-\")[0];d.language=[d.language,L]}else d.language=[d.language];if(Array.isArray(d.language)){var k=new u;d.language.push(\"en\");for(var P=d.language,I=0;I<P.length;I++){var M=P[I],R={};try{R=u.loadPath(M)}catch(U){try{M=this.defaults.amdLanguageBase+M,R=u.loadPath(M)}catch(N){d.debug&&window.console&&console.warn&&console.warn('Select2: The language file for \"'+M+'\" could not be automatically loaded. A fallback will be used instead.');continue}}k.extend(R)}d.translations=k}else{var z=u.loadPath(this.defaults.amdLanguageBase+\"en\"),H=new u(d.language);H.extend(z),d.translations=H}return d},D.prototype.reset=function(){function t(e){return e.replace(\/[^\\u0000-\\u007E]\/g,function(e){return d[e]||e})}this.defaults={amdBase:\".\/\",amdLanguageBase:\".\/i18n\/\",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:E,matcher:function n(i,o){if(null==i.term||\"\"===i.term.toString().trim())return o;if(o.children&&o.children.length>0){for(var r=e.extend(!0,{},o),s=o.children.length-1;s>=0;s--)null==n(i,o.children[s])&&r.children.splice(s,1);return r.children.length>0?r:n(i,r)}var a=t(o.text).toUpperCase(),l=t(i.term).toUpperCase();return a.indexOf(l)>-1?o:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:\"default\",width:\"resolve\"}},D.prototype.set=function(t,n){var i={};i[e.camelCase(t)]=n;var o=c._convertData(i);e.extend(this.defaults,o)},new D}),t.define(\"select2\/options\",[\"require\",\"jquery\",\".\/defaults\",\".\/utils\"],function(e,t,n,i){function o(t,o){if(this.options=t,null!=o&&this.fromElement(o),this.options=n.apply(this.options),o&&o.is(\"input\")){var r=e(this.get(\"amdBase\")+\"compat\/inputData\");this.options.dataAdapter=i.Decorate(this.options.dataAdapter,r)}}return o.prototype.fromElement=function(e){var n=[\"select2\"];null==this.options.multiple&&(this.options.multiple=e.prop(\"multiple\")),null==this.options.disabled&&(this.options.disabled=e.prop(\"disabled\")),this.options.required||(this.options.required=e.prop(\"required\")),null==this.options.language&&(e.prop(\"lang\")?this.options.language=e.prop(\"lang\").toLowerCase():e.closest(\"[lang]\").prop(\"lang\")&&(this.options.language=e.closest(\"[lang]\").prop(\"lang\"))),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),e.data(\"select2Tags\")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags=\"true\"` attributes and will be removed in future versions of Select2.'),e.data(\"data\",e.data(\"select2Tags\")),e.data(\"tags\",!0)),e.data(\"ajaxUrl\")&&(this.options.debug&&window.console&&console.warn&&console.warn(\"Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2.\"),e.attr(\"ajax--url\",e.data(\"ajaxUrl\")),e.data(\"ajax--url\",e.data(\"ajaxUrl\")));var o={};o=t.fn.jquery&&\"1.\"==t.fn.jquery.substr(0,2)&&e[0].dataset?t.extend(!0,{},e[0].dataset,e.data()):e.data();var r=t.extend(!0,{},o);for(var s in r=i._convertData(r))t.inArray(s,n)>-1||(t.isPlainObject(this.options[s])?t.extend(this.options[s],r[s]):this.options[s]=r[s]);return this},o.prototype.get=function(e){return this.options[e]},o.prototype.set=function(e,t){this.options[e]=t},o}),t.define(\"select2\/core\",[\"jquery\",\".\/options\",\".\/utils\",\".\/keys\"],function(e,t,n,i){var o=function(e,n){null!=e.data(\"select2\")&&e.data(\"select2\").destroy(),this.$element=e,this.id=this._generateId(e),n=n||{},this.options=new t(n,e),o.__super__.constructor.call(this);var i=e.attr(\"tabindex\")||0;e.data(\"old-tabindex\",i),e.attr(\"tabindex\",\"-1\");var r=this.options.get(\"dataAdapter\");this.dataAdapter=new r(e,this.options);var s=this.render();this._placeContainer(s);var a=this.options.get(\"selectionAdapter\");this.selection=new a(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var l=this.options.get(\"dropdownAdapter\");this.dropdown=new l(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var c=this.options.get(\"resultsAdapter\");this.results=new c(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var 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.addClass(\"select2-hidden-accessible\"),e.attr(\"aria-hidden\",\"true\"),this._syncAttributes(),e.data(\"select2\",this)};return n.Extend(o,n.Observable),o.prototype._generateId=function(e){return\"select2-\"+(null!=e.attr(\"id\")?e.attr(\"id\"):null!=e.attr(\"name\")?e.attr(\"name\")+\"-\"+n.generateChars(2):n.generateChars(4)).replace(\/(:|\\.|\\[|\\]|,)\/g,\"\")},o.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get(\"width\"));null!=t&&e.css(\"width\",t)},o.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 i=this._resolveWidth(e,\"style\");return null!=i?i:this._resolveWidth(e,\"element\")}if(\"element\"==t){var o=e.outerWidth(!1);return o<=0?\"auto\":o+\"px\"}if(\"style\"==t){var r=e.attr(\"style\");if(\"string\"!=typeof r)return null;for(var s=r.split(\";\"),a=0,l=s.length;a<l;a+=1){var c=s[a].replace(\/\\s\/g,\"\").match(n);if(null!==c&&c.length>=1)return c[1]}return null}return t},o.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)},o.prototype._registerDomEvents=function(){var t=this;this.$element.on(\"change.select2\",function(){t.dataAdapter.current(function(e){t.trigger(\"selection:update\",{data:e})})}),this.$element.on(\"focus.select2\",function(e){t.trigger(\"focus\",e)}),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent(\"onpropertychange\",this._syncA);var i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=i?(this._observer=new i(function(n){e.each(n,t._syncA),e.each(n,t._syncS)}),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener(\"DOMAttrModified\",t._syncA,!1),this.$element[0].addEventListener(\"DOMNodeInserted\",t._syncS,!1),this.$element[0].addEventListener(\"DOMNodeRemoved\",t._syncS,!1))},o.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on(\"*\",function(t,n){e.trigger(t,n)})},o.prototype._registerSelectionEvents=function(){var t=this,n=[\"toggle\",\"focus\"];this.selection.on(\"toggle\",function(){t.toggleDropdown()}),this.selection.on(\"focus\",function(e){t.focus(e)}),this.selection.on(\"*\",function(i,o){-1===e.inArray(i,n)&&t.trigger(i,o)})},o.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on(\"*\",function(t,n){e.trigger(t,n)})},o.prototype._registerResultsEvents=function(){var e=this;this.results.on(\"*\",function(t,n){e.trigger(t,n)})},o.prototype._registerEvents=function(){var t=this;this.on(\"open\",function(){t.$container.addClass(\"select2-container--open\")}),this.on(\"close\",function(){t.$container.removeClass(\"select2-container--open\")}),this.on(\"enable\",function(){t.$container.removeClass(\"select2-container--disabled\")}),this.on(\"disable\",function(){t.$container.addClass(\"select2-container--disabled\")}),this.on(\"blur\",function(){t.$container.removeClass(\"select2-container--focus\")}),this.on(\"query\",function(e){t.isOpen()||t.trigger(\"open\",{}),this.dataAdapter.query(e,function(n){t.trigger(\"results:all\",{data:n,query:e})})}),this.on(\"query:append\",function(e){this.dataAdapter.query(e,function(n){t.trigger(\"results:append\",{data:n,query:e})})}),this.on(\"open\",function(){setTimeout(function(){t.focusOnActiveElement()},1)}),e(document).on(\"keydown\",function(e){var n=e.which;if(t.isOpen()){n===i.ESC||n===i.UP&&e.altKey?(t.close(),e.preventDefault()):n===i.ENTER||n===i.TAB?(t.trigger(\"results:select\",{}),e.preventDefault()):n===i.SPACE&&e.ctrlKey?(t.trigger(\"results:toggle\",{}),e.preventDefault()):n===i.UP?(t.trigger(\"results:previous\",{}),e.preventDefault()):n===i.DOWN&&(t.trigger(\"results:next\",{}),e.preventDefault());var o=t.$dropdown.find(\".select2-search__field\");o.length||(o=t.$container.find(\".select2-search__field\")),n===i.DOWN||n===i.UP?t.focusOnActiveElement():(o.trigger(\"focus\"),setTimeout(function(){t.focusOnActiveElement()},1e3))}else t.hasFocus()&&(n!==i.ENTER&&n!==i.SPACE&&n!==i.DOWN||(t.open(),e.preventDefault()))})},o.prototype.focusOnActiveElement=function(){this.isOpen()&&!n.isTouchscreen()&&this.$results.find(\"li.select2-results__option--highlighted\").trigger(\"focus\")},o.prototype._syncAttributes=function(){this.options.set(\"disabled\",this.$element.prop(\"disabled\")),this.options.get(\"disabled\")?(this.isOpen()&&this.close(),this.trigger(\"disable\",{})):this.trigger(\"enable\",{})},o.prototype._syncSubtree=function(e,t){var n=!1,i=this;if(!e||!e.target||\"OPTION\"===e.target.nodeName||\"OPTGROUP\"===e.target.nodeName){if(t)if(t.addedNodes&&t.addedNodes.length>0)for(var o=0;o<t.addedNodes.length;o++){t.addedNodes[o].selected&&(n=!0)}else t.removedNodes&&t.removedNodes.length>0&&(n=!0);else n=!0;n&&this.dataAdapter.current(function(e){i.trigger(\"selection:update\",{data:e})})}},o.prototype.trigger=function(e,t){var n=o.__super__.trigger,i={open:\"opening\",close:\"closing\",select:\"selecting\",unselect:\"unselecting\"};if(t===undefined&&(t={}),e in i){var r=i[e],s={prevented:!1,name:e,args:t};if(n.call(this,r,s),s.prevented)return void(t.prevented=!0)}n.call(this,e,t)},o.prototype.toggleDropdown=function(){this.options.get(\"disabled\")||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||this.trigger(\"query\",{})},o.prototype.close=function(){this.isOpen()&&this.trigger(\"close\",{})},o.prototype.isOpen=function(){return this.$container.hasClass(\"select2-container--open\")},o.prototype.hasFocus=function(){return this.$container.hasClass(\"select2-container--focus\")},o.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass(\"select2-container--focus\"),this.trigger(\"focus\",{}))},o.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)},o.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},o.prototype.val=function(t){if(this.options.get(\"debug\")&&window.console&&console.warn&&console.warn('Select2: The `select2(\"val\")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var n=t[0];Array.isArray(n)&&(n=e.map(n,function(e){return e.toString()})),this.$element.val(n).trigger(\"change\")},o.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent(\"onpropertychange\",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener(\"DOMAttrModified\",this._syncA,!1),this.$element[0].removeEventListener(\"DOMNodeInserted\",this._syncS,!1),this.$element[0].removeEventListener(\"DOMNodeRemoved\",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(\".select2\"),this.$element.attr(\"tabindex\",this.$element.data(\"old-tabindex\")),this.$element.removeClass(\"select2-hidden-accessible\"),this.$element.attr(\"aria-hidden\",\"false\"),this.$element.removeData(\"select2\"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var t=e('<span class=\"select2 select2-container\"><span class=\"selection\"><\/span><span class=\"dropdown-wrapper\" aria-hidden=\"true\"><\/span><\/span>');return t.attr(\"dir\",this.options.get(\"dir\")),this.$container=t,this.$container.addClass(\"select2-container--\"+this.options.get(\"theme\")),t.data(\"element\",this.$element),t},o}),t.define(\"select2\/compat\/utils\",[\"jquery\"],function(e){return{syncCssClasses:function(t,n,i){var o,r,s=[];(o=t.attr(\"class\")||0==t.attr(\"class\")?t.attr(\"class\").toString().trim():\"\")&&e((o=\"\"+o).split(\/\\s+\/)).each(function(){0===this.indexOf(\"select2-\")&&s.push(this)}),(o=n.attr(\"class\")||0==n.attr(\"class\")?n.attr(\"class\").toString().trim():\"\")&&e((o=\"\"+o).split(\/\\s+\/)).each(function(){0!==this.indexOf(\"select2-\")&&null!=(r=i(this))&&s.push(r)}),t.attr(\"class\",s.join(\" \"))}}}),t.define(\"select2\/compat\/containerCss\",[\"jquery\",\".\/utils\"],function(e,t){function n(e){return null}function i(){}return i.prototype.render=function(e){var i=e.call(this),o=this.options.get(\"containerCssClass\")||\"\";\"function\"==typeof o&&(o=o(this.$element));var r=this.options.get(\"adaptContainerCssClass\");if(r=r||n,-1!==o.indexOf(\":all:\")){o=o.replace(\":all:\",\"\");var s=r;r=function(e){var t=s(e);return null!=t?t+\" \"+e:e}}var a=this.options.get(\"containerCss\")||{};return\"function\"==typeof a&&(a=a(this.$element)),t.syncCssClasses(i,this.$element,r),i.css(a),i.addClass(o),i},i}),t.define(\"select2\/compat\/dropdownCss\",[\"jquery\",\".\/utils\"],function(e,t){function n(e){return null}function i(){}return i.prototype.render=function(e){var i=e.call(this),o=this.options.get(\"dropdownCssClass\")||\"\";\"function\"==typeof o&&(o=o(this.$element));var r=this.options.get(\"adaptDropdownCssClass\");if(r=r||n,-1!==o.indexOf(\":all:\")){o=o.replace(\":all:\",\"\");var s=r;r=function(e){var t=s(e);return null!=t?t+\" \"+e:e}}var a=this.options.get(\"dropdownCss\")||{};return\"function\"==typeof a&&(a=a(this.$element)),t.syncCssClasses(i,this.$element,r),i.css(a),i.addClass(o),i},i}),t.define(\"select2\/compat\/initSelection\",[\"jquery\"],function(e){function t(e,t,n){n.get(\"debug\")&&window.console&&console.warn&&console.warn(\"Select2: The `initSelection` option has been deprecated in favor of a custom data adapter that overrides the `current` method. This method is now called multiple times instead of a single time when the instance is initialized. Support will be removed for the `initSelection` option in future versions of Select2\"),this.initSelection=n.get(\"initSelection\"),this._isInitialized=!1,e.call(this,t,n)}return t.prototype.current=function(e,t){var n=this;this._isInitialized?e.call(this,t):this.initSelection.call(null,this.$element,function(e){n._isInitialized=!0,Array.isArray(e)||(e=[e]),t(e)})},t}),t.define(\"select2\/compat\/inputData\",[\"jquery\"],function(e){function t(e,t,n){this._currentData=[],this._valueSeparator=n.get(\"valueSeparator\")||\",\",\"hidden\"===t.prop(\"type\")&&n.get(\"debug\")&&console&&console.warn&&console.warn(\"Select2: Using a hidden input with Select2 is no longer supported and may stop working in the future. It is recommended to use a `<select>` element instead.\"),e.call(this,t,n)}return t.prototype.current=function(t,n){function i(t,n){var o=[];return t.selected||-1!==e.inArray(t.id,n)?(t.selected=!0,o.push(t)):t.selected=!1,t.children&&o.push.apply(o,i(t.children,n)),o}for(var o=[],r=0;r<this._currentData.length;r++){var s=this._currentData[r];o.push.apply(o,i(s,this.$element.val().split(this._valueSeparator)))}n(o)},t.prototype.select=function(t,n){if(this.options.get(\"multiple\")){var i=this.$element.val();i+=this._valueSeparator+n.id,this.$element.val(i),this.$element.trigger(\"change\")}else this.current(function(t){e.map(t,function(e){e.selected=!1})}),this.$element.val(n.id),this.$element.trigger(\"change\")},t.prototype.unselect=function(e,t){var n=this;t.selected=!1,this.current(function(e){for(var i=[],o=0;o<e.length;o++){var r=e[o];t.id!=r.id&&i.push(r.id)}n.$element.val(i.join(n._valueSeparator)),n.$element.trigger(\"change\")})},t.prototype.query=function(e,t,n){for(var i=[],o=0;o<this._currentData.length;o++){var r=this._currentData[o],s=this.matches(t,r);null!==s&&i.push(s)}n({results:i})},t.prototype.addOptions=function(t,n){var i=e.map(n,function(t){return e.data(t[0],\"data\")});this._currentData.push.apply(this._currentData,i)},t}),t.define(\"select2\/compat\/matcher\",[\"jquery\"],function(e){return function(t){return function(n,i){var o=e.extend(!0,{},i);if(null==n.term||\"\"===n.term.trim())return o;if(i.children){for(var r=i.children.length-1;r>=0;r--){var s=i.children[r];t(n.term,s.text,s)||o.children.splice(r,1)}if(o.children.length>0)return o}return t(n.term,i.text,i)?o:null}}}),t.define(\"select2\/compat\/query\",[],function(){function e(e,t,n){n.get(\"debug\")&&window.console&&console.warn&&console.warn(\"Select2: The `query` option has been deprecated in favor of a custom data adapter that overrides the `query` method. Support will be removed for the `query` option in future versions of Select2.\"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.callback=n,this.options.get(\"query\").call(null,t)},e}),t.define(\"select2\/dropdown\/attachContainer\",[],function(){function e(e,t,n){e.call(this,t,n)}return e.prototype.position=function(e,t,n){n.find(\".dropdown-wrapper\").append(t),t.addClass(\"select2-dropdown--below\"),n.addClass(\"select2-container--below\")},e}),t.define(\"select2\/dropdown\/stopPropagation\",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$dropdown.on([\"blur\",\"change\",\"click\",\"dblclick\",\"focus\",\"focusin\",\"focusout\",\"input\",\"keydown\",\"keyup\",\"keypress\",\"mousedown\",\"mouseenter\",\"mouseleave\",\"mousemove\",\"mouseover\",\"mouseup\",\"search\",\"touchend\",\"touchstart\"].join(\" \"),function(e){e.stopPropagation()})},e}),t.define(\"select2\/selection\/stopPropagation\",[],function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n);this.$selection.on([\"blur\",\"change\",\"click\",\"dblclick\",\"focus\",\"focusin\",\"focusout\",\"input\",\"keydown\",\"keyup\",\"keypress\",\"mousedown\",\"mouseenter\",\"mouseleave\",\"mousemove\",\"mouseover\",\"mouseup\",\"search\",\"touchend\",\"touchstart\"].join(\" \"),function(e){e.stopPropagation()})},e}),\n\/*!\n * jQuery Mousewheel 3.1.13\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license\n * http:\/\/jquery.org\/license\n *\/\nr=function(e){var t,n,i=[\"wheel\",\"mousewheel\",\"DOMMouseScroll\",\"MozMousePixelScroll\"],o=\"onwheel\"in document||document.documentMode>=9?[\"wheel\"]:[\"mousewheel\",\"DomMouseScroll\",\"MozMousePixelScroll\"],r=Array.prototype.slice;if(e.event.fixHooks)for(var s=i.length;s;)e.event.fixHooks[i[--s]]=e.event.mouseHooks;var a=e.event.special.mousewheel={version:\"3.1.12\",setup:function(){if(this.addEventListener)for(var t=o.length;t;)this.addEventListener(o[--t],l,!1);else this.onmousewheel=l;e.data(this,\"mousewheel-line-height\",a.getLineHeight(this)),e.data(this,\"mousewheel-page-height\",a.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=o.length;t;)this.removeEventListener(o[--t],l,!1);else this.onmousewheel=null;e.removeData(this,\"mousewheel-line-height\"),e.removeData(this,\"mousewheel-page-height\")},getLineHeight:function(t){var n=e(t),i=n[\"offsetParent\"in e.fn?\"offsetParent\":\"parent\"]();return i.length||(i=e(\"body\")),parseInt(i.css(\"fontSize\"),10)||parseInt(n.css(\"fontSize\"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function l(i){var o,s=i||window.event,l=r.call(arguments,1),d=0,p=0,h=0,f=0,g=0;if((i=e.event.fix(s)).type=\"mousewheel\",\"detail\"in s&&(h=-1*s.detail),\"wheelDelta\"in s&&(h=s.wheelDelta),\"wheelDeltaY\"in s&&(h=s.wheelDeltaY),\"wheelDeltaX\"in s&&(p=-1*s.wheelDeltaX),\"axis\"in s&&s.axis===s.HORIZONTAL_AXIS&&(p=-1*h,h=0),d=0===h?p:h,\"deltaY\"in s&&(d=h=-1*s.deltaY),\"deltaX\"in s&&(p=s.deltaX,0===h&&(d=-1*p)),0!==h||0!==p){if(1===s.deltaMode){var m=e.data(this,\"mousewheel-line-height\");d*=m,h*=m,p*=m}else if(2===s.deltaMode){var v=e.data(this,\"mousewheel-page-height\");d*=v,h*=v,p*=v}if(o=Math.max(Math.abs(h),Math.abs(p)),(!n||o<n)&&(n=o,u(s,o)&&(n\/=40)),u(s,o)&&(d\/=40,p\/=40,h\/=40),d=Math[d>=1?\"floor\":\"ceil\"](d\/n),p=Math[p>=1?\"floor\":\"ceil\"](p\/n),h=Math[h>=1?\"floor\":\"ceil\"](h\/n),a.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();f=i.clientX-y.left,g=i.clientY-y.top}return i.deltaX=p,i.deltaY=h,i.deltaFactor=n,i.offsetX=f,i.offsetY=g,i.deltaMode=0,l.unshift(i,d,p,h),t&&clearTimeout(t),t=setTimeout(c,200),(e.event.dispatch||e.event.handle).apply(this,l)}}function c(){n=null}function u(e,t){return a.settings.adjustOldDeltas&&\"mousewheel\"===e.type&&t%120==0}e.fn.extend({mousewheel:function(e){return e?this.on(\"mousewheel\",e):this.trigger(\"mousewheel\")},unmousewheel:function(e){return this.off(\"mousewheel\",e)}})},\"function\"==typeof t.define&&t.define.amd?t.define(\"jquery-mousewheel\",[\"jquery\"],r):\"object\"==typeof exports?module.exports=r:r(e),t.define(\"jquery.select2\",[\"jquery\",\"jquery-mousewheel\",\".\/select2\/core\",\".\/select2\/defaults\"],function(e,t,n,i){if(null==e.fn.selectWoo){var o=[\"open\",\"close\",\"destroy\"];e.fn.selectWoo=function(t){if(\"object\"==typeof(t=t||{}))return this.each(function(){var i=e.extend(!0,{},t);new n(e(this),i)}),this;if(\"string\"==typeof t){var i,r=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=e(this).data(\"select2\");null==n&&window.console&&console.error&&console.error(\"The select2('\"+t+\"') method was called on an element that is not using Select2.\"),i=n[t].apply(n,r)}),e.inArray(t,o)>-1?this:i}throw new Error(\"Invalid arguments for Select2: \"+t)}}return null!=e.fn.select2&&null!=e.fn.select2.defaults&&(e.fn.selectWoo.defaults=e.fn.select2.defaults),null==e.fn.selectWoo.defaults&&(e.fn.selectWoo.defaults=i),e.fn.select2=e.fn.select2||e.fn.selectWoo,n}),{define:t.define,require:t.require}}(),n=t.require(\"jquery.select2\");return e.fn.select2.amd=t,e.fn.selectWoo.amd=t,n});\n","status":true}