UNPKG

graphdb-workbench

Version:
2 lines 2.32 MB
/*! For license information please see legacyWorkbench.896de9b2ffbb92389b02.js.LICENSE.txt */ import*as t from"@ontotext/workbench-api";var e,n,r={276:(t,e,n)=>{n.r(e);var r=n(62072);function i(t,e,n,i,o,a){return{restrict:"E",templateUrl:"js/angular/core/templates/cookie-policy/cookie-consent.html",link:t=>{let n;t.showCookieConsent=!1,t.acceptConsent=()=>{a.updateCookieConsent(n.setPolicyAccepted(!0)).then(()=>t.showCookieConsent=!1)},t.showCookiePolicy=()=>{e.open({templateUrl:"js/angular/core/templates/cookie-policy/cookie-policy.html",controller:r.CookiePolicyModalController,backdrop:"static",keyboard:!1,windowClass:"cookie-policy-modal",resolve:{data:()=>({cookieConsent:n})}})};const s=()=>{a.getCookieConsent().then(e=>{n=e,t.showCookieConsent=!e.getPolicyAccepted()}).catch(t=>{const e=getError(t.data,t.status);o.error(e,i.instant("common.error"))})},l=t.$on("securityInit",(e,n,r)=>{r?s():t.showCookieConsent=!1});t.$on("$destroy",()=>{l()}),s()}}}angular.module("graphdb.framework.core.directives.cookie-consent",[]).directive("cookieConsent",i),i.$inject=["$jwtAuth","$uibModal","$licenseService","$translate","toastr","TrackingService"]},304:(t,e,n)=>{n.r(e),n.d(e,{LoggerProvider:()=>i});var r=n(57154);class i{static get logger(){return r.Loggers.getLoggerInstance("LEGACY_MODULE")}}},608:()=>{!function(t,e,n){function r(t){var e,n={};for(t=t.split(","),e=0;e<t.length;e++)n[t[e]]=!0;return n}function i(t){if(!t)return"";var e=$.exec(t);t=e[1];var n=e[3];return(e=e[2])&&(B.innerHTML=e.replace(/</g,"&lt;"),e="textContent"in B?B.textContent:B.innerText),t+e+n}function o(t){return t.replace(/&/g,"&amp;").replace(g,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+((t=t.charCodeAt(1))-56320)+65536)+";"}).replace(m,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function a(t,n){var r=!1,i=e.bind(t,t.push);return{start:function(t,a,s){t=e.lowercase(t),!r&&w[t]&&(r=t),r||!0!==x[t]||(i("<"),i(t),e.forEach(a,function(r,a){var s=e.lowercase(a),l="img"===t&&"src"===s||"background"===s;!0!==k[s]||!0===E[s]&&!n(r,l)||(i(" "),i(a),i('="'),i(o(r)),i('"'))}),i(s?"/>":">"))},end:function(t){t=e.lowercase(t),r||!0!==x[t]||(i("</"),i(t),i(">")),t==r&&(r=!1)},chars:function(t){r||i(o(t))}}}var s=e.$$minErr("$sanitize"),l=/^<((?:[a-zA-Z])[\w:-]*)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*(>?)/,c=/^<\/\s*([\w:-]+)[^>]*>/,u=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,d=/^</,f=/^<\//,p=/\x3c!--(.*?)--\x3e/g,A=/<!DOCTYPE([^>]*?)>/i,h=/<!\[CDATA\[(.*?)]]\x3e/g,g=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,m=/([^\#-~| |!])/g,b=r("area,br,col,hr,img,wbr");t=r("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),n=r("rp,rt");var v=e.extend({},n,t),C=e.extend({},t,r("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,script,section,table,ul")),y=e.extend({},n,r("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var"));t=r("animate,animateColor,animateMotion,animateTransform,circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,set,stop,svg,switch,text,title,tspan,use");var w=r("script,style"),x=e.extend({},b,C,y,v,t),E=r("background,cite,href,longdesc,src,usemap,xlink:href");t=r("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,target,title,type,valign,value,vspace,width"),n=r("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,attributeName,attributeType,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan");var k=e.extend({},E,n,t),B=document.createElement("pre"),$=/^(\s*)([\s\S]*?)(\s*)$/;e.module("ngSanitize",[]).provider("$sanitize",function(){this.$get=["$$sanitizeUri",function(t){return function(n){var r=[];return function(t,n){function r(t,r,a,s){if(r=e.lowercase(r),C[r])for(;x.last()&&y[x.last()];)o(0,x.last());v[r]&&x.last()==r&&o(0,r),(s=b[r]||!!s)||x.push(r);var l={};a.replace(u,function(t,e,n,r,o){l[e]=i(n||r||o||"")}),n.start&&n.start(r,l,s)}function o(t,r){var i,o=0;if(r=e.lowercase(r))for(o=x.length-1;0<=o&&x[o]!=r;o--);if(0<=o){for(i=x.length-1;i>=o;i--)n.end&&n.end(x[i]);x.length=o}}"string"!=typeof t&&(t=null==t?"":""+t);var a,g,m,x=[],E=t;for(x.last=function(){return x[x.length-1]};t;){if(m="",g=!0,x.last()&&w[x.last()]?(t=t.replace(new RegExp("(.*)<\\s*\\/\\s*"+x.last()+"[^>]*>","i"),function(t,e){return e=e.replace(p,"$1").replace(h,"$1"),n.chars&&n.chars(i(e)),""}),o(0,x.last())):(0===t.indexOf("\x3c!--")?0<=(a=t.indexOf("--",4))&&t.lastIndexOf("--\x3e",a)===a&&(n.comment&&n.comment(t.substring(4,a)),t=t.substring(a+3),g=!1):A.test(t)?(a=t.match(A))&&(t=t.replace(a[0],""),g=!1):f.test(t)?(a=t.match(c))&&(t=t.substring(a[0].length),a[0].replace(c,o),g=!1):d.test(t)&&((a=t.match(l))?(a[4]&&(t=t.substring(a[0].length),a[0].replace(l,r)),g=!1):(m+="<",t=t.substring(1))),g&&(m+=0>(a=t.indexOf("<"))?t:t.substring(0,a),t=0>a?"":t.substring(a),n.chars&&n.chars(i(m)))),t==E)throw s("badparse",t);E=t}o()}(n,a(r,function(e,n){return!/^unsafe/.test(t(e,n))})),r.join("")}}]}),e.module("ngSanitize").filter("linky",["$sanitize",function(t){var n=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/,r=/^mailto:/;return function(i,o){function s(t){t&&p.push(function(t){var n=[];return a(n,e.noop).chars(t),n.join("")}(t))}function l(t,n){p.push("<a "),e.isDefined(o)&&p.push('target="',o,'" '),p.push('href="',t.replace(/"/g,"&quot;"),'">'),s(n),p.push("</a>")}if(!i)return i;for(var c,u,d,f=i,p=[];c=f.match(n);)u=c[0],c[2]||c[4]||(u=(c[3]?"http://":"mailto:")+u),d=c.index,s(f.substr(0,d)),l(u,c[0].replace(r,"")),f=f.substring(d+c[0].length);return s(f),t(p.join(""))}}])}(window,window.angular)},807:()=>{angular.module("graphdb.framework.rest.locations.service",[]).factory("LocationsRestService",i),i.$inject=["$http"];const t="rest/locations",e=`${t}/active`,n="rest/info/rpc-address",r="rest/info/external-url";function i(i){return{getLocations:function(e){return i.get(t,{},{timeout:e?e.promise:null})},addLocation:function(e){return i.post(t,e)},editLocation:function(e){return i.put(t,e)},deleteLocation:function(e){return i.delete(`${t}?uri=${e}`)},getActiveLocation:function(){return i({method:"GET",url:`${e}`,noCancelOnRouteChange:!0})},setDefaultRepository:function(t){return i({url:`${e}/default-repository`,method:"POST",data:{defaultRepository:t}})},getLocationRpcAddress:function(t){return i.get(`${n}`,{params:{location:t}})},getExternalUrl:function(){return i.get(r)}}}},1926:(t,e,n)=>{n.r(e),n.d(e,{ActiveOperationModel:()=>i});var r=n(29390);class i{constructor(){this.operationGroup=void 0,this.runningOperationCount=0,this.status=r.OPERATION_STATUS.INFORMATION,this.type=void 0,this.titleLabelKey="",this.monitoringViewUrl=""}}},2243:(t,e,n)=>{n.r(e),n(67539);var r=n(7462);function i(t){return{login:(e,n)=>t.login(e,n).then(({data:t,status:e,headers:n})=>({data:(0,r.toUserModelMapper)(t,"authorities"),status:e,headers:n})),getUser:e=>t.getUser(e).then(t=>(0,r.toUserModelMapper)(t.data)),getAuthenticatedUser:()=>t.getAuthenticatedUser().then(t=>(0,r.toUserModelMapper)(t.data,"authorities")),getAdminUser:()=>t.getAdminUser().then(t=>(0,r.toUserModelMapper)(t.data)),getUsers:()=>t.getUsers().then(t=>(0,r.toUserModelMapper)(t.data)),createUser:e=>t.createUser((0,r.fromUserModelMapper)(e)),updateUser:e=>t.updateUser((0,r.fromUserModelMapper)(e)),updateUserData:e=>t.updateUserData(e),deleteUser:e=>t.deleteUser(e),getFreeAccess:()=>t.getFreeAccess().then(t=>(0,r.toUserModelMapper)(t.data,"authorities")),setFreeAccess:e=>t.setFreeAccess((0,r.fromUserModelMapper)(e,"authorities")),getSecurityConfig:()=>t.getSecurityConfig(),toggleSecurity:e=>t.toggleSecurity(e),getRoles:()=>t.getRoles(),getRolesMapping:e=>t.getRolesMapping(e)}}angular.module("graphdb.framework.core.services.security-service",["graphdb.framework.rest.security.service"]).factory("SecurityService",i),i.$inject=["SecurityRestService"]},2680:()=>{!function(t){var e={objectMaxDepth:5,urlErrorParamsEnabled:!0};function n(t){if(!N(t))return e;j(t.objectMaxDepth)&&(e.objectMaxDepth=r(t.objectMaxDepth)?t.objectMaxDepth:NaN),j(t.urlErrorParamsEnabled)&&X(t.urlErrorParamsEnabled)&&(e.urlErrorParamsEnabled=t.urlErrorParamsEnabled)}function r(t){return z(t)&&t>0}function i(t,n){n=n||Error;var r="https://errors.angularjs.org/1.8.3/",i=r.replace(".","\\.")+"[\\s\\S]*",o=new RegExp(i,"g");return function(){var i,a,s=arguments[0],l=arguments[1],c="["+(t?t+":":"")+s+"] ",u=ft(arguments,2).map(function(t){return zt(t,e.objectMaxDepth)});if(c+=l.replace(/\{\d+\}/g,function(t){var e=+t.slice(1,-1);return e<u.length?u[e].replace(o,""):t}),c+="\n"+r+(t?t+"/":"")+s,e.urlErrorParamsEnabled)for(a=0,i="?";a<u.length;a++,i="&")c+=i+"p"+a+"="+encodeURIComponent(u[a]);return new n(c)}}var o,a,s,l,c=/^\/(.+)\/([a-z]*)$/,u="validity",d=Object.prototype.hasOwnProperty,f=function(t){return q(t)?t.toLowerCase():t},p=function(t){return q(t)?t.toUpperCase():t},A=[].slice,h=[].splice,g=[].push,m=Object.prototype.toString,b=Object.getPrototypeOf,v=i("ng"),C=t.angular||(t.angular={}),y=0;function w(t){if(null==t||Y(t))return!1;if(V(t)||q(t)||a&&t instanceof a)return!0;var e="length"in Object(t)&&t.length;return z(e)&&(e>=0&&e-1 in t||"function"==typeof t.item)}function x(t,e,n){var r,i;if(t)if(G(t))for(r in t)"prototype"!==r&&"length"!==r&&"name"!==r&&t.hasOwnProperty(r)&&e.call(n,t[r],r,t);else if(V(t)||w(t)){var o="object"!=typeof t;for(r=0,i=t.length;r<i;r++)(o||r in t)&&e.call(n,t[r],r,t)}else if(t.forEach&&t.forEach!==x)t.forEach(e,n,t);else if(L(t))for(r in t)e.call(n,t[r],r,t);else if("function"==typeof t.hasOwnProperty)for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t);else for(r in t)d.call(t,r)&&e.call(n,t[r],r,t);return t}function E(t,e,n){for(var r=Object.keys(t).sort(),i=0;i<r.length;i++)e.call(n,t[r[i]],r[i]);return r}function k(t){return function(e,n){t(n,e)}}function B(){return++y}function $(t,e){e?t.$$hashKey=e:delete t.$$hashKey}function I(t,e,n){for(var r=t.$$hashKey,i=0,o=e.length;i<o;++i){var a=e[i];if(N(a)||G(a))for(var s=Object.keys(a),l=0,c=s.length;l<c;l++){var u=s[l],d=a[u];n&&N(d)?H(d)?t[u]=new Date(d.valueOf()):K(d)?t[u]=new RegExp(d):d.nodeName?t[u]=d.cloneNode(!0):nt(d)?t[u]=d.clone():"__proto__"!==u&&(N(t[u])||(t[u]=V(d)?[]:{}),I(t[u],[d],!0)):t[u]=d}}return $(t,r),t}function S(t){return I(t,A.call(arguments,1),!1)}function D(t){return I(t,A.call(arguments,1),!0)}function _(t){return parseInt(t,10)}o=t.document.documentMode;var T=Number.isNaN||function(t){return t!=t};function F(t,e){return S(Object.create(t),e)}function R(){}function O(t){return t}function U(t){return function(){return t}}function P(t){return G(t.toString)&&t.toString!==m}function M(t){return void 0===t}function j(t){return void 0!==t}function N(t){return null!==t&&"object"==typeof t}function L(t){return null!==t&&"object"==typeof t&&!b(t)}function q(t){return"string"==typeof t}function z(t){return"number"==typeof t}function H(t){return"[object Date]"===m.call(t)}function V(t){return Array.isArray(t)||t instanceof Array}function W(t){switch(m.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return t instanceof Error}}function G(t){return"function"==typeof t}function K(t){return"[object RegExp]"===m.call(t)}function Y(t){return t&&t.window===t}function Q(t){return t&&t.$evalAsync&&t.$watch}function X(t){return"boolean"==typeof t}function J(t){return t&&G(t.then)}R.$inject=[],O.$inject=[];var Z=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,tt=function(t){return q(t)?t.trim():t},et=function(t){return t.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function nt(t){return!(!t||!(t.nodeName||t.prop&&t.attr&&t.find))}function rt(t){return f(t.nodeName||t[0]&&t[0].nodeName)}function it(t,e){return-1!==Array.prototype.indexOf.call(t,e)}function ot(t,e){var n=t.indexOf(e);return n>=0&&t.splice(n,1),n}function at(t,e,n){var i,o,a=[],s=[];if(n=r(n)?n:NaN,e){if((o=e)&&z(o.length)&&Z.test(m.call(o))||(i=e,"[object ArrayBuffer]"===m.call(i)))throw v("cpta","Can't copy! TypedArray destination cannot be mutated.");if(t===e)throw v("cpi","Can't copy! Source and destination are identical.");return V(e)?e.length=0:x(e,function(t,n){"$$hashKey"!==n&&delete e[n]}),a.push(t),s.push(e),l(t,e,n)}return c(t,n);function l(t,e,n){if(--n<0)return"...";var r,i=e.$$hashKey;if(V(t))for(var o=0,a=t.length;o<a;o++)e.push(c(t[o],n));else if(L(t))for(r in t)e[r]=c(t[r],n);else if(t&&"function"==typeof t.hasOwnProperty)for(r in t)t.hasOwnProperty(r)&&(e[r]=c(t[r],n));else for(r in t)d.call(t,r)&&(e[r]=c(t[r],n));return $(e,i),e}function c(t,e){if(!N(t))return t;var n=a.indexOf(t);if(-1!==n)return s[n];if(Y(t)||Q(t))throw v("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,i=function(t){switch(m.call(t)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new t.constructor(c(t.buffer),t.byteOffset,t.length);case"[object ArrayBuffer]":if(!t.slice){var e=new ArrayBuffer(t.byteLength);return new Uint8Array(e).set(new Uint8Array(t)),e}return t.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new t.constructor(t.valueOf());case"[object RegExp]":var n=new RegExp(t.source,t.toString().match(/[^/]*$/)[0]);return n.lastIndex=t.lastIndex,n;case"[object Blob]":return new t.constructor([t],{type:t.type})}if(G(t.cloneNode))return t.cloneNode(!0)}(t);return void 0===i&&(i=V(t)?[]:Object.create(b(t)),r=!0),a.push(t),s.push(i),r?l(t,i,e):i}}function st(t,e){return t===e||t!=t&&e!=e}function lt(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;var n,r,i,o=typeof t;if(o===typeof e&&"object"===o){if(!V(t)){if(H(t))return!!H(e)&&st(t.getTime(),e.getTime());if(K(t))return!!K(e)&&t.toString()===e.toString();if(Q(t)||Q(e)||Y(t)||Y(e)||V(e)||H(e)||K(e))return!1;for(r in i=jt(),t)if("$"!==r.charAt(0)&&!G(t[r])){if(!lt(t[r],e[r]))return!1;i[r]=!0}for(r in e)if(!(r in i)&&"$"!==r.charAt(0)&&j(e[r])&&!G(e[r]))return!1;return!0}if(!V(e))return!1;if((n=t.length)===e.length){for(r=0;r<n;r++)if(!lt(t[r],e[r]))return!1;return!0}}return!1}var ct=function(){if(!j(ct.rules)){var e=t.document.querySelector("[ng-csp]")||t.document.querySelector("[data-ng-csp]");if(e){var n=e.getAttribute("ng-csp")||e.getAttribute("data-ng-csp");ct.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else ct.rules={noUnsafeEval:function(){try{return new Function(""),!1}catch(t){return!0}}(),noInlineStyle:!1}}return ct.rules},ut=function(){if(j(ut.name_))return ut.name_;var e,n,r,i,o=Bt.length;for(n=0;n<o;++n)if(r=Bt[n],e=t.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return ut.name_=i};function dt(t,e,n){return t.concat(A.call(e,n))}function ft(t,e){return A.call(t,e||0)}function pt(t,e){var n=arguments.length>2?ft(arguments,2):[];return!G(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,dt(n,arguments,0)):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function At(e,n){var r=n;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?r=void 0:Y(n)?r="$WINDOW":n&&t.document===n?r="$DOCUMENT":Q(n)&&(r="$SCOPE"),r}function ht(t,e){if(!M(t))return z(e)||(e=e?2:null),JSON.stringify(t,At,e)}function gt(t){return q(t)?JSON.parse(t):t}var mt=/:/g;function bt(t,e){t=t.replace(mt,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return T(n)?e:n}function vt(t,e){return(t=new Date(t.getTime())).setMinutes(t.getMinutes()+e),t}function Ct(t,e,n){n=n?-1:1;var r=t.getTimezoneOffset();return vt(t,n*(bt(e,r)-r))}function yt(t){t=a(t).clone().empty();var e=a("<div></div>").append(t).html();try{return t[0].nodeType===Lt?f(e):e.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(t,e){return"<"+f(e)})}catch(t){return f(e)}}function wt(t){try{return decodeURIComponent(t)}catch(t){}}function xt(t){var e={};return x((t||"").split("&"),function(t){var n,r,i;t&&(r=t=t.replace(/\+/g,"%20"),-1!==(n=t.indexOf("="))&&(r=t.substring(0,n),i=t.substring(n+1)),j(r=wt(r))&&(i=!j(i)||wt(i),d.call(e,r)?V(e[r])?e[r].push(i):e[r]=[e[r],i]:e[r]=i))}),e}function Et(t){return kt(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function kt(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}var Bt=["ng-","data-ng-","ng:","x-ng-"],$t=function(e){var n=e.currentScript;if(!n)return!0;if(!(n instanceof t.HTMLScriptElement||n instanceof t.SVGScriptElement))return!1;var r=n.attributes;return[r.getNamedItem("src"),r.getNamedItem("href"),r.getNamedItem("xlink:href")].every(function(t){if(!t)return!0;if(!t.value)return!1;var n=e.createElement("a");if(n.href=t.value,e.location.origin===n.origin)return!0;switch(n.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}})}(t.document);function It(e,n,r){N(r)||(r={}),r=S({strictDi:!1},r);var i=function(){if((e=a(e)).injector()){var i=e[0]===t.document?"document":yt(e);throw v("btstrpd","App already bootstrapped with this element '{0}'",i.replace(/</,"&lt;").replace(/>/,"&gt;"))}(n=n||[]).unshift(["$provide",function(t){t.value("$rootElement",e)}]),r.debugInfoEnabled&&n.push(["$compileProvider",function(t){t.debugInfoEnabled(!0)}]),n.unshift("ng");var o=Xe(n,r.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(t,e,n,r){t.$apply(function(){e.data("$injector",r),n(e)(t)})}]),o},o=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(t&&o.test(t.name)&&(r.debugInfoEnabled=!0,t.name=t.name.replace(o,"")),t&&!s.test(t.name))return i();t.name=t.name.replace(s,""),C.resumeBootstrap=function(t){return x(t,function(t){n.push(t)}),i()},G(C.resumeDeferredBootstrap)&&C.resumeDeferredBootstrap()}function St(){t.name="NG_ENABLE_DEBUG_INFO!"+t.name,t.location.reload()}function Dt(t){var e=C.element(t).injector();if(!e)throw v("test","no injector found for element argument to getTestability");return e.get("$$testability")}var _t=/[A-Z]/g;function Tt(t,e){return e=e||"_",t.replace(_t,function(t,n){return(n?e:"")+t.toLowerCase()})}var Ft=!1;function Rt(){fe.legacyXHTMLReplacement=!0}function Ot(t,e,n){if(!t)throw v("areq","Argument '{0}' is {1}",e||"?",n||"required");return t}function Ut(t,e,n){return n&&V(t)&&(t=t[t.length-1]),Ot(G(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function Pt(t,e){if("hasOwnProperty"===t)throw v("badname","hasOwnProperty is not a valid {0} name",e)}function Mt(t){for(var e,n=t[0],r=t[t.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(e||t[i]!==n)&&(e||(e=a(A.call(t,0,i))),e.push(n));return e||t}function jt(){return Object.create(null)}function Nt(t){if(null==t)return"";switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=!P(t)||V(t)||H(t)?ht(t):t.toString()}return t}var Lt=3;function qt(t,e){if(V(t)){e=e||[];for(var n=0,r=t.length;n<r;n++)e[n]=t[n]}else if(N(t))for(var i in e=e||{},t)"$"===i.charAt(0)&&"$"===i.charAt(1)||(e[i]=t[i]);return e||t}function zt(t,e){return"function"==typeof t?t.toString().replace(/ \{[\s\S]*$/,""):M(t)?"undefined":"string"!=typeof t?function(t,e){var n=[];return r(e)&&(t=C.copy(t,null,e)),JSON.stringify(t,function(t,e){if(N(e=At(t,e))){if(n.indexOf(e)>=0)return"...";n.push(e)}return e})}(t,e):t}var Ht={full:"1.8.3",major:1,minor:8,dot:3,codeName:"ultimate-farewell"};fe.expando="ng339";var Vt=fe.cache={},Wt=1;fe._data=function(t){return this.cache[t[this.expando]]||{}};var Gt=/-([a-z])/g,Kt=/^-ms-/,Yt={mouseleave:"mouseout",mouseenter:"mouseover"},Qt=i("jqLite");function Xt(t,e){return e.toUpperCase()}function Jt(t){return t.replace(Gt,Xt)}var Zt=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,te=/<|&#?\w+;/,ee=/<([\w:-]+)/,ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,re={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};re.tbody=re.tfoot=re.colgroup=re.caption=re.thead,re.th=re.td;var ie={option:[1,'<select multiple="multiple">',"</select>"],_default:[0,"",""]};for(var oe in re){var ae=re[oe],se=ae.slice().reverse();ie[oe]=[se.length,"<"+se.join("><")+">","</"+ae.join("></")+">"]}function le(t){return!te.test(t)}function ce(t){var e=t.nodeType;return 1===e||!e||9===e}function ue(e,n){var r,i,a,s,l,c=n.createDocumentFragment(),u=[];if(le(e))u.push(n.createTextNode(e));else{if(r=c.appendChild(n.createElement("div")),i=(ee.exec(e)||["",""])[1].toLowerCase(),s=fe.legacyXHTMLReplacement?e.replace(ne,"<$1></$2>"):e,o<10)for(a=ie[i]||ie._default,r.innerHTML=a[1]+s+a[2],l=a[0];l--;)r=r.firstChild;else{for(l=(a=re[i]||[]).length;--l>-1;)r.appendChild(t.document.createElement(a[l])),r=r.firstChild;r.innerHTML=s}u=dt(u,r.childNodes),(r=c.firstChild).textContent=""}return c.textContent="",c.innerHTML="",x(u,function(t){c.appendChild(t)}),c}ie.optgroup=ie.option;var de=t.Node.prototype.contains||function(t){return!!(16&this.compareDocumentPosition(t))};function fe(e){if(e instanceof fe)return e;var n,r,i,o;if(q(e)&&(e=tt(e),n=!0),!(this instanceof fe)){if(n&&"<"!==e.charAt(0))throw Qt("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new fe(e)}n?Ee(this,(r=e,i=i||t.document,(o=Zt.exec(r))?[i.createElement(o[1])]:(o=ue(r,i))?o.childNodes:[])):G(e)?Se(e):Ee(this,e)}function pe(t){return t.cloneNode(!0)}function Ae(t,e){!e&&ce(t)&&a.cleanData([t]),t.querySelectorAll&&a.cleanData(t.querySelectorAll("*"))}function he(t){var e;for(e in t)return!1;return!0}function ge(t){var e=t.ng339,n=e&&Vt[e],r=n&&n.events,i=n&&n.data;i&&!he(i)||r&&!he(r)||(delete Vt[e],t.ng339=void 0)}function me(t,e,n,r){if(j(r))throw Qt("offargs","jqLite#off() does not support the `selector` argument");var i=ve(t),o=i&&i.events,a=i&&i.handle;if(a){if(e){var s=function(e){var r=o[e];j(n)&&ot(r||[],n),j(n)&&r&&r.length>0||(t.removeEventListener(e,a),delete o[e])};x(e.split(" "),function(t){s(t),Yt[t]&&s(Yt[t])})}else for(e in o)"$destroy"!==e&&t.removeEventListener(e,a),delete o[e];ge(t)}}function be(t,e){var n=t.ng339,r=n&&Vt[n];r&&(e?delete r.data[e]:r.data={},ge(t))}function ve(t,e){var n=t.ng339,r=n&&Vt[n];return e&&!r&&(t.ng339=n=++Wt,r=Vt[n]={events:{},data:{},handle:void 0}),r}function Ce(t,e,n){if(ce(t)){var r,i=j(n),o=!i&&e&&!N(e),a=!e,s=ve(t,!o),l=s&&s.data;if(i)l[Jt(e)]=n;else{if(a)return l;if(o)return l&&l[Jt(e)];for(r in e)l[Jt(r)]=e[r]}}}function ye(t,e){return!!t.getAttribute&&(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+e+" ")>-1}function we(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;x(e.split(" "),function(t){t=tt(t),r=r.replace(" "+t+" "," ")}),r!==n&&t.setAttribute("class",tt(r))}}function xe(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;x(e.split(" "),function(t){t=tt(t),-1===r.indexOf(" "+t+" ")&&(r+=t+" ")}),r!==n&&t.setAttribute("class",tt(r))}}function Ee(t,e){if(e)if(e.nodeType)t[t.length++]=e;else{var n=e.length;if("number"==typeof n&&e.window!==e){if(n)for(var r=0;r<n;r++)t[t.length++]=e[r]}else t[t.length++]=e}}function ke(t,e){return Be(t,"$"+(e||"ngController")+"Controller")}function Be(t,e,n){9===t.nodeType&&(t=t.documentElement);for(var r=V(e)?e:[e];t;){for(var i=0,o=r.length;i<o;i++)if(j(n=a.data(t,r[i])))return n;t=t.parentNode||11===t.nodeType&&t.host}}function $e(t){for(Ae(t,!0);t.firstChild;)t.removeChild(t.firstChild)}function Ie(t,e){e||Ae(t);var n=t.parentNode;n&&n.removeChild(t)}function Se(e){function n(){t.document.removeEventListener("DOMContentLoaded",n),t.removeEventListener("load",n),e()}"complete"===t.document.readyState?t.setTimeout(e):(t.document.addEventListener("DOMContentLoaded",n),t.addEventListener("load",n))}var De=fe.prototype={ready:Se,toString:function(){var t=[];return x(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(t){return a(t>=0?this[t]:this[this.length+t])},length:0,push:g,sort:[].sort,splice:[].splice},_e={};x("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(t){_e[f(t)]=t});var Te={};x("input,select,option,textarea,button,form,details".split(","),function(t){Te[t]=!0});var Fe={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};function Re(t,e){var n=_e[e.toLowerCase()];return n&&Te[rt(t)]&&n}function Oe(t,e,n){n.call(t,e)}function Ue(t,e,n){var r=e.relatedTarget;r&&(r===t||de.call(t,r))||n.call(t,e)}function Pe(){this.$get=function(){return S(fe,{hasClass:function(t,e){return t.attr&&(t=t[0]),ye(t,e)},addClass:function(t,e){return t.attr&&(t=t[0]),xe(t,e)},removeClass:function(t,e){return t.attr&&(t=t[0]),we(t,e)}})}}function Me(t,e){var n=t&&t.$$hashKey;if(n)return"function"==typeof n&&(n=t.$$hashKey()),n;var r=typeof t;return"function"===r||"object"===r&&null!==t?t.$$hashKey=r+":"+(e||B)():r+":"+t}x({data:Ce,removeData:be,hasData:function(t){for(var e in Vt[t.ng339])return!0;return!1},cleanData:function(t){for(var e=0,n=t.length;e<n;e++)be(t[e]),me(t[e])}},function(t,e){fe[e]=t}),x({data:Ce,inheritedData:Be,scope:function(t){return a.data(t,"$scope")||Be(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return a.data(t,"$isolateScope")||a.data(t,"$isolateScopeNoTemplate")},controller:ke,injector:function(t){return Be(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:ye,css:function(t,e,n){if(e=function(t){return Jt(t.replace(Kt,"ms-"))}(e),!j(n))return t.style[e];t.style[e]=n},attr:function(t,e,n){var r,i=t.nodeType;if(i!==Lt&&2!==i&&8!==i&&t.getAttribute){var o=f(e),a=_e[o];if(!j(n))return r=t.getAttribute(e),a&&null!==r&&(r=o),null===r?void 0:r;null===n||!1===n&&a?t.removeAttribute(e):t.setAttribute(e,a?o:n)}},prop:function(t,e,n){if(!j(n))return t[e];t[e]=n},text:function(){return t.$dv="",t;function t(t,e){if(M(e)){var n=t.nodeType;return 1===n||n===Lt?t.textContent:""}t.textContent=e}}(),val:function(t,e){if(M(e)){if(t.multiple&&"select"===rt(t)){var n=[];return x(t.options,function(t){t.selected&&n.push(t.value||t.text)}),n}return t.value}t.value=e},html:function(t,e){if(M(e))return t.innerHTML;Ae(t,!0),t.innerHTML=e},empty:$e},function(t,e){fe.prototype[e]=function(e,n){var r,i,o=this.length;if(t!==$e&&M(2===t.length&&t!==ye&&t!==ke?e:n)){if(N(e)){for(r=0;r<o;r++)if(t===Ce)t(this[r],e);else for(i in e)t(this[r],i,e[i]);return this}for(var a=t.$dv,s=M(a)?Math.min(o,1):o,l=0;l<s;l++){var c=t(this[l],e,n);a=a?a+c:c}return a}for(r=0;r<o;r++)t(this[r],e,n);return this}}),x({removeData:be,on:function(t,e,n,r){if(j(r))throw Qt("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(ce(t)){var i=ve(t,!0),o=i.events,a=i.handle;a||(a=i.handle=function(t,e){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=e[r||n.type],o=i?i.length:0;if(o){if(M(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var s=i.specialHandlerWrapper||Oe;o>1&&(i=qt(i));for(var l=0;l<o;l++)n.isImmediatePropagationStopped()||s(t,n,i[l])}};return n.elem=t,n}(t,o));for(var s=e.indexOf(" ")>=0?e.split(" "):[e],l=s.length,c=function(e,r,i){var s=o[e];s||((s=o[e]=[]).specialHandlerWrapper=r,"$destroy"===e||i||t.addEventListener(e,a)),s.push(n)};l--;)e=s[l],Yt[e]?(c(Yt[e],Ue),c(e,void 0,!0)):c(e)}},off:me,one:function(t,e,n){(t=a(t)).on(e,function r(){t.off(e,n),t.off(e,r)}),t.on(e,n)},replaceWith:function(t,e){var n,r=t.parentNode;Ae(t),x(new fe(e),function(e){n?r.insertBefore(e,n.nextSibling):r.replaceChild(e,t),n=e})},children:function(t){var e=[];return x(t.childNodes,function(t){1===t.nodeType&&e.push(t)}),e},contents:function(t){return t.contentDocument||t.childNodes||[]},append:function(t,e){var n=t.nodeType;if(1===n||11===n)for(var r=0,i=(e=new fe(e)).length;r<i;r++){var o=e[r];t.appendChild(o)}},prepend:function(t,e){if(1===t.nodeType){var n=t.firstChild;x(new fe(e),function(e){t.insertBefore(e,n)})}},wrap:function(t,e){var n,r,i;n=t,r=a(e).eq(0).clone()[0],(i=n.parentNode)&&i.replaceChild(r,n),r.appendChild(n)},remove:Ie,detach:function(t){Ie(t,!0)},after:function(t,e){var n=t,r=t.parentNode;if(r)for(var i=0,o=(e=new fe(e)).length;i<o;i++){var a=e[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:xe,removeClass:we,toggleClass:function(t,e,n){e&&x(e.split(" "),function(e){var r=n;M(r)&&(r=!ye(t,e)),(r?xe:we)(t,e)})},parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},next:function(t){return t.nextElementSibling},find:function(t,e){return t.getElementsByTagName?t.getElementsByTagName(e):[]},clone:pe,triggerHandler:function(t,e,n){var r,i,o,a=e.type||e,s=ve(t),l=s&&s.events,c=l&&l[a];c&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:R,type:a,target:t},e.type&&(r=S(r,e)),i=qt(c),o=n?[r].concat(n):[r],x(i,function(e){r.isImmediatePropagationStopped()||e.apply(t,o)}))}},function(t,e){fe.prototype[e]=function(e,n,r){for(var i,o=0,s=this.length;o<s;o++)M(i)?j(i=t(this[o],e,n,r))&&(i=a(i)):Ee(i,t(this[o],e,n,r));return j(i)?i:this}}),fe.prototype.bind=fe.prototype.on,fe.prototype.unbind=fe.prototype.off;var je=Object.create(null);function Ne(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}Ne.prototype={_idx:function(t){return t!==this._lastKey&&(this._lastKey=t,this._lastIndex=this._keys.indexOf(t)),this._lastIndex},_transformKey:function(t){return T(t)?je:t},get:function(t){t=this._transformKey(t);var e=this._idx(t);if(-1!==e)return this._values[e]},has:function(t){return t=this._transformKey(t),-1!==this._idx(t)},set:function(t,e){t=this._transformKey(t);var n=this._idx(t);-1===n&&(n=this._lastIndex=this._keys.length),this._keys[n]=t,this._values[n]=e},delete:function(t){t=this._transformKey(t);var e=this._idx(t);return-1!==e&&(this._keys.splice(e,1),this._values.splice(e,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var Le=Ne,qe=[function(){this.$get=[function(){return Le}]}],ze=/^([^(]+?)=>/,He=/^[^(]*\(\s*([^)]*)\)/m,Ve=/,/,We=/^\s*(_?)(\S+?)\1\s*$/,Ge=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Ke=i("$injector");function Ye(t){return Function.prototype.toString.call(t)}function Qe(t){var e=Ye(t).replace(Ge,"");return e.match(ze)||e.match(He)}function Xe(t,e){e=!0===e;var n={},r="Provider",i=[],a=new Le,s={$provide:{provider:A(h),factory:A(m),service:A(function(t,e){return m(t,["$injector",function(t){return t.instantiate(e)}])}),value:A(function(t,e){return m(t,U(e),!1)}),constant:A(function(t,e){Pt(t,"constant"),s[t]=e,u[t]=e}),decorator:function(t,e){var n=c.get(t+r),i=n.$get;n.$get=function(){var t=f.invoke(i,n);return f.invoke(e,null,{$delegate:t})}}}},c=s.$injector=v(s,function(t,e){throw C.isString(e)&&i.push(e),Ke("unpr","Unknown provider: {0}",i.join(" <- "))}),u={},d=v(u,function(t,e){var n=c.get(t+r,e);return f.invoke(n.$get,n,void 0,t)}),f=d;s["$injector"+r]={$get:U(d)},f.modules=c.modules=jt();var p=b(t);return(f=d.get("$injector")).strictDi=e,x(p,function(t){t&&f.invoke(t)}),f.loadNewModules=function(t){x(b(t),function(t){t&&f.invoke(t)})},f;function A(t){return function(e,n){if(!N(e))return t(e,n);x(e,k(t))}}function h(t,e){if(Pt(t,"service"),(G(e)||V(e))&&(e=c.instantiate(e)),!e.$get)throw Ke("pget","Provider '{0}' must define $get factory method.",t);return s[t+r]=e}function g(t,e){return function(){var n=f.invoke(e,this);if(M(n))throw Ke("undef","Provider '{0}' must return a value from $get factory method.",t);return n}}function m(t,e,n){return h(t,{$get:!1!==n?g(t,e):e})}function b(t){Ot(M(t)||V(t),"modulesToLoad","not an array");var e,n=[];return x(t,function(t){if(!a.get(t)){a.set(t,!0);try{q(t)?(e=l(t),f.modules[t]=e,n=n.concat(b(e.requires)).concat(e._runBlocks),r(e._invokeQueue),r(e._configBlocks)):G(t)||V(t)?n.push(c.invoke(t)):Ut(t,"module")}catch(e){throw V(t)&&(t=t[t.length-1]),e.message&&e.stack&&-1===e.stack.indexOf(e.message)&&(e=e.message+"\n"+e.stack),Ke("modulerr","Failed to instantiate module {0} due to:\n{1}",t,e.stack||e.message||e)}}function r(t){var e,n;for(e=0,n=t.length;e<n;e++){var r=t[e],i=c.get(r[0]);i[r[1]].apply(i,r[2])}}}),n}function v(t,a){function l(e,r){if(t.hasOwnProperty(e)){if(t[e]===n)throw Ke("cdep","Circular dependency found: {0}",e+" <- "+i.join(" <- "));return t[e]}try{return i.unshift(e),t[e]=n,t[e]=a(e,r),t[e]}catch(r){throw t[e]===n&&delete t[e],r}finally{i.shift()}}function c(t,n,r){for(var i=[],o=Xe.$$annotate(t,e,r),a=0,s=o.length;a<s;a++){var c=o[a];if("string"!=typeof c)throw Ke("itkn","Incorrect injection token! Expected service name as string, got {0}",c);i.push(n&&n.hasOwnProperty(c)?n[c]:l(c,r))}return i}return{invoke:function(t,e,n,r){"string"==typeof n&&(r=n,n=null);var i=c(t,n,r);return V(t)&&(t=t[t.length-1]),function(t){if(o||"function"!=typeof t)return!1;var e=t.$$ngIsClass;return X(e)||(e=t.$$ngIsClass=/^class\b/.test(Ye(t))),e}(t)?(i.unshift(null),new(Function.prototype.bind.apply(t,i))):t.apply(e,i)},instantiate:function(t,e,n){var r=V(t)?t[t.length-1]:t,i=c(t,e,n);return i.unshift(null),new(Function.prototype.bind.apply(r,i))},get:l,annotate:Xe.$$annotate,has:function(e){return s.hasOwnProperty(e+r)||t.hasOwnProperty(e)}}}}function Je(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(n,r,i){var o=n.document;function s(t){if(t){t.scrollIntoView();var e=function(){var t=l.yOffset;if(G(t))t=t();else if(nt(t)){var e=t[0];t="fixed"!==n.getComputedStyle(e).position?0:e.getBoundingClientRect().bottom}else z(t)||(t=0);return t}();if(e){var r=t.getBoundingClientRect().top;n.scrollBy(0,r-e)}}else n.scrollTo(0,0)}function l(t){var e,n,i;(t=q(t)?t:z(t)?t.toString():r.hash())?(e=o.getElementById(t))||(n=o.getElementsByName(t),i=null,Array.prototype.some.call(n,function(t){if("a"===rt(t))return i=t,!0}),e=i)?s(e):"top"===t&&s(null):s(null)}return e&&i.$watch(function(){return r.hash()},function(e,n){var r,o;e===n&&""===e||(r=function(){i.$evalAsync(l)},"complete"===(o=o||t).document.readyState?o.setTimeout(r):a(o).on("load",r))}),l}]}Xe.$$annotate=function(t,e,n){var r,i;if("function"==typeof t){if(!(r=t.$inject)){if(r=[],t.length){if(e)throw q(n)&&n||(n=t.name||function(t){var e=Qe(t);return e?"function("+(e[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(t)),Ke("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);x(Qe(t)[1].split(Ve),function(t){t.replace(We,function(t,e,n){r.push(n)})})}t.$inject=r}}else V(t)?(Ut(t[i=t.length-1],"fn"),r=t.slice(0,i)):Ut(t,"fn",!0);return r};var Ze=i("$animate"),tn="ng-animate";function en(t,e){return t||e?t?e?(V(t)&&(t=t.join(" ")),V(e)&&(e=e.join(" ")),t+" "+e):t:e:""}function nn(t){return N(t)?t:{}}var rn=function(){this.$get=R},on=function(){var t=new Le,e=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){return{enabled:R,on:R,off:R,pin:R,push:function(a,s,l,c){c&&c(),(l=l||{}).from&&a.css(l.from),l.to&&a.css(l.to),(l.addClass||l.removeClass)&&function(n,a,s){var l=t.get(n)||{},c=i(l,a,!0),u=i(l,s,!1);(c||u)&&(t.set(n,l),e.push(n),1===e.length&&r.$$postDigest(o))}(a,l.addClass,l.removeClass);var u=new n;return u.complete(),u}};function i(t,e,n){var r=!1;return e&&x(e=q(e)?e.split(" "):V(e)?e:[],function(e){e&&(r=!0,t[e]=n)}),r}function o(){x(e,function(e){var n=t.get(e);if(n){var r=function(t){q(t)&&(t=t.split(" "));var e=jt();return x(t,function(t){t.length&&(e[t]=!0)}),e}(e.attr("class")),i="",o="";x(n,function(t,e){t!==!!r[e]&&(t?i+=(i.length?" ":"")+e:o+=(o.length?" ":"")+e)}),x(e,function(t){i&&xe(t,i),o&&we(t,o)}),t.delete(e)}}),e.length=0}}]},an=["$provide",function(t){var e=this,n=null,r=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Ze("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";e.$$registeredAnimations[n.substr(1)]=i,t.factory(i,r)},this.customFilter=function(t){return 1===arguments.length&&(r=G(t)?t:null),r},this.classNameFilter=function(t){if(1===arguments.length&&(n=t instanceof RegExp?t:null)&&new RegExp("[(\\s|\\/)]"+tn+"[(\\s|\\/)]").test(n.toString()))throw n=null,Ze("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',tn);return n},this.$get=["$$animateQueue",function(t){function e(t,e,n){if(n){var r=function(t){for(var e=0;e<t.length;e++){var n=t[e];if(1===n.nodeType)return n}}(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(t):e.prepend(t)}return{on:t.on,off:t.off,pin:t.pin,enabled:t.enabled,cancel:function(t){t.cancel&&t.cancel()},enter:function(n,r,i,o){return r=r&&a(r),i=i&&a(i),e(n,r=r||i.parent(),i),t.push(n,"enter",nn(o))},move:function(n,r,i,o){return r=r&&a(r),i=i&&a(i),e(n,r=r||i.parent(),i),t.push(n,"move",nn(o))},leave:function(e,n){return t.push(e,"leave",nn(n),function(){e.remove()})},addClass:function(e,n,r){return(r=nn(r)).addClass=en(r.addclass,n),t.push(e,"addClass",r)},removeClass:function(e,n,r){return(r=nn(r)).removeClass=en(r.removeClass,n),t.push(e,"removeClass",r)},setClass:function(e,n,r,i){return(i=nn(i)).addClass=en(i.addClass,n),i.removeClass=en(i.removeClass,r),t.push(e,"setClass",i)},animate:function(e,n,r,i,o){return(o=nn(o)).from=o.from?S(o.from,n):n,o.to=o.to?S(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=en(o.tempClasses,i),t.push(e,"animate",o)}}}]}],sn=function(){this.$get=["$$rAF",function(t){var e=[];function n(n){e.push(n),e.length>1||t(function(){for(var t=0;t<e.length;t++)e[t]();e=[]})}return function(){var t=!1;return n(function(){t=!0}),function(e){t?e():n(e)}}}]},ln=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(t,e,n,r,i){function o(t){this.setHost(t);var e=n();this._doneCallbacks=[],this._tick=function(t){r()?function(t){i(t,0,!1)}(t):e(t)},this._state=0}return o.chain=function(t,e){var n=0;!function r(){n!==t.length?t[n](function(t){!1!==t?(n++,r()):e(!1)}):e(!0)}()},o.all=function(t,e){var n=0,r=!0;function i(i){r=r&&i,++n===t.length&&e(r)}x(t,function(t){t.done(i)})},o.prototype={setHost:function(t){this.host=t||{}},done:function(t){2===this._state?t():this._doneCallbacks.push(t)},progress:R,getPromise:function(){if(!this.promise){var e=this;this.promise=t(function(t,n){e.done(function(e){!1===e?n():t()})})}return this.promise},then:function(t,e){return this.getPromise().then(t,e)},catch:function(t){return this.getPromise().catch(t)},finally:function(t){return this.getPromise().finally(t)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(t){var e=this;0===e._state&&(e._state=1,e._tick(function(){e._resolve(t)}))},_resolve:function(t){2!==this._state&&(x(this._doneCallbacks,function(e){e(t)}),this._doneCallbacks.length=0,this._state=2)}},o}]},cn=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(t,e,n){return function(e,r){var i=r||{};i.$$prepared||(i=at(i)),i.cleanupStyles&&(i.from=i.to=null),i.from&&(e.css(i.from),i.from=null);var o,a=new n;return{start:s,end:s};function s(){return t(function(){i.addClass&&(e.addClass(i.addClass),i.addClass=null),i.removeClass&&(e.removeClass(i.removeClass),i.removeClass=null),i.to&&(e.css(i.to),i.to=null),o||a.complete(),o=!0}),a}}}]};function un(t,e,n,r,i){var o=this,s=t.location,l=t.history,c=t.setTimeout,u=t.clearTimeout,d={},f=i(n);o.isMock=!1,o.$$completeOutstandingRequest=f.completeTask,o.$$incOutstandingRequestCount=f.incTaskCount,o.notifyWhenNoOutstandingRequests=f.notifyWhenNoPendingTasks;var p,A,h=s.href,g=e.find("base"),m=null,b=r.history?function(){try{return l.state}catch(t){}}:R;E(),o.url=function(e,n,i){if(M(i)&&(i=null),s!==t.location&&(s=t.location),l!==t.history&&(l=t.history),e){var a=A===i;if(e=ci(e).href,h===e&&(!r.history||a))return o;var c=h&&lr(h)===lr(e);return h=e,A=i,!r.history||c&&a?(c||(m=e),n?s.replace(e):c?s.hash=function(t){var e=t.indexOf("#");return-1===e?"":t.substr(e)}(e):s.href=e,s.href!==e&&(m=e)):(l[n?"replaceState":"pushState"](i,"",e),E()),m&&(m=e),o}return function(t){return t.replace(/#$/,"")}(m||s.href)},o.state=function(){return p};var v=[],C=!1;function y(){m=null,k()}var w=null;function E(){lt(p=M(p=b())?null:p,w)&&(p=w),w=p,A=p}function k(){var t=A;E(),h===o.url()&&t===p||(h=o.url(),A=p,x(v,function(t){t(o.url(),p)}))}o.onUrlChange=function(e){return C||(r.history&&a(t).on("popstate",y),a(t).on("hashchange",y),C=!0),v.push(e),e},o.$$applicationDestroyed=function(){a(t).off("hashchange popstate",y)},o.$$checkUrlChange=k,o.baseHref=function(){var t=g.attr("href");return t?t.replace(/^(https?:)?\/\/[^/]*/,""):""},o.defer=function(t,e,n){var r;return e=e||0,n=n||f.DEFAULT_TASK_TYPE,f.incTaskCount(n),r=c(function(){delete d[r],f.completeTask(t,n)},e),d[r]=n,r},o.defer.cancel=function(t){if(d.hasOwnProperty(t)){var e=d[t];return delete d[t],u(t),f.completeTask(R,e),!0}return!1}}function dn(){this.$get=["$window","$log","$sniffer","$document","$$taskTrackerFactory",function(t,e,n,r,i){return new un(t,r,e,n,i)}]}function fn(){this.$get=function(){var t={};function e(e,n){if(e in t)throw i("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var r=0,o=S({},n,{id:e}),a=jt(),s=n&&n.capacity||Number.MAX_VALUE,l=jt(),c=null,u=null;return t[e]={put:function(t,e){if(!M(e))return s<Number.MAX_VALUE&&d(l[t]||(l[t]={key:t})),t in a||r++,a[t]=e,r>s&&this.remove(u.key),e},get:function(t){if(s<Number.MAX_VALUE){var e=l[t];if(!e)return;d(e)}return a[t]},remove:function(t){if(s<Number.MAX_VALUE){var e=l[t];if(!e)return;e===c&&(c=e.p),e===u&&(u=e.n),f(e.n,e.p),delete l[t]}t in a&&(delete a[t],r--)},removeAll:function(){a=jt(),r=0,l=jt(),c=u=null},destroy:function(){a=null,o=null,l=null,delete t[e]},info:function(){return S({},o,{size:r})}};function d(t){t!==c&&(u?u===t&&(u=t.n):u=t,f(t.n,t.p),f(t,c),(c=t).n=null)}function f(t,e){t!==e&&(t&&(t.p=e),e&&(e.n=t))}}return e.info=function(){var e={};return x(t,function(t,n){e[n]=t.info()}),e},e.get=function(e){return t[e]},e}}function pn(){this.$get=["$cacheFactory",function(t){return t("templates")}]}var An=i("$compile"),hn=new function(){};function gn(e,n){var r={},i="Directive",s=/^\s*directive:\s*([\w-]+)\s+(.*)$/,l=/(([\w-]+)(?::([^;]+))?;?)/,c=function(){var t,e={},n="ngSrc,ngSrcset,src,srcset".split(",");for(t=0;t<n.length;t++)e[n[t]]=!0;return e}(),u=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,p=/^(on[a-z]+|formaction)$/,A=jt();function h(t,e,n){var r=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,i=jt();return x(t,function(t,o){if((t=t.trim())in A)i[o]=A[t];else{var a=t.match(r);if(!a)throw An("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",e,o,t,n?"controller bindings definition":"isolate scope definition");i[o]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||o},a[4]&&(A[t]=i[o])}}),i}function g(t,e){var n={isolateScope:null,bindToController:null};if(N(t.scope)&&(!0===t.bindToController?(n.bindToController=h(t.scope,e,!0),n.isolateScope={}):n.isolateScope=h(t.scope,e,!1)),N(t.bindToController)&&(n.bindToController=h(t.bindToController,e,!0)),n.bindToController&&!t.controller)throw An("noctrl","Cannot bind to controller without directive '{0}'s controller.",e);return n}this.directive=function t(n,o){return Ot(n,"name"),Pt(n,"directive"),q(n)?(function(t){var e=t.charAt(0);if(!e||e!==f(e))throw An("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",t);if(t!==t.trim())throw An("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",t)}(n),Ot(o,"directiveFactory"),r.hasOwnProperty(n)||(r[n]=[],e.factory(n+i,["$injector","$exceptionHandler",function(t,e){var i=[];return x(r[n],function(r,o){try{var a=t.invoke(r);G(a)?a={compile:U(a)}:!a.compile&&a.link&&(a.compile=U(a.link)),a.priority=a.priority||0,a.index=o,a.name=a.name||n,a.require=function(t){var e=t.require||t.controller&&t.name;return!V(e)&&N(e)&&x(e,function(t,n){var r=t.match(u);t.substring(r[0].length)||(e[n]=r[0]+n)}),e}(a),a.restrict=function(t,e){if(t&&(!q(t)||!/[EACM]/.test(t)))throw An("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",t,e);return t||"EA"}(a.restrict,n),a.$$moduleName=r.$$moduleName,i.push(a)}catch(t){e(t)}}),i}])),r[n].push(o)):x(n,k(t)),this},this.component=function t(e,n){if(!q(e))return x(e,k(pt(this,t))),this;var r=n.controller||function(){};function i(t){function e(e){return G(e)||V(e)?function(n,r){return t.invoke(e,this,{$element:n,$attrs:r})}:e}var i=n.template||n.templateUrl?n.template:"",o={controller:r,controllerAs:kn(n.controller)||n.controllerAs||"$ctrl",template:e(i),templateUrl:e(n.templateUrl),transclude:n.transclude,scope:{},bindToController:n.bindings||{},restrict:"E",require:n.require};return x(n,function(t,e){"$"===e.charAt(0)&&(o[e]=t)}),o}return x(n,function(t,e){"$"===e.charAt(0)&&(i[e]=t,G(r)&&(r[e]=t))}),i.$inject=["$injector"],this.directive(e,i)},this.aHrefSanitizationTrustedUrlList=function(t){return j(t)?(n.aHrefSanitizationTrustedUrlList(t),this):n.aHrefSanitizationTrustedUrlList()},Object.defineProperty(this,"aHrefSanitizationWhitelist",{get:function(){return this.aHrefSanitizationTrustedUrlList},set:function(t){this.aHrefSanitizationTrustedUrlList=t}}),this.imgSrcSanitizationTrustedUrlList=function(t){return j(t)?(n.imgSrcSanitizationTrustedUrlList(t),this):n.imgSrcSanitizationTrustedUrlList()},Object.defineProperty(this,"imgSrcSanitizationWhitelist",{get:function(){return this.imgSrcSanitizationTrustedUrlList},set:function(t){this.imgSrcSanitizationTrustedUrlList=t}});var b=!0;this.debugInfoEnabled=function(t){return j(t)?(b=t,this):b};var v=!1;this.strictComponentBindingsEnabled=function(t){return j(t)?(v=t,this):v};var C=10;this.onChangesTtl=function(t){return arguments.length?(C=t,this):C};var y=!0;this.commentDirectivesEnabled=function(t){return arguments.length?(y=t,this):y};var w=!0;this.cssClassDirectivesEnabled=function(t){return arguments.length?(w=t,this):w};var E=jt();this.addPropertySecurityContext=function(t,e,n){var r=t.toLowerCase()+"|"+e.toLowerCase();if(r in E&&E[r]!==n)throw An("ctxoverride","Property context '{0}.{1}' already set to '{2}', cannot override to '{3}'.",t,e,E[r],n);return E[r]=n,this},function(){function t(t,e){x(e,function(e){E[e.toLowerCase()]=t})}t(Vr.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),t(Vr.CSS,["*|style"]),t(Vr.URL,["area|href","area|ping","a|href","a|ping","blockquote|cite","body|background","del|cite","input|src","ins|cite","q|cite"]),t(Vr.MEDIA_URL,["audio|src","img|src","img|srcset","source|src","source|srcset","track|src","video|src","video|poster"]),t(Vr.RESOURCE_URL,["*|formAction","applet|code","applet|codebase","base|href","embed|src","frame|src","form|action","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])}(),this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate",function(e,n,A,h,k,B,$,I,D){var _,T=/^\w/,U=t.document.createElement("div"),P=y,j=w,L=C;function z(){try{if(! --L)throw _=void 0,An("infchng","{0} $onChanges() iterations reached. Aborting!\n",C);$.$apply(function(){for(var t=0,e=_.length;t<e;++t)try{_[t]()}catch(t){A(t)}_=void 0})}finally{L++}}function H(t,e){if(!t)return t;if(!q(t))throw An("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',e,t.toString());for(var n="",r=tt(t),i=/\s/.test(r)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,o=r.split(i),