text: /*
   * angular-ui-bootstrap
   * http://angular-ui.github.io/bootstrap/
  
   * Version: 0.13.3 - 2015-08-09
   * License: MIT
   */
  angular.module("ui.bootstrap",["ui.bootstrap.tabs","ui.bootstrap.buttons","ui.bootstrap.dropdown","ui.bootstrap.position","ui.bootstrap.modal","ui.bootstrap.tooltip","ui.bootstrap.bindHtml","ui.bootstrap.collapse","ui.bootstrap.transition"]),angular.module("ui.bootstrap.tabs",[]).controller("TabsetController",["$scope",function(e){var t=this,n=t.tabs=e.tabs=[];t.select=function(e){angular.forEach(n,function(t){t.active&&t!==e&&(t.active=!1,t.onDeselect())}),e.active=!0,e.onSelect()},t.addTab=function(e){n.push(e),1===n.length&&e.active!==!1?e.active=!0:e.active?t.select(e):e.active=!1},t.removeTab=function(e){var i=n.indexOf(e);if(e.active&&n.length>1&&!o){var a=i==n.length-1?i-1:i+1;t.select(n[a])}n.splice(i,1)};var o;e.$on("$destroy",function(){o=!0})}]).directive("tabset",function(){return{restrict:"EA",transclude:!0,replace:!0,scope:{type:"@"},controller:"TabsetController",templateUrl:"template/tabs/tabset.html",link:function(e,t,n){e.vertical=angular.isDefined(n.vertical)?e.$parent.$eval(n.vertical):!1,e.justified=angular.isDefined(n.justified)?e.$parent.$eval(n.justified):!1}}}).directive("tab",["$parse","$log",function(e,t){return{require:"^tabset",restrict:"EA",replace:!0,templateUrl:"template/tabs/tab.html",transclude:!0,scope:{active:"=?",heading:"@",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},link:function(n,o,i,a,r){n.$watch("active",function(e){e&&a.select(n)}),n.disabled=!1,i.disable&&n.$parent.$watch(e(i.disable),function(e){n.disabled=!!e}),i.disabled&&(t.warn('Use of "disabled" attribute has been deprecated, please use "disable"'),n.$parent.$watch(e(i.disabled),function(e){n.disabled=!!e})),n.select=function(){n.disabled||(n.active=!0)},a.addTab(n),n.$on("$destroy",function(){a.removeTab(n)}),n.$transcludeFn=r}}}]).directive("tabHeadingTransclude",[function(){return{restrict:"A",require:"^tab",link:function(e,t){e.$watch("headingElement",function(e){e&&(t.html(""),t.append(e))})}}}]).directive("tabContentTransclude",function(){function e(e){return e.tagName&&(e.hasAttribute("tab-heading")||e.hasAttribute("data-tab-heading")||"tab-heading"===e.tagName.toLowerCase()||"data-tab-heading"===e.tagName.toLowerCase())}return{restrict:"A",require:"^tabset",link:function(t,n,o){var i=t.$eval(o.tabContentTransclude);i.$transcludeFn(i.$parent,function(t){angular.forEach(t,function(t){e(t)?i.headingElement=t:n.append(t)})})}}}),angular.module("ui.bootstrap.buttons",[]).constant("buttonConfig",{activeClass:"active",toggleEvent:"click"}).controller("ButtonsController",["buttonConfig",function(e){this.activeClass=e.activeClass||"active",this.toggleEvent=e.toggleEvent||"click"}]).directive("btnRadio",function(){return{require:["btnRadio","ngModel"],controller:"ButtonsController",controllerAs:"buttons",link:function(e,t,n,o){var i=o[0],a=o[1];a.$render=function(){t.toggleClass(i.activeClass,angular.equals(a.$modelValue,e.$eval(n.btnRadio)))},t.bind(i.toggleEvent,function(){if(!n.disabled){var o=t.hasClass(i.activeClass);(!o||angular.isDefined(n.uncheckable))&&e.$apply(function(){a.$setViewValue(o?null:e.$eval(n.btnRadio)),a.$render()})}})}}}).directive("btnCheckbox",function(){return{require:["btnCheckbox","ngModel"],controller:"ButtonsController",controllerAs:"button",link:function(e,t,n,o){function i(){return r(n.btnCheckboxTrue,!0)}function a(){return r(n.btnCheckboxFalse,!1)}function r(t,n){var o=e.$eval(t);return angular.isDefined(o)?o:n}var l=o[0],s=o[1];s.$render=function(){t.toggleClass(l.activeClass,angular.equals(s.$modelValue,i()))},t.bind(l.toggleEvent,function(){n.disabled||e.$apply(function(){s.$setViewValue(t.hasClass(l.activeClass)?a():i()),s.$render()})})}}}),angular.module("ui.bootstrap.dropdown",["ui.bootstrap.position"]).constant("dropdownConfig",{openClass:"open"}).service("dropdownService",["$document","$rootScope",function(e,t){var n=null;this.open=function(t){n||(e.bind("click",o),e.bind("keydown",i)),n&&n!==t&&(n.isOpen=!1),n=t},this.close=function(t){n===t&&(n=null,e.unbind("click",o),e.unbind("keydown",i))};var o=function(e){if(n&&(!e||"disabled"!==n.getAutoClose())){var o=n.getToggleElement();if(!(e&&o&&o[0].contains(e.target))){var i=n.getDropdownElement();e&&"outsideClick"===n.getAutoClose()&&i&&i[0].contains(e.target)||(n.isOpen=!1,t.$$phase||n.$apply())}}},i=function(e){27===e.which?(n.focusToggleElement(),o()):n.isKeynavEnabled()&&/(38|40)/.test(e.which)&&n.isOpen&&(e.preventDefault(),e.stopPropagation(),n.focusDropdownEntry(e.which))}}]).controller("DropdownController",["$scope","$attrs","$parse","dropdownConfig","dropdownService","$animate","$position","$document","$compile","$templateRequest",function(e,t,n,o,i,a,r,l,s,c){var u,d,p=this,f=e.$new(),m=o.openClass,v=angular.noop,g=t.onToggle?n(t.onToggle):angular.noop,h=!1,$=!1;this.init=function(o){p.$element=o,t.isOpen&&(d=n(t.isOpen),v=d.assign,e.$watch(d,function(e){f.isOpen=!!e})),h=angular.isDefined(t.dropdownAppendToBody),$=angular.isDefined(t.keyboardNav),h&&p.dropdownMenu&&(l.find("body").append(p.dropdownMenu),o.on("$destroy",function(){p.dropdownMenu.remove()}))},this.toggle=function(e){return f.isOpen=arguments.length?!!e:!f.isOpen},this.isOpen=function(){return f.isOpen},f.getToggleElement=function(){return p.toggleElement},f.getAutoClose=function(){return t.autoClose||"always"},f.getElement=function(){return p.$element},f.isKeynavEnabled=function(){return $},f.focusDropdownEntry=function(e){var t=p.dropdownMenu?angular.element(p.dropdownMenu).find("a"):angular.element(p.$element).find("ul").eq(0).find("a");switch(e){case 40:p.selectedOption=angular.isNumber(p.selectedOption)?p.selectedOption===t.length-1?p.selectedOption:p.selectedOption+1:0;break;case 38:if(!angular.isNumber(p.selectedOption))return;p.selectedOption=0===p.selectedOption?0:p.selectedOption-1}t[p.selectedOption].focus()},f.getDropdownElement=function(){return p.dropdownMenu},f.focusToggleElement=function(){p.toggleElement&&p.toggleElement[0].focus()},f.$watch("isOpen",function(t,n){if(h&&p.dropdownMenu){var o=r.positionElements(p.$element,p.dropdownMenu,"bottom-left",!0),l={top:o.top+"px",display:t?"block":"none"},d=p.dropdownMenu.hasClass("dropdown-menu-right");d?(l.left="auto",l.right=window.innerWidth-(o.left+p.$element.prop("offsetWidth"))+"px"):(l.left=o.left+"px",l.right="auto"),p.dropdownMenu.css(l)}if(a[t?"addClass":"removeClass"](p.$element,m).then(function(){angular.isDefined(t)&&t!==n&&g(e,{open:!!t})}),t)p.dropdownMenuTemplateUrl&&c(p.dropdownMenuTemplateUrl).then(function(e){u=f.$new(),s(e.trim())(u,function(e){var t=e;p.dropdownMenu.replaceWith(t),p.dropdownMenu=t})}),f.focusToggleElement(),i.open(f);else{if(p.dropdownMenuTemplateUrl){u&&u.$destroy();var $=angular.element('<ul class="dropdown-menu"></ul>');p.dropdownMenu.replaceWith($),p.dropdownMenu=$}i.close(f),p.selectedOption=null}angular.isFunction(v)&&v(e,t)}),e.$on("$locationChangeSuccess",function(){"disabled"!==f.getAutoClose()&&(f.isOpen=!1)}),e.$on("$destroy",function(){f.$destroy()})}]).directive("dropdown",function(){return{controller:"DropdownController",link:function(e,t,n,o){o.init(t),t.addClass("dropdown")}}}).directive("dropdownMenu",function(){return{restrict:"AC",require:"?^dropdown",link:function(e,t,n,o){if(o){var i=n.templateUrl;i&&(o.dropdownMenuTemplateUrl=i),o.dropdownMenu||(o.dropdownMenu=t)}}}}).directive("keyboardNav",function(){return{restrict:"A",require:"?^dropdown",link:function(e,t,n,o){t.bind("keydown",function(e){if(-1!==[38,40].indexOf(e.which)){e.preventDefault(),e.stopPropagation();var t=o.dropdownMenu.find("a");switch(e.which){case 40:o.selectedOption=angular.isNumber(o.selectedOption)?o.selectedOption===t.length-1?o.selectedOption:o.selectedOption+1:0;break;case 38:o.selectedOption=0===o.selectedOption?0:o.selectedOption-1}t[o.selectedOption].focus()}})}}}).directive("dropdownToggle",function(){return{require:"?^dropdown",link:function(e,t,n,o){if(o){t.addClass("dropdown-toggle"),o.toggleElement=t;var i=function(i){i.preventDefault(),t.hasClass("disabled")||n.disabled||e.$apply(function(){o.toggle()})};t.bind("click",i),t.attr({"aria-haspopup":!0,"aria-expanded":!1}),e.$watch(o.isOpen,function(e){t.attr("aria-expanded",!!e)}),e.$on("$destroy",function(){t.unbind("click",i)})}}}}),angular.module("ui.bootstrap.position",[]).factory("$position",["$document","$window",function(e,t){function n(e,n){return e.currentStyle?e.currentStyle[n]:t.getComputedStyle?t.getComputedStyle(e)[n]:e.style[n]}function o(e){return"static"===(n(e,"position")||"static")}var i=function(t){for(var n=e[0],i=t.offsetParent||n;i&&i!==n&&o(i);)i=i.offsetParent;return i||n};return{position:function(t){var n=this.offset(t),o={top:0,left:0},a=i(t[0]);a!=e[0]&&(o=this.offset(angular.element(a)),o.top+=a.clientTop-a.scrollTop,o.left+=a.clientLeft-a.scrollLeft);var r=t[0].getBoundingClientRect();return{width:r.width||t.prop("offsetWidth"),height:r.height||t.prop("offsetHeight"),top:n.top-o.top,left:n.left-o.left}},offset:function(n){var o=n[0].getBoundingClientRect();return{width:o.width||n.prop("offsetWidth"),height:o.height||n.prop("offsetHeight"),top:o.top+(t.pageYOffset||e[0].documentElement.scrollTop),left:o.left+(t.pageXOffset||e[0].documentElement.scrollLeft)}},positionElements:function(e,t,n,o){var i,a,r,l,s=n.split("-"),c=s[0],u=s[1]||"center";i=o?this.offset(e):this.position(e),a=t.prop("offsetWidth"),r=t.prop("offsetHeight");var d={center:function(){return i.left+i.width/2-a/2},left:function(){return i.left},right:function(){return i.left+i.width}},p={center:function(){return i.top+i.height/2-r/2},top:function(){return i.top},bottom:function(){return i.top+i.height}};switch(c){case"right":l={top:p[u](),left:d[c]()};break;case"left":l={top:p[u](),left:i.left-a};break;case"bottom":l={top:p[c](),left:d[u]()};break;default:l={top:i.top-r,left:d[u]()}}return l}}}]),angular.module("ui.bootstrap.modal",[]).factory("$$stackedMap",function(){return{createNew:function(){var e=[];return{add:function(t,n){e.push({key:t,value:n})},get:function(t){for(var n=0;n<e.length;n++)if(t==e[n].key)return e[n]},keys:function(){for(var t=[],n=0;n<e.length;n++)t.push(e[n].key);return t},top:function(){return e[e.length-1]},remove:function(t){for(var n=-1,o=0;o<e.length;o++)if(t==e[o].key){n=o;break}return e.splice(n,1)[0]},removeTop:function(){return e.splice(e.length-1,1)[0]},length:function(){return e.length}}}}}).directive("modalBackdrop",["$animate","$injector","$modalStack",function(e,t,n){function o(t,o,a){a.modalInClass&&(i?i(o,{addClass:a.modalInClass}).start():e.addClass(o,a.modalInClass),t.$on(n.NOW_CLOSING_EVENT,function(t,n){var r=n();i?i(o,{removeClass:a.modalInClass}).start().then(r):e.removeClass(o,a.modalInClass).then(r)}))}var i=null;return t.has("$animateCss")&&(i=t.get("$animateCss")),{restrict:"EA",replace:!0,templateUrl:"template/modal/backdrop.html",compile:function(e,t){return e.addClass(t.backdropClass),o}}}]).directive("modalWindow",["$modalStack","$q","$animate","$injector",function(e,t,n,o){var i=null;return o.has("$animateCss")&&(i=o.get("$animateCss")),{restrict:"EA",scope:{index:"@"},replace:!0,transclude:!0,templateUrl:function(e,t){return t.templateUrl||"template/modal/window.html"},link:function(o,a,r){a.addClass(r.windowClass||""),o.size=r.size,o.close=function(t){var n=e.getTop();n&&n.value.backdrop&&"static"!=n.value.backdrop&&t.target===t.currentTarget&&(t.preventDefault(),t.stopPropagation(),e.dismiss(n.key,"backdrop click"))},o.$isRendered=!0;var l=t.defer();r.$observe("modalRender",function(e){"true"==e&&l.resolve()}),l.promise.then(function(){r.modalInClass&&(i?i(a,{addClass:r.modalInClass}).start():n.addClass(a,r.modalInClass),o.$on(e.NOW_CLOSING_EVENT,function(e,t){var o=t();i?i(a,{removeClass:r.modalInClass}).start().then(o):n.removeClass(a,r.modalInClass).then(o)}));var t=a[0].querySelectorAll("[autofocus]");t.length?t[0].focus():a[0].focus();var l=e.getTop();l&&e.modalRendered(l.key)})}}}]).directive("modalAnimationClass",[function(){return{compile:function(e,t){t.modalAnimation&&e.addClass(t.modalAnimationClass)}}}]).directive("modalTransclude",function(){return{link:function(e,t,n,o,i){i(e.$parent,function(e){t.empty(),t.append(e)})}}}).factory("$modalStack",["$animate","$timeout","$document","$compile","$rootScope","$q","$injector","$$stackedMap",function(e,t,n,o,i,a,r,l){function s(){for(var e=-1,t=$.keys(),n=0;n<t.length;n++)$.get(t[n]).value.backdrop&&(e=n);return e}function c(e,t){var o=n.find("body").eq(0),i=$.get(e).value;$.remove(e),d(i.modalDomEl,i.modalScope,function(){o.toggleClass(e.openedClass||h,$.length()>0)}),u(),t&&t.focus?t.focus():o.focus()}function u(){if(m&&-1==s()){var e=v;d(m,v,function(){e=null}),m=void 0,v=void 0}}function d(t,n,o){function i(){i.done||(i.done=!0,f?f(t,{event:"leave"}).start().then(function(){t.remove()}):e.leave(t),n.$destroy(),o&&o())}var r,l=null,s=function(){return r||(r=a.defer(),l=r.promise),function(){r.resolve()}};return n.$broadcast(b.NOW_CLOSING_EVENT,s),a.when(l).then(i)}function p(e,t,n){return!e.value.modalScope.$broadcast("modal.closing",t,n).defaultPrevented}var f=null;r.has("$animateCss")&&(f=r.get("$animateCss"));var m,v,g,h="modal-open",$=l.createNew(),b={NOW_CLOSING_EVENT:"modal.stack.now-closing"},C=0,w="a[href], area[href], input:not([disabled]), button:not([disabled]),select:not([disabled]), textarea:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable=true]";return i.$watch(s,function(e){v&&(v.index=e)}),n.bind("keydown",function(e){if(e.isDefaultPrevented())return e;var t=$.top();if(t&&t.value.keyboard)switch(e.which){case 27:e.preventDefault(),i.$apply(function(){b.dismiss(t.key,"escape key press")});break;case 9:b.loadFocusElementList(t);var n=!1;e.shiftKey?b.isFocusInFirstItem(e)&&(n=b.focusLastFocusableElement()):b.isFocusInLastItem(e)&&(n=b.focusFirstFocusableElement()),n&&(e.preventDefault(),e.stopPropagation())}}),b.open=function(e,t){var a=n[0].activeElement;$.add(e,{deferred:t.deferred,renderDeferred:t.renderDeferred,modalScope:t.scope,backdrop:t.backdrop,keyboard:t.keyboard,openedClass:t.openedClass});var r=n.find("body").eq(0),l=s();if(l>=0&&!m){v=i.$new(!0),v.index=l;var c=angular.element('<div modal-backdrop="modal-backdrop"></div>');c.attr("backdrop-class",t.backdropClass),t.animation&&c.attr("modal-animation","true"),m=o(c)(v),r.append(m)}var u=angular.element('<div modal-window="modal-window"></div>');u.attr({"template-url":t.windowTemplateUrl,"window-class":t.windowClass,size:t.size,index:$.length()-1,animate:"animate"}).html(t.content),t.animation&&u.attr("modal-animation","true");var d=o(u)(t.scope);$.top().value.modalDomEl=d,$.top().value.modalOpener=a,r.append(d),r.addClass(t.openedClass||h),b.clearFocusListCache()},b.close=function(e,t){var n=$.get(e);return n&&p(n,t,!0)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.resolve(t),c(e,n.value.modalOpener),!0):!n},b.dismiss=function(e,t){var n=$.get(e);return n&&p(n,t,!1)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.reject(t),c(e,n.value.modalOpener),!0):!n},b.dismissAll=function(e){for(var t=this.getTop();t&&this.dismiss(t.key,e);)t=this.getTop()},b.getTop=function(){return $.top()},b.modalRendered=function(e){var t=$.get(e);t&&t.value.renderDeferred.resolve()},b.focusFirstFocusableElement=function(){return g.length>0?(g[0].focus(),!0):!1},b.focusLastFocusableElement=function(){return g.length>0?(g[g.length-1].focus(),!0):!1},b.isFocusInFirstItem=function(e){return g.length>0?(e.target||e.srcElement)==g[0]:!1},b.isFocusInLastItem=function(e){return g.length>0?(e.target||e.srcElement)==g[g.length-1]:!1},b.clearFocusListCache=function(){g=[],C=0},b.loadFocusElementList=function(e){if((void 0===g||!g.length0)&&e){var t=e.value.modalDomEl;t&&t.length&&(g=t[0].querySelectorAll(w))}},b}]).provider("$modal",function(){var e={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$injector","$rootScope","$q","$templateRequest","$controller","$modalStack",function(t,n,o,i,a,r){function l(e){return e.template?o.when(e.template):i(angular.isFunction(e.templateUrl)?e.templateUrl():e.templateUrl)}function s(e){var n=[];return angular.forEach(e,function(e){angular.isFunction(e)||angular.isArray(e)?n.push(o.when(t.invoke(e))):angular.isString(e)&&n.push(o.when(t.get(e)))}),n}var c={};return c.open=function(t){var i=o.defer(),c=o.defer(),u=o.defer(),d={result:i.promise,opened:c.promise,rendered:u.promise,close:function(e){return r.close(d,e)},dismiss:function(e){return r.dismiss(d,e)}};if(t=angular.extend({},e.options,t),t.resolve=t.resolve||{},!t.template&&!t.templateUrl)throw new Error("One of template or templateUrl options is required.");var p=o.all([l(t)].concat(s(t.resolve)));return p.then(function(e){var o=(t.scope||n).$new();o.$close=d.close,o.$dismiss=d.dismiss,o.$on("$destroy",function(){o.$$uibDestructionScheduled||o.$dismiss("$uibUnscheduledDestruction")});var l,s={},c=1;t.controller&&(s.$scope=o,s.$modalInstance=d,angular.forEach(t.resolve,function(t,n){s[n]=e[c++]}),l=a(t.controller,s),t.controllerAs&&(t.bindToController&&angular.extend(l,o),o[t.controllerAs]=l)),r.open(d,{scope:o,deferred:i,renderDeferred:u,content:e[0],animation:t.animation,backdrop:t.backdrop,keyboard:t.keyboard,backdropClass:t.backdropClass,windowClass:t.windowClass,windowTemplateUrl:t.windowTemplateUrl,size:t.size,openedClass:t.openedClass})},function(e){i.reject(e)}),p.then(function(){c.resolve(!0)},function(e){c.reject(e)}),d},c}]};return e}),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.bindHtml"]).provider("$tooltip",function(){function e(e){var t=/[A-Z]/g,n="-";return e.replace(t,function(e,t){return(t?n:"")+e.toLowerCase()})}var t={placement:"top",animation:!0,popupDelay:0,useContentExp:!1},n={mouseenter:"mouseleave",click:"click",focus:"blur"},o={};this.options=function(e){angular.extend(o,e)},this.setTriggers=function(e){angular.extend(n,e)},this.$get=["$window","$compile","$timeout","$document","$position","$interpolate","$rootScope",function(i,a,r,l,s,c,u){return function(i,d,p,f){function m(e){var t=(e||f.trigger||p).split(" "),o=t.map(function(e){return n[e]||e});return{show:t,hide:o}}f=angular.extend({},t,o,f);var v=e(i),g=c.startSymbol(),h=c.endSymbol(),$="<div "+v+'-popup title="'+g+"title"+h+'" '+(f.useContentExp?'content-exp="contentExp()" ':'content="'+g+"content"+h+'" ')+'placement="'+g+"placement"+h+'" popup-class="'+g+"popupClass"+h+'" animation="animation" is-open="isOpen"origin-scope="origScope" ></div>';return{restrict:"EA",compile:function(){var e=a($);return function(t,n,o){function a(){U.isOpen?p():c()}function c(){(!A||t.$eval(o[d+"Enable"]))&&(b(),U.popupDelay?D||(D=r(v,U.popupDelay,!1),D.then(function(e){e()})):v()())}function p(){g(),u.$$phase||u.$digest()}function v(){return D=null,T&&(r.cancel(T),T=null),(f.useContentExp?U.contentExp():U.content)?(h(),y.css({top:0,left:0,display:"block"}),N(),U.isOpen=!0,U.$apply(),N):angular.noop}function g(){U.isOpen=!1,r.cancel(D),D=null,U.animation?T||(T=r($,500)):$()}function h(){y&&$(),O=U.$new(),y=e(O,function(e){S?l.find("body").append(e):n.after(e)}),f.useContentExp&&(O.$watch("contentExp()",function(e){!e&&U.isOpen&&g()}),O.$watch(function(){M||(M=!0,O.$$postDigest(function(){M=!1,q()}))}))}function $(){T=null,y&&(y.remove(),y=null),O&&(O.$destroy(),O=null)}function b(){C(),w(),E()}function C(){U.popupClass=o[d+"Class"]}function w(){var e=o[d+"Placement"];U.placement=angular.isDefined(e)?e:f.placement}function E(){var e=o[d+"PopupDelay"],t=parseInt(e,10);U.popupDelay=isNaN(t)?f.popupDelay:t}function k(){var e=o[d+"Trigger"];H(),x=m(e),x.show.forEach(function(e,t){e===x.hide[t]?n.bind(e,a):e&&(n.bind(e,c),n.bind(x.hide[t],p))})}var y,O,T,D,S=angular.isDefined(f.appendToBody)?f.appendToBody:!1,x=m(void 0),A=angular.isDefined(o[d+"Enable"]),U=t.$new(!0),M=!1,N=function(){if(y){var e=s.positionElements(n,y,U.placement,S);e.top+="px",e.left+="px",y.css(e)}},q=function(){r(N,0,!1)};U.origScope=t,U.isOpen=!1,U.contentExp=function(){return t.$eval(o[i])},f.useContentExp||o.$observe(i,function(e){U.content=e,!e&&U.isOpen?g():q()}),o.$observe("disabled",function(e){D&&e&&r.cancel(D),e&&U.isOpen&&g()}),o.$observe(d+"Title",function(e){U.title=e,q()}),o.$observe(d+"Placement",function(){U.isOpen&&r(function(){w(),v()()},0,!1)});var H=function(){x.show.forEach(function(e){n.unbind(e,c)}),x.hide.forEach(function(e){n.unbind(e,p)})};k();var I=t.$eval(o[d+"Animation"]);U.animation=angular.isDefined(I)?!!I:f.animation;var F=t.$eval(o[d+"AppendToBody"]);S=angular.isDefined(F)?F:S,S&&t.$on("$locationChangeSuccess",function(){U.isOpen&&g()}),t.$on("$destroy",function(){r.cancel(T),r.cancel(D),H(),$(),U=null})}}}}}]}).directive("tooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(e,t,n,o){return{link:function(i,a,r){var l,s,c,u=i.$eval(r.tooltipTemplateTranscludeScope),d=0,p=function(){s&&(s.remove(),s=null),l&&(l.$destroy(),l=null),c&&(e.leave(c).then(function(){s=null}),s=c,c=null)};i.$watch(t.parseAsResourceUrl(r.tooltipTemplateTransclude),function(t){var r=++d;t?(o(t,!0).then(function(o){if(r===d){var i=u.$new(),s=o,f=n(s)(i,function(t){p(),e.enter(t,a)});l=i,c=f,l.$emit("$includeContentLoaded",t)}},function(){r===d&&(p(),i.$emit("$includeContentError",t))}),i.$emit("$includeContentRequested",t)):p()}),i.$on("$destroy",p)}}}]).directive("tooltipClasses",function(){return{restrict:"A",link:function(e,t,n){e.placement&&t.addClass(e.placement),e.popupClass&&t.addClass(e.popupClass),e.animation()&&t.addClass(n.tooltipAnimationClass)}}}).directive("tooltipPopup",function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-popup.html"}}).directive("tooltip",["$tooltip",function(e){return e("tooltip","tooltip","mouseenter")}]).directive("tooltipTemplatePopup",function(){return{restrict:"EA",replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&",originScope:"&"},templateUrl:"template/tooltip/tooltip-template-popup.html"}}).directive("tooltipTemplate",["$tooltip",function(e){return e("tooltipTemplate","tooltip","mouseenter",{useContentExp:!0})}]).directive("tooltipHtmlPopup",function(){return{restrict:"EA",replace:!0,scope:{contentExp:"&",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-html-popup.html"}}).directive("tooltipHtml",["$tooltip",function(e){return e("tooltipHtml","tooltip","mouseenter",{useContentExp:!0})}]).directive("tooltipHtmlUnsafePopup",function(){return{restrict:"EA",replace:!0,scope:{content:"@",placement:"@",popupClass:"@",animation:"&",isOpen:"&"},templateUrl:"template/tooltip/tooltip-html-unsafe-popup.html"}}).value("tooltipHtmlUnsafeSuppressDeprecated",!1).directive("tooltipHtmlUnsafe",["$tooltip","tooltipHtmlUnsafeSuppressDeprecated","$log",function(e,t,n){return t||n.warn("tooltip-html-unsafe is now deprecated. Use tooltip-html or tooltip-template instead."),e("tooltipHtmlUnsafe","tooltip","mouseenter")}]),angular.module("ui.bootstrap.bindHtml",[]).value("$bindHtmlUnsafeSuppressDeprecated",!1).directive("bindHtmlUnsafe",["$log","$bindHtmlUnsafeSuppressDeprecated",function(e,t){return function(n,o,i){t||e.warn("bindHtmlUnsafe is now deprecated. Use ngBindHtml instead"),o.addClass("ng-binding").data("$binding",i.bindHtmlUnsafe),n.$watch(i.bindHtmlUnsafe,function(e){o.html(e||"")})}}]),angular.module("ui.bootstrap.collapse",[]).directive("collapse",["$animate",function(e){return{link:function(t,n,o){function i(){n.removeClass("collapse").addClass("collapsing").attr("aria-expanded",!0).attr("aria-hidden",!1),e.addClass(n,"in",{to:{height:n[0].scrollHeight+"px"}}).then(a)}function a(){n.removeClass("collapsing"),n.css({height:"auto"})}function r(){return n.hasClass("collapse")||n.hasClass("in")?(n.css({height:n[0].scrollHeight+"px"}).removeClass("collapse").addClass("collapsing").attr("aria-expanded",!1).attr("aria-hidden",!0),void e.removeClass(n,"in",{to:{height:"0"}}).then(l)):l()}function l(){n.css({height:"0"}),n.removeClass("collapsing"),n.addClass("collapse")}t.$watch(o.collapse,function(e){e?r():i()})}}}]),angular.module("ui.bootstrap.transition",[]).value("$transitionSuppressDeprecated",!1).factory("$transition",["$q","$timeout","$rootScope","$log","$transitionSuppressDeprecated",function(e,t,n,o,i){function a(e){for(var t in e)if(void 0!==l.style[t])return e[t]}i||o.warn("$transition is now deprecated. Use $animate from ngAnimate instead.");var r=function(o,i,a){a=a||{};var l=e.defer(),s=r[a.animation?"animationEndEventName":"transitionEndEventName"],c=function(){n.$apply(function(){o.unbind(s,c),l.resolve(o)})};return s&&o.bind(s,c),t(function(){angular.isString(i)?o.addClass(i):angular.isFunction(i)?i(o):angular.isObject(i)&&o.css(i),s||l.resolve(o)}),l.promise.cancel=function(){s&&o.unbind(s,c),l.reject("Transition cancelled")},l.promise},l=document.createElement("trans"),s={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"},c={WebkitTransition:"webkitAnimationEnd",MozTransition:"animationend",OTransition:"oAnimationEnd",transition:"animationend"};return r.transitionEndEventName=a(s),r.animationEndEventName=a(c),r}]);