!function(e,t,n){"use strict";!function(){t.module("ngMaterial",["ng","ngAnimate","ngAria","material.core","material.core.interaction","material.core.gestures","material.core.layout","material.core.meta","material.core.theming.palette","material.core.theming","material.core.animate","material.components.autocomplete","material.components.bottomSheet","material.components.backdrop","material.components.button","material.components.card","material.components.checkbox","material.components.chips","material.components.colors","material.components.content","material.components.datepicker","material.components.dialog","material.components.divider","material.components.fabActions","material.components.fabShared","material.components.fabSpeedDial","material.components.fabToolbar","material.components.gridList","material.components.icon","material.components.input","material.components.list","material.components.menu","material.components.menuBar","material.components.navBar","material.components.panel","material.components.progressCircular","material.components.progressLinear","material.components.radioButton","material.components.select","material.components.showHide","material.components.sidenav","material.components.slider","material.components.sticky","material.components.subheader","material.components.switch","material.components.swipe","material.components.tabs","material.components.toast","material.components.toolbar","material.components.truncate","material.components.tooltip","material.components.virtualRepeat","material.components.whiteframe"])}(),function(){functione(e,t){if(t.has("$swipe")){varn="You are using the ngTouch module. \nAngularJS Material already has mobile click, tap, and swipe support... \nngTouch is not supported with AngularJS Material!";e.warn(n)}}functionn(e,t){e.decorator("$$rAF",["$delegate",o]),e.decorator("$q",["$delegate",i]),t.theme("default").primaryPalette("indigo").accentPalette("pink").warnPalette("deep-orange").backgroundPalette("grey")}functiono(e){returne.throttle=function(t){varn,o,i,r;returnfunction(){n=arguments,r=this,i=t,o||(o=!0,e(function(){i.apply(r,Array.prototype.slice.call(n)),o=!1}))}},e}functioni(e){returne.resolve||(e.resolve=e.when),e}e.$inject=["$log","$injector"],n.$inject=["$provide","$mdThemingProvider"],o.$inject=["$delegate"],i.$inject=["$delegate"],t.module("material.core",["ngAnimate","material.core.animate","material.core.layout","material.core.interaction","material.core.gestures","material.core.theming"]).config(n).run(e)}(),function(){functione(e){functionn(n,o,i){functionr(e){t.isUndefined(e)&&(e=!0),o.toggleClass("md-autofocus",!!e)}vara=i.mdAutoFocus||i.mdAutofocus||i.mdSidenavFocus;r(e(a)(n)),a&&n.$watch(a,r)}return{restrict:"A",link:{pre:n}}}e.$inject=["$parse"],t.module("material.core").directive("mdAutofocus",e).directive("mdAutoFocus",e).directive("mdSidenavFocus",e)}(),function(){functione(){functione(e){vart="#"===e[0]?e.substr(1):e,n=t.length/3,o=t.substr(0,n),i=t.substr(n,n),r=t.substr(2*n);return1===n&&(o+=o,i+=i,r+=r),"rgba("+parseInt(o,16)+","+parseInt(i,16)+","+parseInt(r,16)+",0.1)"}functiont(e){e=e.match(/^rgba?[\s+]?\([\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?,[\s+]?(\d+)[\s+]?/i);vart=e&&4===e.length?"#"+("0"+parseInt(e[1],10).toString(16)).slice(-2)+("0"+parseInt(e[2],10).toString(16)).slice(-2)+("0"+parseInt(e[3],10).toString(16)).slice(-2):"";returnt.toUpperCase()}functionn(e){returne.replace(")",", 0.1)").replace("(","a(")}functiono(e){returne?e.replace("rgba","rgb").replace(/,[^),]+\)/,")"):"rgb(0,0,0)"}return{rgbaToHex:t,hexToRgba:e,rgbToRgba:n,rgbaToRgb:o}}t.module("material.core").factory("$mdColorUtil",e)}(),function(){functione(){functione(e){vart=a+"-"+e,i=o(t),d=i.charAt(0).toLowerCase()+i.substring(1);returnn(r,e)?e:n(r,i)?i:n(r,d)?d:e}functionn(e,n){returnt.isDefined(e.style[n])}functiono(e){returne.replace(s,function(e,t,n,o){returno?n.toUpperCase():n})}functioni(e){vart,n,o=/^(Moz|webkit|ms)(?=[A-Z])/;for(tine.style)if(n=o.exec(t))returnn[0]}varr=document.createElement("div"),a=i(r),d=/webki
n.prototype={skipClickHijack:function(){returng=!0},setMaxClickDistance:function(e){b=parseInt(e)},$get:["$$MdGestureHandler","$$rAF","$timeout",function(e,t,n){returnnewo(e,t,n)}]}}(),function(){functione(){functione(e){functionn(e){returns.optionsFactory=e.options,s.methods=(e.methods||[]).concat(a),c}functiono(e,t){returnd[e]=t,c}functioni(t,n){if(n=n||{},n.methods=n.methods||[],n.options=n.options||function(){return{}},/^cancel|hide|show$/.test(t))thrownewError("Preset '"+t+"' in "+e+" is reserved!");if(n.methods.indexOf("_options")>-1)thrownewError("Method '_options' in "+e+" is reserved!");returns.presets[t]={methods:n.methods.concat(a),optionsFactory:n.options,argOption:n.argOption},c}functionr(n,o){functioni(e){returne=e||{},e._options&&(e=e._options),m.show(t.extend({},l,e))}functionr(e){returnm.destroy(e)}functiona(t,n){vari={};returni[e]=u,o.invoke(t||function(){returnn},{},i)}varc,l,m=n(),u={hide:m.hide,cancel:m.cancel,show:i,destroy:r};returnc=s.methods||[],l=a(s.optionsFactory,{}),t.forEach(d,function(e,t){u[t]=e}),t.forEach(s.presets,function(e,n){functiono(e){this._options=t.extend({},i,e)}vari=a(e.optionsFactory,{}),r=(e.methods||[]).concat(c);if(t.extend(i,{$type:n}),t.forEach(r,function(e){o.prototype[e]=function(t){returnthis._options[e]=t,this}}),e.argOption){vard="show"+n.charAt(0).toUpperCase()+n.slice(1);u[d]=function(e){vart=u[n](e);returnu.show(t)}}u[n]=function(n){returnarguments.length&&e.argOption&&!t.isObject(n)&&!t.isArray(n)?(newo)[e.argOption](n):newo(n)}}),u}r.$inject=["$$interimElement","$injector"];vara=["onHide","onShow","onRemove"],d={},s={presets:{}},c={setDefaults:n,addPreset:i,addMethod:o,$get:r};returnc.addPreset("build",{methods:["controller","controllerAs","resolve","multiple","template","templateUrl","themable","transformTemplate","parent","contentElement"]}),c}functiono(e,o,i,r,a,d,s,c,l,m,u){returnfunction(){functionp(e){e=e||{};vart=newv(e||{}),n=e.multiple?o.resolve():o.all(y);e.multiple||(n=n.then(function(){vare=C.concat(M.map(E.cancel));returno.all(e)}));vari=n.then(function(){returnt.show()["catch"](function(e){returne})["finally"](function(){y.splice(y.indexOf(i),1),M.push(t)})});returny.push(i),t.deferred.promise["catch"](function(e){returneinstanceofError&&u(e),e}),t.deferred.promise}functionh(e,t){functioni(n){varo=n.remove(e,!1,t||{})["catch"](function(e){returne})["finally"](function(){C.splice(C.indexOf(o),1)});returnM.splice(M.indexOf(n),1),C.push(o),n.deferred.promise}returnt=t||{},t.closeAll?o.all(M.slice().reverse().map(i)):t.closeTo!==n?o.all(M.slice(t.closeTo).map(i)):i(M[M.length-1])}functionf(e,n){vari=M.pop();if(!i)returno.when(e);varr=i.remove(e,!0,n||{})["catch"](function(e){returne})["finally"](function(){C.splice(C.indexOf(r),1)});returnC.push(r),i.deferred.promise["catch"](t.noop)}functiong(e){returnfunction(){vart=arguments;returnM.length?e.apply(E,t):y.length?y[0]["finally"](function(){returne.apply(E,t)}):o.when("No interim elements currently showing up.")}}functionb(e){varn=e?null:M.shift(),i=t.element(e).length&&t.element(e)[0].parentNode;if(i){varr=M.filter(function(e){returne.options.element[0]===i});r.length&&(n=r[0],M.splice(M.indexOf(n),1))}returnn?n.remove($,!1,{$destroy:!0}):o.when($)}functionv(m){functionu(){returno(function(e,t){functionn(e){C.deferred.reject(e),t(e)}m.onCompiling&&m.onCompiling(m),f(m).then(function(t){M=g(t,m),m.cleanupElement=t.cleanup,T=$(M,m,t.controller).then(e,n)})["catch"](n)})}functionp(e,n,i){functionr(e){C.deferred.resolve(e)}functiona(e){C.deferred.reject(e)}returnM?(m=t.extend(m||{},i||{}),m.cancelAutoHide&&m.cancelAutoHide(),m.element.triggerHandler("$mdInterimElementRemove"),m.$destroy===!0?y(m.element,m).then(function(){n&&a(e)||r(e)}):(o.when(T)["finally"](function(){y(m.element,m).then(function(){n?a(e):r(e)},a)}),C.deferred.promise)):o.when(!1)}functionh(e){returne=e||{},e.template&&(e.template=s.processTemplate(e.template)),t.extend({preserveScope:!1,cancelAutoHide:t.noop,scope:e.scope||i.$new(e.isolateScope),onShow
return["$rootElement","$rootScope","$injector","$window",function(e,t,n,o){returnnewd(g,e,t,n,o)}]}functiond(e,n,o,i,r){this._defaultConfigOptions={bindToController:!0,clickOutsideToClose:!1,disableParentScroll:!1,escapeToClose:!1,focusOnOpen:!0,fullscreen:!1,hasBackdrop:!1,propagateContainerEvents:!1,transformTemplate:t.bind(this,this._wrapTemplate),trapFocus:!1,zIndex:p},this._config={},this._presets=e,this._$rootElement=n,this._$rootScope=o,this._$injector=i,this._$window=r,this._$mdUtil=this._$injector.get("$mdUtil"),this._trackedPanels={},this._groups=Object.create(null),this.animation=l.animation,this.xPosition=c.xPosition,this.yPosition=c.yPosition,this.interceptorTypes=s.interceptorTypes,this.closeReasons=s.closeReasons,this.absPosition=c.absPosition}functions(e,t){this._$q=t.get("$q"),this._$mdCompiler=t.get("$mdCompiler"),this._$mdConstant=t.get("$mdConstant"),this._$mdUtil=t.get("$mdUtil"),this._$mdTheming=t.get("$mdTheming"),this._$rootScope=t.get("$rootScope"),this._$animate=t.get("$animate"),this._$mdPanel=t.get("$mdPanel"),this._$log=t.get("$log"),this._$window=t.get("$window"),this._$$rAF=t.get("$$rAF"),this.id=e.id,this.config=e,this.panelContainer,this.panelEl,this.isAttached=!1,this._removeListeners=[],this._topFocusTrap,this._bottomFocusTrap,this._backdropRef,this._restoreScroll=null,this._interceptors=Object.create(null),this._compilerCleanup=null,this._restoreCache={styles:"",classes:""}}functionc(e){this._$window=e.get("$window"),this._isRTL="rtl"===e.get("$mdUtil").bidi(),this._$mdConstant=e.get("$mdConstant"),this._absolute=!1,this._relativeToEl,this._top="",this._bottom="",this._left="",this._right="",this._translateX=[],this._translateY=[],this._positions=[],this._actualPosition}functionl(e){this._$mdUtil=e.get("$mdUtil"),this._openFrom,this._closeTo,this._animationClass="",this._openDuration,this._closeDuration,this._rawDuration}functionm(e){varn=t.isString(e)?document.querySelector(e):e;returnt.element(n)}functionu(e,t){varn=getComputedStyle(e[0]||e)[t],o=n.indexOf("("),i=n.lastIndexOf(")"),r={x:0,y:0};if(o>-1&&i>-1){vara=n.substring(o+1,i).split(", ").slice(-2);r.x=parseInt(a[0]),r.y=parseInt(a[1])}returnr}d.$inject=["presets","$rootElement","$rootScope","$injector","$window"],t.module("material.components.panel",["material.core","material.components.backdrop"]).provider("$mdPanel",e);varp=80,h="_md-panel-hidden",f=t.element('<div class="_md-panel-focus-trap" tabindex="0"></div>'),g={};d.prototype.create=function(e,n){if("string"==typeofe?e=this._getPresetByName(e):"object"!=typeofe||!t.isUndefined(n)&&n||(n=e,e={}),e=e||{},n=n||{},t.isDefined(n.id)&&this._trackedPanels[n.id]){varo=this._trackedPanels[n.id];returnt.extend(o.config,n),o}this._config=t.extend({id:n.id||"panel_"+this._$mdUtil.nextUid(),scope:this._$rootScope.$new(!0),attachTo:this._$rootElement},this._defaultConfigOptions,n,e);vari=news(this._config,this._$injector);returnthis._trackedPanels[n.id]=i,this._config.groupName&&(t.isString(this._config.groupName)&&(this._config.groupName=[this._config.groupName]),t.forEach(this._config.groupName,function(e){i.addToGroup(e)})),this._config.scope.$on("$destroy",t.bind(i,i.detach)),i},d.prototype.open=function(e,t){varn=this.create(e,t);returnn.open().then(function(){returnn})},d.prototype._getPresetByName=function(e){if(!this._presets[e])thrownewError("mdPanel: The panel preset configuration that you requested does not exist. Use the $mdPanelProvider to create a preset before requesting one.");returnthis._presets[e]},d.prototype.newPanelPosition=function(){returnnewc(this._$injector)},d.prototype.newPanelAnimation=function(){returnnewl(this._$injector)},d.prototype.newPanelGroup=function(e,t){if(!this._groups[e]){t=t||{};varn={panels:[],openPanels:[],maxOpen:t.maxOpen>0?t.maxOpen:1/0};this._groups[e]=n}returnthis._groups[e]},d.prototype.setGroupMaxOpen=function(e,t){if(!this._groups[e])thrownewError("mdPanel: Group does not exist yet. Call newPanelGroup().");this._groups[e].maxOpen=t},d.prototype._openCountExceedsMaxOpen=function(e){if(this._groups[
}varg=o.parseAttributeBoolean(m.multiple),b=g?"multiple":"",v='<div class="md-select-menu-container" aria-hidden="true" role="presentation"><md-select-menu role="presentation" {0}>{1}</md-select-menu></div>';returnv=o.supplant(v,[b,l.html()]),l.empty().append(u),l.append(v),m.tabindex||m.$set("tabindex",0),function(l,m,u,p){functionh(){vare=m.attr("aria-label")||m.attr("placeholder");!e&&A&&A.label&&(e=A.label.text()),M=e,a.expect(m,"aria-label",e)}functionf(){I&&(O=O||I.find("md-select-menu").controller("mdSelectMenu"),w.setLabelText(O.selectedLabels()))}functionb(){if(M){vare=O.selectedLabels({mode:"aria"});m.attr("aria-label",e.length?M+": "+e:M)}}functionv(){A&&A.setHasValue(O.selectedLabels().length>0||(m[0].validity||{}).badInput)}functionE(){if(I=t.element(m[0].querySelector(".md-select-menu-container")),H=l,u.mdContainerClass){vare=I[0].getAttribute("class")+" "+u.mdContainerClass;I[0].setAttribute("class",e)}O=I.find("md-select-menu").controller("mdSelectMenu"),O.init(k,u.ngModel),m.on("$destroy",function(){I.remove()})}function$(e){if(i.isNavigationKey(e))e.preventDefault(),y(e);elseif(c(e,i)){e.preventDefault();varn=O.optNodeForKeyboardSearch(e);if(!n||n.hasAttribute("disabled"))return;varo=t.element(n).controller("mdOption");O.isMultiple||O.deselect(Object.keys(O.selected)[0]),O.select(o.hashKey,o.value),O.refreshViewValue()}}functiony(){H._mdSelectIsOpen=!0,m.attr("aria-expanded","true"),e.show({scope:H,preserveScope:!0,skipCompile:!0,element:I,target:m[0],selectCtrl:w,preserveElement:!0,hasBackdrop:!0,loadingAsync:!!u.mdOnOpen&&(l.$eval(u.mdOnOpen)||!0)})["finally"](function(){H._mdSelectIsOpen=!1,m.focus(),m.attr("aria-expanded","false"),k.$setTouched()})}varC,M,T=!0,A=p[0],w=p[1],k=p[2],_=p[3],x=m.find("md-select-value"),N=t.isDefined(u.readonly),S=o.parseAttributeBoolean(u.mdNoAsterisk);if(S&&m.addClass("md-no-asterisk"),A){varD=A.isErrorGetter||function(){returnk.$invalid&&(k.$touched||_&&_.$submitted)};if(A.input&&m.find("md-select-header").find("input")[0]!==A.input[0])thrownewError("<md-input-container> can only have *one* child <input>, <textarea> or <select> element!");A.input=m,A.label||a.expect(m,"aria-label",m.attr("placeholder")),l.$watch(D,A.setInvalid)}varI,H,O;E(),r(m),_&&t.isDefined(u.multiple)&&o.nextTick(function(){vare=k.$modelValue||k.$viewValue;e&&_.$setPristine()});varP=k.$render;k.$render=function(){P(),f(),b(),v()},u.$observe("placeholder",k.$render),A&&A.label&&u.$observe("required",function(e){A.label.toggleClass("md-required",e&&!S)}),w.setLabelText=function(e){w.setIsPlaceholder(!e);vart=!1;if(u.mdSelectedText&&u.mdSelectedHtml)throwError("md-select cannot have both `md-selected-text` and `md-selected-html`");if(u.mdSelectedText||u.mdSelectedHtml)e=d(u.mdSelectedText||u.mdSelectedHtml)(l),t=!0;elseif(!e){varn=u.placeholder||(A&&A.label?A.label.text():"");e=n||"",t=!0}varo=x.children().eq(0);u.mdSelectedHtml?o.html(s.getTrustedHtml(e)):t?o.text(e):o.html(e)},w.setIsPlaceholder=function(e){e?(x.addClass("md-select-placeholder"),A&&A.label&&A.label.addClass("md-placeholder")):(x.removeClass("md-select-placeholder"),A&&A.label&&A.label.removeClass("md-placeholder"))},N||(m.on("focus",function(e){A&&A.setFocused(!0)}),m.on("blur",function(e){T&&(T=!1,H._mdSelectIsOpen&&e.stopImmediatePropagation()),H._mdSelectIsOpen||(A&&A.setFocused(!1),v())})),w.triggerClose=function(){d(u.mdOnClose)(l)},l.$$postDigest(function(){h(),f(),b()}),l.$watch(function(){returnO.selectedLabels()},f);varL;u.$observe("ngMultiple",function(e){L&&L();vart=d(e);L=l.$watch(function(){returnt(l)},function(e,t){e===n&&t===n||(e?m.attr("multiple","multiple"):m.removeAttr("multiple"),m.attr("aria-multiselectable",e?"true":"false"),I&&(O.setMultiple(e),P=k.$render,k.$render=function(){P(),f(),b(),v()},k.$render()))})}),u.$observe("disabled",function(e){t.isString(e)&&(e=!0),C!==n&&C===e||(C=e,e?m.attr({"aria-disabled":"true"}).removeAttr("tabindex").off("click",y).off("keydown",$):m.attr({tabindex:u.tabindex,"aria-disabled":"false"}).on("click",y).on("keydown",$))}),u.hasOwnProperty("
G(!1)})},!1)}functionse(){ce(),le()}functionce(){Ce.index=0,Ce.matches=[]}functionle(){G(!0),e.searchText="";vart=document.createEvent("CustomEvent");t.initCustomEvent("change",!0,!0,{value:""}),Ae.input.dispatchEvent(t),Ae.input.blur(),e.searchText="",Ae.input.focus()}functionme(n){functiono(t){t&&(t=f.when(t),Ne++,G(!0),s.nextTick(function(){t.then(i)["finally"](function(){0===--Ne&&G(!1)})},!0,e))}functioni(t){we[a]=t,(n||"")===(e.searchText||"")&&Ee(t)}varr=e.$parent.$eval(Te),a=n.toLowerCase(),d=t.isArray(r),c=!!r.then;d?i(r):c&&o(r)}functionue(e,t){varn=e?"polite":"assertive",o=[];t&He.Selected&&Ce.index!==-1&&o.push(ie()),t&He.Count&&o.push(f.resolve(pe())),f.all(o).then(function(e){b.announce(e.join(" "),n)})}functionpe(){switch(Ce.matches.length){case0:return"There are no matches available.";case1:return"There is 1 match available.";default:return"There are "+Ce.matches.length+" matches available."}}functionhe(){if(Ae.li[0]){vare=Ae.li[0].offsetHeight,t=e*Ce.index,n=t+e,o=Ae.scroller.clientHeight,i=Ae.scroller.scrollTop;t<i?ge(t):n>i+o&&ge(n-o)}}functionfe(){return0!==Ne}functionge(e){Ae.$.scrollContainer.controller("mdVirtualRepeatContainer").scrollTo(e)}functionbe(){vare=(Ce.scope.searchText||"").length;returnCe.hasNotFound&&!te()&&(!Ce.loading||fe())&&e>=W()&&(xe||ke)&&!ne()}functionve(){vart=e.searchText||"",n=t.toLowerCase();!e.noCache&&we[n]?Ee(we[n]):me(t),Ce.hidden=X()}functionEe(t){Ce.matches=t,Ce.hidden=X(),Ce.loading&&G(!1),e.selectOnMatch&&$e(),$(),ue(!0,He.Count)}function$e(){vart=e.searchText,n=Ce.matches,o=n[0];1===n.length&&V(o).then(function(n){varo=t==n;e.matchInsensitive&&!o&&(o=t.toLowerCase()==n.toLowerCase()),o&&de(0)})}functionye(t,n){h[t]&&e.$parent.$eval(h[t],n||{})}varCe=this,Me=e.itemsExpr.split(/ in /i),Te=Me[1],Ae=null,we={},ke=!1,_e=[],xe=!1,Ne=0,Se=null,De=null,Ie=s.debounce(A);ae("hidden",x,!0),Ce.scope=e,Ce.parent=e.$parent,Ce.itemName=Me[0],Ce.matches=[],Ce.loading=!1,Ce.hidden=!0,Ce.index=null,Ce.id=s.nextUid(),Ce.isDisabled=null,Ce.isRequired=null,Ce.isReadonly=null,Ce.hasNotFound=!1,Ce.keydown=z,Ce.blur=U,Ce.focus=q,Ce.clear=se,Ce.select=de,Ce.listEnter=S,Ce.listLeave=D,Ce.mouseUp=I,Ce.getCurrentDisplayValue=ie,Ce.registerSelectedItemWatcher=R,Ce.unregisterSelectedItemWatcher=F,Ce.notFoundVisible=be,Ce.loadingIsVisible=oe,Ce.positionDropdown=$;varHe={Count:1,Selected:2};returnv()}e.$inject=["$scope","$element","$mdUtil","$mdConstant","$mdTheming","$window","$animate","$rootElement","$attrs","$q","$log","$mdLiveAnnouncer"],t.module("material.components.autocomplete").controller("MdAutocompleteCtrl",e);varo=48,i=5,r=8,a=2}(),function(){functione(e){return{controller:"MdAutocompleteCtrl",controllerAs:"$mdAutocompleteCtrl",scope:{inputName:"@mdInputName",inputMinlength:"@mdInputMinlength",inputMaxlength:"@mdInputMaxlength",searchText:"=?mdSearchText",selectedItem:"=?mdSelectedItem",itemsExpr:"@mdItems",itemText:"&mdItemText",placeholder:"@placeholder",noCache:"=?mdNoCache",requireMatch:"=?mdRequireMatch",selectOnMatch:"=?mdSelectOnMatch",matchInsensitive:"=?mdMatchCaseInsensitive",itemChange:"&?mdSelectedItemChange",textChange:"&?mdSearchTextChange",minLength:"=?mdMinLength",delay:"=?mdDelay",autofocus:"=?mdAutofocus",floatingLabel:"@?mdFloatingLabel",autoselect:"=?mdAutoselect",menuClass:"@?mdMenuClass",inputId:"@?mdInputId",escapeOptions:"@?mdEscapeOptions",dropdownItems:"=?mdDropdownItems",dropdownPosition:"@?mdDropdownPosition",clearButton:"=?mdClearButton"},compile:function(e,n){varo=["md-select-on-focus","md-no-asterisk","ng-trim","ng-pattern"],i=e.find("input");returno.forEach(function(e){vart=n[n.$normalize(e)];null!==t&&i.attr(e,t)}),function(e,n,o,i){i.hasNotFound=!!n.attr("md-has-not-found"),t.isDefined(o.mdClearButton)||e.floatingLabel||(e.clearButton=!0)}},template:function(t,n){functiono(){vare=t.find("md-item-template").detach(),n=e.length?e.html():t.html();returne.length||t.empty(),"<md-autocomplete-parent-scope md-autocomplete-replace>"+n+"</md-autocomplete-parent-scope>"}functioni(){vare=t.find("md-not-found").detach(),n