t[l]=t[l]||{},r=t[l][e],o=t[l][e]=function(t,e){if(!this._createWidget)returnnewo(t,e);arguments.length&&this._createWidget(t,e)},t.extend(o,r,{version:i.version,_proto:t.extend({},i),_childConstructors:[]}),s=newn,s.options=t.widget.extend({},s.options),t.each(i,function(e,i){if(!t.isFunction(i))returnvoid(a[e]=i);a[e]=function(){functiont(){returnn.prototype[e].apply(this,arguments)}functionr(t){returnn.prototype[e].apply(this,t)}returnfunction(){vare,n=this._super,o=this._superApply;returnthis._super=t,this._superApply=r,e=i.apply(this,arguments),this._super=n,this._superApply=o,e}}()}),o.prototype=t.widget.extend(s,{widgetEventPrefix:r?s.widgetEventPrefix||e:e},a,{constructor:o,namespace:l,widgetName:e,widgetFullName:c}),r?(t.each(r._childConstructors,function(e,n){vari=n.prototype;t.widget(i.namespace+"."+i.widgetName,o,n._proto)}),deleter._childConstructors):n._childConstructors.push(o),t.widget.bridge(e,o),o},t.widget.extend=function(e){for(vari,r,o=n.call(arguments,1),s=0,a=o.length;s<a;s++)for(iino[s])r=o[s][i],o[s].hasOwnProperty(i)&&void0!==r&&(t.isPlainObject(r)?e[i]=t.isPlainObject(e[i])?t.widget.extend({},e[i],r):t.widget.extend({},r):e[i]=r);returne},t.widget.bridge=function(e,i){varr=i.prototype.widgetFullName||e;t.fn[e]=function(o){vars="string"==typeofo,a=n.call(arguments,1),l=this;returns?this.length||"instance"!==o?this.each(function(){varn,i=t.data(this,r);return"instance"===o?(l=i,!1):i?t.isFunction(i[o])&&"_"!==o.charAt(0)?(n=i[o].apply(i,a),n!==i&&void0!==n?(l=n&&n.jquery?l.pushStack(n.get()):n,!1):void0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+o+"'")}):l=void0:(a.length&&(o=t.widget.extend.apply(null,[o].concat(a))),this.each(function(){vare=t.data(this,r);e?(e.option(o||{}),e._init&&e._init()):t.data(this,r,newi(o,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(n,i){i=t(i||this.defaultElement||this)[0],this.element=t(i),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},i!==this&&(t.data(i,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===i&&this.destroy()}}),this.document=t(i.style?i.ownerDocument:i.document||i),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),n),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){vare=this;this._destroy(),t.each(this.classesElementLookup,function(t,n){e._removeClass(n,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){returnthis.element},option:function(e,n){vari,r,o,s=e;if(0===arguments.length)returnt.widget.extend({},this.options);if("string"==typeofe)if(s={},i=e.split("."),e=i.shift(),i.length){for(r=s[e]=t.widget.extend({},this.options[e]),o=0;o<i.length-1;o++)r[i[o]]=r[i[o]]||{},r=r[i[o]];if(e=i.pop(),1===arguments.length)returnvoid0===r[e]?null:r[e];r[e]=n}else{if(1===arguments.length)returnvoid0===this.options[e]?null:this.options[e];s[e]=n}returnthis._setOptions(s),this},_setOptions:function(t){vare;for(eint)this._setOption(e,t[e]);returnthis},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){varn,i,r;for(nine)r=this.classesElementLookup[n],e[n]!==this.options.classes[n]&&r&&r.length&&(i=t(r.get()),this._removeClass(r
}(),bu=pu.toString,_u=gu.call(au),wu=Mn._,xu=lu("^"+gu.call(mu).replace(Ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ku=jn?e.Buffer:rt,Cu=e.Symbol,Du=e.Uint8Array,Tu=ku?ku.allocUnsafe:rt,Su=V(au.getPrototypeOf,au),$u=au.create,Au=pu.propertyIsEnumerable,Eu=hu.splice,Ou=Cu?Cu.isConcatSpreadable:rt,Iu=Cu?Cu.iterator:rt,Mu=Cu?Cu.toStringTag:rt,Pu=function(){try{vart=Do(au,"defineProperty");returnt({},"",{}),t}catch(t){}}(),Nu=e.clearTimeout!==Mn.clearTimeout&&e.clearTimeout,ju=iu&&iu.now!==Mn.Date.now&&iu.now,Lu=e.setTimeout!==Mn.setTimeout&&e.setTimeout,Fu=su.ceil,Ru=su.floor,Hu=au.getOwnPropertySymbols,zu=ku?ku.isBuffer:rt,Wu=e.isFinite,Uu=hu.join,Bu=V(au.keys,au),qu=su.max,Yu=su.min,Vu=iu.now,Xu=e.parseInt,Ku=su.random,Gu=hu.reverse,Zu=Do(e,"DataView"),Qu=Do(e,"Map"),Ju=Do(e,"Promise"),th=Do(e,"Set"),eh=Do(e,"WeakMap"),nh=Do(au,"create"),ih=eh&&neweh,rh={},oh=ts(Zu),sh=ts(Qu),ah=ts(Ju),lh=ts(th),ch=ts(eh),uh=Cu?Cu.prototype:rt,hh=uh?uh.valueOf:rt,dh=uh?uh.toString:rt,ph=function(){functiont(){}returnfunction(e){if(!rl(e))return{};if($u)return$u(e);t.prototype=e;varn=newt;returnt.prototype=rt,n}}();n.templateSettings={escape:De,evaluate:Te,interpolate:Se,variable:"",imports:{_:n}},n.prototype=i.prototype,n.prototype.constructor=n,r.prototype=ph(i.prototype),r.prototype.constructor=r,_.prototype=ph(i.prototype),_.prototype.constructor=_,nt.prototype.clear=He,nt.prototype.delete=Qe,nt.prototype.get=Je,nt.prototype.has=tn,nt.prototype.set=en,nn.prototype.clear=rn,nn.prototype.delete=on,nn.prototype.get=sn,nn.prototype.has=an,nn.prototype.set=ln,cn.prototype.clear=un,cn.prototype.delete=hn,cn.prototype.get=dn,cn.prototype.has=pn,cn.prototype.set=fn,vn.prototype.add=vn.prototype.push=yn,vn.prototype.has=bn,_n.prototype.clear=Dn,_n.prototype.delete=Tn,_n.prototype.get=Sn,_n.prototype.has=$n,_n.prototype.set=On;varfh=Ur(pi),gh=Ur(fi,!0),mh=Br(),vh=Br(!0),yh=ih?function(t,e){returnih.set(t,e),t}:Ec,bh=Pu?function(t,e){returnPu(t,"toString",{configurable:!0,enumerable:!1,value:$c(e),writable:!0})}:Ec,_h=nr,wh=Nu||function(t){returnMn.clearTimeout(t)},xh=th&&1/K(newth([,-0]))[1]==It?function(t){returnnewth(t)}:jc,kh=ih?function(t){returnih.get(t)}:jc,Ch=Hu?function(t){returnnull==t?[]:(t=au(t),d(Hu(t),function(e){returnAu.call(t,e)}))}:Hc,Dh=Hu?function(t){for(vare=[];t;)m(e,Ch(t)),t=Su(t);returne}:Hc,Th=yi;(Zu&&Th(newZu(newArrayBuffer(1)))!=le||Qu&&Th(newQu)!=Kt||Ju&&"[object Promise]"!=Th(Ju.resolve())||th&&Th(newth)!=ee||eh&&Th(neweh)!=oe)&&(Th=function(t){vare=yi(t),n=e==Qt?t.constructor:rt,i=n?ts(n):"";if(i)switch(i){caseoh:returnle;casesh:returnKt;caseah:return"[object Promise]";caselh:returnee;casech:returnoe}returne});varSh=fu?el:zc,$h=Zo(yh),Ah=Lu||function(t,e){returnMn.setTimeout(t,e)},Eh=Zo(bh),Oh=function(t){vare=Oa(t,function(t){returnn.size===ct&&n.clear(),t}),n=e.cache;returne}(function(t){vare=[];returnEe.test(t)&&e.push(""),t.replace(Oe,function(t,n,i,r){e.push(i?r.replace(ze,"$1"):n||t)}),e}),Ih=nr(function(t,e){returnVa(t)?ai(t,di(e,1,Va,!0)):[]}),Mh=nr(function(t,e){varn=ws(e);returnVa(n)&&(n=rt),Va(t)?ai(t,di(e,1,Va,!0),xo(n,2)):[]}),Ph=nr(function(t,e){varn=ws(e);returnVa(n)&&(n=rt),Va(t)?ai(t,di(e,1,Va,!0),rt,n):[]}),Nh=nr(function(t){vare=g(t,wr);returne.length&&e[0]===t[0]?ki(e):[]}),jh=nr(function(t){vare=ws(t),n=g(t,wr);returne===ws(n)?e=rt:n.pop(),n.length&&n[0]===t[0]?ki(n,xo(e,2)):[]}),Lh=nr(function(t){vare=ws(t),n=g(t,wr);returne="function"==typeofe?e:rt,e&&n.pop(),n.length&&n[0]===t[0]?ki(n,rt,e):[]}),Fh=nr(Cs),Rh=vo(function(t,e){varn=null==t?0:t.length,i=ei(t,e);returnQi(t,g(e,function(t){returnNo(t,n)?+t:t}).sort(Mr)),i}),Hh=nr(function(t){returnfr(di(t,1,Va,!0))}),zh=nr(function(t){vare=ws(t);returnVa(e)&&(e=rt),fr(di(t,1,Va,!0),xo(e,2))}),Wh=nr(function(t){vare=ws(t);returne="function"==typeofe?e:rt,fr(di(t,1,Va,!0),rt,e)}),Uh=nr(function(t,e){returnVa(t)?ai(t,e):[]}),Bh=nr(function(t){returnbr(d(t,Va))}),qh=nr(function(t){vare=ws(t);returnVa(e)&&(e=rt),br(d(t,Va),xo(e,2))}),Yh=nr
e.define("select2/selection/multiple",["jquery","./base","../utils"],function(t,e,n){functioni(t,e){i.__super__.constructor.apply(this,arguments)}returnn.Extend(i,e),i.prototype.render=function(){vart=i.__super__.render.call(this);returnt.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},i.prototype.bind=function(e,n){varr=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){r.trigger("toggle",{originalEvent:t})}),this.$selection.on("click",".select2-selection__choice__remove",function(e){if(!r.options.get("disabled")){varn=t(this),i=n.parent(),o=i.data("data");r.trigger("unselect",{originalEvent:e,data:o})}})},i.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},i.prototype.display=function(t,e){varn=this.options.get("templateSelection");returnthis.options.get("escapeMarkup")(n(t,e))},i.prototype.selectionContainer=function(){returnt('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">×</span></li>')},i.prototype.update=function(t){if(this.clear(),0!==t.length){for(vare=[],i=0;i<t.length;i++){varr=t[i],o=this.selectionContainer(),s=this.display(r,o);o.append(s),o.prop("title",r.title||r.text),o.data("data",r),e.push(o)}vara=this.$selection.find(".select2-selection__rendered");n.appendMany(a,e)}},i}),e.define("select2/selection/placeholder",["../utils"],function(t){functione(t,e,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n)}returne.prototype.normalizePlaceholder=function(t,e){return"string"==typeofe&&(e={id:"",text:e}),e},e.prototype.createPlaceholder=function(t,e){varn=this.selectionContainer();returnn.html(this.display(e)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},e.prototype.update=function(t,e){varn=1==e.length&&e[0].id!=this.placeholder.id;if(e.length>1||n)returnt.call(this,e);this.clear();vari=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},e}),e.define("select2/selection/allowClear",["jquery","../keys"],function(t,e){functionn(){}returnn.prototype.bind=function(t,e,n){vari=this;t.call(this,e,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(t){i._handleClear(t)}),e.on("keypress",function(t){i._handleKeyboardClear(t,e)})},n.prototype._handleClear=function(t,e){if(!this.options.get("disabled")){varn=this.$selection.find(".select2-selection__clear");if(0!==n.length){e.stopPropagation();for(vari=n.data("data"),r=0;r<i.length;r++){varo={data:i[r]};if(this.trigger("unselect",o),o.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},n.prototype._handleKeyboardClear=function(t,n,i){i.isOpen()||n.which!=e.DELETE&&n.which!=e.BACKSPACE||this._handleClear(n)},n.prototype.update=function(e,n){if(e.call(this,n),!(this.$selection.find(".select2-selection__placeholder").length>0||0===n.length)){vari=t('<span class="select2-selection__clear">×</span>');i.data("data",n),this.$selection.find(".select2-selection__rendered").prepend(i)}},n}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(t,e,n){functioni(t,e,n){t.call(this,e,n)}returni.prototype.render=function(e){varn=t('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");vari=e.call(this);returnthis._transferTabIndex(),i},i.prototype.bind=function(t,e,i){varr=this;t.call(this,e,i),e.on("open",function(){r.$search.trigger("focus")}),e.on("close",function(){r.$search.val(""),r.$search.removeAttr("aria-ac
vare="You can only select "+t.maximum+" item";return1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),e.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(t,e,n,i,r,o,s,a,l,c,u,h,d,p,f,g,m,v,y,b,_,w,x,k,C,D,T,S,$){functionA(){this.reset()}returnA.prototype.apply=function(h){if(h=t.extend(!0,{},this.defaults,h),null==h.dataAdapter){if(null!=h.ajax?h.dataAdapter=f:null!=h.data?h.dataAdapter=p:h.dataAdapter=d,h.minimumInputLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,v)),h.maximumInputLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,y)),h.maximumSelectionLength>0&&(h.dataAdapter=c.Decorate(h.dataAdapter,b)),h.tags&&(h.dataAdapter=c.Decorate(h.dataAdapter,g)),null==h.tokenSeparators&&null==h.tokenizer||(h.dataAdapter=c.Decorate(h.dataAdapter,m)),null!=h.query){var$=e(h.amdBase+"compat/query");h.dataAdapter=c.Decorate(h.dataAdapter,$)}if(null!=h.initSelection){varA=e(h.amdBase+"compat/initSelection");h.dataAdapter=c.Decorate(h.dataAdapter,A)}}if(null==h.resultsAdapter&&(h.resultsAdapter=n,null!=h.ajax&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,k)),null!=h.placeholder&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,x)),h.selectOnClose&&(h.resultsAdapter=c.Decorate(h.resultsAdapter,T))),null==h.dropdownAdapter){if(h.multiple)h.dropdownAdapter=_;else{varE=c.Decorate(_,w);h.dropdownAdapter=E}if(0!==h.minimumResultsForSearch&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,D)),h.closeOnSelect&&(h.dropdownAdapter=c.Decorate(h.dropdownAdapter,S)),null!=h.dropdownCssClass||null!=h.dropdownCss||null!=h.adaptDropdownCssClass){varO=e(h.amdBase+"compat/dropdownCss");h.dropdownAdapter=c.Decorate(h.dropdownAdapter,O)}h.dropdownAdapter=c.Decorate(h.dropdownAdapter,C)}if(null==h.selectionAdapter){if(h.multiple?h.selectionAdapter=r:h.selectionAdapter=i,null!=h.placeholder&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,o)),h.allowClear&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,s)),h.multiple&&(h.selectionAdapter=c.Decorate(h.selectionAdapter,a)),null!=h.containerCssClass||null!=h.containerCss||null!=h.adaptContainerCssClass){varI=e(h.amdBase+"compat/containerCss");h.selectionAdapter=c.Decorate(h.selectionAdapter,I)}h.selectionAdapter=c.Decorate(h.selectionAdapter,l)}if("string"==typeofh.language)if(h.language.indexOf("-")>0){varM=h.language.split("-"),P=M[0];h.language=[h.language,P]}elseh.language=[h.language];if(t.isArray(h.language)){varN=newu;h.language.push("en");for(varj=h.language,L=0;L<j.length;L++){varF=j[L],R={};try{R=u.loadPath(F)}catch(t){try{F=this.defaults.amdLanguageBase+F,R=u.loadPath(F)}catch(t){h.debug&&window.console&&console.warn&&console.warn('Select2: The language file for "'+F+'" could not be automatically loaded. A fallback will be used instead.');continue}}N.extend(R)}h.translations=N}else{varH=u.loadPath(this.defaults.amdLanguageBase+"en"),z=newu(h.language);z.extend(H),h.translations=z}returnh},A.prototype.reset=function(){functione(t){functione(t){returnh[t]||t}returnt.replace(/[^\u0000-\u007E]/g,e)}functionn(i,r){if(""===t.trim(i.term))returnr;if(r.children&&r.children.length>0){for(varo=t.extend(!0,{},r),s=r.children.length-1;s>=0;s--){null==n(i,r.children[s])&&o.children.splice(s,1)}returno.children.length>0?o:n(i,o)}vara=e(r.text).toUpperCase(),l=e(i.term).toUpperCase();returna.indexOf(l)>-1?r:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMark
},[t._v("\n Revoke\n ")])])])}))])])])]):t._e()])},staticRenderFns:[function(){vart=this,e=t.$createElement,n=t._self._c||e;returnn("thead",[n("tr",[n("th",[t._v("Name")]),t._v(" "),n("th",[t._v("Scopes")]),t._v(" "),n("th")])])}]},t.exports.render._withStripped=!0},function(t,e,n){t.exports={render:function(){vart=this,e=t.$createElement,n=t._self._c||e;returnn("div",[n("div",{staticClass:"panel panel-default"},[n("div",{staticClass:"panel-heading"},[n("div",{staticStyle:{display:"flex","justify-content":"space-between","align-items":"center"}},[n("span",[t._v("\n OAuth Clients\n ")]),t._v(" "),n("a",{staticClass:"action-link",on:{click:t.showCreateClientForm}},[t._v("\n Create New Client\n ")])])]),t._v(" "),n("div",{staticClass:"panel-body"},[0===t.clients.length?n("p",{staticClass:"m-b-none"},[t._v("\n You have not created any OAuth clients.\n ")]):t._e(),t._v(" "),t.clients.length>0?n("table",{staticClass:"table table-borderless m-b-none"},[t._m(0),t._v(" "),n("tbody",t._l(t.clients,function(e){returnn("tr",[n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.id)+"\n ")]),t._v(" "),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[t._v("\n "+t._s(e.name)+"\n ")]),t._v(" "),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("code",[t._v(t._s(e.secret))])]),t._v(" "),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link",on:{click:function(n){t.edit(e)}}},[t._v("\n Edit\n ")])]),t._v(" "),t._v(" "),n("td",{staticStyle:{"vertical-align":"middle"}},[n("a",{staticClass:"action-link text-danger",on:{click:function(n){t.destroy(e)}}},[t._v("\n Delete\n ")])])])}))]):t._e()])]),t._v(" "),t._v(" "),n("div",{staticClass:"modal fade",attrs:{id:"modal-create-client",tabindex:"-1",role:"dialog"}},[n("div",{staticClass:"modal-dialog"},[n("div",{staticClass:"modal-content"},[t._m(1),t._v(" "),n("div",{staticClass:"modal-body"},[t.createForm.errors.length>0?n("div",{staticClass:"alert alert-danger"},[t._m(2),t._v(" "),n("br"),t._v(" "),n("ul",t._l(t.createForm.errors,function(e){returnn("li",[t._v("\n "+t._s(e)+"\n ")])}))]):t._e(),t._v(" "),t._v(" "),n("form",{staticClass:"form-horizontal",attrs:{role:"form"}},[n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label"},[t._v("Name")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.name,expression:"createForm.name"}],staticClass:"form-control",attrs:{id:"create-client-name",type:"text"},domProps:{value:t._s(t.createForm.name)},on:{keyup:function(e){t._k(e.keyCode,"enter",13)||t.store(e)},input:function(e){e.target.composing||(t.createForm.name=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Something your users will recognize and trust.\n ")])])]),t._v(" "),t._v(" "),n("div",{staticClass:"form-group"},[n("label",{staticClass:"col-md-3 control-label"},[t._v("Redirect URL")]),t._v(" "),n("div",{staticClass:"col-md-7"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.createForm.redirect,expression:"createForm.redirect"}],staticClass:"form-control",attrs:{type:"text",name:"redirect"},domProps:{value:t._s(t.createForm.redirect)},on:{keyup:function(e){t._k(e.keyCode,"enter",13)||t.store(e)},input:function(e){e.target.composing||(t.createForm.redirect=e.target.value)}}}),t._v(" "),n("span",{staticClass:"help-block"},[t._v("\n Your application's authorization callback URL.\n ")])])])])]),t._v(" "),t._v(" "),n("div",{
vari=n(32),r=n(33),o=n(34),s=n(36),a=function(t,e,n){varl,c,u,h=t&a.F,d=t&a.G,p=t&a.S,f=t&a.P,g=t&a.B,m=t&a.W,v=d?r:r[e]||(r[e]={}),y=v.prototype,b=d?i:p?i[e]:(i[e]||{}).prototype;d&&(n=e);for(linn)(c=!h&&b&&void0!==b[l])&&linv||(u=c?b[l]:n[l],v[l]=d&&"function"!=typeofb[l]?n[l]:g&&c?o(u,i):m&&b[l]==u?function(t){vare=function(e,n,i){if(thisinstanceoft){switch(arguments.length){case0:returnnewt;case1:returnnewt(e);case2:returnnewt(e,n)}returnnewt(e,n,i)}returnt.apply(this,arguments)};returne.prototype=t.prototype,e}(u):f&&"function"==typeofu?o(Function.call,u):u,f&&((v.virtual||(v.virtual={}))[l]=u,t&a.R&&y&&!y[l]&&s(y,l,u)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,e){varn=t.exports="undefined"!=typeofwindow&&window.Math==Math?window:"undefined"!=typeofself&&self.Math==Math?self:Function("return this")();"number"==typeof__g&&(__g=n)},function(t,e){varn=t.exports={version:"2.4.0"};"number"==typeof__e&&(__e=n)},function(t,e,n){vari=n(35);t.exports=function(t,e,n){if(i(t),void0===e)returnt;switch(n){case1:returnfunction(n){returnt.call(e,n)};case2:returnfunction(n,i){returnt.call(e,n,i)};case3:returnfunction(n,i,r){returnt.call(e,n,i,r)}}returnfunction(){returnt.apply(e,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeoft)throwTypeError(t+" is not a function!");returnt}},function(t,e,n){vari=n(37),r=n(45);t.exports=n(41)?function(t,e,n){returni.f(t,e,r(1,n))}:function(t,e,n){returnt[e]=n,t}},function(t,e,n){vari=n(38),r=n(40),o=n(44),s=Object.defineProperty;e.f=n(41)?Object.defineProperty:function(t,e,n){if(i(t),e=o(e,!0),i(n),r)try{returns(t,e,n)}catch(t){}if("get"inn||"set"inn)throwTypeError("Accessors not supported!");return"value"inn&&(t[e]=n.value),t}},function(t,e,n){vari=n(39);t.exports=function(t){if(!i(t))throwTypeError(t+" is not an object!");returnt}},function(t,e){t.exports=function(t){return"object"==typeoft?null!==t:"function"==typeoft}},function(t,e,n){t.exports=!n(41)&&!n(42)(function(){return7!=Object.defineProperty(n(43)("div"),"a",{get:function(){return7}}).a})},function(t,e,n){t.exports=!n(42)(function(){return7!=Object.defineProperty({},"a",{get:function(){return7}}).a})},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){vari=n(39),r=n(32).document,o=i(r)&&i(r.createElement);t.exports=function(t){returno?r.createElement(t):{}}},function(t,e,n){vari=n(39);t.exports=function(t,e){if(!i(t))returnt;varn,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))returnr;if("function"==typeof(n=t.valueOf)&&!i(r=n.call(t)))returnr;if(!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))returnr;throwTypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){t.exports={default:n(47),__esModule:!0}},function(t,e,n){n(48),n(77),t.exports=n(81).f("iterator")},function(t,e,n){"use strict";vari=n(49)(!0);n(52)(String,"String",function(t){this._t=String(t),this._i=0},function(){vart,e=this._t,n=this._i;returnn>=e.length?{value:void0,done:!0}:(t=i(e,n),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){vari=n(50),r=n(51);t.exports=function(t){returnfunction(e,n){varo,s,a=String(r(e)),l=i(n),c=a.length;returnl<0||l>=c?t?"":void0:(o=a.charCodeAt(l),o<55296||o>56319||l+1===c||(s=a.charCodeAt(l+1))<56320||s>57343?t?a.charAt(l):o:t?a.slice(l,l+2):s-56320+(o-55296<<10)+65536)}}},function(t,e){varn=Math.ceil,i=Math.floor;t.exports=function(t){returnisNaN(t=+t)?0:(t>0?i:n)(t)}},function(t,e){t.exports=function(t){if(void0==t)throwTypeError("Can't call method on "+t);returnt}},function(t,e,n){"use strict";vari=n(53),r=n(31),o=n(54),s=n(36),a=n(55),l=n(56),c=n(57),u=n(73),h=n(75),d=n(74)("iterator"),p=!([].keys&&"next"in[].keys()),f=function(){returnthis};t.exports=function(t,e,n,g,m,v,y){c(n,e,g);varb,_,w,x=function(t){if(!p&&tinT)returnT[t];switch(t){case"keys":case"values":returnfunction(){returnnewn(this,t)
functionqi(t,e){returne=e?h(h({},La),e):La,Ti(t,e)}functionYi(t,e,n){vari=e&&e.warn||xr;try{newFunction("return 1")}catch(t){t.toString().match(/unsafe-eval|CSP/)&&i("It seems you are using the standalone build of Vue.js in an environment with Content Security Policy that prohibits unsafe-eval. The template compiler cannot work in this environment. Consider relaxing the policy to allow unsafe-eval or pre-compiling your templates into render functions.")}varr=e&&e.delimiters?String(e.delimiters)+t:t;if(ja[r])returnja[r];varo={},s=qi(t,e);o.render=Vi(s.render);vara=s.staticRenderFns.length;o.staticRenderFns=newArray(a);for(varl=0;l<a;l++)o.staticRenderFns[l]=Vi(s.staticRenderFns[l]);return(o.render===g||o.staticRenderFns.some(function(t){returnt===g}))&&i("failed to compile template:\n\n"+t+"\n\n"+Si(s.ast).join("\n")+"\n\n",n),ja[r]=o}functionVi(t){try{returnnewFunction(t)}catch(t){returng}}functionXi(t){if(t.outerHTML)returnt.outerHTML;vare=document.createElement("div");returne.appendChild(t.cloneNode(!0)),e.innerHTML}varKi,Gi,Zi=r("slot,component",!0),Qi=Object.prototype.hasOwnProperty,Ji=/-(\w)/g,tr=l(function(t){returnt.replace(Ji,function(t,e){returne?e.toUpperCase():""})}),er=l(function(t){returnt.charAt(0).toUpperCase()+t.slice(1)}),nr=/([^-])([A-Z])/g,ir=l(function(t){returnt.replace(nr,"$1-$2").replace(nr,"$1-$2").toLowerCase()}),rr=Object.prototype.toString,or="[object Object]",sr=function(){return!1},ar=function(t){returnt},lr={optionMergeStrategies:Object.create(null),silent:!1,devtools:!0,errorHandler:null,ignoredElements:null,keyCodes:Object.create(null),isReservedTag:sr,isUnknownElement:sr,getTagNamespace:g,parsePlatformTagName:ar,mustUseProp:sr,_assetTypes:["component","directive","filter"],_lifecycleHooks:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100},cr=/[^\w.$]/,ur="__proto__"in{},hr="undefined"!=typeofwindow,dr=hr&&window.navigator.userAgent.toLowerCase(),pr=dr&&/msie|trident/.test(dr),fr=dr&&dr.indexOf("msie 9.0")>0,gr=dr&&dr.indexOf("edge/")>0,mr=dr&&dr.indexOf("android")>0,vr=dr&&/iphone|ipad|ipod|ios/.test(dr),yr=function(){returnvoid0===Ki&&(Ki=!hr&&void0!==e&&"server"===e.process.env.VUE_ENV),Ki},br=hr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,_r=function(){functiont(){i=!1;vart=n.slice(0);n.length=0;for(vare=0;e<t.length;e++)t[e]()}vare,n=[],i=!1;if("undefined"!=typeofPromise&&x(Promise)){varr=Promise.resolve(),o=function(t){console.error(t)};e=function(){r.then(t).catch(o),vr&&setTimeout(g)}}elseif("undefined"==typeofMutationObserver||!x(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())e=function(){setTimeout(t,0)};else{vars=1,a=newMutationObserver(t),l=document.createTextNode(String(s));a.observe(l,{characterData:!0}),e=function(){s=(s+1)%2,l.data=String(s)}}returnfunction(t,r){varo;if(n.push(function(){t&&t.call(r),o&&o(r)}),i||(i=!0,e()),!t&&"undefined"!=typeofPromise)returnnewPromise(function(t){o=t})}}();Gi="undefined"!=typeofSet&&x(Set)?Set:function(){functiont(){this.set=Object.create(null)}returnt.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();varwr,xr=g,kr="undefined"!=typeofconsole;xr=function(t,e){kr&&!lr.silent&&console.error("[Vue warn]: "+t+" "+(e?Cr(wr(e)):""))},wr=function(t){if(t.$root===t)return"root instance";vare=t._isVue?t.$options.name||t.$options._componentTag:t.name;return(e?"component <"+e+">":"anonymous component")+(t._isVue&&t.$options.__file?" at "+t.$options.__file:"")};varCr=function(t){return"anonymous component"===t&&(t+=' - use the "name" option for better debugging messages.'),"\n(found in "+t+")"},Dr=0,Tr=function(){this.id=Dr++,this.subs=[]};Tr.prototype.addSub=function(t){this.subs.push(t)},Tr.prototype.removeSub=function(t){o(this.subs,t)},Tr.prototype.depend=function(){Tr.target&&Tr.target.addDep(this)},Tr.prototype.notify=function(){for(vart=this.subs.slice(
},ra={},oa=/</g,sa=/>/g,aa=/ /g,la=/&/g,ca=/"/g,ua=/\{\{((?:.|\n)+?)\}\}/g,ha=/[-.*+?^${}()|[\]\/\\]/g,da=l(function(t){vare=t[0].replace(ha,"\\$&"),n=t[1].replace(ha,"\\$&");returnnewRegExp(e+"((?:.|\\n)+?)"+n,"g")}),pa=/^v-|^@|^:/,fa=/(.*?)\s+(?:in|of)\s+(.*)/,ga=/\((\{[^}]*\}|[^,]*),([^,]*)(?:,([^,]*))?\)/,ma=/^:|^v-bind:/,va=/^@|^v-on:/,ya=/:(.*)$/,ba=/\.[^.]+/g,_a=l(an),wa=/^xmlns:NS\d+/,xa=/^NS\d+:/,ka=l(Xn),Ca=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,Da=/^\s*[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['.*?']|\[".*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*\s*$/,Ta={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Sa={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:"if($event.target !== $event.currentTarget)return;",ctrl:"if(!$event.ctrlKey)return;",shift:"if(!$event.shiftKey)return;",alt:"if(!$event.altKey)return;",meta:"if(!$event.metaKey)return;"},$a={bind:ri,cloak:g},Aa=newRegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),Ea=/[A-Za-z_$][\w$]*/,Oa=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g,Ia={staticKeys:["staticClass"],transformNode:Ii,genData:Mi},Ma={staticKeys:["staticStyle"],transformNode:Pi,genData:Ni},Pa=[Ia,Ma],Na={model:ji,text:Ui,html:Bi},ja=Object.create(null),La={expectHTML:!0,modules:Pa,staticKeys:m(Pa),directives:Na,isReservedTag:Co,isUnaryTag:gs,mustUseProp:po,getTagNamespace:Kt,isPreTag:ko},Fa=l(function(t){vare=Zt(t);returne&&e.innerHTML}),Ra=Ft.prototype.$mount;Ft.prototype.$mount=function(t,e){if((t=t&&Zt(t))===document.body||t===document.documentElement)returnxr("Do not mount Vue to <html> or <body> - mount to normal elements instead."),this;varn=this.$options;if(!n.render){vari=n.template;if(i)if("string"==typeofi)"#"===i.charAt(0)&&((i=Fa(i))||xr("Template element not found or is empty: "+n.template,this));else{if(!i.nodeType)returnxr("invalid template option:"+i,this),this;i=i.innerHTML}elset&&(i=Xi(t));if(i){varr=Yi(i,{warn:xr,shouldDecodeNewlines:fs,delimiters:n.delimiters},this),o=r.render,s=r.staticRenderFns;n.render=o,n.staticRenderFns=s}}returnRa.call(this,t,e)},Ft.compile=Yi,t.exports=Ft}).call(e,n(4))},function(t,e){t.exports=function(t){returnt.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){returnt.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){returnt.i}}),t.webpackPolyfill=1),t}},function(t,e){},,function(t,e,n){t.exports=n(5)}]),function(t,e){"function"==typeofdefine&&define.amd?define(e):"object"==typeofexports?module.exports=e(require,exports,module):t.Tether=e()}(this,function(t,e,n){"use strict";functioni(t,e){if(!(tinstanceofe))thrownewTypeError("Cannot call a class as a function")}functionr(t){vare=t.getBoundingClientRect(),n={};for(variine)n[i]=e[i];if(t.ownerDocument!==document){varo=t.ownerDocument.defaultView.frameElement;if(o){vars=r(o);n.top+=s.top,n.bottom+=s.top,n.left+=s.left,n.right+=s.left}}returnn}functiono(t){vare=getComputedStyle(t)||{},n=e.position,i=[];if("fixed"===n)return[t];for(varr=t;(r=r.parentNode)&&r&&1===r.nodeType;){varo=void0;try{o=getComputedStyle(r)}catch(t){}if(void0===o||null===o)returni.push(r),i;vars=o,a=s.overflow,l=s.overflowX;/(auto|scroll)/.test(a+s.overflowY+l)&&("absolute"!==n||["relative","absolute","fixed"].indexOf(o.position)>=0)&&i.push(r)}returni.push(t.ownerDocument.body),t.ownerDocument!==document&&i.push(t.ownerDocument.defaultView),i}functions(){D&&document.body.removeChild(D),D=null}functiona(t){vare=void0;t===document?(e=document,t=document.documentElement):e=t.ownerDocument;varn=e.documentElement,i=r(t),o=$();returni.top-=o.top,i.left-=o.left,void0===i.width&&(i.width=document.body.scrollWidth-i.left-i.right),void0===i.height&&(i.height=document.body.scrollHeig
deleter._childConstructors):n._childConstructors.push(o),t.widget.bridge(e,o),o},t.widget.extend=function(e){for(varn,i,r=c.call(arguments,1),o=0,s=r.length;o<s;o++)for(ninr[o])i=r[o][n],r[o].hasOwnProperty(n)&&void0!==i&&(t.isPlainObject(i)?e[n]=t.isPlainObject(e[n])?t.widget.extend({},e[n],i):t.widget.extend({},i):e[n]=i);returne},t.widget.bridge=function(e,n){vari=n.prototype.widgetFullName||e;t.fn[e]=function(r){varo="string"==typeofr,s=c.call(arguments,1),a=this;returno?this.length||"instance"!==r?this.each(function(){varn,o=t.data(this,i);return"instance"===r?(a=o,!1):o?t.isFunction(o[r])&&"_"!==r.charAt(0)?(n=o[r].apply(o,s),n!==o&&void0!==n?(a=n&&n.jquery?a.pushStack(n.get()):n,!1):void0):t.error("no such method '"+r+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+r+"'")}):a=void0:(s.length&&(r=t.widget.extend.apply(null,[r].concat(s))),this.each(function(){vare=t.data(this,i);e?(e.option(r||{}),e._init&&e._init()):t.data(this,i,newn(r,this))})),a}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,n){n=t(n||this.defaultElement||this)[0],this.element=t(n),this.uuid=l++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},n!==this&&(t.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===n&&this.destroy()}}),this.document=t(n.style?n.ownerDocument:n.document||n),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){vare=this;this._destroy(),t.each(this.classesElementLookup,function(t,n){e._removeClass(n,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){returnthis.element},option:function(e,n){vari,r,o,s=e;if(0===arguments.length)returnt.widget.extend({},this.options);if("string"==typeofe)if(s={},i=e.split("."),e=i.shift(),i.length){for(r=s[e]=t.widget.extend({},this.options[e]),o=0;o<i.length-1;o++)r[i[o]]=r[i[o]]||{},r=r[i[o]];if(e=i.pop(),1===arguments.length)returnvoid0===r[e]?null:r[e];r[e]=n}else{if(1===arguments.length)returnvoid0===this.options[e]?null:this.options[e];s[e]=n}returnthis._setOptions(s),this},_setOptions:function(t){vare;for(eint)this._setOption(e,t[e]);returnthis},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){varn,i,r;for(nine)r=this.classesElementLookup[n],e[n]!==this.options.classes[n]&&r&&r.length&&(i=t(r.get()),this._removeClass(r,n),i.addClass(this._classes({element:i,keys:n,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){returnthis._setOptions({disabled:!1})},disable:function(){returnthis._setOptions({disabled:!0})},_classes:function(e){functionn(n,o){vars,a;for(a=0;a<n.length;a++)s=r.classesElementLookup[n[a]]||t(),s=t(e.add?t.unique(s.get().concat(e.element.get())):s.not(e.element).get()),r.classesElementLookup[n[a]]=s,i.push(n[a]),o&&e.classes[n[a]]&&i.push(e.classes[n[a]])}vari=[],r=this;returne=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&n(e.keys.match(/\S+/g)||[],!0
this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:t},this._response())},_response:function(){vare=++this.requestIndex;returnt.proxy(function(t){e===this.requestIndex&&this.__response(t),--this.pending||this._removeClass("ui-autocomplete-loading")},this)},__response:function(t){t&&(t=this._normalize(t)),this._trigger("response",null,{content:t}),!this.options.disabled&&t&&t.length&&!this.cancelSearch?(this._suggest(t),this._trigger("open")):this._close()},close:function(t){this.cancelSearch=!0,this._close(t)},_close:function(t){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",t))},_change:function(t){this.previous!==this._value()&&this._trigger("change",t,{item:this.selectedItem})},_normalize:function(e){returne.length&&e[0].label&&e[0].value?e:t.map(e,function(e){return"string"==typeofe?{label:e,value:e}:t.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){varn=this.menu.element.empty();this._renderMenu(n,e),this.isNewMenu=!0,this.menu.refresh(),n.show(),this._resizeMenu(),n.position(t.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){vart=this.menu.element;t.outerWidth(Math.max(t.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(e,n){vari=this;t.each(n,function(t,n){i._renderItemData(e,n)})},_renderItemData:function(t,e){returnthis._renderItem(t,e).data("ui-autocomplete-item",e)},_renderItem:function(e,n){returnt("<li>").append(t("<div>").text(n.label)).appendTo(e)},_move:function(t,e){returnthis.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),voidthis.menu.blur()):voidthis.menu[t](e):voidthis.search(null,e)},widget:function(){returnthis.menu.element},_value:function(){returnthis.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;vare=t.prop("contentEditable");return"inherit"===e?this._isContentEditable(t.parent()):"true"===e}}),t.extend(t.ui.autocomplete,{escapeRegex:function(t){returnt.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,n){vari=newRegExp(t.ui.autocomplete.escapeRegex(n),"i");returnt.grep(e,function(t){returni.test(t.label||t.value||t)})}}),t.widget("ui.autocomplete",t.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(t){returnt+(t>1?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){varn;this._superApply(arguments),this.options.disabled||this.cancelSearch||(n=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,this.liveRegion.children().hide(),t("<div>").text(n).appendTo(this.liveRegion))}});vard=(t.ui.autocomplete,/ui-corner-([a-z]){2,6}/g);t.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){vare=this,n=[];t.each(this.options.items,function(i,r){varo,s={};if(r)return"controlgroupLabel"===i?(o=e.element.find(r),o.each(function(){vare=t(thi
vari,r=t(e),o=this._getInst(r[0]);n=null!=n?n:this._formatDate(o),o.input&&o.input.val(n),this._updateAlternate(o),i=this._get(o,"onSelect"),i?i.apply(o.input?o.input[0]:null,[n,o]):o.input&&o.input.trigger("change"),o.inline?this._updateDatepicker(o):(this._hideDatepicker(),this._lastInput=o.input[0],"object"!=typeofo.input[0]&&o.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){varn,i,r,o=this._get(e,"altField");o&&(n=this._get(e,"altFormat")||this._get(e,"dateFormat"),i=this._getDate(e),r=this.formatDate(n,i,this._getFormatConfig(e)),t(o).val(r))},noWeekends:function(t){vare=t.getDay();return[e>0&&e<6,""]},iso8601Week:function(t){vare,n=newDate(t.getTime());returnn.setDate(n.getDate()+4-(n.getDay()||7)),e=n.getTime(),n.setMonth(0),n.setDate(1),Math.floor(Math.round((e-n)/864e5)/7)+1},parseDate:function(e,n,i){if(null==e||null==n)throw"Invalid arguments";if(""===(n="object"==typeofn?n.toString():n+""))returnnull;varr,o,s,a,l=0,c=(i?i.shortYearCutoff:null)||this._defaults.shortYearCutoff,u="string"!=typeofc?c:(newDate).getFullYear()%100+parseInt(c,10),h=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,d=(i?i.dayNames:null)||this._defaults.dayNames,p=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,f=(i?i.monthNames:null)||this._defaults.monthNames,g=-1,m=-1,v=-1,y=-1,b=!1,_=function(t){varn=r+1<e.length&&e.charAt(r+1)===t;returnn&&r++,n},w=function(t){vare=_(t),i="@"===t?14:"!"===t?20:"y"===t&&e?4:"o"===t?3:2,r="y"===t?i:1,o=newRegExp("^\\d{"+r+","+i+"}"),s=n.substring(l).match(o);if(!s)throw"Missing number at position "+l;returnl+=s[0].length,parseInt(s[0],10)},x=function(e,i,r){varo=-1,s=t.map(_(e)?r:i,function(t,e){return[[e,t]]}).sort(function(t,e){return-(t[1].length-e[1].length)});if(t.each(s,function(t,e){vari=e[1];if(n.substr(l,i.length).toLowerCase()===i.toLowerCase())returno=e[0],l+=i.length,!1}),-1!==o)returno+1;throw"Unknown name at position "+l},k=function(){if(n.charAt(l)!==e.charAt(r))throw"Unexpected literal at position "+l;l++};for(r=0;r<e.length;r++)if(b)"'"!==e.charAt(r)||_("'")?k():b=!1;elseswitch(e.charAt(r)){case"d":v=w("d");break;case"D":x("D",h,d);break;case"o":y=w("o");break;case"m":m=w("m");break;case"M":m=x("M",p,f);break;case"y":g=w("y");break;case"@":a=newDate(w("@")),g=a.getFullYear(),m=a.getMonth()+1,v=a.getDate();break;case"!":a=newDate((w("!")-this._ticksTo1970)/1e4),g=a.getFullYear(),m=a.getMonth()+1,v=a.getDate();break;case"'":_("'")?k():b=!0;break;default:k()}if(l<n.length&&(s=n.substr(l),!/^\s+/.test(s)))throw"Extra/unparsed characters found in date: "+s;if(-1===g?g=(newDate).getFullYear():g<100&&(g+=(newDate).getFullYear()-(newDate).getFullYear()%100+(g<=u?0:-100)),y>-1)for(m=1,v=y;;){if(o=this._getDaysInMonth(g,m-1),v<=o)break;m++,v-=o}if(a=this._daylightSavingAdjust(newDate(g,m-1,v)),a.getFullYear()!==g||a.getMonth()+1!==m||a.getDate()!==v)throw"Invalid date";returna},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,n){if(!e)return"";vari,r=(n?n.dayNamesShort:null)||this._defaults.dayNamesShort,o=(n?n.dayNames:null)||this._defaults.dayNames,s=(n?n.monthNamesShort:null)||this._defaults.monthNamesShort,a=(n?n.monthNames:null)||this._defaults.monthNames,l=function(e){varn=i+1<t.length&&t.charAt(i+1)===e;returnn&&i++,n},c=function(t,e,n){vari=""+e;if(l(t))for(;i.length<n;)i="0"+i;returni},u=function(t,e,n,i){returnl(t)?i[e]:n[e]},h="",d=!1;if(e)for(i=0;i<t.length;i++)if(d)"'"!==t.charAt(i)||l("'")?h+=t.charAt(i):d=!1;elseswitch(t.charAt(i)){case"d":h+=c("d",e.getDate(),2);break;case"D":h+=u("D",e.getDay(),r,o);break;case"o":h+=c("o",Math.round((newDate(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-newDate(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":h+=c("m",e.getMonth()+1,2);break;case"M":h+=u("M",e.getMonth(),s,a);bre
vare=t('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');returnthis._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,e},i.prototype.bind=function(t,e){vari=this,r=(t.id,t.id+"-results");this.container=t,this.$selection.on("focus",function(t){i.trigger("focus",t)}),this.$selection.on("blur",function(t){i._handleBlur(t)}),this.$selection.on("keydown",function(t){i.trigger("keypress",t),t.which===n.SPACE&&t.preventDefault()}),t.on("results:focus",function(t){i.$selection.attr("aria-activedescendant",t.data._resultId)}),t.on("selection:update",function(t){i.update(t.data)}),t.on("open",function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",r),i._attachCloseHandler(t)}),t.on("close",function(){i.$selection.attr("aria-expanded","false"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.focus(),i._detachCloseHandler(t)}),t.on("enable",function(){i.$selection.attr("tabindex",i._tabindex)}),t.on("disable",function(){i.$selection.attr("tabindex","-1")})},i.prototype._handleBlur=function(e){varn=this;window.setTimeout(function(){document.activeElement==n.$selection[0]||t.contains(n.$selection[0],document.activeElement)||n.trigger("blur",e)},1)},i.prototype._attachCloseHandler=function(e){t(document.body).on("mousedown.select2."+e.id,function(e){varn=t(e.target),i=n.closest(".select2");t(".select2.select2-container--open").each(function(){vare=t(this);this!=i[0]&&e.data("element").select2("close")})})},i.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},i.prototype.position=function(t,e){e.find(".selection").append(t)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(t){thrownewError("The `update` method must be defined in child classes.")},i}),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],function(t,e,n,i){functionr(){r.__super__.constructor.apply(this,arguments)}returnn.Extend(r,e),r.prototype.render=function(){vart=r.__super__.render.call(this);returnt.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},r.prototype.bind=function(t,e){varn=this;r.__super__.bind.apply(this,arguments);vari=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i),this.$selection.attr("aria-labelledby",i),this.$selection.on("mousedown",function(t){1===t.which&&n.trigger("toggle",{originalEvent:t})}),this.$selection.on("focus",function(t){}),this.$selection.on("blur",function(t){}),t.on("focus",function(e){t.isOpen()||n.$selection.focus()}),t.on("selection:update",function(t){n.update(t.data)})},r.prototype.clear=function(){this.$selection.find(".select2-selection__rendered").empty()},r.prototype.display=function(t,e){varn=this.options.get("templateSelection");returnthis.options.get("escapeMarkup")(n(t,e))},r.prototype.selectionContainer=function(){returnt("<span></span>")},r.prototype.update=function(t){if(0===t.length)returnvoidthis.clear();vare=t[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(e,n);n.empty().append(i),n.prop("title",e.title||e.text)},r}),e.define("select2/selection/multiple",["jquery","./base","../utils"],function(t,e,n){functioni(t,e){i.__super__.constructor.apply(this,arguments)}returnn.Extend(i,e),i.prototype.render=function(){vart=i.__super__.render.call(this);returnt.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},i.prototype.bind=function(e,n){varr=this;i.__super__.bind.apply(this,arguments),this.$selection.on("click",function(t){r.trigger("toggle",{originalEvent:t})}),this.$selec
l.on(o,function(e){varn=t(this).data("select2-scroll-position");t(this).scrollTop(n.y)}),t(window).on(o+" "+s+" "+a,function(t){r._positionDropdown(),r._resizeDropdown()})},n.prototype._detachPositioningHandler=function(n,i){varr="scroll.select2."+i.id,o="resize.select2."+i.id,s="orientationchange.select2."+i.id;this.$container.parents().filter(e.hasScroll).off(r),t(window).off(r+" "+o+" "+s)},n.prototype._positionDropdown=function(){vare=t(window),n=this.$dropdown.hasClass("select2-dropdown--above"),i=this.$dropdown.hasClass("select2-dropdown--below"),r=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);vars={height:this.$container.outerHeight(!1)};s.top=o.top,s.bottom=o.top+s.height;vara={height:this.$dropdown.outerHeight(!1)},l={top:e.scrollTop(),bottom:e.scrollTop()+e.height()},c=l.top<o.top-a.height,u=l.bottom>o.bottom+a.height,h={left:o.left,top:s.bottom},d=this.$dropdownParent;"static"===d.css("position")&&(d=d.offsetParent());varp=d.offset();h.top-=p.top,h.left-=p.left,n||i||(r="below"),u||!c||n?!c&&u&&n&&(r="below"):r="above",("above"==r||n&&"below"!==r)&&(h.top=s.top-p.top-a.height),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(h)},n.prototype._resizeDropdown=function(){vart={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},n.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n}),e.define("select2/dropdown/minimumResultsForSearch",[],function(){functiont(e){for(varn=0,i=0;i<e.length;i++){varr=e[i];r.children?n+=t(r.children):n++}returnn}functione(t,e,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,i)}returne.prototype.showSearch=function(e,n){return!(t(n.data.results)<this.minimumResultsForSearch)&&e.call(this,n)},e}),e.define("select2/dropdown/selectOnClose",[],function(){functiont(){}returnt.prototype.bind=function(t,e,n){vari=this;t.call(this,e,n),e.on("close",function(t){i._handleSelectOnClose(t)})},t.prototype._handleSelectOnClose=function(t,e){if(e&&null!=e.originalSelect2Event){varn=e.originalSelect2Event;if("select"===n._type||"unselect"===n._type)return}vari=this.getHighlightedResults();if(!(i.length<1)){varr=i.data("data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},t}),e.define("select2/dropdown/closeOnSelect",[],function(){functiont(){}returnt.prototype.bind=function(t,e,n){vari=this;t.call(this,e,n),e.on("select",function(t){i._selectTriggered(t)}),e.on("unselect",function(t){i._selectTriggered(t)})},t.prototype._selectTriggered=function(t,e){varn=e.originalEvent;n&&n.ctrlKey||this.trigger("close",{originalEvent:n,originalSelect2Event:e})},t}),e.define("select2/i18n/en",[],function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){vare=t.input.length-t.maximum,n="Please delete "+e+" character";return1!=e&&(n+="s"),n},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){vare="You can only select "+t.maximum+" item";return1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching…"}}}),e.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/maximumInputL