{"version":3,"names":[],"mappings":"","sources":["mandelbrot.js"],"sourcesContent":["!function o(s,a,l){function c(t,e){if(!a[t]){if(!s[t]){var n=\"function\"==typeof require&&require;if(!e&&n)return n(t,!0);if(u)return u(t,!0);var r=new Error(\"Cannot find module '\"+t+\"'\");throw r.code=\"MODULE_NOT_FOUND\",r}var i=a[t]={exports:{}};s[t][0].call(i.exports,function(e){return c(s[t][1][e]||e)},i,i.exports,o,s,a,l)}return a[t].exports}for(var u=\"function\"==typeof require&&require,e=0;e [data-role=\"body\"]'),s=r.find('[data-action=\"toggle-sidebar\"]'),a=o.children('[data-role=\"sidebar\"]'),l=o.children('[data-role=\"main\"]'),c=o.children('[data-role=\"frame-resize-handle\"]'),u=parseInt(a.css(\"min-width\"),10),d=_.isSmallScreen()?u:w.get(\"frame.sidebar\",a.outerWidth()),p=_.isSmallScreen()?\"closed\":w.get(\"frame.state\",\"open\"),f=!1,h=!1,g=0;function v(){if(!f&&(h||\"closed\"!=p)){var e=a.outerWidth(),t={transform:\"translate3d(\"+(\"rtl\"==i?e+\"px\":-1*e+\"px\")+\", 0, 0)\"};\"rtl\"==i?t.marginLeft=-1*e+\"px\":t.marginRight=-1*e+\"px\",t.transition=h?\"none\":\".3s ease all\",o.css(t),p=\"closed\",r.addClass(\"is-closed\"),w.set(\"frame.state\",p),h=!1}}function m(){f||\"open\"==p||(_.isSmallScreen()&&b(u),o.css({marginRight:0,marginLeft:0,transition:\"0.3s ease all\",transform:\"translate3d(0, 0, 0)\"}),p=\"open\",r.removeClass(\"is-closed\"),w.set(\"frame.state\",p))}function y(){return\"open\"==p?v():m(),!1}function b(e){d=e,a.outerWidth(e),w.set(\"frame.sidebar\",e)}return a.outerWidth(d),\"closed\"===p&&(h=!0,v()),c.on(\"mousedown\",function(e){if(g++,setTimeout(function(){g=0},400),2===g)return f=!1,y(),g=0,void e.stopImmediatePropagation()}),a.resizable({handleSelector:c,resizeHeight:!1,onDragStart:function(){r.addClass(\"is-resizing\"),T.trigger(\"start-dragging\")},onDragEnd:function(){b(a.outerWidth()),r.removeClass(\"is-resizing\"),T.trigger(\"end-dragging\"),\"closed\"===p&&(f=!1,m())},resizeWidthFrom:\"rtl\"===i?\"left\":\"right\"}),a.on(\"scroll\",_.debounce(function(){w.set(\"frame.scrollPos\",a.scrollTop())},50)),s.on(\"click\",y),t.on(\"resize\",function(){\"open\"==p&&n.outerWidth()}),T.on(\"toggle-sidebar\",y),T.on(\"start-dragging\",function(){return f=!0}),T.on(\"end-dragging\",function(){setTimeout(function(){f=!1},200)}),T.on(\"scroll-sidebar\",function(){var e=w.get(\"frame.scrollPos\",0);a.scrollTop(e)}),T.on(\"data-changed\",function(){document.location.reload(!0)}),{closeSidebar:v,openSidebar:m,startLoad:function(){l.addClass(\"is-loading\")},endLoad:function(){l.removeClass(\"is-loading\")}}}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../events\":9,\"../storage\":11,\"../utils\":12}],3:[function(t,n,e){(function(e){\"use strict\";var r=e.jQuery,i=t(\"./tree\"),o=t(\"./search\");n.exports=function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,e),this._el=r(t),this.navTrees=r.map(this._el.find('[data-behaviour=\"tree\"]'),function(e){return new i(e)}),r.map(this._el.find('[data-behaviour=\"search\"]'),function(e){return new o(e,n.navTrees)})}}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./search\":6,\"./tree\":7}],4:[function(u,d,e){(function(e){\"use strict\";var t=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e};function r(e,t){for(var n=0;n ul > li:not([hidden])\").length?n.attr(\"hidden\",!0):n.removeAttr(\"hidden\")})}},{key:\"search\",value:function(e,u,d){var p=this;f(e).children(\"li\").each(function(e,t){var n=f(t),r=n.parents(\".Tree-collection\").find(\"> .Tree-collectionLabel\").text(),i=n.text(),o=n.find(\"[data-tags]\"),s=0 [data-role=\"toggle\"]'),this._itemsWrapper=this._el.find('[data-role=\"items\"]:not(> [data-behaviour] [data-role=\"items\"])'),this._isOpen=!0,this._toggle.on(\"click\",this.toggle.bind(this))}p.exports=n}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"../events\":9,\"../storage\":11}],8:[function(e,t,n){\"use strict\";t.exports={breakpoints:{navCollapse:500}}},{}],9:[function(e,t,n){(function(e){\"use strict\";t.exports=e.jQuery({})}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{}],10:[function(u,e,t){(function(e){\"use strict\";u(\"core-js/features/array/find\"),e.jQuery=u(\"jquery\"),u(\"jquery-pjax\");var t=e.jQuery,n=t(document),r=window.frctl||{},i=u(\"./events\"),o=u(\"./utils\"),s=u(\"./components/frame\"),a=u(\"./components/pen\");new(u(\"./components/navigation\"))(t(\".Navigation\"));var l=s(t(\"#frame\"));function c(){setTimeout(function(){t.map(t('[data-behaviour=\"pen\"]'),function(e){return new a(e)})},1)}e.fractal={events:i},c(),\"server\"==r.env&&n.pjax(\"a[data-pjax], code a[href], .Prose a[href]:not([data-no-pjax]), .Browser a[href]:not([data-no-pjax])\",\"#pjax-container\",{fragment:\"#pjax-container\",timeout:1e4}).on(\"pjax:start\",function(e,t,n){o.isSmallScreen()&&l.closeSidebar(),l.startLoad(),i.trigger(\"main-content-preload\",n.url)}).on(\"pjax:end\",function(){i.trigger(\"main-content-loaded\"),l.endLoad()}),i.on(\"main-content-loaded\",c)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./components/frame\":2,\"./components/navigation\":3,\"./components/pen\":4,\"./events\":9,\"./utils\":12,\"core-js/features/array/find\":14,jquery:77,\"jquery-pjax\":75}],11:[function(e,t,n){\"use strict\";var i={local:localStorage,session:sessionStorage};t.exports={get:function(e,t,n){var r=i[2\"+e+\"\"}var o,s=e(\"../internals/an-object\"),a=e(\"../internals/object-define-properties\"),l=e(\"../internals/enum-bug-keys\"),c=e(\"../internals/hidden-keys\"),u=e(\"../internals/html\"),d=e(\"../internals/document-create-element\"),p=e(\"../internals/shared-key\"),f=\"prototype\",h=\"script\",g=p(\"IE_PROTO\"),v=function(){try{o=document.domain&&new ActiveXObject(\"htmlfile\")}catch(e){}var e,t;v=o?function(e){e.write(i(\"\")),e.close();var t=e.parentWindow.Object;return e=null,t}(o):((t=d(\"iframe\")).style.display=\"none\",u.appendChild(t),t.src=String(\"javascript:\"),(e=t.contentWindow.document).open(),e.write(i(\"document.F=Object\")),e.close(),e.F);for(var n=l.length;n--;)delete v[f][l[n]];return v()};c[g]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(r[f]=s(e),n=new r,r[f]=null,n[g]=e):n=v(),void 0===t?n:a(n,t)}},{\"../internals/an-object\":17,\"../internals/document-create-element\":27,\"../internals/enum-bug-keys\":29,\"../internals/hidden-keys\":36,\"../internals/html\":37,\"../internals/object-define-properties\":49,\"../internals/shared-key\":62}],49:[function(e,t,n){var r=e(\"../internals/descriptors\"),s=e(\"../internals/object-define-property\"),a=e(\"../internals/an-object\"),l=e(\"../internals/object-keys\");t.exports=r?Object.defineProperties:function(e,t){a(e);for(var n,r=l(t),i=r.length,o=0;oi;)s(r,n=t[i++])&&(~l(o,n)||o.push(n));return o}},{\"../internals/array-includes\":18,\"../internals/has\":35,\"../internals/hidden-keys\":36,\"../internals/to-indexed-object\":66}],55:[function(e,t,n){var r=e(\"../internals/object-keys-internal\"),i=e(\"../internals/enum-bug-keys\");t.exports=Object.keys||function(e){return r(e,i)}},{\"../internals/enum-bug-keys\":29,\"../internals/object-keys-internal\":54}],56:[function(e,t,n){\"use strict\";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);n.f=o?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},{}],57:[function(e,t,n){var r=e(\"../internals/get-built-in\"),i=e(\"../internals/object-get-own-property-names\"),o=e(\"../internals/object-get-own-property-symbols\"),s=e(\"../internals/an-object\");t.exports=r(\"Reflect\",\"ownKeys\")||function(e){var t=i.f(s(e)),n=o.f;return n?t.concat(n(e)):t}},{\"../internals/an-object\":17,\"../internals/get-built-in\":33,\"../internals/object-get-own-property-names\":52,\"../internals/object-get-own-property-symbols\":53}],58:[function(e,t,n){var r=e(\"../internals/global\");t.exports=r},{\"../internals/global\":34}],59:[function(e,t,n){var a=e(\"../internals/global\"),l=e(\"../internals/create-non-enumerable-property\"),c=e(\"../internals/has\"),u=e(\"../internals/set-global\"),r=e(\"../internals/inspect-source\"),i=e(\"../internals/internal-state\"),o=i.get,d=i.enforce,p=String(String).split(\"String\");(t.exports=function(e,t,n,r){var i=!!r&&!!r.unsafe,o=!!r&&!!r.enumerable,s=!!r&&!!r.noTargetGet;\"function\"==typeof n&&(\"string\"!=typeof t||c(n,\"name\")||l(n,\"name\",t),d(n).source=p.join(\"string\"==typeof t?t:\"\")),e!==a?(i?!s&&e[t]&&(o=!0):delete e[t],o?e[t]=n:l(e,t,n)):o?e[t]=n:u(t,n)})(Function.prototype,\"toString\",function(){return\"function\"==typeof this&&o(this).source||r(this)})},{\"../internals/create-non-enumerable-property\":24,\"../internals/global\":34,\"../internals/has\":35,\"../internals/inspect-source\":40,\"../internals/internal-state\":41,\"../internals/set-global\":61}],60:[function(e,t,n){t.exports=function(e){if(null==e)throw TypeError(\"Can't call method on \"+e);return e}},{}],61:[function(e,t,n){var r=e(\"../internals/global\"),i=e(\"../internals/create-non-enumerable-property\");t.exports=function(t,n){try{i(r,t,n)}catch(e){r[t]=n}return n}},{\"../internals/create-non-enumerable-property\":24,\"../internals/global\":34}],62:[function(e,t,n){var r=e(\"../internals/shared\"),i=e(\"../internals/uid\"),o=r(\"keys\");t.exports=function(e){return o[e]||(o[e]=i(e))}},{\"../internals/shared\":64,\"../internals/uid\":71}],63:[function(e,t,n){var r=e(\"../internals/global\"),i=e(\"../internals/set-global\"),o=\"__core-js_shared__\",s=r[o]||i(o,{});t.exports=s},{\"../internals/global\":34,\"../internals/set-global\":61}],64:[function(e,t,n){var r=e(\"../internals/is-pure\"),i=e(\"../internals/shared-store\");(t.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})(\"versions\",[]).push({version:\"3.6.4\",mode:r?\"pure\":\"global\",copyright:\"© 2020 Denis Pushkarev (zloirock.ru)\"})},{\"../internals/is-pure\":45,\"../internals/shared-store\":63}],65:[function(e,t,n){var r=e(\"../internals/to-integer\"),i=Math.max,o=Math.min;t.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):o(n,t)}},{\"../internals/to-integer\":67}],66:[function(e,t,n){var r=e(\"../internals/indexed-object\"),i=e(\"../internals/require-object-coercible\");t.exports=function(e){return r(i(e))}},{\"../internals/indexed-object\":39,\"../internals/require-object-coercible\":60}],67:[function(e,t,n){var r=Math.ceil,i=Math.floor;t.exports=function(e){return isNaN(e=+e)?0:(0\",{method:\"GET\"===n?\"GET\":\"POST\",action:t,style:\"display:none\"});\"GET\"!==n&&\"POST\"!==n&&r.append(v(\"\",{type:\"hidden\",name:\"_method\",value:n.toLowerCase()}));var i=e.data;if(\"string\"==typeof i)v.each(i.split(\"&\"),function(e,t){var n=t.split(\"=\");r.append(v(\"\",{type:\"hidden\",name:n[0],value:n[1]}))});else if(v.isArray(i))v.each(i,function(e,t){r.append(v(\"\",{type:\"hidden\",name:t.name,value:t.value}))});else if(\"object\"==typeof i){var o;for(o in i)r.append(v(\"\",{type:\"hidden\",name:o,value:i[o]}))}v(document.body).append(r),r.submit()}function b(e){e&&e.readyState<4&&(e.onreadystatechange=v.noop,e.abort())}function x(){return(new Date).getTime()}function w(e){var t=e.clone();return t.find(\"script\").each(function(){this.src||v._data(this,\"globalEval\",!1)}),t.contents()}function u(e){return e.search=e.search.replace(/([?&])(_pjax|_)=[^&]*/g,\"\").replace(/^&/,\"\"),e.href.replace(/\\?($|#)/,\"$1\")}function _(e){var t=document.createElement(\"a\");return t.href=e,t}function l(e){return e.href.replace(/#.*/,\"\")}function c(e,t){return e&&t?((t=v.extend({},t)).container=e,t):v.isPlainObject(e)?e:{container:e}}function f(e,t){return e.filter(t).add(e.find(t))}function h(e){return v.parseHTML(e,document,!0)}function T(e,t,n){var r,i,o={},s=/]*>([\\s\\S.]*)<\\/body>/i)[0]));var l=e.match(/]*>([\\s\\S.]*)<\\/head>/i);r=null!=l?v(h(l[0])):i}else r=i=v(h(e));if(0===i.length)return o;if(o.title=f(r,\"title\").last().text(),n.fragment){var c=i;\"body\"!==n.fragment&&(c=f(c,n.fragment).first()),c.length&&(o.contents=\"body\"===n.fragment?c:c.contents(),o.title||(o.title=c.attr(\"title\")||c.data(\"title\")))}else s||(o.contents=i);return o.contents&&(o.contents=o.contents.not(function(){return v(this).is(\"title\")}),o.contents.find(\"title\").remove(),o.scripts=f(o.contents,\"script[src]\").remove(),o.contents=o.contents.not(o.scripts)),o.title&&(o.title=v.trim(o.title)),o}i&&i.container&&(m.state=i),\"state\"in window.history&&(d=!1);var E={},S=[],C=[];function j(e,t){for(;e.length>t;)delete E[e.shift()]}function a(){return v(\"meta\").filter(function(){var e=v(this).attr(\"http-equiv\");return e&&\"X-PJAX-VERSION\"===e.toUpperCase()}).attr(\"content\")}function g(){v.fn.pjax=e,v.pjax=m,v.pjax.enable=v.noop,v.pjax.disable=k,v.pjax.click=r,v.pjax.submit=t,v.pjax.reload=n,v.pjax.defaults={timeout:650,push:!0,replace:!1,type:\"GET\",dataType:\"html\",scrollTo:0,maxCacheLength:20,version:a},v(window).on(\"popstate.pjax\",o)}function k(){v.fn.pjax=function(){return this},v.pjax=s,v.pjax.enable=g,v.pjax.disable=v.noop,v.pjax.click=v.noop,v.pjax.submit=v.noop,v.pjax.reload=function(){window.location.reload()},v(window).off(\"popstate.pjax\",o)}v.event.props&&v.inArray(\"state\",v.event.props)<0?v.event.props.push(\"state\"):\"state\"in v.Event.prototype||v.event.addProp(\"state\"),v.support.pjax=window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\\bOS\\s+[1-4]\\D|WebApps\\/.+CFNetwork)/),v.support.pjax?g():k()}(jQuery)},{}],76:[function(e,t,n){var c;(c=jQuery).fn.resizable||(c.fn.resizable=function(e){var l={handleSelector:null,resizeWidth:!0,resizeHeight:!0,resizeWidthFrom:\"right\",resizeHeightFrom:\"bottom\",onDragStart:null,onDragEnd:null,onDrag:null,touchActionNone:!0};return\"object\"==typeof e&&(l=c.extend(l,e)),this.each(function(){var i,t,o=c(this),e=l.handleSelector?c(l.handleSelector):o;function n(e){e.stopPropagation(),e.preventDefault()}function r(e){var t=a(e);if(l.resizeWidth){if(\"left\"===l.resizeWidthFrom)var n=i.width-t.x+i.x;else n=i.width+t.x-i.x;o.width(n)}if(l.resizeHeight){if(\"top\"===l.resizeHeightFrom)var r=i.height-t.y+i.y;else r=i.height+t.y-i.y;o.height(r)}l.onDrag&&l.onDrag(e,o,l)}function s(e){return e.stopPropagation(),e.preventDefault(),c(document).unbind(\"mousemove.rsz\",l.dragFunc),c(document).unbind(\"mouseup.rsz\",s),(window.Touch||navigator.maxTouchPoints)&&(c(document).unbind(\"touchmove.rsz\",l.dragFunc),c(document).unbind(\"touchend.rsz\",s)),c(document).unbind(\"selectstart.rsz\",n),o.css(\"transition\",t),l.onDragEnd&&l.onDragEnd(e,o,l),!1}function a(e){var t={x:0,y:0,width:0,height:0};if(\"number\"==typeof e.clientX)t.x=e.clientX,t.y=e.clientY;else{if(!e.originalEvent.touches)return null;t.x=e.originalEvent.touches[0].clientX,t.y=e.originalEvent.touches[0].clientY}return t}l.touchActionNone&&e.css(\"touch-action\",\"none\"),o.addClass(\"resizable\"),e.bind(\"mousedown.rsz touchstart.rsz\",function(e){if((i=a(e)).width=parseInt(o.width(),10),i.height=parseInt(o.height(),10),t=o.css(\"transition\"),o.css(\"transition\",\"none\"),l.onDragStart&&!1===l.onDragStart(e,o,l))return;l.dragFunc=r,c(document).bind(\"mousemove.rsz\",l.dragFunc),c(document).bind(\"mouseup.rsz\",s),(window.Touch||navigator.maxTouchPoints)&&(c(document).bind(\"touchmove.rsz\",l.dragFunc),c(document).bind(\"touchend.rsz\",s));c(document).bind(\"selectstart.rsz\",n)})})})},{}],77:[function(e,n,t){!function(e,t){\"use strict\";\"object\"==typeof n&&\"object\"==typeof n.exports?n.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error(\"jQuery requires a window with a document\");return t(e)}:t(e)}(\"undefined\"!=typeof window?window:this,function(T,e){\"use strict\";function g(e){return null!=e&&e===e.window}var t=[],E=T.document,r=Object.getPrototypeOf,a=t.slice,v=t.concat,l=t.push,i=t.indexOf,n={},o=n.toString,m=n.hasOwnProperty,s=m.toString,c=s.call(Object),y={},b=function(e){return\"function\"==typeof e&&\"number\"!=typeof e.nodeType},u={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,n){var r,i,o=(n=n||E).createElement(\"script\");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+\"\":\"object\"==typeof e||\"function\"==typeof e?n[o.call(e)]||\"object\":typeof e}var S=function(e,t){return new S.fn.init(e,t)},d=/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g;function p(e){var t=!!e&&\"length\"in e&&e.length,n=w(e);return!b(e)&&!g(e)&&(\"array\"===n||0===t||\"number\"==typeof t&&0>10|55296,1023&r|56320)}function i(){_()}var e,f,x,o,s,h,p,g,w,l,c,_,T,a,E,v,u,m,y,S=\"sizzle\"+1*new Date,b=n.document,C=0,r=0,j=le(),k=le(),A=le(),$=le(),O=function(e,t){return e===t&&(c=!0),0},D={}.hasOwnProperty,t=[],N=t.pop,q=t.push,L=t.push,P=t.slice,I=function(e,t){for(var n=0,r=e.length;n+~]|\"+H+\")\"+H+\"*\"),X=new RegExp(H+\"|>\"),J=new RegExp(F),V=new RegExp(\"^\"+M+\"$\"),Y={ID:new RegExp(\"^#(\"+M+\")\"),CLASS:new RegExp(\"^\\\\.(\"+M+\")\"),TAG:new RegExp(\"^(\"+M+\"|[*])\"),ATTR:new RegExp(\"^\"+z),PSEUDO:new RegExp(\"^\"+F),CHILD:new RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\"+H+\"*(even|odd|(([+-]|)(\\\\d*)n|)\"+H+\"*(?:([+-]|)\"+H+\"*(\\\\d+)|))\"+H+\"*\\\\)|)\",\"i\"),bool:new RegExp(\"^(?:\"+R+\")$\",\"i\"),needsContext:new RegExp(\"^\"+H+\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\"+H+\"*((?:-\\\\d)?\\\\d*)\"+H+\"*\\\\)|)(?=[^-]|$)\",\"i\")},K=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,Z=/^h\\d$/i,ee=/^[^{]+\\{\\s*\\[native \\w/,te=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,ne=/[+~]/,re=new RegExp(\"\\\\\\\\([\\\\da-f]{1,6}\"+H+\"?|(\"+H+\")|.)\",\"ig\"),ie=/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,oe=function(e,t){return t?\"\\0\"===e?\"�\":e.slice(0,-1)+\"\\\\\"+e.charCodeAt(e.length-1).toString(16)+\" \":\"\\\\\"+e},se=xe(function(e){return!0===e.disabled&&\"fieldset\"===e.nodeName.toLowerCase()},{dir:\"parentNode\",next:\"legend\"});try{L.apply(t=P.call(b.childNodes),b.childNodes),t[b.childNodes.length].nodeType}catch(e){L={apply:t.length?function(e,t){q.apply(e,P.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ae(t,e,n,r){var i,o,s,a,l,c,u,d=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],\"string\"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:b)!==T&&_(e),e=e||T,E)){if(11!==p&&(l=te.exec(t)))if(i=l[1]){if(9===p){if(!(s=e.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(d&&(s=d.getElementById(i))&&y(e,s)&&s.id===i)return n.push(s),n}else{if(l[2])return L.apply(n,e.getElementsByTagName(t)),n;if((i=l[3])&&f.getElementsByClassName&&e.getElementsByClassName)return L.apply(n,e.getElementsByClassName(i)),n}if(f.qsa&&!$[t+\" \"]&&(!v||!v.test(t))&&(1!==p||\"object\"!==e.nodeName.toLowerCase())){if(u=t,d=e,1===p&&X.test(t)){for((a=e.getAttribute(\"id\"))?a=a.replace(ie,oe):e.setAttribute(\"id\",a=S),o=(c=h(t)).length;o--;)c[o]=\"#\"+a+\" \"+be(c[o]);u=c.join(\",\"),d=ne.test(t)&&me(e.parentNode)||e}try{return L.apply(n,d.querySelectorAll(u)),n}catch(e){$(t,!0)}finally{a===S&&e.removeAttribute(\"id\")}}}return g(t.replace(B,\"$1\"),e,n,r)}function le(){var r=[];return function e(t,n){return r.push(t+\" \")>x.cacheLength&&delete e[r.shift()],e[t+\" \"]=n}}function ce(e){return e[S]=!0,e}function ue(e){var t=T.createElement(\"fieldset\");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split(\"|\"),r=n.length;r--;)x.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(t){return function(e){return\"input\"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return(\"input\"===t||\"button\"===t)&&e.type===n}}function ge(t){return function(e){return\"form\"in e?e.parentNode&&!1===e.disabled?\"label\"in e?\"label\"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&se(e)===t:e.disabled===t:\"label\"in e&&e.disabled===t}}function ve(s){return ce(function(o){return o=+o,ce(function(e,t){for(var n,r=s([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function me(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in f=ae.support={},s=ae.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||\"HTML\")},_=ae.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:b;return r!==T&&9===r.nodeType&&r.documentElement&&(a=(T=r).documentElement,E=!s(T),b!==T&&(n=T.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener(\"unload\",i,!1):n.attachEvent&&n.attachEvent(\"onunload\",i)),f.attributes=ue(function(e){return e.className=\"i\",!e.getAttribute(\"className\")}),f.getElementsByTagName=ue(function(e){return e.appendChild(T.createComment(\"\")),!e.getElementsByTagName(\"*\").length}),f.getElementsByClassName=ee.test(T.getElementsByClassName),f.getById=ue(function(e){return a.appendChild(e).id=S,!T.getElementsByName||!T.getElementsByName(S).length}),f.getById?(x.filter.ID=function(e){var t=e.replace(re,d);return function(e){return e.getAttribute(\"id\")===t}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(x.filter.ID=function(e){var n=e.replace(re,d);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode(\"id\");return t&&t.value===n}},x.find.ID=function(e,t){if(void 0!==t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode(\"id\"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode(\"id\"))&&n.value===e)return[o]}return[]}}),x.find.TAG=f.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):f.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if(\"*\"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},x.find.CLASS=f.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&E)return t.getElementsByClassName(e)},u=[],v=[],(f.qsa=ee.test(T.querySelectorAll))&&(ue(function(e){a.appendChild(e).innerHTML=\"\",e.querySelectorAll(\"[msallowcapture^='']\").length&&v.push(\"[*^$]=\"+H+\"*(?:''|\\\"\\\")\"),e.querySelectorAll(\"[selected]\").length||v.push(\"\\\\[\"+H+\"*(?:value|\"+R+\")\"),e.querySelectorAll(\"[id~=\"+S+\"-]\").length||v.push(\"~=\"),e.querySelectorAll(\":checked\").length||v.push(\":checked\"),e.querySelectorAll(\"a#\"+S+\"+*\").length||v.push(\".#.+[+~]\")}),ue(function(e){e.innerHTML=\"\";var t=T.createElement(\"input\");t.setAttribute(\"type\",\"hidden\"),e.appendChild(t).setAttribute(\"name\",\"D\"),e.querySelectorAll(\"[name=d]\").length&&v.push(\"name\"+H+\"*[*^$|!~]?=\"),2!==e.querySelectorAll(\":enabled\").length&&v.push(\":enabled\",\":disabled\"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(\":disabled\").length&&v.push(\":enabled\",\":disabled\"),e.querySelectorAll(\"*,:x\"),v.push(\",.*:\")})),(f.matchesSelector=ee.test(m=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ue(function(e){f.disconnectedMatch=m.call(e,\"*\"),m.call(e,\"[s!='']:x\"),u.push(\"!=\",F)}),v=v.length&&new RegExp(v.join(\"|\")),u=u.length&&new RegExp(u.join(\"|\")),t=ee.test(a.compareDocumentPosition),y=t||ee.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},O=t?function(e,t){if(e===t)return c=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument===b&&y(b,e)?-1:t===T||t.ownerDocument===b&&y(b,t)?1:l?I(l,e)-I(l,t):0:4&n?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!i||!o)return e===T?-1:t===T?1:i?-1:o?1:l?I(l,e)-I(l,t):0;if(i===o)return pe(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?pe(s[r],a[r]):s[r]===b?-1:a[r]===b?1:0}),T},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if((e.ownerDocument||e)!==T&&_(e),f.matchesSelector&&E&&!$[t+\" \"]&&(!u||!u.test(t))&&(!v||!v.test(t)))try{var n=m.call(e,t);if(n||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){$(t,!0)}return 0\":{dir:\"parentNode\",first:!0},\" \":{dir:\"parentNode\"},\"+\":{dir:\"previousSibling\",first:!0},\"~\":{dir:\"previousSibling\"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(re,d),e[3]=(e[3]||e[4]||e[5]||\"\").replace(re,d),\"~=\"===e[2]&&(e[3]=\" \"+e[3]+\" \"),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),\"nth\"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(\"even\"===e[3]||\"odd\"===e[3])),e[5]=+(e[7]+e[8]||\"odd\"===e[3])):e[3]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Y.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||\"\":n&&J.test(n)&&(t=h(n,!0))&&(t=n.indexOf(\")\",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(re,d).toLowerCase();return\"*\"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=j[e+\" \"];return t||(t=new RegExp(\"(^|\"+H+\")\"+e+\"(\"+H+\"|$)\"))&&j(e,function(e){return t.test(\"string\"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute(\"class\")||\"\")})},ATTR:function(n,r,i){return function(e){var t=ae.attr(e,n);return null==t?\"!=\"===r:!r||(t+=\"\",\"=\"===r?t===i:\"!=\"===r?t!==i:\"^=\"===r?i&&0===t.indexOf(i):\"*=\"===r?i&&-1\",\"#\"===e.firstChild.getAttribute(\"href\")})||de(\"type|href|height|width\",function(e,t,n){if(!n)return e.getAttribute(t,\"type\"===t.toLowerCase()?1:2)}),f.attributes&&ue(function(e){return e.innerHTML=\"\",e.firstChild.setAttribute(\"value\",\"\"),\"\"===e.firstChild.getAttribute(\"value\")})||de(\"value\",function(e,t,n){if(!n&&\"input\"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute(\"disabled\")})||de(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ae}(T);S.find=f,S.expr=f.selectors,S.expr[\":\"]=S.expr.pseudos,S.uniqueSort=S.unique=f.uniqueSort,S.text=f.getText,S.isXMLDoc=f.isXML,S.contains=f.contains,S.escapeSelector=f.escape;function h(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&S(e).is(n))break;r.push(e)}return r}function _(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}var C=S.expr.match.needsContext;function j(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var k=/^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i;function A(e,n,r){return b(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):\"string\"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||$,\"string\"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):b(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this);if(!(r=\"<\"===e[0]&&\">\"===e[e.length-1]&&3<=e.length?[null,e,null]:O.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),k.test(r[1])&&S.isPlainObject(t))for(r in t)b(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}).prototype=S.fn,$=S(E);var D=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function q(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\\x20\\t\\r\\n\\f]*)/i,fe=/^$|^module$|\\/(?:java|ecma)script/i,he={option:[1,\"\"],thead:[1,\"\",\"
\"],col:[2,\"\",\"
\"],tr:[2,\"\",\"
\"],td:[3,\"\",\"
\"],_default:[0,\"\",\"\"]};function ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||\"*\"):void 0!==e.querySelectorAll?e.querySelectorAll(t||\"*\"):[],void 0===t||t&&j(e,t)?S.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;nx\",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var we=/^key/,_e=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=/^([^.]*)(?:\\.(.+)|)/;function Ee(){return!0}function Se(){return!1}function Ce(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==(\"focus\"===t)}function je(e,t,n,r,i,o){var s,a;if(\"object\"==typeof t){for(a in\"string\"!=typeof n&&(r=r||n,n=void 0),t)je(e,a,n,r,t[a],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&(\"string\"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(s=i,(i=function(e){return S().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=S.guid++)),e.each(function(){S.event.add(this,t,i,r,n)})}function ke(e,i,o){o?(V.set(e,i,!1),S.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=V.get(this,i);if(1&e.isTrigger&&this[i]){if(r)(S.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=a.call(arguments),V.set(this,i,r),t=o(this,i),this[i](),r!==(n=V.get(this,i))||t?V.set(this,i,!1):n=void 0,r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else r&&(V.set(this,i,S.event.trigger(S.extend(r.shift(),S.Event.prototype),r,this)),e.stopImmediatePropagation())}})):S.event.add(e,i,Ee)}S.event={global:{},add:function(t,e,n,r,i){var o,s,a,l,c,u,d,p,f,h,g,v=V.get(t);if(v)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&S.find.matchesSelector(re,i),n.guid||(n.guid=S.guid++),(l=v.events)||(l=v.events={}),(s=v.handle)||(s=v.handle=function(e){return void 0!==S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||\"\").match(L)||[\"\"]).length;c--;)f=g=(a=Te.exec(e[c])||[])[1],h=(a[2]||\"\").split(\".\").sort(),f&&(d=S.event.special[f]||{},f=(i?d.delegateType:d.bindType)||f,d=S.event.special[f]||{},u=S.extend({type:f,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&S.expr.match.needsContext.test(i),namespace:h.join(\".\")},o),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,r,h,s)||t.addEventListener&&t.addEventListener(f,s)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,u):p.push(u),S.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,s,a,l,c,u,d,p,f,h,g,v=V.hasData(e)&&V.get(e);if(v&&(l=v.events)){for(c=(t=(t||\"\").match(L)||[\"\"]).length;c--;)if(f=g=(a=Te.exec(t[c])||[])[1],h=(a[2]||\"\").split(\".\").sort(),f){for(d=S.event.special[f]||{},p=l[f=(r?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp(\"(^|\\\\.)\"+h.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"),s=o=p.length;o--;)u=p[o],!i&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||r&&r!==u.selector&&(\"**\"!==r||!u.selector)||(p.splice(o,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));s&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,v.handle)||S.removeEvent(e,f,v.handle),delete l[f])}else for(f in l)S.event.remove(e,f+t[c],n,r,!0);S.isEmptyObject(l)&&V.remove(e,\"handle events\")}},dispatch:function(e){var t,n,r,i,o,s,a=S.event.fix(e),l=new Array(arguments.length),c=(V.get(this,\"events\")||{})[a.type]||[],u=S.event.special[a.type]||{};for(l[0]=a,t=1;t\\x20\\t\\r\\n\\f]*)[^>]*)\\/>/gi,$e=/\\s*$/g;function Ne(e,t){return j(e,\"table\")&&j(11!==t.nodeType?t:t.firstChild,\"tr\")&&S(e).children(\"tbody\")[0]||e}function qe(e){return e.type=(null!==e.getAttribute(\"type\"))+\"/\"+e.type,e}function Le(e){return\"true/\"===(e.type||\"\").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute(\"type\"),e}function Pe(e,t){var n,r,i,o,s,a,l,c;if(1===t.nodeType){if(V.hasData(e)&&(o=V.access(e),s=V.set(t,o),c=o.events))for(i in delete s.handle,s.events={},c)for(n=0,r=c[i].length;n\")},clone:function(e,t,n){var r,i,o,s,a,l,c,u=e.cloneNode(!0),d=ie(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(s=ge(u),r=0,i=(o=ge(e)).length;r\").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on(\"load error\",i=function(e){r.remove(),i=null,e&&t(\"error\"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var tn,nn=[],rn=/(=)\\?(?=&|$)|\\?\\?/;S.ajaxSetup({jsonp:\"callback\",jsonpCallback:function(){var e=nn.pop()||S.expando+\"_\"+Nt++;return this[e]=!0,e}}),S.ajaxPrefilter(\"json jsonp\",function(e,t,n){var r,i,o,s=!1!==e.jsonp&&(rn.test(e.url)?\"url\":\"string\"==typeof e.data&&0===(e.contentType||\"\").indexOf(\"application/x-www-form-urlencoded\")&&rn.test(e.data)&&\"data\");if(s||\"jsonp\"===e.dataTypes[0])return r=e.jsonpCallback=b(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(rn,\"$1\"+r):!1!==e.jsonp&&(e.url+=(qt.test(e.url)?\"&\":\"?\")+e.jsonp+\"=\"+r),e.converters[\"script json\"]=function(){return o||S.error(r+\" was not called\"),o[0]},e.dataTypes[0]=\"json\",i=T[r],T[r]=function(){o=arguments},n.always(function(){void 0===i?S(T).removeProp(r):T[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,nn.push(r)),o&&b(i)&&i(o[0]),o=i=void 0}),\"script\"}),y.createHTMLDocument=((tn=E.implementation.createHTMLDocument(\"\").body).innerHTML=\"
\",2===tn.childNodes.length),S.parseHTML=function(e,t,n){return\"string\"!=typeof e?[]:(\"boolean\"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument(\"\")).createElement(\"base\")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=k.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,s=this,a=e.indexOf(\" \");return-1\").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.each([\"ajaxStart\",\"ajaxStop\",\"ajaxComplete\",\"ajaxError\",\"ajaxSuccess\",\"ajaxSend\"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,s,a,l,c=S.css(e,\"position\"),u=S(e),d={};\"static\"===c&&(e.style.position=\"relative\"),a=u.offset(),o=S.css(e,\"top\"),l=S.css(e,\"left\"),i=(\"absolute\"===c||\"fixed\"===c)&&-1<(o+l).indexOf(\"auto\")?(s=(r=u.position()).top,r.left):(s=parseFloat(o)||0,parseFloat(l)||0),b(t)&&(t=t.call(e,n,S.extend({},a))),null!=t.top&&(d.top=t.top-a.top+s),null!=t.left&&(d.left=t.left-a.left+i),\"using\"in t?t.using.call(e,d):u.css(d)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if(\"fixed\"===S.css(r,\"position\"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&\"static\"===S.css(e,\"position\");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,\"borderTopWidth\",!0),i.left+=S.css(e,\"borderLeftWidth\",!0))}return{top:t.top-i.top-S.css(r,\"marginTop\",!0),left:t.left-i.left-S.css(r,\"marginLeft\",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&\"static\"===S.css(e,\"position\");)e=e.offsetParent;return e||re})}}),S.each({scrollLeft:\"pageXOffset\",scrollTop:\"pageYOffset\"},function(t,i){var o=\"pageYOffset\"===i;S.fn[t]=function(e){return F(this,function(e,t,n){var r;if(g(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each([\"top\",\"left\"],function(e,n){S.cssHooks[n]=Qe(y.pixelPosition,function(e,t){if(t)return t=Ke(e,n),Ge.test(t)?S(e).position()[n]+\"px\":t})}),S.each({Height:\"height\",Width:\"width\"},function(s,a){S.each({padding:\"inner\"+s,content:a,\"\":\"outer\"+s},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||\"boolean\"!=typeof e),i=r||(!0===e||!0===t?\"margin\":\"border\");return F(this,function(e,t,n){var r;return g(e)?0===o.indexOf(\"outer\")?e[\"inner\"+s]:e.document.documentElement[\"client\"+s]:9===e.nodeType?(r=e.documentElement,Math.max(e.body[\"scroll\"+s],r[\"scroll\"+s],e.body[\"offset\"+s],r[\"offset\"+s],r[\"client\"+s])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},a,n?e:void 0,n)}})}),S.each(\"blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu\".split(\" \"),function(e,n){S.fn[n]=function(e,t){return 0?@[\\\\]^_`{|}~¡¿\")))+\"]*\"+e+\"[^\"+o+\"]*)\";case\"exactly\":return\"(^|\\\\s\"+o+\")(\"+e+\")(?=$|\\\\s\"+o+\")\"}}},{key:\"getSeparatedKeywords\",value:function(e){var t=this,n=[];return e.forEach(function(e){t.opt.separateWordSearch?e.split(\" \").forEach(function(e){e.trim()&&-1===n.indexOf(e)&&n.push(e)}):e.trim()&&-1===n.indexOf(e)&&n.push(e)}),{keywords:n.sort(function(e,t){return t.length-e.length}),length:n.length}}},{key:\"isNumeric\",value:function(e){return Number(parseFloat(e))==e}},{key:\"checkRanges\",value:function(e){var i=this;if(!Array.isArray(e)||\"[object Object]\"!==Object.prototype.toString.call(e[0]))return this.log(\"markRanges() will only accept an array of objects\"),this.opt.noMatch(e),[];var o=[],s=0;return e.sort(function(e,t){return e.start-t.start}).forEach(function(e){var t=i.callNoMatchOnInvalidRanges(e,s),n=t.start,r=t.end;t.valid&&(e.start=n,e.length=r-n,o.push(e),s=r)}),o}},{key:\"callNoMatchOnInvalidRanges\",value:function(e,t){var n=void 0,r=void 0,i=!1;return e&&void 0!==e.start?(r=(n=parseInt(e.start,10))+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&0l){if(!u(e.node))return!1;var r=l-e.start,i=(c>e.end?e.end:c)-e.start,o=a.value.substr(0,e.start),s=a.value.substr(i+e.start);if(e.node=p.wrapRangeInTextNode(e.node,r,i),a.value=o+s,a.nodes.forEach(function(e,t){n<=t&&(0e.end))return!1;l=e.end}return!0})}},{key:\"wrapMatches\",value:function(i,e,o,s,t){var a=this,l=0===e?0:e+1;this.getTextNodes(function(e){e.nodes.forEach(function(e){e=e.node;for(var t=void 0;null!==(t=i.exec(e.textContent))&&\"\"!==t[l];)if(o(t[l],e)){var n=t.index;if(0!==l)for(var r=1;r\":\">\",'\"':\""\",\"'\":\"'\",\"/\":\"/\"};return\"string\"!=typeof e?e:String(e).replace(/[&<>\"'\\/\\\\]/g,function(e){return t[e]})},e.appendMany=function(e,t){if(\"1.7\"===o.fn.jquery.substr(0,3)){var n=o();o.map(t,function(e){n=n.add(e)}),t=n}e.append(t)},e}),e.define(\"select2/results\",[\"jquery\",\"./utils\"],function(p,e){function r(e,t,n){this.$element=e,this.data=n,this.options=t,r.__super__.constructor.call(this)}return e.Extend(r,e.Observable),r.prototype.render=function(){var e=p('
    ');return this.options.get(\"multiple\")&&e.attr(\"aria-multiselectable\",\"true\"),this.$results=e},r.prototype.clear=function(){this.$results.empty()},r.prototype.displayMessage=function(e){var t=this.options.get(\"escapeMarkup\");this.clear(),this.hideLoading();var n=p('
  • '),r=this.options.get(\"translations\").get(e.message);n.append(t(r(e.args))),n[0].className+=\" select2-results__message\",this.$results.append(n)},r.prototype.hideMessages=function(){this.$results.find(\".select2-results__message\").remove()},r.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\",{class:\"select2-results__options select2-results__options--nested\"});d.append(a),o.append(s),o.append(d)}else this.template(e,t);return p.data(t,\"data\",e),t},r.prototype.bind=function(t,e){var l=this,n=t.id+\"-results\";this.$results.attr(\"id\",n),t.on(\"results:all\",function(e){l.clear(),l.append(e.data),t.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),t.on(\"results:append\",function(e){l.append(e.data),t.isOpen()&&l.setClasses()}),t.on(\"query\",function(e){l.hideMessages(),l.showLoading(e)}),t.on(\"select\",function(){t.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),t.on(\"unselect\",function(){t.isOpen()&&(l.setClasses(),l.highlightFirstItem())}),t.on(\"open\",function(){l.$results.attr(\"aria-expanded\",\"true\"),l.$results.attr(\"aria-hidden\",\"false\"),l.setClasses(),l.ensureHighlightVisible()}),t.on(\"close\",function(){l.$results.attr(\"aria-expanded\",\"false\"),l.$results.attr(\"aria-hidden\",\"true\"),l.$results.removeAttr(\"aria-activedescendant\")}),t.on(\"results:toggle\",function(){var e=l.getHighlightedResults();0!==e.length&&e.trigger(\"mouseup\")}),t.on(\"results:select\",function(){var e=l.getHighlightedResults();if(0!==e.length){var t=e.data(\"data\");\"true\"==e.attr(\"aria-selected\")?l.trigger(\"close\",{}):l.trigger(\"select\",{data:t})}}),t.on(\"results:previous\",function(){var e=l.getHighlightedResults(),t=l.$results.find(\"[aria-selected]\"),n=t.index(e);if(0!==n){var r=n-1;0===e.length&&(r=0);var i=t.eq(r);i.trigger(\"mouseenter\");var o=l.$results.offset().top,s=i.offset().top,a=l.$results.scrollTop()+(s-o);0===r?l.$results.scrollTop(0):s-o<0&&l.$results.scrollTop(a)}}),t.on(\"results:next\",function(){var e=l.getHighlightedResults(),t=l.$results.find(\"[aria-selected]\"),n=t.index(e)+1;if(!(n>=t.length)){var r=t.eq(n);r.trigger(\"mouseenter\");var i=l.$results.offset().top+l.$results.outerHeight(!1),o=r.offset().top+r.outerHeight(!1),s=l.$results.scrollTop()+o-i;0===n?l.$results.scrollTop(0):ithis.$results.outerHeight()||o<0)&&this.$results.scrollTop(i)}},r.prototype.template=function(e,t){var n=this.options.get(\"templateResult\"),r=this.options.get(\"escapeMarkup\"),i=n(e,t);null==i?t.style.display=\"none\":\"string\"==typeof i?t.innerHTML=r(i):p(t).append(i)},r}),e.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}}),e.define(\"select2/selection/base\",[\"jquery\",\"../utils\",\"../keys\"],function(n,e,i){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return e.Extend(r,e.Observable),r.prototype.render=function(){var e=n('');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\")),e.attr(\"title\",this.$element.attr(\"title\")),e.attr(\"tabindex\",this._tabindex),this.$selection=e},r.prototype.bind=function(e,t){var n=this,r=(e.id,e.id+\"-results\");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===i.SPACE&&e.preventDefault()}),e.on(\"results:focus\",function(e){n.$selection.attr(\"aria-activedescendant\",e.data._resultId)}),e.on(\"selection:update\",function(e){n.update(e.data)}),e.on(\"open\",function(){n.$selection.attr(\"aria-expanded\",\"true\"),n.$selection.attr(\"aria-owns\",r),n._attachCloseHandler(e)}),e.on(\"close\",function(){n.$selection.attr(\"aria-expanded\",\"false\"),n.$selection.removeAttr(\"aria-activedescendant\"),n.$selection.removeAttr(\"aria-owns\"),n.$selection.focus(),n._detachCloseHandler(e)}),e.on(\"enable\",function(){n.$selection.attr(\"tabindex\",n._tabindex)}),e.on(\"disable\",function(){n.$selection.attr(\"tabindex\",\"-1\")})},r.prototype._handleBlur=function(e){var t=this;window.setTimeout(function(){document.activeElement==t.$selection[0]||n.contains(t.$selection[0],document.activeElement)||t.trigger(\"blur\",e)},1)},r.prototype._attachCloseHandler=function(e){n(document.body).on(\"mousedown.select2.\"+e.id,function(e){var t=n(e.target).closest(\".select2\");n(\".select2.select2-container--open\").each(function(){var e=n(this);this!=t[0]&&e.data(\"element\").select2(\"close\")})})},r.prototype._detachCloseHandler=function(e){n(document.body).off(\"mousedown.select2.\"+e.id)},r.prototype.position=function(e,t){t.find(\".selection\").append(e)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(e){throw new Error(\"The `update` method must be defined in child classes.\")},r}),e.define(\"select2/selection/single\",[\"jquery\",\"./base\",\"../utils\",\"../keys\"],function(e,t,n,r){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass(\"select2-selection--single\"),e.html(''),e},i.prototype.bind=function(t,e){var n=this;i.__super__.bind.apply(this,arguments);var r=t.id+\"-container\";this.$selection.find(\".select2-selection__rendered\").attr(\"id\",r),this.$selection.attr(\"aria-labelledby\",r),this.$selection.on(\"mousedown\",function(e){1===e.which&&n.trigger(\"toggle\",{originalEvent:e})}),this.$selection.on(\"focus\",function(e){}),this.$selection.on(\"blur\",function(e){}),t.on(\"focus\",function(e){t.isOpen()||n.$selection.focus()}),t.on(\"selection:update\",function(e){n.update(e.data)})},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(\"\")},i.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(\".select2-selection__rendered\"),r=this.display(t,n);n.empty().append(r),n.prop(\"title\",t.title||t.text)}else this.clear()},i}),e.define(\"select2/selection/multiple\",[\"jquery\",\"./base\",\"../utils\"],function(r,e,a){function i(e,t){i.__super__.constructor.apply(this,arguments)}return a.Extend(i,e),i.prototype.render=function(){var e=i.__super__.render.call(this);return e.addClass(\"select2-selection--multiple\"),e.html('
      '),e},i.prototype.bind=function(e,t){var n=this;i.__super__.bind.apply(this,arguments),this.$selection.on(\"click\",function(e){n.trigger(\"toggle\",{originalEvent:e})}),this.$selection.on(\"click\",\".select2-selection__choice__remove\",function(e){if(!n.options.get(\"disabled\")){var t=r(this).parent().data(\"data\");n.trigger(\"unselect\",{originalEvent:e,data:t})}})},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 r('
    • ×
    • ')},i.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],n=0;n×');n.data(\"data\",t),this.$selection.find(\".select2-selection__rendered\").prepend(n)}},e}),e.define(\"select2/selection/search\",[\"jquery\",\"../utils\",\"../keys\"],function(r,e,s){function t(e,t,n){e.call(this,t,n)}return t.prototype.render=function(e){var t=r('');this.$searchContainer=t,this.$search=t.find(\"input\");var n=e.call(this);return this._transferTabIndex(),n},t.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on(\"open\",function(){r.$search.trigger(\"focus\")}),t.on(\"close\",function(){r.$search.val(\"\"),r.$search.removeAttr(\"aria-activedescendant\"),r.$search.trigger(\"focus\")}),t.on(\"enable\",function(){r.$search.prop(\"disabled\",!1),r._transferTabIndex()}),t.on(\"disable\",function(){r.$search.prop(\"disabled\",!0)}),t.on(\"focus\",function(e){r.$search.trigger(\"focus\")}),t.on(\"results:focus\",function(e){r.$search.attr(\"aria-activedescendant\",e.id)}),this.$selection.on(\"focusin\",\".select2-search--inline\",function(e){r.trigger(\"focus\",e)}),this.$selection.on(\"focusout\",\".select2-search--inline\",function(e){r._handleBlur(e)}),this.$selection.on(\"keydown\",\".select2-search--inline\",function(e){if(e.stopPropagation(),r.trigger(\"keypress\",e),r._keyUpPrevented=e.isDefaultPrevented(),e.which===s.BACKSPACE&&\"\"===r.$search.val()){var t=r.$searchContainer.prev(\".select2-selection__choice\");if(0this.maximumInputLength?this.trigger(\"results:message\",{message:\"inputTooLong\",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e}),e.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(n,r,i){var o=this;this.current(function(e){var t=null!=e?e.length:0;0=o.maximumSelectionLength?o.trigger(\"results:message\",{message:\"maximumSelected\",args:{maximum:o.maximumSelectionLength}}):n.call(o,r,i)})},e}),e.define(\"select2/dropdown\",[\"jquery\",\"./utils\"],function(t,e){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('');return e.attr(\"dir\",this.options.get(\"dir\")),this.$dropdown=e},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n}),e.define(\"select2/dropdown/search\",[\"jquery\",\"../utils\"],function(i,e){function t(){}return t.prototype.render=function(e){var t=e.call(this),n=i('');return this.$searchContainer=n,this.$search=n.find(\"input\"),t.prepend(n),t},t.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),this.$search.on(\"keydown\",function(e){r.trigger(\"keypress\",e),r._keyUpPrevented=e.isDefaultPrevented()}),this.$search.on(\"input\",function(e){i(this).off(\"keyup\")}),this.$search.on(\"keyup input\",function(e){r.handleSearch(e)}),t.on(\"open\",function(){r.$search.attr(\"tabindex\",0),r.$search.focus(),window.setTimeout(function(){r.$search.focus()},0)}),t.on(\"close\",function(){r.$search.attr(\"tabindex\",-1),r.$search.val(\"\")}),t.on(\"focus\",function(){t.isOpen()&&r.$search.focus()}),t.on(\"results:all\",function(e){null!=e.query.term&&\"\"!==e.query.term||(r.showSearch(e)?r.$searchContainer.removeClass(\"select2-search--hide\"):r.$searchContainer.addClass(\"select2-search--hide\"))})},t.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger(\"query\",{term:t})}this._keyUpPrevented=!1},t.prototype.showSearch=function(e,t){return!0},t}),e.define(\"select2/dropdown/hidePlaceholder\",[],function(){function e(e,t,n,r){this.placeholder=this.normalizePlaceholder(n.get(\"placeholder\")),e.call(this,t,n,r)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return\"string\"==typeof t&&(t={id:\"\",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),r=t.length-1;0<=r;r--){var i=t[r];this.placeholder.id===i.id&&n.splice(r,1)}return n},e}),e.define(\"select2/dropdown/infiniteScroll\",[\"jquery\"],function(i){function e(e,t,n,r){this.lastParams={},e.call(this,t,n,r),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&this.$results.append(this.$loadingMore)},e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on(\"query\",function(e){r.lastParams=e,r.loading=!0}),t.on(\"query:append\",function(e){r.lastParams=e,r.loading=!0}),this.$results.on(\"scroll\",function(){var e=i.contains(document.documentElement,r.$loadingMore[0]);if(!r.loading&&e){var t=r.$results.offset().top+r.$results.outerHeight(!1);r.$loadingMore.offset().top+r.$loadingMore.outerHeight(!1)<=t+50&&r.loadMore()}})},e.prototype.loadMore=function(){this.loading=!0;var e=i.extend({},{page:1},this.lastParams);e.page++,this.trigger(\"query:append\",e)},e.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},e.prototype.createLoadingMore=function(){var e=i('
    • '),t=this.options.get(\"translations\").get(\"loadingMore\");return e.html(t(this.lastParams)),e},e}),e.define(\"select2/dropdown/attachBody\",[\"jquery\",\"../utils\"],function(h,a){function e(e,t,n){this.$dropdownParent=n.get(\"dropdownParent\")||h(document.body),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var r=this,i=!1;e.call(this,t,n),t.on(\"open\",function(){r._showDropdown(),r._attachPositioningHandler(t),i||(i=!0,t.on(\"results:all\",function(){r._positionDropdown(),r._resizeDropdown()}),t.on(\"results:append\",function(){r._positionDropdown(),r._resizeDropdown()}))}),t.on(\"close\",function(){r._hideDropdown(),r._detachPositioningHandler(t)}),this.$dropdownContainer.on(\"mousedown\",function(e){e.stopPropagation()})},e.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},e.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},e.prototype.render=function(e){var t=h(\"\"),n=e.call(this);return t.append(n),this.$dropdownContainer=t},e.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},e.prototype._attachPositioningHandler=function(e,t){var n=this,r=\"scroll.select2.\"+t.id,i=\"resize.select2.\"+t.id,o=\"orientationchange.select2.\"+t.id,s=this.$container.parents().filter(a.hasScroll);s.each(function(){h(this).data(\"select2-scroll-position\",{x:h(this).scrollLeft(),y:h(this).scrollTop()})}),s.on(r,function(e){var t=h(this).data(\"select2-scroll-position\");h(this).scrollTop(t.y)}),h(window).on(r+\" \"+i+\" \"+o,function(e){n._positionDropdown(),n._resizeDropdown()})},e.prototype._detachPositioningHandler=function(e,t){var n=\"scroll.select2.\"+t.id,r=\"resize.select2.\"+t.id,i=\"orientationchange.select2.\"+t.id;this.$container.parents().filter(a.hasScroll).off(n),h(window).off(n+\" \"+r+\" \"+i)},e.prototype._positionDropdown=function(){var e=h(window),t=this.$dropdown.hasClass(\"select2-dropdown--above\"),n=this.$dropdown.hasClass(\"select2-dropdown--below\"),r=null,i=this.$container.offset();i.bottom=i.top+this.$container.outerHeight(!1);var o={height:this.$container.outerHeight(!1)};o.top=i.top,o.bottom=i.top+o.height;var s=this.$dropdown.outerHeight(!1),a=e.scrollTop(),l=e.scrollTop()+e.height(),c=ai.bottom+s,d={left:i.left,top:o.bottom},p=this.$dropdownParent;\"static\"===p.css(\"position\")&&(p=p.offsetParent());var f=p.offset();d.top-=f.top,d.left-=f.left,t||n||(r=\"below\"),u||!c||t?!c&&u&&t&&(r=\"below\"):r=\"above\",(\"above\"==r||t&&\"below\"!==r)&&(d.top=o.top-f.top-s),null!=r&&(this.$dropdown.removeClass(\"select2-dropdown--below select2-dropdown--above\").addClass(\"select2-dropdown--\"+r),this.$container.removeClass(\"select2-container--below select2-container--above\").addClass(\"select2-container--\"+r)),this.$dropdownContainer.css(d)},e.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)},e.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},e}),e.define(\"select2/dropdown/minimumResultsForSearch\",[],function(){function e(e,t,n,r){this.minimumResultsForSearch=n.get(\"minimumResultsForSearch\"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,r)}return e.prototype.showSearch=function(e,t){return!(function e(t){for(var n=0,r=0;r');return e.attr(\"dir\",this.options.get(\"dir\")),this.$container=e,this.$container.addClass(\"select2-container--\"+this.options.get(\"theme\")),e.data(\"element\",this.$element),e},u}),e.define(\"jquery-mousewheel\",[\"jquery\"],function(e){return e}),e.define(\"jquery.select2\",[\"jquery\",\"jquery-mousewheel\",\"./select2/core\",\"./select2/defaults\"],function(i,e,o,t){if(null==i.fn.select2){var s=[\"open\",\"close\",\"destroy\"];i.fn.select2=function(t){if(\"object\"==typeof(t=t||{}))return this.each(function(){var e=i.extend(!0,{},t);new o(i(this),e)}),this;if(\"string\"!=typeof t)throw new Error(\"Invalid arguments for Select2: \"+t);var n,r=Array.prototype.slice.call(arguments,1);return this.each(function(){var e=i(this).data(\"select2\");null==e&&window.console&&console.error&&console.error(\"The select2('\"+t+\"') method was called on an element that is not using Select2.\"),n=e[t].apply(e,r)}),-1