!function(a,b){"function"==typeofdefine&&define.amd?define([],function(){returnb()}):"object"==typeofmodule&&module.exports?module.exports=b():b()}(0,function(){functiona(a){"use strict";varb=a.storageKey(),c=a.storage(),d=function(){vard=a.preferredLanguage();angular.isString(d)?a.use(d):c.put(b,a.use())};d.displayName="fallbackFromIncorrectStorageValue",c?c.get(b)?a.use(c.get(b)).catch(d):d():angular.isString(a.preferredLanguage())&&a.use(a.preferredLanguage())}functionb(){"use strict";vara,b,c,d=null,e=!1,f=!1;c={sanitize:function(a,b){return"text"===b&&(a=h(a)),a},escape:function(a,b){return"text"===b&&(a=g(a)),a},sanitizeParameters:function(a,b){return"params"===b&&(a=j(a,h)),a},escapeParameters:function(a,b){return"params"===b&&(a=j(a,g)),a},sce:function(a,b,c){return"text"===b?a=i(a):"params"===b&&"filter"!==c&&(a=j(a,g)),a},sceParameters:function(a,b){return"params"===b&&(a=j(a,i)),a}},c.escaped=c.escapeParameters,this.addStrategy=function(a,b){returnc[a]=b,this},this.removeStrategy=function(a){returndeletec[a],this},this.useStrategy=function(a){returne=!0,d=a,this},this.$get=["$injector","$log",function(g,h){vari={},j=function(a,b,d,e){returnangular.forEach(e,function(e){if(angular.isFunction(e))a=e(a,b,d);elseif(angular.isFunction(c[e]))a=c[e](a,b,d);else{if(!angular.isString(c[e]))thrownewError("pascalprecht.translate.$translateSanitization: Unknown sanitization strategy: '"+e+"'");if(!i[c[e]])try{i[c[e]]=g.get(c[e])}catch(a){throwi[c[e]]=function(){},newError("pascalprecht.translate.$translateSanitization: Unknown sanitization strategy: '"+e+"'")}a=i[c[e]](a,b,d)}}),a},k=function(){e||f||(h.warn("pascalprecht.translate.$translateSanitization: No sanitization strategy has been configured. This can have serious security implications. See http://angular-translate.github.io/docs/#/guide/19_security for details."),f=!0)};returng.has("$sanitize")&&(a=g.get("$sanitize")),g.has("$sce")&&(b=g.get("$sce")),{useStrategy:function(a){returnfunction(b){a.useStrategy(b)}}(this),sanitize:function(a,b,c,e){if(d||k(),c||null===c||(c=d),!c)returna;e||(e="service");varf=angular.isArray(c)?c:[c];returnj(a,b,e,f)}}}];varg=function(a){varb=angular.element("<div></div>");returnb.text(a),b.html()},h=function(b){if(!a)thrownewError("pascalprecht.translate.$translateSanitization: Error cannot find $sanitize service. Either include the ngSanitize module (https://docs.angularjs.org/api/ngSanitize) or use a sanitization strategy which does not depend on $sanitize, such as 'escape'.");returna(b)},i=function(a){if(!b)thrownewError("pascalprecht.translate.$translateSanitization: Error cannot find $sce service.");returnb.trustAsHtml(a)},j=function(a,b,c){if(angular.isDate(a))returna;if(angular.isObject(a)){vard=angular.isArray(a)?[]:{};if(c){if(c.indexOf(a)>-1)thrownewError("pascalprecht.translate.$translateSanitization: Error cannot interpolate parameter due recursive object")}elsec=[];returnc.push(a),angular.forEach(a,function(a,e){angular.isFunction(a)||(d[e]=j(a,b,c))}),c.splice(-1,1),d}returnangular.isNumber(a)?a:angular.isUndefined(a)||null===a?a:b(a)}}functionc(a,b,c,d){"use strict";vare,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u={},v=[],w=a,x=[],y="translate-cloak",z=!1,A=!1,B=".",C=!1,D=!1,E=0,F=!0,G="default",H={default:function(a){return(a||"").split("-").join("_")},java:function(a){varb=(a||"").split("-").join("_"),c=b.split("_");returnc.length>1?c[0].toLowerCase()+"_"+c[1].toUpperCase():b},bcp47:function(a){varb=(a||"").split("_").join("-"),c=b.split("-");returnc.length>1?c[0].toLowerCase()+"-"+c[1].toUpperCase():b},"iso639-1":function(a){return(a||"").split("_").join("-").split("-")[0].toLowerCase()}},I=function(){if(angular.isFunction(d.getLocale))returnd.getLocale();vara,c,e=b.$get().navigator,f=["language","browserLanguage","systemLanguage","userLanguage"];if(angular.isArray(e.languages))for(a=0;a<e.languages.length;a++)if((c=e.languages[a])&&c.length)returnc;for(a=0;a<f.length;a++)if((c=e[f[a]])&&c.length)returnc;returnnull};I.displayName="angular-translate/service:getFirstBrowserLan