You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
275 KiB
29 lines
275 KiB
(()=>{var we=(c,s)=>()=>(s||c((s={exports:{}}).exports,s),s.exports);var Lu=we(()=>{(function(c){"use strict";var s={objectMaxDepth:5,urlErrorParamsEnabled:!0};function f(e){if(Y(e))he(e.objectMaxDepth)&&(s.objectMaxDepth=v(e.objectMaxDepth)?e.objectMaxDepth:NaN),he(e.urlErrorParamsEnabled)&&mn(e.urlErrorParamsEnabled)&&(s.urlErrorParamsEnabled=e.urlErrorParamsEnabled);else return s}function v(e){return ve(e)&&e>0}function _(e,t){t=t||Error;var n="https://errors.angularjs.org/1.8.2/",r=n.replace(".","\\.")+"[\\s\\S]*",i=new RegExp(r,"g");return function(){var l=arguments[0],u=arguments[1],a="["+(e?e+":":"")+l+"] ",o=Lr(arguments,2).map(function(p){return Bo(p,s.objectMaxDepth)}),h,d;if(a+=u.replace(/\{\d+\}/g,function(p){var g=+p.slice(1,-1);return g<o.length?o[g].replace(i,""):p}),a+=` |
|
`+n+(e?e+"/":"")+l,s.urlErrorParamsEnabled)for(d=0,h="?";d<o.length;d++,h="&")a+=h+"p"+d+"="+encodeURIComponent(o[d]);return new t(a)}}var j=/^\/(.+)\/([a-z]*)$/,K="validity",fe=Object.prototype.hasOwnProperty,ue=function(e){return V(e)?e.toLowerCase():e},Te=function(e){return V(e)?e.toUpperCase():e},k,w,Z,se=[].slice,ge=[].splice,B=[].push,M=Object.prototype.toString,G=Object.getPrototypeOf,X=_("ng"),ce=c.angular||(c.angular={}),xe,qe=0;k=c.document.documentMode;function De(e){if(e==null||Mt(e))return!1;if(ae(e)||V(e)||w&&e instanceof w)return!0;var t="length"in Object(e)&&e.length;return ve(t)&&(t>=0&&t-1 in e||typeof e.item=="function")}function R(e,t,n){var r,i;if(e)if($e(e))for(r in e)r!=="prototype"&&r!=="length"&&r!=="name"&&e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else if(ae(e)||De(e)){var l=typeof e!="object";for(r=0,i=e.length;r<i;r++)(l||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==R)e.forEach(t,n,e);else if(Se(e))for(r in e)t.call(n,e[r],r,e);else if(typeof e.hasOwnProperty=="function")for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)fe.call(e,r)&&t.call(n,e[r],r,e);return e}function We(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function Ze(e){return function(t,n){e(n,t)}}function vt(){return++qe}function Qe(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function Ct(e,t,n){for(var r=e.$$hashKey,i=0,l=t.length;i<l;++i){var u=t[i];if(!(!Y(u)&&!$e(u)))for(var a=Object.keys(u),o=0,h=a.length;o<h;o++){var d=a[o],p=u[d];n&&Y(p)?Ee(p)?e[d]=new Date(p.valueOf()):Tt(p)?e[d]=new RegExp(p):p.nodeName?e[d]=p.cloneNode(!0):as(p)?e[d]=p.clone():d!=="__proto__"&&(Y(e[d])||(e[d]=ae(p)?[]:{}),Ct(e[d],[p],!0)):e[d]=p}}return Qe(e,r),e}function Fe(e){return Ct(e,se.call(arguments,1),!1)}function qt(e){return Ct(e,se.call(arguments,1),!0)}function Ye(e){return parseInt(e,10)}var je=Number.isNaN||function(t){return t!==t};function Lt(e,t){return Fe(Object.create(e),t)}function Ae(){}Ae.$inject=[];function _t(e){return e}_t.$inject=[];function st(e){return function(){return e}}function Ht(e){return $e(e.toString)&&e.toString!==M}function pe(e){return typeof e>"u"}function he(e){return typeof e<"u"}function Y(e){return e!==null&&typeof e=="object"}function Se(e){return e!==null&&typeof e=="object"&&!G(e)}function V(e){return typeof e=="string"}function ve(e){return typeof e=="number"}function Ee(e){return M.call(e)==="[object Date]"}function ae(e){return Array.isArray(e)||e instanceof Array}function Me(e){var t=M.call(e);switch(t){case"[object Error]":return!0;case"[object Exception]":return!0;case"[object DOMException]":return!0;default:return e instanceof Error}}function $e(e){return typeof e=="function"}function Tt(e){return M.call(e)==="[object RegExp]"}function Mt(e){return e&&e.window===e}function Ut(e){return e&&e.$evalAsync&&e.$watch}function ii(e){return M.call(e)==="[object File]"}function Uf(e){return M.call(e)==="[object FormData]"}function Bf(e){return M.call(e)==="[object Blob]"}function mn(e){return typeof e=="boolean"}function si(e){return e&&$e(e.then)}var Vf=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/;function jf(e){return e&&ve(e.length)&&Vf.test(M.call(e))}function Hf(e){return M.call(e)==="[object ArrayBuffer]"}var tt=function(e){return V(e)?e.trim():e},Ro=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};function as(e){return!!(e&&(e.nodeName||e.prop&&e.attr&&e.find))}function Wf(e){var t={},n=e.split(","),r;for(r=0;r<n.length;r++)t[n[r]]=!0;return t}function en(e){return ue(e.nodeName||e[0]&&e[0].nodeName)}function us(e,t){return Array.prototype.indexOf.call(e,t)!==-1}function Fr(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function Mn(e,t,n){var r=[],i=[];if(n=v(n)?n:NaN,t){if(jf(t)||Hf(t))throw X("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw X("cpi","Can't copy! Source and destination are identical.");return ae(t)?t.length=0:R(t,function(o,h){h!=="$$hashKey"&&delete t[h]}),r.push(e),i.push(t),l(e,t,n)}return u(e,n);function l(o,h,d){if(d--,d<0)return"...";var p=h.$$hashKey,g;if(ae(o))for(var y=0,b=o.length;y<b;y++)h.push(u(o[y],d));else if(Se(o))for(g in o)h[g]=u(o[g],d);else if(o&&typeof o.hasOwnProperty=="function")for(g in o)o.hasOwnProperty(g)&&(h[g]=u(o[g],d));else for(g in o)fe.call(o,g)&&(h[g]=u(o[g],d));return Qe(h,p),h}function u(o,h){if(!Y(o))return o;var d=r.indexOf(o);if(d!==-1)return i[d];if(Mt(o)||Ut(o))throw X("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var p=!1,g=a(o);return g===void 0&&(g=ae(o)?[]:Object.create(G(o)),p=!0),r.push(o),i.push(g),p?l(o,g,h):g}function a(o){switch(M.call(o)){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 o.constructor(u(o.buffer),o.byteOffset,o.length);case"[object ArrayBuffer]":if(!o.slice){var h=new ArrayBuffer(o.byteLength);return new Uint8Array(h).set(new Uint8Array(o)),h}return o.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new o.constructor(o.valueOf());case"[object RegExp]":var d=new RegExp(o.source,o.toString().match(/[^/]*$/)[0]);return d.lastIndex=o.lastIndex,d;case"[object Blob]":return new o.constructor([o],{type:o.type})}if($e(o.cloneNode))return o.cloneNode(!0)}}function cs(e,t){return e===t||e!==e&&t!==t}function tn(e,t){if(e===t)return!0;if(e===null||t===null)return!1;if(e!==e&&t!==t)return!0;var n=typeof e,r=typeof t,i,l,u;if(n===r&&n==="object")if(ae(e)){if(!ae(t))return!1;if((i=e.length)===t.length){for(l=0;l<i;l++)if(!tn(e[l],t[l]))return!1;return!0}}else{if(Ee(e))return Ee(t)?cs(e.getTime(),t.getTime()):!1;if(Tt(e))return Tt(t)?e.toString()===t.toString():!1;if(Ut(e)||Ut(t)||Mt(e)||Mt(t)||ae(t)||Ee(t)||Tt(t))return!1;u=nt();for(l in e)if(!(l.charAt(0)==="$"||$e(e[l]))){if(!tn(e[l],t[l]))return!1;u[l]=!0}for(l in t)if(!(l in u)&&l.charAt(0)!=="$"&&he(t[l])&&!$e(t[l]))return!1;return!0}return!1}var Pn=function(){if(!he(Pn.rules)){var e=c.document.querySelector("[ng-csp]")||c.document.querySelector("[data-ng-csp]");if(e){var t=e.getAttribute("ng-csp")||e.getAttribute("data-ng-csp");Pn.rules={noUnsafeEval:!t||t.indexOf("no-unsafe-eval")!==-1,noInlineStyle:!t||t.indexOf("no-inline-style")!==-1}}else Pn.rules={noUnsafeEval:n(),noInlineStyle:!1}}return Pn.rules;function n(){try{return new Function(""),!1}catch{return!0}}},oi=function(){if(he(oi.name_))return oi.name_;var e,t,n=Kn.length,r,i;for(t=0;t<n;++t)if(r=Kn[t],e=c.document.querySelector("["+r.replace(":","\\:")+"jq]"),e){i=e.getAttribute(r+"jq");break}return oi.name_=i};function Dr(e,t,n){return e.concat(se.call(t,n))}function Lr(e,t){return se.call(e,t||0)}function Jn(e,t){var n=arguments.length>2?Lr(arguments,2):[];return $e(t)&&!(t instanceof RegExp)?n.length?function(){return arguments.length?t.apply(e,Dr(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}:t}function Fo(e,t){var n=t;return typeof e=="string"&&e.charAt(0)==="$"&&e.charAt(1)==="$"?n=void 0:Mt(t)?n="$WINDOW":t&&c.document===t?n="$DOCUMENT":Ut(t)&&(n="$SCOPE"),n}function Ir(e,t){if(!pe(e))return ve(t)||(t=t?2:null),JSON.stringify(e,Fo,t)}function Do(e){return V(e)?JSON.parse(e):e}var zf=/:/g;function fs(e,t){e=e.replace(zf,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return je(n)?t:n}function Lo(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function ls(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=fs(t,r);return Lo(e,n*(i-r))}function cn(e){e=w(e).clone().empty();var t=w("<div></div>").append(e).html();try{return e[0].nodeType===wn?ue(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(n,r){return"<"+ue(r)})}catch{return ue(t)}}function Io(e){try{return decodeURIComponent(e)}catch{}}function hs(e){var t={};return R((e||"").split("&"),function(n){var r,i,l;n&&(i=n=n.replace(/\+/g,"%20"),r=n.indexOf("="),r!==-1&&(i=n.substring(0,r),l=n.substring(r+1)),i=Io(i),he(i)&&(l=he(l)?Io(l):!0,fe.call(t,i)?ae(t[i])?t[i].push(l):t[i]=[t[i],l]:t[i]=l))}),t}function Gf(e){var t=[];return R(e,function(n,r){ae(n)?R(n,function(i){t.push(Wt(r,!0)+(i===!0?"":"="+Wt(i,!0)))}):t.push(Wt(r,!0)+(n===!0?"":"="+Wt(n,!0)))}),t.length?t.join("&"):""}function ds(e){return Wt(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Wt(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}var Kn=["ng-","data-ng-","ng:","x-ng-"];function Xf(e,t){var n,r,i=Kn.length;for(r=0;r<i;++r)if(n=Kn[r]+t,V(n=e.getAttribute(n)))return n;return null}function Yf(e){var t=e.currentScript;if(!t)return!0;if(!(t instanceof c.HTMLScriptElement||t instanceof c.SVGScriptElement))return!1;var n=t.attributes,r=[n.getNamedItem("src"),n.getNamedItem("href"),n.getNamedItem("xlink:href")];return r.every(function(i){if(!i)return!0;if(!i.value)return!1;var l=e.createElement("a");if(l.href=i.value,e.location.origin===l.origin)return!0;switch(l.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}})}var Jf=Yf(c.document);function Kf(e,t){var n,r,i={};if(R(Kn,function(l){var u=l+"app";!n&&e.hasAttribute&&e.hasAttribute(u)&&(n=e,r=e.getAttribute(u))}),R(Kn,function(l){var u=l+"app",a;!n&&(a=e.querySelector("["+u.replace(":","\\:")+"]"))&&(n=a,r=a.getAttribute(u))}),n){if(!Jf){c.console.error("AngularJS: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match.");return}i.strictDi=Xf(n,"strict-di")!==null,t(n,r?[r]:[],i)}}function No(e,t,n){Y(n)||(n={});var r={strictDi:!1};n=Fe(r,n);var i=function(){if(e=w(e),e.injector()){var a=e[0]===c.document?"document":cn(e);throw X("btstrpd","App already bootstrapped with this element '{0}'",a.replace(/</,"<").replace(/>/,">"))}t=t||[],t.unshift(["$provide",function(h){h.value("$rootElement",e)}]),n.debugInfoEnabled&&t.push(["$compileProvider",function(h){h.debugInfoEnabled(!0)}]),t.unshift("ng");var o=Br(t,n.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(d,p,g,y){d.$apply(function(){p.data("$injector",y),g(p)(d)})}]),o},l=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;if(c&&l.test(c.name)&&(n.debugInfoEnabled=!0,c.name=c.name.replace(l,"")),c&&!u.test(c.name))return i();c.name=c.name.replace(u,""),ce.resumeBootstrap=function(a){return R(a,function(o){t.push(o)}),i()},$e(ce.resumeDeferredBootstrap)&&ce.resumeDeferredBootstrap()}function Zf(){c.name="NG_ENABLE_DEBUG_INFO!"+c.name,c.location.reload()}function Qf(e){var t=ce.element(e).injector();if(!t)throw X("test","no injector found for element argument to getTestability");return t.get("$$testability")}var el=/[A-Z]/g;function qo(e,t){return t=t||"_",e.replace(el,function(n,r){return(r?t:"")+n.toLowerCase()})}var Uo=!1;function tl(){var e;if(!Uo){var t=oi();Z=pe(t)?c.jQuery:t?c[t]:void 0,Z&&Z.fn.on?(w=Z,Fe(Z.fn,{scope:er.scope,isolateScope:er.isolateScope,controller:er.controller,injector:er.injector,inheritedData:er.inheritedData})):w=ut,e=w.cleanData,w.cleanData=function(n){for(var r,i=0,l;(l=n[i])!=null;i++)r=(w._data(l)||{}).events,r&&r.$destroy&&w(l).triggerHandler("$destroy");e(n)},ce.element=w,Uo=!0}}function nl(){ut.legacyXHTMLReplacement=!0}function Nr(e,t,n){if(!e)throw X("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function ai(e,t,n){return n&&ae(e)&&(e=e[e.length-1]),Nr($e(e),t,"not a function, got "+(e&&typeof e=="object"?e.constructor.name||"Object":typeof e)),e}function Zn(e,t){if(e==="hasOwnProperty")throw X("badname","hasOwnProperty is not a valid {0} name",t)}function rl(e,t,n){if(!t)return e;for(var r=t.split("."),i,l=e,u=r.length,a=0;a<u;a++)i=r[a],e&&(e=(l=e)[i]);return!n&&$e(e)?Jn(l,e):e}function ui(e){for(var t=e[0],n=e[e.length-1],r,i=1;t!==n&&(t=t.nextSibling);i++)(r||e[i]!==t)&&(r||(r=w(se.call(e,0,i))),r.push(t));return r||e}function nt(){return Object.create(null)}function ps(e){if(e==null)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:Ht(e)&&!ae(e)&&!Ee(e)?e=e.toString():e=Ir(e)}return e}var yn=1,il=2,wn=3,qr=8,vs=9,gs=11;function sl(e){var t=_("$injector"),n=_("ng");function r(l,u,a){return l[u]||(l[u]=a())}var i=r(e,"angular",Object);return i.$$minErr=i.$$minErr||_,r(i,"module",function(){var l={};return function(a,o,h){var d={},p=function(g,y){if(g==="hasOwnProperty")throw n("badname","hasOwnProperty is not a valid {0} name",y)};return p(a,"module"),o&&l.hasOwnProperty(a)&&(l[a]=null),r(l,a,function(){if(!o)throw t("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",a);var g=[],y=[],b=[],L=I("$injector","invoke","push",y),z={_invokeQueue:g,_configBlocks:y,_runBlocks:b,info:function(F){if(he(F)){if(!Y(F))throw n("aobj","Argument '{0}' must be an object","value");return d=F,this}return d},requires:o,name:a,provider:D("$provide","provider"),factory:D("$provide","factory"),service:D("$provide","service"),value:I("$provide","value"),constant:I("$provide","constant","unshift"),decorator:D("$provide","decorator",y),animation:D("$animateProvider","register"),filter:D("$filterProvider","register"),controller:D("$controllerProvider","register"),directive:D("$compileProvider","directive"),component:D("$compileProvider","component"),config:L,run:function(F){return b.push(F),this}};return h&&L(h),z;function I(F,q,A,T){return T||(T=g),function(){return T[A||"push"]([F,q,arguments]),z}}function D(F,q,A){return A||(A=g),function(T,m){return m&&$e(m)&&(m.$$moduleName=a),A.push([F,q,arguments]),z}}})}})}function nn(e,t){if(ae(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(Y(e)){t=t||{};for(var i in e)i.charAt(0)==="$"&&i.charAt(1)==="$"||(t[i]=e[i])}return t||e}function ol(e,t){var n=[];return v(t)&&(e=ce.copy(e,null,t)),JSON.stringify(e,function(r,i){if(i=Fo(r,i),Y(i)){if(n.indexOf(i)>=0)return"...";n.push(i)}return i})}function Bo(e,t){return typeof e=="function"?e.toString().replace(/ \{[\s\S]*$/,""):pe(e)?"undefined":typeof e!="string"?ol(e,t):e}var al={full:"1.8.2",major:1,minor:8,dot:2,codeName:"meteoric-mining"};function ul(e){Fe(e,{errorHandlingConfig:f,bootstrap:No,copy:Mn,extend:Fe,merge:qt,equals:tn,element:w,forEach:R,injector:Br,noop:Ae,bind:Jn,toJson:Ir,fromJson:Do,identity:_t,isUndefined:pe,isDefined:he,isString:V,isFunction:$e,isObject:Y,isNumber:ve,isElement:as,isArray:ae,version:al,isDate:Ee,callbacks:{$$counter:0},getTestability:Qf,reloadWithDebugInfo:Zf,UNSAFE_restoreLegacyJqLiteXHTMLReplacement:nl,$$minErr:_,$$csp:Pn,$$encodeUriSegment:ds,$$encodeUriQuery:Wt,$$lowercase:ue,$$stringify:ps,$$uppercase:Te}),xe=sl(c),xe("ng",["ngLocale"],["$provide",function(n){n.provider({$$sanitizeUri:Wh}),n.provider("$compile",aa).directive({a:_d,input:au,textarea:au,form:kd,script:_p,select:Op,option:xp,ngBind:zd,ngBindHtml:Xd,ngBindTemplate:Gd,ngClass:Jd,ngClassEven:Zd,ngClassOdd:Kd,ngCloak:Qd,ngController:ep,ngForm:Od,ngHide:yp,ngIf:np,ngInclude:rp,ngInit:sp,ngNonBindable:lp,ngPluralize:vp,ngRef:gp,ngRepeat:$p,ngShow:mp,ngStyle:bp,ngSwitch:Cp,ngSwitchWhen:Ep,ngSwitchDefault:wp,ngOptions:pp,ngTransclude:Sp,ngModel:up,ngList:op,ngChange:Yd,pattern:yu,ngPattern:yu,required:mu,ngRequired:mu,minlength:Cu,ngMinlength:Cu,maxlength:bu,ngMaxlength:bu,ngValue:Wd,ngModelOptions:fp}).directive({ngInclude:ip,input:jd}).directive(Ti).directive(uu),n.provider({$anchorScroll:Il,$animate:jl,$animateCss:zl,$$animateJs:Bl,$$animateQueue:Vl,$$AnimateRunner:Wl,$$animateAsyncRun:Hl,$browser:Jl,$cacheFactory:Kl,$controller:nh,$document:rh,$$isDocumentHidden:ih,$exceptionHandler:sh,$filter:La,$$forceReflow:oh,$interpolate:$h,$interval:yh,$$intervalFactory:bh,$http:dh,$httpParamSerializer:fh,$httpParamSerializerJQLike:lh,$httpBackend:vh,$xhrFactory:ph,$jsonpCallbacks:Ch,$location:Mh,$log:Ph,$parse:Uh,$rootScope:Hh,$q:Bh,$$q:Vh,$sce:Yh,$sceDelegate:Xh,$sniffer:Jh,$$taskTrackerFactory:Kh,$templateCache:Zl,$templateRequest:ed,$$testability:td,$timeout:rd,$window:cd,$$rAF:jh,$$jqLite:Tl,$$Map:Ol,$$cookieReader:fd})}]).info({angularVersion:"1.8.2"})}ut.expando="ng339";var Qn=ut.cache={},cl=1;ut._data=function(e){return this.cache[e[this.expando]]||{}};function fl(){return++cl}var ll=/-([a-z])/g,hl=/^-ms-/,ci={mouseleave:"mouseout",mouseenter:"mouseover"},$s=_("jqLite");function dl(e){return fi(e.replace(hl,"ms-"))}function Vo(e,t){return t.toUpperCase()}function fi(e){return e.replace(ll,Vo)}var pl=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,vl=/<|&#?\w+;/,gl=/<([\w:-]+)/,$l=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,fn={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};fn.tbody=fn.tfoot=fn.colgroup=fn.caption=fn.thead,fn.th=fn.td;var Ur={option:[1,'<select multiple="multiple">',"</select>"],_default:[0,"",""]};for(var jo in fn){var Ho=fn[jo],Wo=Ho.slice().reverse();Ur[jo]=[Wo.length,"<"+Wo.join("><")+">","</"+Ho.join("></")+">"]}Ur.optgroup=Ur.option;function ms(e){return!vl.test(e)}function ys(e){var t=e.nodeType;return t===yn||!t||t===vs}function ml(e){for(var t in Qn[e.ng339])return!0;return!1}function zo(e,t){var n,r,i,l,u=t.createDocumentFragment(),a=[],o;if(ms(e))a.push(t.createTextNode(e));else{if(n=u.appendChild(t.createElement("div")),r=(gl.exec(e)||["",""])[1].toLowerCase(),l=ut.legacyXHTMLReplacement?e.replace($l,"<$1></$2>"):e,k<10)for(i=Ur[r]||Ur._default,n.innerHTML=i[1]+l+i[2],o=i[0];o--;)n=n.firstChild;else{for(i=fn[r]||[],o=i.length;--o>-1;)n.appendChild(c.document.createElement(i[o])),n=n.firstChild;n.innerHTML=l}a=Dr(a,n.childNodes),n=u.firstChild,n.textContent=""}return u.textContent="",u.innerHTML="",R(a,function(h){u.appendChild(h)}),u}function yl(e,t){t=t||c.document;var n;return(n=pl.exec(e))?[t.createElement(n[1])]:(n=zo(e,t))?n.childNodes:[]}function bl(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}var Cl=c.Node.prototype.contains||function(e){return!!(this.compareDocumentPosition(e)&16)};function ut(e){if(e instanceof ut)return e;var t;if(V(e)&&(e=tt(e),t=!0),!(this instanceof ut)){if(t&&e.charAt(0)!=="<")throw $s("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new ut(e)}t?ws(this,yl(e)):$e(e)?Zo(e):ws(this,e)}function bs(e){return e.cloneNode(!0)}function li(e,t){!t&&ys(e)&&w.cleanData([e]),e.querySelectorAll&&w.cleanData(e.querySelectorAll("*"))}function Go(e){var t;for(t in e)return!1;return!0}function Xo(e){var t=e.ng339,n=t&&Qn[t],r=n&&n.events,i=n&&n.data;(!i||Go(i))&&(!r||Go(r))&&(delete Qn[t],e.ng339=void 0)}function Yo(e,t,n,r){if(he(r))throw $s("offargs","jqLite#off() does not support the `selector` argument");var i=hi(e),l=i&&i.events,u=i&&i.handle;if(!!u){if(t){var a=function(o){var h=l[o];he(n)&&Fr(h||[],n),he(n)&&h&&h.length>0||(e.removeEventListener(o,u),delete l[o])};R(t.split(" "),function(o){a(o),ci[o]&&a(ci[o])})}else for(t in l)t!=="$destroy"&&e.removeEventListener(t,u),delete l[t];Xo(e)}}function Cs(e,t){var n=e.ng339,r=n&&Qn[n];r&&(t?delete r.data[t]:r.data={},Xo(e))}function hi(e,t){var n=e.ng339,r=n&&Qn[n];return t&&!r&&(e.ng339=n=fl(),r=Qn[n]={events:{},data:{},handle:void 0}),r}function Es(e,t,n){if(ys(e)){var r,i=he(n),l=!i&&t&&!Y(t),u=!t,a=hi(e,!l),o=a&&a.data;if(i)o[fi(t)]=n;else{if(u)return o;if(l)return o&&o[fi(t)];for(r in t)o[fi(r)]=t[r]}}}function di(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function pi(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;R(t.split(" "),function(i){i=tt(i),r=r.replace(" "+i+" "," ")}),r!==n&&e.setAttribute("class",tt(r))}}function vi(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;R(t.split(" "),function(i){i=tt(i),r.indexOf(" "+i+" ")===-1&&(r+=i+" ")}),r!==n&&e.setAttribute("class",tt(r))}}function ws(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if(typeof n=="number"&&t.window!==t){if(n)for(var r=0;r<n;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Jo(e,t){return gi(e,"$"+(t||"ngController")+"Controller")}function gi(e,t,n){e.nodeType===vs&&(e=e.documentElement);for(var r=ae(t)?t:[t];e;){for(var i=0,l=r.length;i<l;i++)if(he(n=w.data(e,r[i])))return n;e=e.parentNode||e.nodeType===gs&&e.host}}function Ko(e){for(li(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function $i(e,t){t||li(e);var n=e.parentNode;n&&n.removeChild(e)}function El(e,t){t=t||c,t.document.readyState==="complete"?t.setTimeout(e):w(t).on("load",e)}function Zo(e){function t(){c.document.removeEventListener("DOMContentLoaded",t),c.removeEventListener("load",t),e()}c.document.readyState==="complete"?c.setTimeout(e):(c.document.addEventListener("DOMContentLoaded",t),c.addEventListener("load",t))}var er=ut.prototype={ready:Zo,toString:function(){var e=[];return R(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return e>=0?w(this[e]):w(this[this.length+e])},length:0,push:B,sort:[].sort,splice:[].splice},mi={};R("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){mi[ue(e)]=e});var Qo={};R("input,select,option,textarea,button,form,details".split(","),function(e){Qo[e]=!0});var ea={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};function ta(e,t){var n=mi[t.toLowerCase()];return n&&Qo[en(e)]&&n}function wl(e){return ea[e]}R({data:Es,removeData:Cs,hasData:ml,cleanData:function(t){for(var n=0,r=t.length;n<r;n++)Cs(t[n]),Yo(t[n])}},function(e,t){ut[t]=e}),R({data:Es,inheritedData:gi,scope:function(e){return w.data(e,"$scope")||gi(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return w.data(e,"$isolateScope")||w.data(e,"$isolateScopeNoTemplate")},controller:Jo,injector:function(e){return gi(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:di,css:function(e,t,n){if(t=dl(t),he(n))e.style[t]=n;else return e.style[t]},attr:function(e,t,n){var r,i=e.nodeType;if(!(i===wn||i===il||i===qr||!e.getAttribute)){var l=ue(t),u=mi[l];if(he(n))n===null||n===!1&&u?e.removeAttribute(t):e.setAttribute(t,u?l:n);else return r=e.getAttribute(t),u&&r!==null&&(r=l),r===null?void 0:r}},prop:function(e,t,n){if(he(n))e[t]=n;else return e[t]},text:function(){return e.$dv="",e;function e(t,n){if(pe(n)){var r=t.nodeType;return r===yn||r===wn?t.textContent:""}t.textContent=n}}(),val:function(e,t){if(pe(t)){if(e.multiple&&en(e)==="select"){var n=[];return R(e.options,function(r){r.selected&&n.push(r.value||r.text)}),n}return e.value}e.value=t},html:function(e,t){if(pe(t))return e.innerHTML;li(e,!0),e.innerHTML=t},empty:Ko},function(e,t){ut.prototype[t]=function(n,r){var i,l,u=this.length;if(e!==Ko&&pe(e.length===2&&e!==di&&e!==Jo?n:r))if(Y(n)){for(i=0;i<u;i++)if(e===Es)e(this[i],n);else for(l in n)e(this[i],l,n[l]);return this}else{for(var a=e.$dv,o=pe(a)?Math.min(u,1):u,h=0;h<o;h++){var d=e(this[h],n,r);a=a?a+d:d}return a}else{for(i=0;i<u;i++)e(this[i],n,r);return this}}});function Al(e,t){var n=function(r,i){r.isDefaultPrevented=function(){return r.defaultPrevented};var l=t[i||r.type],u=l?l.length:0;if(!!u){if(pe(r.immediatePropagationStopped)){var a=r.stopImmediatePropagation;r.stopImmediatePropagation=function(){r.immediatePropagationStopped=!0,r.stopPropagation&&r.stopPropagation(),a&&a.call(r)}}r.isImmediatePropagationStopped=function(){return r.immediatePropagationStopped===!0};var o=l.specialHandlerWrapper||Sl;u>1&&(l=nn(l));for(var h=0;h<u;h++)r.isImmediatePropagationStopped()||o(e,r,l[h])}};return n.elem=e,n}function Sl(e,t,n){n.call(e,t)}function _l(e,t,n){var r=t.relatedTarget;(!r||r!==e&&!Cl.call(e,r))&&n.call(e,t)}R({removeData:Cs,on:function(t,n,r,i){if(he(i))throw $s("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(!!ys(t)){var l=hi(t,!0),u=l.events,a=l.handle;a||(a=l.handle=Al(t,u));for(var o=n.indexOf(" ")>=0?n.split(" "):[n],h=o.length,d=function(p,g,y){var b=u[p];b||(b=u[p]=[],b.specialHandlerWrapper=g,p!=="$destroy"&&!y&&t.addEventListener(p,a)),b.push(r)};h--;)n=o[h],ci[n]?(d(ci[n],_l),d(n,void 0,!0)):d(n)}},off:Yo,one:function(e,t,n){e=w(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;li(e),R(new ut(t),function(i){n?r.insertBefore(i,n.nextSibling):r.replaceChild(i,e),n=i})},children:function(e){var t=[];return R(e.childNodes,function(n){n.nodeType===yn&&t.push(n)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(!(n!==yn&&n!==gs)){t=new ut(t);for(var r=0,i=t.length;r<i;r++){var l=t[r];e.appendChild(l)}}},prepend:function(e,t){if(e.nodeType===yn){var n=e.firstChild;R(new ut(t),function(r){e.insertBefore(r,n)})}},wrap:function(e,t){bl(e,w(t).eq(0).clone()[0])},remove:$i,detach:function(e){$i(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r){t=new ut(t);for(var i=0,l=t.length;i<l;i++){var u=t[i];r.insertBefore(u,n.nextSibling),n=u}}},addClass:vi,removeClass:pi,toggleClass:function(e,t,n){t&&R(t.split(" "),function(r){var i=n;pe(i)&&(i=!di(e,r)),(i?vi:pi)(e,r)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==gs?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:bs,triggerHandler:function(e,t,n){var r,i,l,u=t.type||t,a=hi(e),o=a&&a.events,h=o&&o[u];h&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:Ae,type:u,target:e},t.type&&(r=Fe(r,t)),i=nn(h),l=n?[r].concat(n):[r],R(i,function(d){r.isImmediatePropagationStopped()||d.apply(e,l)}))}},function(e,t){ut.prototype[t]=function(n,r,i){for(var l,u=0,a=this.length;u<a;u++)pe(l)?(l=e(this[u],n,r,i),he(l)&&(l=w(l))):ws(l,e(this[u],n,r,i));return he(l)?l:this}}),ut.prototype.bind=ut.prototype.on,ut.prototype.unbind=ut.prototype.off;function Tl(){this.$get=function(){return Fe(ut,{hasClass:function(t,n){return t.attr&&(t=t[0]),di(t,n)},addClass:function(t,n){return t.attr&&(t=t[0]),vi(t,n)},removeClass:function(t,n){return t.attr&&(t=t[0]),pi(t,n)}})}}function tr(e,t){var n=e&&e.$$hashKey;if(n)return typeof n=="function"&&(n=e.$$hashKey()),n;var r=typeof e;return r==="function"||r==="object"&&e!==null?n=e.$$hashKey=r+":"+(t||vt)():n=r+":"+e,n}var kl=Object.create(null);function na(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}na.prototype={_idx:function(e){return e!==this._lastKey&&(this._lastKey=e,this._lastIndex=this._keys.indexOf(e)),this._lastIndex},_transformKey:function(e){return je(e)?kl:e},get:function(e){e=this._transformKey(e);var t=this._idx(e);if(t!==-1)return this._values[t]},has:function(e){e=this._transformKey(e);var t=this._idx(e);return t!==-1},set:function(e,t){e=this._transformKey(e);var n=this._idx(e);n===-1&&(n=this._lastIndex=this._keys.length),this._keys[n]=e,this._values[n]=t},delete:function(e){e=this._transformKey(e);var t=this._idx(e);return t===-1?!1:(this._keys.splice(t,1),this._values.splice(t,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var yi=na,Ol=[function(){this.$get=[function(){return yi}]}],xl=/^([^(]+?)=>/,Ml=/^[^(]*\(\s*([^)]*)\)/m,Pl=/,/,Rl=/^\s*(_?)(\S+?)\1\s*$/,Fl=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg,Rn=_("$injector");function ra(e){return Function.prototype.toString.call(e)}function ia(e){var t=ra(e).replace(Fl,""),n=t.match(xl)||t.match(Ml);return n}function Dl(e){var t=ia(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function Ll(e,t,n){var r,i,l;if(typeof e=="function"){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw(!V(n)||!n)&&(n=e.name||Dl(e)),Rn("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=ia(e),R(i[1].split(Pl),function(u){u.replace(Rl,function(a,o,h){r.push(h)})})}e.$inject=r}}else ae(e)?(l=e.length-1,ai(e[l],"fn"),r=e.slice(0,l)):ai(e,"fn",!0);return r}function Br(e,t){t=t===!0;var n={},r="Provider",i=[],l=new yi,u={$provide:{provider:g(y),factory:g(L),service:g(z),value:g(I),constant:g(D),decorator:F}},a=u.$injector=A(u,function(T,m){throw ce.isString(m)&&i.push(m),Rn("unpr","Unknown provider: {0}",i.join(" <- "))}),o={},h=A(o,function(T,m){var $=a.get(T+r,m);return d.invoke($.$get,$,void 0,T)}),d=h;u["$injector"+r]={$get:st(h)},d.modules=a.modules=nt();var p=q(e);return d=h.get("$injector"),d.strictDi=t,R(p,function(T){T&&d.invoke(T)}),d.loadNewModules=function(T){R(q(T),function(m){m&&d.invoke(m)})},d;function g(T){return function(m,$){if(Y(m))R(m,Ze(T));else return T(m,$)}}function y(T,m){if(Zn(T,"service"),($e(m)||ae(m))&&(m=a.instantiate(m)),!m.$get)throw Rn("pget","Provider '{0}' must define $get factory method.",T);return u[T+r]=m}function b(T,m){return function(){var C=d.invoke(m,this);if(pe(C))throw Rn("undef","Provider '{0}' must return a value from $get factory method.",T);return C}}function L(T,m,$){return y(T,{$get:$!==!1?b(T,m):m})}function z(T,m){return L(T,["$injector",function($){return $.instantiate(m)}])}function I(T,m){return L(T,st(m),!1)}function D(T,m){Zn(T,"constant"),u[T]=m,o[T]=m}function F(T,m){var $=a.get(T+r),C=$.$get;$.$get=function(){var E=d.invoke(C,$);return d.invoke(m,null,{$delegate:E})}}function q(T){Nr(pe(T)||ae(T),"modulesToLoad","not an array");var m=[],$;return R(T,function(C){if(l.get(C))return;l.set(C,!0);function E(x){var U,P;for(U=0,P=x.length;U<P;U++){var W=x[U],Q=a.get(W[0]);Q[W[1]].apply(Q,W[2])}}try{V(C)?($=xe(C),d.modules[C]=$,m=m.concat(q($.requires)).concat($._runBlocks),E($._invokeQueue),E($._configBlocks)):$e(C)||ae(C)?m.push(a.invoke(C)):ai(C,"module")}catch(x){throw ae(C)&&(C=C[C.length-1]),x.message&&x.stack&&x.stack.indexOf(x.message)===-1&&(x=x.message+` |
|
`+x.stack),Rn("modulerr",`Failed to instantiate module {0} due to: |
|
{1}`,C,x.stack||x.message||x)}}),m}function A(T,m){function $(P,W){if(T.hasOwnProperty(P)){if(T[P]===n)throw Rn("cdep","Circular dependency found: {0}",P+" <- "+i.join(" <- "));return T[P]}else try{return i.unshift(P),T[P]=n,T[P]=m(P,W),T[P]}catch(Q){throw T[P]===n&&delete T[P],Q}finally{i.shift()}}function C(P,W,Q){for(var re=[],J=Br.$$annotate(P,t,Q),oe=0,ke=J.length;oe<ke;oe++){var _e=J[oe];if(typeof _e!="string")throw Rn("itkn","Incorrect injection token! Expected service name as string, got {0}",_e);re.push(W&&W.hasOwnProperty(_e)?W[_e]:$(_e,Q))}return re}function E(P){if(k||typeof P!="function")return!1;var W=P.$$ngIsClass;return mn(W)||(W=P.$$ngIsClass=/^class\b/.test(ra(P))),W}function x(P,W,Q,re){typeof Q=="string"&&(re=Q,Q=null);var J=C(P,Q,re);return ae(P)&&(P=P[P.length-1]),E(P)?(J.unshift(null),new(Function.prototype.bind.apply(P,J))):P.apply(W,J)}function U(P,W,Q){var re=ae(P)?P[P.length-1]:P,J=C(P,W,Q);return J.unshift(null),new(Function.prototype.bind.apply(re,J))}return{invoke:x,instantiate:U,get:$,annotate:Br.$$annotate,has:function(P){return u.hasOwnProperty(P+r)||T.hasOwnProperty(P)}}}}Br.$$annotate=Ll;function Il(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){var i=t.document;function l(h){var d=null;return Array.prototype.some.call(h,function(p){if(en(p)==="a")return d=p,!0}),d}function u(){var h=o.yOffset;if($e(h))h=h();else if(as(h)){var d=h[0],p=t.getComputedStyle(d);p.position!=="fixed"?h=0:h=d.getBoundingClientRect().bottom}else ve(h)||(h=0);return h}function a(h){if(h){h.scrollIntoView();var d=u();if(d){var p=h.getBoundingClientRect().top;t.scrollBy(0,p-d)}}else t.scrollTo(0,0)}function o(h){h=V(h)?h:ve(h)?h.toString():n.hash();var d;h?(d=i.getElementById(h))||(d=l(i.getElementsByName(h)))?a(d):h==="top"&&a(null):a(null)}return e&&r.$watch(function(){return n.hash()},function(d,p){d===p&&d===""||El(function(){r.$evalAsync(o)})}),o}]}var sa=_("$animate"),Nl=1,oa="ng-animate";function Vr(e,t){return!e&&!t?"":e?t?(ae(e)&&(e=e.join(" ")),ae(t)&&(t=t.join(" ")),e+" "+t):e:t}function ql(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===Nl)return n}}function Ul(e){V(e)&&(e=e.split(" "));var t=nt();return R(e,function(n){n.length&&(t[n]=!0)}),t}function Fn(e){return Y(e)?e:{}}var Bl=function(){this.$get=Ae},Vl=function(){var e=new yi,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){return{enabled:Ae,on:Ae,off:Ae,pin:Ae,push:function(a,o,h,d){d&&d(),h=h||{},h.from&&a.css(h.from),h.to&&a.css(h.to),(h.addClass||h.removeClass)&&u(a,h.addClass,h.removeClass);var p=new n;return p.complete(),p}};function i(a,o,h){var d=!1;return o&&(o=V(o)?o.split(" "):ae(o)?o:[],R(o,function(p){p&&(d=!0,a[p]=h)})),d}function l(){R(t,function(a){var o=e.get(a);if(o){var h=Ul(a.attr("class")),d="",p="";R(o,function(g,y){var b=!!h[y];g!==b&&(g?d+=(d.length?" ":"")+y:p+=(p.length?" ":"")+y)}),R(a,function(g){d&&vi(g,d),p&&pi(g,p)}),e.delete(a)}}),t.length=0}function u(a,o,h){var d=e.get(a)||{},p=i(d,o,!0),g=i(d,h,!1);(p||g)&&(e.set(a,d),t.push(a),t.length===1&&r.$$postDigest(l))}}]},jl=["$provide",function(e){var t=this,n=null,r=null;this.$$registeredAnimations=Object.create(null),this.register=function(i,l){if(i&&i.charAt(0)!==".")throw sa("notcsel","Expecting class selector starting with '.' got '{0}'.",i);var u=i+"-animation";t.$$registeredAnimations[i.substr(1)]=u,e.factory(u,l)},this.customFilter=function(i){return arguments.length===1&&(r=$e(i)?i:null),r},this.classNameFilter=function(i){if(arguments.length===1&&(n=i instanceof RegExp?i:null,n)){var l=new RegExp("[(\\s|\\/)]"+oa+"[(\\s|\\/)]");if(l.test(n.toString()))throw n=null,sa("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',oa)}return n},this.$get=["$$animateQueue",function(i){function l(u,a,o){if(o){var h=ql(o);h&&!h.parentNode&&!h.previousElementSibling&&(o=null)}o?o.after(u):a.prepend(u)}return{on:i.on,off:i.off,pin:i.pin,enabled:i.enabled,cancel:function(u){u.cancel&&u.cancel()},enter:function(u,a,o,h){return a=a&&w(a),o=o&&w(o),a=a||o.parent(),l(u,a,o),i.push(u,"enter",Fn(h))},move:function(u,a,o,h){return a=a&&w(a),o=o&&w(o),a=a||o.parent(),l(u,a,o),i.push(u,"move",Fn(h))},leave:function(u,a){return i.push(u,"leave",Fn(a),function(){u.remove()})},addClass:function(u,a,o){return o=Fn(o),o.addClass=Vr(o.addclass,a),i.push(u,"addClass",o)},removeClass:function(u,a,o){return o=Fn(o),o.removeClass=Vr(o.removeClass,a),i.push(u,"removeClass",o)},setClass:function(u,a,o,h){return h=Fn(h),h.addClass=Vr(h.addClass,a),h.removeClass=Vr(h.removeClass,o),i.push(u,"setClass",h)},animate:function(u,a,o,h,d){return d=Fn(d),d.from=d.from?Fe(d.from,a):a,d.to=d.to?Fe(d.to,o):o,h=h||"ng-inline-animate",d.tempClasses=Vr(d.tempClasses,h),i.push(u,"animate",d)}}}]}],Hl=function(){this.$get=["$$rAF",function(e){var t=[];function n(r){t.push(r),!(t.length>1)&&e(function(){for(var i=0;i<t.length;i++)t[i]();t=[]})}return function(){var r=!1;return n(function(){r=!0}),function(i){r?i():n(i)}}}]},Wl=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(e,t,n,r,i){var l=0,u=1,a=2;o.chain=function(h,d){var p=0;g();function g(){if(p===h.length){d(!0);return}h[p](function(y){if(y===!1){d(!1);return}p++,g()})}},o.all=function(h,d){var p=0,g=!0;R(h,function(b){b.done(y)});function y(b){g=g&&b,++p===h.length&&d(g)}};function o(h){this.setHost(h);var d=n(),p=function(g){i(g,0,!1)};this._doneCallbacks=[],this._tick=function(g){r()?p(g):d(g)},this._state=0}return o.prototype={setHost:function(h){this.host=h||{}},done:function(h){this._state===a?h():this._doneCallbacks.push(h)},progress:Ae,getPromise:function(){if(!this.promise){var h=this;this.promise=e(function(d,p){h.done(function(g){g===!1?p():d()})})}return this.promise},then:function(h,d){return this.getPromise().then(h,d)},catch:function(h){return this.getPromise().catch(h)},finally:function(h){return this.getPromise().finally(h)},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(h){var d=this;d._state===l&&(d._state=u,d._tick(function(){d._resolve(h)}))},_resolve:function(h){this._state!==a&&(R(this._doneCallbacks,function(d){d(h)}),this._doneCallbacks.length=0,this._state=a)}},o}]},zl=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(r,i){var l=i||{};l.$$prepared||(l=Mn(l)),l.cleanupStyles&&(l.from=l.to=null),l.from&&(r.css(l.from),l.from=null);var u,a=new n;return{start:o,end:o};function o(){return e(function(){h(),u||a.complete(),u=!0}),a}function h(){l.addClass&&(r.addClass(l.addClass),l.addClass=null),l.removeClass&&(r.removeClass(l.removeClass),l.removeClass=null),l.to&&(r.css(l.to),l.to=null)}}}]};function Gl(e){var t=e.indexOf("#");return t===-1?"":e.substr(t)}function Xl(e){return e.replace(/#$/,"")}function Yl(e,t,n,r,i){var l=this,u=e.location,a=e.history,o=e.setTimeout,h=e.clearTimeout,d={},p=i(n);l.isMock=!1,l.$$completeOutstandingRequest=p.completeTask,l.$$incOutstandingRequestCount=p.incTaskCount,l.notifyWhenNoOutstandingRequests=p.notifyWhenNoPendingTasks;var g,y,b=u.href,L=t.find("base"),z=null,I=r.history?function(){try{return a.state}catch{}}:Ae;T(),l.url=function($,C,E){if(pe(E)&&(E=null),u!==e.location&&(u=e.location),a!==e.history&&(a=e.history),$){var x=y===E;if($=It($).href,b===$&&(!r.history||x))return l;var U=b&&Ln(b)===Ln($);return b=$,y=E,r.history&&(!U||!x)?(a[C?"replaceState":"pushState"](E,"",$),T()):(U||(z=$),C?u.replace($):U?u.hash=Gl($):u.href=$,u.href!==$&&(z=$)),z&&(z=$),l}else return Xl(z||u.href)},l.state=function(){return g};var D=[],F=!1;function q(){z=null,m()}var A=null;function T(){g=I(),g=pe(g)?null:g,tn(g,A)&&(g=A),A=g,y=g}function m(){var $=y;T(),!(b===l.url()&&$===g)&&(b=l.url(),y=g,R(D,function(C){C(l.url(),g)}))}l.onUrlChange=function($){return F||(r.history&&w(e).on("popstate",q),w(e).on("hashchange",q),F=!0),D.push($),$},l.$$applicationDestroyed=function(){w(e).off("hashchange popstate",q)},l.$$checkUrlChange=m,l.baseHref=function(){var $=L.attr("href");return $?$.replace(/^(https?:)?\/\/[^/]*/,""):""},l.defer=function($,C,E){var x;return C=C||0,E=E||p.DEFAULT_TASK_TYPE,p.incTaskCount(E),x=o(function(){delete d[x],p.completeTask($,E)},C),d[x]=E,x},l.defer.cancel=function($){if(d.hasOwnProperty($)){var C=d[$];return delete d[$],h($),p.completeTask(Ae,C),!0}return!1}}function Jl(){this.$get=["$window","$log","$sniffer","$document","$$taskTrackerFactory",function(e,t,n,r,i){return new Yl(e,r,t,n,i)}]}function Kl(){this.$get=function(){var e={};function t(n,r){if(n in e)throw _("$cacheFactory")("iid","CacheId '{0}' is already taken!",n);var i=0,l=Fe({},r,{id:n}),u=nt(),a=r&&r.capacity||Number.MAX_VALUE,o=nt(),h=null,d=null;return e[n]={put:function(y,b){if(!pe(b)){if(a<Number.MAX_VALUE){var L=o[y]||(o[y]={key:y});p(L)}return y in u||i++,u[y]=b,i>a&&this.remove(d.key),b}},get:function(y){if(a<Number.MAX_VALUE){var b=o[y];if(!b)return;p(b)}return u[y]},remove:function(y){if(a<Number.MAX_VALUE){var b=o[y];if(!b)return;b===h&&(h=b.p),b===d&&(d=b.n),g(b.n,b.p),delete o[y]}y in u&&(delete u[y],i--)},removeAll:function(){u=nt(),i=0,o=nt(),h=d=null},destroy:function(){u=null,l=null,o=null,delete e[n]},info:function(){return Fe({},l,{size:i})}};function p(y){y!==h&&(d?d===y&&(d=y.n):d=y,g(y.n,y.p),g(y,h),h=y,h.n=null)}function g(y,b){y!==b&&(y&&(y.p=b),b&&(b.n=y))}}return t.info=function(){var n={};return R(e,function(r,i){n[i]=r.info()}),n},t.get=function(n){return e[n]},t}}function Zl(){this.$get=["$cacheFactory",function(e){return e("templates")}]}var lt=_("$compile");function Ql(){}var As=new Ql;aa.$inject=["$provide","$$sanitizeUriProvider"];function aa(e,t){var n={},r="Directive",i=/^\s*directive:\s*([\w-]+)\s+(.*)$/,l=/(([\w-]+)(?::([^;]+))?;?)/,u=Wf("ngSrc,ngSrcset,src,srcset"),a=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,o=/^(on[a-z]+|formaction)$/,h=nt();function d(A,T,m){var $=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,C=nt();return R(A,function(E,x){if(E=E.trim(),E in h){C[x]=h[E];return}var U=E.match($);if(!U)throw lt("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",T,x,E,m?"controller bindings definition":"isolate scope definition");C[x]={mode:U[1][0],collection:U[2]==="*",optional:U[3]==="?",attrName:U[4]||x},U[4]&&(h[E]=C[x])}),C}function p(A,T){var m={isolateScope:null,bindToController:null};if(Y(A.scope)&&(A.bindToController===!0?(m.bindToController=d(A.scope,T,!0),m.isolateScope={}):m.isolateScope=d(A.scope,T,!1)),Y(A.bindToController)&&(m.bindToController=d(A.bindToController,T,!0)),m.bindToController&&!A.controller)throw lt("noctrl","Cannot bind to controller without directive '{0}'s controller.",T);return m}function g(A){var T=A.charAt(0);if(!T||T!==ue(T))throw lt("baddir","Directive/Component name '{0}' is invalid. The first character must be a lowercase letter",A);if(A!==A.trim())throw lt("baddir","Directive/Component name '{0}' is invalid. The name should not contain leading or trailing whitespaces",A)}function y(A){var T=A.require||A.controller&&A.name;return!ae(T)&&Y(T)&&R(T,function(m,$){var C=m.match(a),E=m.substring(C[0].length);E||(T[$]=C[0]+$)}),T}function b(A,T){if(A&&!(V(A)&&/[EACM]/.test(A)))throw lt("badrestrict","Restrict property '{0}' of directive '{1}' is invalid",A,T);return A||"EA"}this.directive=function A(T,m){return Nr(T,"name"),Zn(T,"directive"),V(T)?(g(T),Nr(m,"directiveFactory"),n.hasOwnProperty(T)||(n[T]=[],e.factory(T+r,["$injector","$exceptionHandler",function($,C){var E=[];return R(n[T],function(x,U){try{var P=$.invoke(x);$e(P)?P={compile:st(P)}:!P.compile&&P.link&&(P.compile=st(P.link)),P.priority=P.priority||0,P.index=U,P.name=P.name||T,P.require=y(P),P.restrict=b(P.restrict,T),P.$$moduleName=x.$$moduleName,E.push(P)}catch(W){C(W)}}),E}])),n[T].push(m)):R(T,Ze(A)),this},this.component=function A(T,m){if(!V(T))return R(T,Ze(Jn(this,A))),this;var $=m.controller||function(){};function C(E){function x(W){return $e(W)||ae(W)?function(Q,re){return E.invoke(W,this,{$element:Q,$attrs:re})}:W}var U=!m.template&&!m.templateUrl?"":m.template,P={controller:$,controllerAs:th(m.controller)||m.controllerAs||"$ctrl",template:x(U),templateUrl:x(m.templateUrl),transclude:m.transclude,scope:{},bindToController:m.bindings||{},restrict:"E",require:m.require};return R(m,function(W,Q){Q.charAt(0)==="$"&&(P[Q]=W)}),P}return R(m,function(E,x){x.charAt(0)==="$"&&(C[x]=E,$e($)&&($[x]=E))}),C.$inject=["$injector"],this.directive(T,C)},this.aHrefSanitizationTrustedUrlList=function(A){return he(A)?(t.aHrefSanitizationTrustedUrlList(A),this):t.aHrefSanitizationTrustedUrlList()},Object.defineProperty(this,"aHrefSanitizationWhitelist",{get:function(){return this.aHrefSanitizationTrustedUrlList},set:function(A){this.aHrefSanitizationTrustedUrlList=A}}),this.imgSrcSanitizationTrustedUrlList=function(A){return he(A)?(t.imgSrcSanitizationTrustedUrlList(A),this):t.imgSrcSanitizationTrustedUrlList()},Object.defineProperty(this,"imgSrcSanitizationWhitelist",{get:function(){return this.imgSrcSanitizationTrustedUrlList},set:function(A){this.imgSrcSanitizationTrustedUrlList=A}});var L=!0;this.debugInfoEnabled=function(A){return he(A)?(L=A,this):L};var z=!1;this.strictComponentBindingsEnabled=function(A){return he(A)?(z=A,this):z};var I=10;this.onChangesTtl=function(A){return arguments.length?(I=A,this):I};var D=!0;this.commentDirectivesEnabled=function(A){return arguments.length?(D=A,this):D};var F=!0;this.cssClassDirectivesEnabled=function(A){return arguments.length?(F=A,this):F};var q=nt();this.addPropertySecurityContext=function(A,T,m){var $=A.toLowerCase()+"|"+T.toLowerCase();if($ in q&&q[$]!==m)throw lt("ctxoverride","Property context '{0}.{1}' already set to '{2}', cannot override to '{3}'.",A,T,q[$],m);return q[$]=m,this},function(){function T(m,$){R($,function(C){q[C.toLowerCase()]=m})}T(ht.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),T(ht.CSS,["*|style"]),T(ht.URL,["area|href","area|ping","a|href","a|ping","blockquote|cite","body|background","del|cite","input|src","ins|cite","q|cite"]),T(ht.MEDIA_URL,["audio|src","img|src","img|srcset","source|src","source|srcset","track|src","video|src","video|poster"]),T(ht.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(A,T,m,$,C,E,x,U,P){var W=/^\w/,Q=c.document.createElement("div"),re=D,J=F,oe=I,ke;function _e(){try{if(!--oe)throw ke=void 0,lt("infchng",`{0} $onChanges() iterations reached. Aborting! |
|
`,I);x.$apply(function(){for(var S=0,O=ke.length;S<O;++S)try{ke[S]()}catch(N){m(N)}ke=void 0})}finally{oe++}}function Re(S,O){if(!S)return S;if(!V(S))throw lt("srcset",'Can\'t pass trusted values to `{0}`: "{1}"',O,S.toString());for(var N="",H=tt(S),ee=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,te=/\s/.test(H)?ee:/(,)/,le=H.split(te),Pe=Math.floor(le.length/2),de=0;de<Pe;de++){var me=de*2;N+=U.getTrustedMediaUrl(tt(le[me])),N+=" "+tt(le[me+1])}var ye=tt(le[de*2]).split(/\s/);return N+=U.getTrustedMediaUrl(tt(ye[0])),ye.length===2&&(N+=" "+tt(ye[1])),N}function Ue(S,O){if(O){var N=Object.keys(O),H,ee,te;for(H=0,ee=N.length;H<ee;H++)te=N[H],this[te]=O[te]}else this.$attr={};this.$$element=S}Ue.prototype={$normalize:rn,$addClass:function(S){S&&S.length>0&&P.addClass(this.$$element,S)},$removeClass:function(S){S&&S.length>0&&P.removeClass(this.$$element,S)},$updateClass:function(S,O){var N=ca(S,O);N&&N.length&&P.addClass(this.$$element,N);var H=ca(O,S);H&&H.length&&P.removeClass(this.$$element,H)},$set:function(S,O,N,H){var ee=this.$$element[0],te=ta(ee,S),le=wl(S),Pe=S,de;te?(this.$$element.prop(S,O),H=te):le&&(this[le]=O,Pe=le),this[S]=O,H?this.$attr[S]=H:(H=this.$attr[S],H||(this.$attr[S]=H=qo(S,"-"))),de=en(this.$$element),de==="img"&&S==="srcset"&&(this[S]=O=Re(O,"$set('srcset', value)")),N!==!1&&(O===null||pe(O)?this.$$element.removeAttr(H):W.test(H)?te&&O===!1?this.$$element.removeAttr(H):this.$$element.attr(H,O):Be(this.$$element[0],H,O));var me=this.$$observers;me&&R(me[Pe],function(ye){try{ye(O)}catch(Ce){m(Ce)}})},$observe:function(S,O){var N=this,H=N.$$observers||(N.$$observers=nt()),ee=H[S]||(H[S]=[]);return ee.push(O),x.$evalAsync(function(){!ee.$$inter&&N.hasOwnProperty(S)&&!pe(N[S])&&O(N[S])}),function(){Fr(ee,O)}}};function Be(S,O,N){Q.innerHTML="<span "+O+">";var H=Q.firstChild.attributes,ee=H[0];H.removeNamedItem(ee.name),ee.value=N,S.attributes.setNamedItem(ee)}function Ge(S,O){try{S.addClass(O)}catch{}}var ot=T.startSymbol(),et=T.endSymbol(),wt=ot==="{{"&&et==="}}"?_t:function(O){return O.replace(/\{\{/g,ot).replace(/}}/g,et)},dt=/^ng(Attr|Prop|On)([A-Z].*)$/,bt=/^(.+)Start$/;return it.$$addBindingInfo=L?function(O,N){var H=O.data("$binding")||[];ae(N)?H=H.concat(N):H.push(N),O.data("$binding",H)}:Ae,it.$$addBindingClass=L?function(O){Ge(O,"ng-binding")}:Ae,it.$$addScopeInfo=L?function(O,N,H,ee){var te=H?ee?"$isolateScopeNoTemplate":"$isolateScope":"$scope";O.data(te,N)}:Ae,it.$$addScopeClass=L?function(O,N){Ge(O,N?"ng-isolate-scope":"ng-scope")}:Ae,it.$$createComment=function(S,O){var N="";return L&&(N=" "+(S||"")+": ",O&&(N+=O+" ")),c.document.createComment(N)},it;function it(S,O,N,H,ee){S instanceof w||(S=w(S));var te=Un(S,O,S,N,H,ee);it.$$addScopeClass(S);var le=null;return function(de,me,ye){if(!S)throw lt("multilink","This element has already been linked.");Nr(de,"scope"),ee&&ee.needsNewScope&&(de=de.$parent.$new()),ye=ye||{};var Ce=ye.parentBoundTranscludeFn,ie=ye.transcludeControllers,Oe=ye.futureParentElement;Ce&&Ce.$$boundTransclude&&(Ce=Ce.$$boundTransclude),le||(le=qn(Oe));var Le;if(le!=="html"?Le=w(Ks(le,w("<div></div>").append(S).html())):me?Le=er.clone.call(S):Le=S,ie)for(var Xe in ie)Le.data("$"+Xe+"Controller",ie[Xe].instance);return it.$$addScopeInfo(Le,de),me&&me(Le,de),te&&te(de,Le,Le,Ce),me||(S=te=null),Le}}function qn(S){var O=S&&S[0];return O&&en(O)!=="foreignobject"&&M.call(O).match(/SVG/)?"svg":"html"}function Un(S,O,N,H,ee,te){for(var le=[],Pe=ae(S)||S instanceof w,de,me,ye,Ce,ie,Oe,Le,Xe=0;Xe<S.length;Xe++)de=new Ue,k===11&&Xs(S,Xe,Pe),me=Sn(S[Xe],[],de,Xe===0?H:void 0,ee),ye=me.length?Au(me,S[Xe],de,O,N,null,[],[],te):null,ye&&ye.scope&&it.$$addScopeClass(de.$$element),ie=ye&&ye.terminal||!(Ce=S[Xe].childNodes)||!Ce.length?null:Un(Ce,ye?(ye.transcludeOnThisElement||!ye.templateOnThisElement)&&ye.transclude:O),(ye||ie)&&(le.push(Xe,ye,ie),Oe=!0,Le=Le||ye),te=null;return Oe?ze:null;function ze(Ie,Ne,be,He){var Ve,ct,ft,at,Je,At,gt,Ot,ln;if(Le){var ur=Ne.length;for(ln=new Array(ur),Je=0;Je<le.length;Je+=3)gt=le[Je],ln[gt]=Ne[gt]}else ln=Ne;for(Je=0,At=le.length;Je<At;)ft=ln[le[Je++]],Ve=le[Je++],ct=le[Je++],Ve?(Ve.scope?(at=Ie.$new(),it.$$addScopeInfo(w(ft),at)):at=Ie,Ve.transcludeOnThisElement?Ot=sn(Ie,Ve.transclude,He):!Ve.templateOnThisElement&&He?Ot=He:!He&&O?Ot=sn(Ie,O):Ot=null,Ve(ct,at,ft,be,Ot)):ct&&ct(Ie,ft.childNodes,void 0,He)}}function Xs(S,O,N){var H=S[O],ee=H.parentNode,te;if(H.nodeType===wn)for(;te=ee?H.nextSibling:S[O+1],!(!te||te.nodeType!==wn);)H.nodeValue=H.nodeValue+te.nodeValue,te.parentNode&&te.parentNode.removeChild(te),N&&te===S[O+1]&&S.splice(O+1,1)}function sn(S,O,N){function H(le,Pe,de,me,ye){return le||(le=S.$new(!1,ye),le.$$transcluded=!0),O(le,Pe,{parentBoundTranscludeFn:N,transcludeControllers:de,futureParentElement:me})}var ee=H.$$slots=nt();for(var te in O.$$slots)O.$$slots[te]?ee[te]=sn(S,O.$$slots[te],N):ee[te]=null;return H}function Sn(S,O,N,H,ee){var te=S.nodeType,le=N.$attr,Pe,de,me;switch(te){case yn:de=en(S),Fi(O,rn(de),"E",H,ee);for(var ye,Ce,ie,Oe,Le,Xe=S.attributes,ze=0,Ie=Xe&&Xe.length;ze<Ie;ze++){var Ne=!1,be=!1,He=!1,Ve=!1,ct=!1,ft;ye=Xe[ze],Ce=ye.name,Oe=ye.value,ie=rn(Ce.toLowerCase()),(Le=ie.match(dt))?(He=Le[1]==="Attr",Ve=Le[1]==="Prop",ct=Le[1]==="On",Ce=Ce.replace(ua,"").toLowerCase().substr(4+Le[1].length).replace(/_(.)/g,function(at,Je){return Je.toUpperCase()})):(ft=ie.match(bt))&&Pp(ft[1])&&(Ne=Ce,be=Ce.substr(0,Ce.length-5)+"end",Ce=Ce.substr(0,Ce.length-6)),Ve||ct?(N[ie]=Oe,le[ie]=ye.name,Ve?qp(S,O,ie,Ce):Up(O,ie,Ce)):(ie=rn(Ce.toLowerCase()),le[ie]=Ce,(He||!N.hasOwnProperty(ie))&&(N[ie]=Oe,ta(S,ie)&&(N[ie]=!0)),Bp(S,O,Oe,ie,He),Fi(O,ie,"A",H,ee,Ne,be))}if(de==="input"&&S.getAttribute("type")==="hidden"&&S.setAttribute("autocomplete","off"),!J)break;if(me=S.className,Y(me)&&(me=me.animVal),V(me)&&me!=="")for(;Pe=l.exec(me);)ie=rn(Pe[2]),Fi(O,ie,"C",H,ee)&&(N[ie]=tt(Pe[3])),me=me.substr(Pe.index+Pe[0].length);break;case wn:Dp(O,S.nodeValue);break;case qr:if(!re)break;Ys(S,O,N,H,ee);break}return O.sort(Fp),O}function Ys(S,O,N,H,ee){try{var te=i.exec(S.nodeValue);if(te){var le=rn(te[1]);Fi(O,le,"M",H,ee)&&(N[le]=tt(te[2]))}}catch{}}function Yr(S,O,N){var H=[],ee=0;if(O&&S.hasAttribute&&S.hasAttribute(O))do{if(!S)throw lt("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",O,N);S.nodeType===yn&&(S.hasAttribute(O)&&ee++,S.hasAttribute(N)&&ee--),H.push(S),S=S.nextSibling}while(ee>0);else H.push(S);return w(H)}function wu(S,O,N){return function(ee,te,le,Pe,de){return te=Yr(te[0],O,N),S(ee,te,le,Pe,de)}}function Js(S,O,N,H,ee,te){var le;return S?it(O,N,H,ee,te):function(){return le||(le=it(O,N,H,ee,te),O=N=te=null),le.apply(this,arguments)}}function Au(S,O,N,H,ee,te,le,Pe,de){de=de||{};for(var me=-Number.MAX_VALUE,ye=de.newScopeDirective,Ce=de.controllerDirectives,ie=de.newIsolateScopeDirective,Oe=de.templateDirective,Le=de.nonTlbTranscludeDirective,Xe=!1,ze=!1,Ie=de.hasElementTranscludeDirective,Ne=N.$$element=w(O),be,He,Ve,ct=te,ft=H,at,Je=!1,At=!1,gt,Ot=0,ln=S.length;Ot<ln;Ot++){be=S[Ot];var ur=be.$$start,Zs=be.$$end;if(ur&&(Ne=Yr(O,ur,Zs)),Ve=void 0,me>be.priority)break;if(gt=be.scope,gt&&(be.templateUrl||(Y(gt)?(ar("new/isolated scope",ie||ye,be,Ne),ie=be):ar("new/isolated scope",ie,be,Ne)),ye=ye||be),He=be.name,!Je&&(be.replace&&(be.templateUrl||be.template)||be.transclude&&!be.$$tlb)){for(var cr,Vp=Ot+1;cr=S[Vp++];)if(cr.transclude&&!cr.$$tlb||cr.replace&&(cr.templateUrl||cr.template)){At=!0;break}Je=!0}if(!be.templateUrl&&be.controller&&(Ce=Ce||nt(),ar("'"+He+"' controller",Ce[He],be,Ne),Ce[He]=be),gt=be.transclude,gt)if(Xe=!0,be.$$tlb||(ar("transclusion",Le,be,Ne),Le=be),gt==="element")Ie=!0,me=be.priority,Ve=Ne,Ne=N.$$element=w(it.$$createComment(He,N[He])),O=Ne[0],Di(ee,Lr(Ve),O),ft=Js(At,Ve,H,me,ct&&ct.name,{nonTlbTranscludeDirective:Le});else{var Cn=nt();if(!Y(gt))Ve=w(bs(O)).contents();else{Ve=c.document.createDocumentFragment();var xu=nt(),Qs=nt();R(gt,function(rt,Ke){var on=rt.charAt(0)==="?";rt=on?rt.substring(1):rt,xu[rt]=Ke,Cn[Ke]=null,Qs[Ke]=on}),R(Ne.contents(),function(rt){var Ke=xu[rn(en(rt))];Ke?(Qs[Ke]=!0,Cn[Ke]=Cn[Ke]||c.document.createDocumentFragment(),Cn[Ke].appendChild(rt)):Ve.appendChild(rt)}),R(Qs,function(rt,Ke){if(!rt)throw lt("reqslot","Required transclusion slot `{0}` was not filled.",Ke)});for(var eo in Cn)if(Cn[eo]){var jp=w(Cn[eo].childNodes);Cn[eo]=Js(At,jp,H)}Ve=w(Ve.childNodes)}Ne.empty(),ft=Js(At,Ve,H,void 0,void 0,{needsNewScope:be.$$isolateScope||be.$$newScope}),ft.$$slots=Cn}if(be.template)if(ze=!0,ar("template",Oe,be,Ne),Oe=be,gt=$e(be.template)?be.template(Ne,N):be.template,gt=wt(gt),be.replace){if(ct=be,ms(gt)?Ve=[]:Ve=fa(Ks(be.templateNamespace,tt(gt))),O=Ve[0],Ve.length!==1||O.nodeType!==yn)throw lt("tplrt","Template for directive '{0}' must have exactly one root element. {1}",He,"");Di(ee,Ne,O);var Mu={$attr:{}},Pu=Sn(O,[],Mu),Hp=S.splice(Ot+1,S.length-(Ot+1));(ie||ye)&&Su(Pu,ie,ye),S=S.concat(Pu).concat(Hp),_u(N,Mu),ln=S.length}else Ne.html(gt);if(be.templateUrl)ze=!0,ar("template",Oe,be,Ne),Oe=be,be.replace&&(ct=be),Bn=Rp(S.splice(Ot,S.length-Ot),Ne,N,ee,Xe&&ft,le,Pe,{controllerDirectives:Ce,newScopeDirective:ye!==be&&ye,newIsolateScopeDirective:ie,templateDirective:Oe,nonTlbTranscludeDirective:Le}),ln=S.length;else if(be.compile)try{at=be.compile(Ne,N,ft);var to=be.$$originalDirective||be;$e(at)?Ru(null,Jn(to,at),ur,Zs):at&&Ru(Jn(to,at.pre),Jn(to,at.post),ur,Zs)}catch(rt){m(rt,cn(Ne))}be.terminal&&(Bn.terminal=!0,me=Math.max(me,be.priority))}return Bn.scope=ye&&ye.scope===!0,Bn.transcludeOnThisElement=Xe,Bn.templateOnThisElement=ze,Bn.transclude=ft,de.hasElementTranscludeDirective=Ie,Bn;function Ru(rt,Ke,on,no){rt&&(on&&(rt=wu(rt,on,no)),rt.require=be.require,rt.directiveName=He,(ie===be||be.$$isolateScope)&&(rt=Tu(rt,{isolateScope:!0})),le.push(rt)),Ke&&(on&&(Ke=wu(Ke,on,no)),Ke.require=be.require,Ke.directiveName=He,(ie===be||be.$$isolateScope)&&(Ke=Tu(Ke,{isolateScope:!0})),Pe.push(Ke))}function Bn(rt,Ke,on,no,fr){var _n,Fu,Gt,hn,Kr,dn,lr,Pt,Vn,ro;O===on?(Vn=N,Pt=N.$$element):(Pt=w(on),Vn=new Ue(Pt,N)),Kr=Ke,ie?hn=Ke.$new(!0):ye&&(Kr=Ke.$parent),fr&&(lr=zp,lr.$$boundTransclude=fr,lr.isSlotFilled=function(Rt){return!!fr.$$slots[Rt]}),Ce&&(dn=Mp(Pt,Vn,lr,Ce,hn,Ke,ie)),ie&&(it.$$addScopeInfo(Pt,hn,!0,!(Oe&&(Oe===ie||Oe===ie.$$originalDirective))),it.$$addScopeClass(Pt,!0),hn.$$isolateBindings=ie.$$isolateBindings,ro=Ou(Ke,Vn,hn,hn.$$isolateBindings,ie),ro.removeWatches&&hn.$on("$destroy",ro.removeWatches));for(var Du in dn){var io=Ce[Du],Zr=dn[Du],Wp=io.$$bindings.bindToController;Zr.instance=Zr(),Pt.data("$"+io.name+"Controller",Zr.instance),Zr.bindingInfo=Ou(Kr,Vn,Zr.instance,Wp,io)}for(R(Ce,function(Rt,$t){var Ft=Rt.require;Rt.bindToController&&!ae(Ft)&&Y(Ft)&&Fe(dn[$t].instance,Jr($t,Ft,Pt,dn))}),R(dn,function(Rt){var $t=Rt.instance;if($e($t.$onChanges))try{$t.$onChanges(Rt.bindingInfo.initialChanges)}catch(Ft){m(Ft)}if($e($t.$onInit))try{$t.$onInit()}catch(Ft){m(Ft)}$e($t.$doCheck)&&(Kr.$watch(function(){$t.$doCheck()}),$t.$doCheck()),$e($t.$onDestroy)&&Kr.$on("$destroy",function(){$t.$onDestroy()})}),_n=0,Fu=le.length;_n<Fu;_n++)Gt=le[_n],ku(Gt,Gt.isolateScope?hn:Ke,Pt,Vn,Gt.require&&Jr(Gt.directiveName,Gt.require,Pt,dn),lr);var Ii=Ke;for(ie&&(ie.template||ie.templateUrl===null)&&(Ii=hn),rt&&rt(Ii,on.childNodes,void 0,fr),_n=Pe.length-1;_n>=0;_n--)Gt=Pe[_n],ku(Gt,Gt.isolateScope?hn:Ke,Pt,Vn,Gt.require&&Jr(Gt.directiveName,Gt.require,Pt,dn),lr);R(dn,function(Rt){var $t=Rt.instance;$e($t.$postLink)&&$t.$postLink()});function zp(Rt,$t,Ft,Ni){var so;if(Ut(Rt)||(Ni=Ft,Ft=$t,$t=Rt,Rt=void 0),Ie&&(so=dn),Ft||(Ft=Ie?Pt.parent():Pt),Ni){var oo=fr.$$slots[Ni];if(oo)return oo(Rt,$t,so,Ft,Ii);if(pe(oo))throw lt("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',Ni,cn(Pt))}else return fr(Rt,$t,so,Ft,Ii)}}}function Jr(S,O,N,H){var ee;if(V(O)){var te=O.match(a),le=O.substring(te[0].length),Pe=te[1]||te[3],de=te[2]==="?";if(Pe==="^^"?N=N.parent():(ee=H&&H[le],ee=ee&&ee.instance),!ee){var me="$"+le+"Controller";Pe==="^^"&&N[0]&&N[0].nodeType===vs?ee=null:ee=Pe?N.inheritedData(me):N.data(me)}if(!ee&&!de)throw lt("ctreq","Controller '{0}', required by directive '{1}', can't be found!",le,S)}else if(ae(O)){ee=[];for(var ye=0,Ce=O.length;ye<Ce;ye++)ee[ye]=Jr(S,O[ye],N,H)}else Y(O)&&(ee={},R(O,function(ie,Oe){ee[Oe]=Jr(S,ie,N,H)}));return ee||null}function Mp(S,O,N,H,ee,te,le){var Pe=nt();for(var de in H){var me=H[de],ye={$scope:me===le||me.$$isolateScope?ee:te,$element:S,$attrs:O,$transclude:N},Ce=me.controller;Ce==="@"&&(Ce=O[me.name]);var ie=E(Ce,ye,!0,me.controllerAs);Pe[me.name]=ie,S.data("$"+me.name+"Controller",ie.instance)}return Pe}function Su(S,O,N){for(var H=0,ee=S.length;H<ee;H++)S[H]=Lt(S[H],{$$isolateScope:O,$$newScope:N})}function Fi(S,O,N,H,ee,te,le){if(O===ee)return null;var Pe=null;if(n.hasOwnProperty(O)){for(var de,me=A.get(O+r),ye=0,Ce=me.length;ye<Ce;ye++)if(de=me[ye],(pe(H)||H>de.priority)&&de.restrict.indexOf(N)!==-1){if(te&&(de=Lt(de,{$$start:te,$$end:le})),!de.$$bindings){var ie=de.$$bindings=p(de,de.name);Y(ie.isolateScope)&&(de.$$isolateBindings=ie.isolateScope)}S.push(de),Pe=de}}return Pe}function Pp(S){if(n.hasOwnProperty(S)){for(var O,N=A.get(S+r),H=0,ee=N.length;H<ee;H++)if(O=N[H],O.multiElement)return!0}return!1}function _u(S,O){var N=O.$attr,H=S.$attr;R(S,function(ee,te){te.charAt(0)!=="$"&&(O[te]&&O[te]!==ee&&(ee.length?ee+=(te==="style"?";":" ")+O[te]:ee=O[te]),S.$set(te,ee,!0,N[te]))}),R(O,function(ee,te){!S.hasOwnProperty(te)&&te.charAt(0)!=="$"&&(S[te]=ee,te!=="class"&&te!=="style"&&(H[te]=N[te]))})}function Rp(S,O,N,H,ee,te,le,Pe){var de=[],me,ye,Ce=O[0],ie=S.shift(),Oe=Lt(ie,{templateUrl:null,transclude:null,replace:null,$$originalDirective:ie}),Le=$e(ie.templateUrl)?ie.templateUrl(O,N):ie.templateUrl,Xe=ie.templateNamespace;return O.empty(),$(Le).then(function(ze){var Ie,Ne,be,He;if(ze=wt(ze),ie.replace){if(ms(ze)?be=[]:be=fa(Ks(Xe,tt(ze))),Ie=be[0],be.length!==1||Ie.nodeType!==yn)throw lt("tplrt","Template for directive '{0}' must have exactly one root element. {1}",ie.name,Le);Ne={$attr:{}},Di(H,O,Ie);var Ve=Sn(Ie,[],Ne);Y(ie.scope)&&Su(Ve,!0),S=Ve.concat(S),_u(N,Ne)}else Ie=Ce,O.html(ze);for(S.unshift(Oe),me=Au(S,Ie,N,ee,O,ie,te,le,Pe),R(H,function(Ot,ln){Ot===Ie&&(H[ln]=O[0])}),ye=Un(O[0].childNodes,ee);de.length;){var ct=de.shift(),ft=de.shift(),at=de.shift(),Je=de.shift(),At=O[0];if(!ct.$$destroyed){if(ft!==Ce){var gt=ft.className;Pe.hasElementTranscludeDirective&&ie.replace||(At=bs(Ie)),Di(at,w(ft),At),Ge(w(At),gt)}me.transcludeOnThisElement?He=sn(ct,me.transclude,Je):He=Je,me(ye,ct,At,H,He)}}de=null}).catch(function(ze){Me(ze)&&m(ze)}),function(Ie,Ne,be,He,Ve){var ct=Ve;Ne.$$destroyed||(de?de.push(Ne,be,He,ct):(me.transcludeOnThisElement&&(ct=sn(Ne,me.transclude,Ve)),me(ye,Ne,be,He,ct)))}}function Fp(S,O){var N=O.priority-S.priority;return N!==0?N:S.name!==O.name?S.name<O.name?-1:1:S.index-O.index}function ar(S,O,N,H){function ee(te){return te?" (module: "+te+")":""}if(O)throw lt("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",O.name,ee(O.$$moduleName),N.name,ee(N.$$moduleName),S,cn(H))}function Dp(S,O){var N=T(O,!0);N&&S.push({priority:0,compile:function(ee){var te=ee.parent(),le=!!te.length;return le&&it.$$addBindingClass(te),function(de,me){var ye=me.parent();le||it.$$addBindingClass(ye),it.$$addBindingInfo(ye,N.expressions),de.$watch(N,function(ie){me[0].nodeValue=ie})}}})}function Ks(S,O){switch(S=ue(S||"html"),S){case"svg":case"math":var N=c.document.createElement("div");return N.innerHTML="<"+S+">"+O+"</"+S+">",N.childNodes[0].childNodes;default:return O}}function Lp(S,O){if(O==="srcdoc")return U.HTML;if(O==="src"||O==="ngSrc")return["img","video","audio","source","track"].indexOf(S)===-1?U.RESOURCE_URL:U.MEDIA_URL;if(O==="xlinkHref")return S==="image"?U.MEDIA_URL:S==="a"?U.URL:U.RESOURCE_URL;if(S==="form"&&O==="action"||S==="base"&&O==="href"||S==="link"&&O==="href")return U.RESOURCE_URL;if(S==="a"&&(O==="href"||O==="ngHref"))return U.URL}function Ip(S,O){var N=O.toLowerCase();return q[S+"|"+N]||q["*|"+N]}function Np(S){return Re(U.valueOf(S),"ng-prop-srcset")}function qp(S,O,N,H){if(o.test(H))throw lt("nodomevents","Property bindings for HTML DOM event properties are disallowed");var ee=en(S),te=Ip(ee,H),le=_t;H==="srcset"&&(ee==="img"||ee==="source")?le=Np:te&&(le=U.getTrusted.bind(U,te)),O.push({priority:100,compile:function(de,me){var ye=C(me[N]),Ce=C(me[N],function(Oe){return U.valueOf(Oe)});return{pre:function(Oe,Le){function Xe(){var ze=ye(Oe);Le[0][H]=le(ze)}Xe(),Oe.$watch(Ce,Xe)}}}})}function Up(S,O,N){S.push(cu(C,x,m,O,N,!1))}function Bp(S,O,N,H,ee){var te=en(S),le=Lp(te,H),Pe=!ee,de=u[H]||ee,me=T(N,Pe,le,de);if(!!me){if(H==="multiple"&&te==="select")throw lt("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",cn(S));if(o.test(H))throw lt("nodomevents","Interpolations for HTML DOM event attributes are disallowed");O.push({priority:100,compile:function(){return{pre:function(Ce,ie,Oe){var Le=Oe.$$observers||(Oe.$$observers=nt()),Xe=Oe[H];Xe!==N&&(me=Xe&&T(Xe,!0,le,de),N=Xe),me&&(Oe[H]=me(Ce),(Le[H]||(Le[H]=[])).$$inter=!0,(Oe.$$observers&&Oe.$$observers[H].$$scope||Ce).$watch(me,function(Ie,Ne){H==="class"&&Ie!==Ne?Oe.$updateClass(Ie,Ne):Oe.$set(H,Ie)}))}}}})}}function Di(S,O,N){var H=O[0],ee=O.length,te=H.parentNode,le,Pe;if(S){for(le=0,Pe=S.length;le<Pe;le++)if(S[le]===H){S[le++]=N;for(var de=le,me=de+ee-1,ye=S.length;de<ye;de++,me++)me<ye?S[de]=S[me]:delete S[de];S.length-=ee-1,S.context===H&&(S.context=N);break}}te&&te.replaceChild(N,H);var Ce=c.document.createDocumentFragment();for(le=0;le<ee;le++)Ce.appendChild(O[le]);for(w.hasData(H)&&(w.data(N,w.data(H)),w(H).off("$destroy")),w.cleanData(Ce.querySelectorAll("*")),le=1;le<ee;le++)delete O[le];O[0]=N,O.length=1}function Tu(S,O){return Fe(function(){return S.apply(null,arguments)},S,O)}function ku(S,O,N,H,ee,te){try{S(O,N,H,ee,te)}catch(le){m(le,cn(N))}}function Li(S,O){if(z)throw lt("missingattr","Attribute '{0}' of '{1}' is non-optional and must be set!",S,O)}function Ou(S,O,N,H,ee){var te=[],le={},Pe;R(H,function(Ce,ie){var Oe=Ce.attrName,Le=Ce.optional,Xe=Ce.mode,ze,Ie,Ne,be,He;switch(Xe){case"@":!Le&&!fe.call(O,Oe)&&(Li(Oe,ee.name),N[ie]=O[Oe]=void 0),He=O.$observe(Oe,function(at){if(V(at)||mn(at)){var Je=N[ie];de(ie,at,Je),N[ie]=at}}),O.$$observers[Oe].$$scope=S,ze=O[Oe],V(ze)?N[ie]=T(ze)(S):mn(ze)&&(N[ie]=ze),le[ie]=new bi(As,N[ie]),te.push(He);break;case"=":if(!fe.call(O,Oe)){if(Le)break;Li(Oe,ee.name),O[Oe]=void 0}if(Le&&!O[Oe])break;Ie=C(O[Oe]),Ie.literal?be=tn:be=cs,Ne=Ie.assign||function(){throw ze=N[ie]=Ie(S),lt("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",O[Oe],Oe,ee.name)},ze=N[ie]=Ie(S);var Ve=function(Je){return be(Je,N[ie])||(be(Je,ze)?Ne(S,Je=N[ie]):N[ie]=Je),ze=Je,ze};Ve.$stateful=!0,Ce.collection?He=S.$watchCollection(O[Oe],Ve):He=S.$watch(C(O[Oe],Ve),null,Ie.literal),te.push(He);break;case"<":if(!fe.call(O,Oe)){if(Le)break;Li(Oe,ee.name),O[Oe]=void 0}if(Le&&!O[Oe])break;Ie=C(O[Oe]);var ct=Ie.literal,ft=N[ie]=Ie(S);le[ie]=new bi(As,N[ie]),He=S[Ce.collection?"$watchCollection":"$watch"](Ie,function(Je,At){if(At===Je){if(At===ft||ct&&tn(At,ft))return;At=ft}de(ie,Je,At),N[ie]=Je}),te.push(He);break;case"&":if(!Le&&!fe.call(O,Oe)&&Li(Oe,ee.name),Ie=O.hasOwnProperty(Oe)?C(O[Oe]):Ae,Ie===Ae&&Le)break;N[ie]=function(at){return Ie(S,at)};break}});function de(ye,Ce,ie){$e(N.$onChanges)&&!cs(Ce,ie)&&(ke||(S.$$postDigest(_e),ke=[]),Pe||(Pe={},ke.push(me)),Pe[ye]&&(ie=Pe[ye].previousValue),Pe[ye]=new bi(ie,Ce))}function me(){N.$onChanges(Pe),Pe=void 0}return{initialChanges:le,removeWatches:te.length&&function(){for(var Ce=0,ie=te.length;Ce<ie;++Ce)te[Ce]()}}}}]}function bi(e,t){this.previousValue=e,this.currentValue=t}bi.prototype.isFirstChange=function(){return this.previousValue===As};var ua=/^((?:x|data)[:\-_])/i,eh=/[:\-_]+(.)/g;function rn(e){return e.replace(ua,"").replace(eh,function(t,n,r){return r?n.toUpperCase():n})}function N$(e,t,n,r){}function q$(e,t,n,r,i){}function ca(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var l=0;l<r.length;l++){for(var u=r[l],a=0;a<i.length;a++)if(u===i[a])continue e;n+=(n.length>0?" ":"")+u}return n}function fa(e){e=w(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===qr||n.nodeType===wn&&n.nodeValue.trim()==="")&&ge.call(e,t,1)}return e}var la=_("$controller"),ha=/^(\S+)(\s+as\s+([\w$]+))?$/;function th(e,t){if(t&&V(t))return t;if(V(e)){var n=ha.exec(e);if(n)return n[3]}}function nh(){var e={};this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){Zn(t,"controller"),Y(t)?Fe(e,t):e[t]=n},this.$get=["$injector",function(t){return function(i,l,u,a){var o,h,d,p;if(u=u===!0,a&&V(a)&&(p=a),V(i)){if(h=i.match(ha),!h)throw la("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",i);if(d=h[1],p=p||h[3],i=e.hasOwnProperty(d)?e[d]:rl(l.$scope,d,!0),!i)throw la("ctrlreg","The controller with the name '{0}' is not registered.",d);ai(i,d,!0)}if(u){var g=(ae(i)?i[i.length-1]:i).prototype;return o=Object.create(g||null),p&&n(l,p,o,d||i.name),Fe(function(){var b=t.invoke(i,o,l,d);return b!==o&&(Y(b)||$e(b))&&(o=b,p&&n(l,p,o,d||i.name)),o},{instance:o,identifier:p})}return o=t.instantiate(i,l,d),p&&n(l,p,o,d||i.name),o};function n(r,i,l,u){if(!(r&&Y(r.$scope)))throw _("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",u,i);r.$scope[i]=l}}]}function rh(){this.$get=["$window",function(e){return w(e.document)}]}function ih(){this.$get=["$document","$rootScope",function(e,t){var n=e[0],r=n&&n.hidden;e.on("visibilitychange",i),t.$on("$destroy",function(){e.off("visibilitychange",i)});function i(){r=n.hidden}return function(){return r}}]}function sh(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}var oh=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof w&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},da="application/json",Ss={"Content-Type":da+";charset=utf-8"},ah=/^\[|^\{(?!\{)/,uh={"[":/]$/,"{":/}$/},ch=/^\)]\}',?\n/,Ci=_("$http");function _s(e){return Y(e)?Ee(e)?e.toISOString():Ir(e):e}function fh(){this.$get=function(){return function(t){if(!t)return"";var n=[];return We(t,function(r,i){r===null||pe(r)||$e(r)||(ae(r)?R(r,function(l){n.push(Wt(i)+"="+Wt(_s(l)))}):n.push(Wt(i)+"="+Wt(_s(r))))}),n.join("&")}}}function lh(){this.$get=function(){return function(t){if(!t)return"";var n=[];return r(t,"",!0),n.join("&");function r(i,l,u){ae(i)?R(i,function(a,o){r(a,l+"["+(Y(a)?o:"")+"]")}):Y(i)&&!Ee(i)?We(i,function(a,o){r(a,l+(u?"":"[")+o+(u?"":"]"))}):($e(i)&&(i=i()),n.push(Wt(l)+"="+(i==null?"":Wt(_s(i)))))}}}}function Ts(e,t){if(V(e)){var n=e.replace(ch,"").trim();if(n){var r=t("Content-Type"),i=r&&r.indexOf(da)===0;if(i||hh(n))try{e=Do(n)}catch(l){if(!i)return e;throw Ci("baddata",'Data must be a valid JSON object. Received: "{0}". Parse error: "{1}"',e,l)}}}return e}function hh(e){var t=e.match(ah);return t&&uh[t[0]].test(e)}function pa(e){var t=nt(),n;function r(i,l){i&&(t[i]=t[i]?t[i]+", "+l:l)}return V(e)?R(e.split(` |
|
`),function(i){n=i.indexOf(":"),r(ue(tt(i.substr(0,n))),tt(i.substr(n+1)))}):Y(e)&&R(e,function(i,l){r(ue(l),tt(i))}),t}function va(e){var t;return function(n){if(t||(t=pa(e)),n){var r=t[ue(n)];return r===void 0&&(r=null),r}return t}}function ga(e,t,n,r){return $e(r)?r(e,t,n):(R(r,function(i){e=i(e,t,n)}),e)}function ks(e){return 200<=e&&e<300}function dh(){var e=this.defaults={transformResponse:[Ts],transformRequest:[function(i){return Y(i)&&!ii(i)&&!Bf(i)&&!Uf(i)?Ir(i):i}],headers:{common:{Accept:"application/json, text/plain, */*"},post:nn(Ss),put:nn(Ss),patch:nn(Ss)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},t=!1;this.useApplyAsync=function(i){return he(i)?(t=!!i,this):t};var n=this.interceptors=[],r=this.xsrfTrustedOrigins=[];Object.defineProperty(this,"xsrfWhitelistedOrigins",{get:function(){return this.xsrfTrustedOrigins},set:function(i){this.xsrfTrustedOrigins=i}}),this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(i,l,u,a,o,h,d,p){var g=a("$http");e.paramSerializer=V(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var y=[];R(n,function(A){y.unshift(V(A)?d.get(A):d.invoke(A))});var b=ad(r);function L(A){if(!Y(A))throw _("$http")("badreq","Http request configuration must be an object. Received: {0}",A);if(!V(p.valueOf(A.url)))throw _("$http")("badreq","Http request configuration url must be a string or a $sce trusted object. Received: {0}",A.url);var T=Fe({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},A);T.headers=P(A),T.method=Te(T.method),T.paramSerializer=V(T.paramSerializer)?d.get(T.paramSerializer):T.paramSerializer,i.$$incOutstandingRequestCount("$http");var m=[],$=[],C=h.resolve(T);return R(y,function(re){(re.request||re.requestError)&&m.unshift(re.request,re.requestError),(re.response||re.responseError)&&$.push(re.response,re.responseError)}),C=E(C,m),C=C.then(W),C=E(C,$),C=C.finally(x),C;function E(re,J){for(var oe=0,ke=J.length;oe<ke;){var _e=J[oe++],Re=J[oe++];re=re.then(_e,Re)}return J.length=0,re}function x(){i.$$completeOutstandingRequest(Ae,"$http")}function U(re,J){var oe,ke={};return R(re,function(_e,Re){$e(_e)?(oe=_e(J),oe!=null&&(ke[Re]=oe)):ke[Re]=_e}),ke}function P(re){var J=e.headers,oe=Fe({},re.headers),ke,_e,Re;J=Fe({},J.common,J[ue(re.method)]);e:for(ke in J){_e=ue(ke);for(Re in oe)if(ue(Re)===_e)continue e;oe[ke]=J[ke]}return U(oe,nn(re))}function W(re){var J=re.headers,oe=ga(re.data,va(J),void 0,re.transformRequest);return pe(oe)&&R(J,function(ke,_e){ue(_e)==="content-type"&&delete J[_e]}),pe(re.withCredentials)&&!pe(e.withCredentials)&&(re.withCredentials=e.withCredentials),D(re,oe).then(Q,Q)}function Q(re){var J=Fe({},re);return J.data=ga(re.data,re.headers,re.status,T.transformResponse),ks(re.status)?J:h.reject(J)}}return L.pendingRequests=[],z("get","delete","head","jsonp"),I("post","put","patch"),L.defaults=e,L;function z(A){R(arguments,function(T){L[T]=function(m,$){return L(Fe({},$||{},{method:T,url:m}))}})}function I(A){R(arguments,function(T){L[T]=function(m,$,C){return L(Fe({},C||{},{method:T,url:m,data:$}))}})}function D(A,T){var m=h.defer(),$=m.promise,C,E,x=A.headers,U=ue(A.method)==="jsonp",P=A.url;if(U?P=p.getTrustedResourceUrl(P):V(P)||(P=p.valueOf(P)),P=F(P,A.paramSerializer(A.params)),U&&(P=q(P,A.jsonpCallbackParam)),L.pendingRequests.push(A),$.then(ke,ke),(A.cache||e.cache)&&A.cache!==!1&&(A.method==="GET"||A.method==="JSONP")&&(C=Y(A.cache)?A.cache:Y(e.cache)?e.cache:g),C&&(E=C.get(P),he(E)?si(E)?E.then(oe,oe):ae(E)?J(E[1],E[0],nn(E[2]),E[3],E[4]):J(E,200,{},"OK","complete"):C.put(P,$)),pe(E)){var W=b(A.url)?u()[A.xsrfCookieName||e.xsrfCookieName]:void 0;W&&(x[A.xsrfHeaderName||e.xsrfHeaderName]=W),l(A.method,P,T,re,x,A.timeout,A.withCredentials,A.responseType,Q(A.eventHandlers),Q(A.uploadEventHandlers))}return $;function Q(_e){if(_e){var Re={};return R(_e,function(Ue,Be){Re[Be]=function(Ge){t?o.$applyAsync(ot):o.$$phase?ot():o.$apply(ot);function ot(){Ue(Ge)}}}),Re}}function re(_e,Re,Ue,Be,Ge){C&&(ks(_e)?C.put(P,[_e,Re,pa(Ue),Be,Ge]):C.remove(P));function ot(){J(Re,_e,Ue,Be,Ge)}t?o.$applyAsync(ot):(ot(),o.$$phase||o.$apply())}function J(_e,Re,Ue,Be,Ge){Re=Re>=-1?Re:0,(ks(Re)?m.resolve:m.reject)({data:_e,status:Re,headers:va(Ue),config:A,statusText:Be,xhrStatus:Ge})}function oe(_e){J(_e.data,_e.status,nn(_e.headers()),_e.statusText,_e.xhrStatus)}function ke(){var _e=L.pendingRequests.indexOf(A);_e!==-1&&L.pendingRequests.splice(_e,1)}}function F(A,T){return T.length>0&&(A+=(A.indexOf("?")===-1?"?":"&")+T),A}function q(A,T){var m=A.split("?");if(m.length>2)throw Ci("badjsonp",'Illegal use more than one "?", in url, "{1}"',A);var $=hs(m[1]);return R($,function(C,E){if(C==="JSON_CALLBACK")throw Ci("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',A);if(E===T)throw Ci("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',T,A)}),A+=(A.indexOf("?")===-1?"?":"&")+T+"=JSON_CALLBACK",A}}]}function ph(){this.$get=function(){return function(){return new c.XMLHttpRequest}}}function vh(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return gh(e,r,e.defer,t,n[0])}]}function gh(e,t,n,r,i){return function(u,a,o,h,d,p,g,y,b,L){if(a=a||e.url(),ue(u)==="jsonp")var z=r.createCallback(a),I=l(a,z,function(E,x){var U=E===200&&r.getResponse(z);C(h,E,U,"",x,"complete"),r.removeCallback(z)});else{var D=t(u,a),F=!1;D.open(u,a,!0),R(d,function(E,x){he(E)&&D.setRequestHeader(x,E)}),D.onload=function(){var x=D.statusText||"",U="response"in D?D.response:D.responseText,P=D.status===1223?204:D.status;P===0&&(P=U?200:It(a).protocol==="file"?404:0),C(h,P,U,D.getAllResponseHeaders(),x,"complete")};var q=function(){C(h,-1,null,null,"","error")},A=function(){C(h,-1,null,null,"",F?"timeout":"abort")},T=function(){C(h,-1,null,null,"","timeout")};if(D.onerror=q,D.ontimeout=T,D.onabort=A,R(b,function(E,x){D.addEventListener(x,E)}),R(L,function(E,x){D.upload.addEventListener(x,E)}),g&&(D.withCredentials=!0),y)try{D.responseType=y}catch(E){if(y!=="json")throw E}D.send(pe(o)?null:o)}if(p>0)var m=n(function(){$("timeout")},p);else si(p)&&p.then(function(){$(he(p.$$timeoutId)?"timeout":"abort")});function $(E){F=E==="timeout",I&&I(),D&&D.abort()}function C(E,x,U,P,W,Q){he(m)&&n.cancel(m),I=D=null,E(x,U,P,W,Q)}};function l(u,a,o){u=u.replace("JSON_CALLBACK",a);var h=i.createElement("script"),d=null;return h.type="text/javascript",h.src=u,h.async=!0,d=function(p){h.removeEventListener("load",d),h.removeEventListener("error",d),i.body.removeChild(h),h=null;var g=-1,y="unknown";p&&(p.type==="load"&&!r.wasCalled(a)&&(p={type:"error"}),y=p.type,g=p.type==="error"?404:200),o&&o(g,y)},h.addEventListener("load",d),h.addEventListener("error",d),i.body.appendChild(h),d}}var Dn=ce.$interpolateMinErr=_("$interpolate");Dn.throwNoconcat=function(e){throw Dn("noconcat",`Error while interpolating: {0} |
|
Strict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required. See http://docs.angularjs.org/api/ng.$sce`,e)},Dn.interr=function(e,t){return Dn("interr",`Can't interpolate: {0} |
|
{1}`,e,t.toString())};function $h(){var e="{{",t="}}";this.startSymbol=function(n){return n?(e=n,this):e},this.endSymbol=function(n){return n?(t=n,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){var l=e.length,u=t.length,a=new RegExp(e.replace(/./g,h),"g"),o=new RegExp(t.replace(/./g,h),"g");function h(y){return"\\\\\\"+y}function d(y){return y.replace(a,e).replace(o,t)}function p(y,b,L,z){var I=y.$watch(function(F){return I(),z(F)},b,L);return I}function g(y,b,L,z){var I=L===i.URL||L===i.MEDIA_URL;if(!y.length||y.indexOf(e)===-1){if(b)return;var D=d(y);I&&(D=i.getTrusted(L,D));var F=st(D);return F.exp=y,F.expressions=[],F.$$watchDelegate=p,F}z=!!z;for(var q,A,T=0,m=[],$,C=y.length,E,x=[],U=[],P;T<C;)if((q=y.indexOf(e,T))!==-1&&(A=y.indexOf(t,q+l))!==-1)T!==q&&x.push(d(y.substring(T,q))),E=y.substring(q+l,A),m.push(E),T=A+u,U.push(x.length),x.push("");else{T!==C&&x.push(d(y.substring(T)));break}P=x.length===1&&U.length===1;var W=I&&P?void 0:re;if($=m.map(function(J){return n(J,W)}),!b||m.length){var Q=function(J){for(var oe=0,ke=m.length;oe<ke;oe++){if(z&&pe(J[oe]))return;x[U[oe]]=J[oe]}return I?i.getTrusted(L,P?x[0]:x.join("")):(L&&x.length>1&&Dn.throwNoconcat(y),x.join(""))};return Fe(function(oe){var ke=0,_e=m.length,Re=new Array(_e);try{for(;ke<_e;ke++)Re[ke]=$[ke](oe);return Q(Re)}catch(Ue){r(Dn.interr(y,Ue))}},{exp:y,expressions:m,$$watchDelegate:function(J,oe){var ke;return J.$watchGroup($,function(Re,Ue){var Be=Q(Re);oe.call(this,Be,Re!==Ue?ke:Be,J),ke=Be})}})}function re(J){try{return J=L&&!I?i.getTrusted(L,J):i.valueOf(J),z&&!he(J)?J:ps(J)}catch(oe){r(Dn.interr(y,oe))}}}return g.startSymbol=function(){return e},g.endSymbol=function(){return t},g}]}var mh=_("$interval");function yh(){this.$get=["$$intervalFactory","$window",function(e,t){var n={},r=function(u,a,o){var h=t.setInterval(u,a);return n[h]=o,h},i=function(u){t.clearInterval(u),delete n[u]},l=e(r,i);return l.cancel=function(u){if(!u)return!1;if(!u.hasOwnProperty("$$intervalId"))throw mh("badprom","`$interval.cancel()` called with a promise that was not generated by `$interval()`.");if(!n.hasOwnProperty(u.$$intervalId))return!1;var a=u.$$intervalId,o=n[a];return Pa(o.promise),o.reject("canceled"),i(a),!0},l}]}function bh(){this.$get=["$browser","$q","$$q","$rootScope",function(e,t,n,r){return function(l,u){return function(o,h,d,p){var g=arguments.length>4,y=g?Lr(arguments,4):[],b=0,L=he(p)&&!p,z=(L?n:t).defer(),I=z.promise;d=he(d)?d:0;function D(){g?o.apply(null,y):o(b)}function F(){L?e.defer(D):r.$evalAsync(D),z.notify(b++),d>0&&b>=d&&(z.resolve(b),u(I.$$intervalId)),L||r.$apply()}return I.$$intervalId=l(F,h,z,L),I}}}]}var Ch=function(){this.$get=function(){var e=ce.callbacks,t={};function n(r){var i=function(l){i.data=l,i.called=!0};return i.id=r,i}return{createCallback:function(r){var i="_"+(e.$$counter++).toString(36),l="angular.callbacks."+i,u=n(i);return t[l]=e[i]=u,l},wasCalled:function(r){return t[r].called},getResponse:function(r){return t[r].data},removeCallback:function(r){var i=t[r];delete e[i.id],delete t[r]}}}},Eh=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,wh={http:80,https:443,ftp:21},jr=_("$location");function Ah(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ds(t[n].replace(/%2F/g,"/"));return t.join("/")}function Sh(e,t){for(var n=e.split("/"),r=n.length;r--;)n[r]=decodeURIComponent(n[r]),t&&(n[r]=n[r].replace(/\//g,"%2F"));return n.join("/")}function _h(e,t,n){var r=Gf(t),i=n?"#"+ds(n):"",l=Ah(e);return l+(r?"?"+r:"")+i}function $a(e,t){var n=It(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=Ye(n.port)||wh[n.protocol]||null}var Th=/^\s*[\\/]{2,}/;function ma(e,t,n){if(Th.test(e))throw jr("badpath",'Invalid url "{0}".',e);var r=e.charAt(0)!=="/";r&&(e="/"+e);var i=It(e),l=r&&i.pathname.charAt(0)==="/"?i.pathname.substring(1):i.pathname;t.$$path=Sh(l,n),t.$$search=hs(i.search),t.$$hash=decodeURIComponent(i.hash),t.$$path&&t.$$path.charAt(0)!=="/"&&(t.$$path="/"+t.$$path)}function Os(e,t){return e.slice(0,t.length)===t}function bn(e,t){if(Os(t,e))return t.substr(e.length)}function Ln(e){var t=e.indexOf("#");return t===-1?e:e.substr(0,t)}function kh(e){return e.substr(0,Ln(e).lastIndexOf("/")+1)}function Oh(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function xs(e,t,n){this.$$html5=!0,n=n||"",$a(e,this),this.$$parse=function(r){var i=bn(t,r);if(!V(i))throw jr("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',r,t);ma(i,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$normalizeUrl=function(r){return t+r.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&i[0]==="#")return this.hash(i.slice(1)),!0;var l,u,a;return he(l=bn(e,r))?(u=l,n&&he(l=bn(n,l))?a=t+(bn("/",l)||l):a=e+u):he(l=bn(t,r))?a=t+l:t===r+"/"&&(a=t),a&&this.$$parse(a),!!a}}function Ms(e,t,n){$a(e,this),this.$$parse=function(r){var i=bn(e,r)||bn(t,r),l;!pe(i)&&i.charAt(0)==="#"?(l=bn(n,i),pe(l)&&(l=i)):this.$$html5?l=i:(l="",pe(i)&&(e=r,this.replace())),ma(l,this,!1),this.$$path=u(this.$$path,l,e),this.$$compose();function u(a,o,h){var d=/^\/[A-Z]:(\/.*)/,p;return Os(o,h)&&(o=o.replace(h,"")),d.exec(o)?a:(p=d.exec(a),p?p[1]:a)}},this.$$normalizeUrl=function(r){return e+(r?n+r:"")},this.$$parseLinkUrl=function(r,i){return Ln(e)===Ln(r)?(this.$$parse(r),!0):!1}}function ya(e,t,n){this.$$html5=!0,Ms.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&i[0]==="#")return this.hash(i.slice(1)),!0;var l,u;return e===Ln(r)?l=r:(u=bn(t,r))?l=e+n+u:t===r+"/"&&(l=t),l&&this.$$parse(l),!!l},this.$$normalizeUrl=function(r){return e+n+r}}var xh={$$absUrl:"",$$html5:!1,$$replace:!1,$$compose:function(){this.$$url=_h(this.$$path,this.$$search,this.$$hash),this.$$absUrl=this.$$normalizeUrl(this.$$url),this.$$urlUpdatedByLocation=!0},absUrl:Ei("$$absUrl"),url:function(e){if(pe(e))return this.$$url;var t=Eh.exec(e);return(t[1]||e==="")&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||e==="")&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:Ei("$$protocol"),host:Ei("$$host"),port:Ei("$$port"),path:ba("$$path",function(e){return e=e!==null?e.toString():"",e.charAt(0)==="/"?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(V(e)||ve(e))e=e.toString(),this.$$search=hs(e);else if(Y(e))e=Mn(e,{}),R(e,function(n,r){n==null&&delete e[r]}),this.$$search=e;else throw jr("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");break;default:pe(t)||t===null?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:ba("$$hash",function(e){return e!==null?e.toString():""}),replace:function(){return this.$$replace=!0,this}};R([ya,Ms,xs],function(e){e.prototype=Object.create(xh),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==xs||!this.$$html5)throw jr("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=pe(t)?null:t,this.$$urlUpdatedByLocation=!0,this}});function Ei(e){return function(){return this[e]}}function ba(e,t){return function(n){return pe(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Mh(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(n){return he(n)?(e=n,this):e},this.html5Mode=function(n){return mn(n)?(t.enabled=n,this):Y(n)?(mn(n.enabled)&&(t.enabled=n.enabled),mn(n.requireBase)&&(t.requireBase=n.requireBase),(mn(n.rewriteLinks)||V(n.rewriteLinks))&&(t.rewriteLinks=n.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,l,u){var a,o,h=r.baseHref(),d=r.url(),p;if(t.enabled){if(!h&&t.requireBase)throw jr("nobase","$location in HTML5 mode requires a <base> tag to be present!");p=Oh(d)+(h||"/"),o=i.history?xs:ya}else p=Ln(d),o=Ms;var g=kh(p);a=new o(p,g,"#"+e),a.$$parseLinkUrl(d,d),a.$$state=r.state();var y=/^\s*(javascript|mailto):/i;function b(D,F){return D===F||It(D).href===It(F).href}function L(D,F,q){var A=a.url(),T=a.$$state;try{r.url(D,F,q),a.$$state=r.state()}catch(m){throw a.url(A),a.$$state=T,m}}l.on("click",function(D){var F=t.rewriteLinks;if(!(!F||D.ctrlKey||D.metaKey||D.shiftKey||D.which===2||D.button===2)){for(var q=w(D.target);en(q[0])!=="a";)if(q[0]===l[0]||!(q=q.parent())[0])return;if(!(V(F)&&pe(q.attr(F)))){var A=q.prop("href"),T=q.attr("href")||q.attr("xlink:href");Y(A)&&A.toString()==="[object SVGAnimatedString]"&&(A=It(A.animVal).href),!y.test(A)&&A&&!q.attr("target")&&!D.isDefaultPrevented()&&a.$$parseLinkUrl(A,T)&&(D.preventDefault(),a.absUrl()!==r.url()&&n.$apply())}}}),a.absUrl()!==d&&r.url(a.absUrl(),!0);var z=!0;return r.onUrlChange(function(D,F){if(!Os(D,g)){u.location.href=D;return}n.$evalAsync(function(){var q=a.absUrl(),A=a.$$state,T;a.$$parse(D),a.$$state=F,T=n.$broadcast("$locationChangeStart",D,q,F,A).defaultPrevented,a.absUrl()===D&&(T?(a.$$parse(q),a.$$state=A,L(q,!1,A)):(z=!1,I(q,A)))}),n.$$phase||n.$digest()}),n.$watch(function(){if(z||a.$$urlUpdatedByLocation){a.$$urlUpdatedByLocation=!1;var F=r.url(),q=a.absUrl(),A=r.state(),T=a.$$replace,m=!b(F,q)||a.$$html5&&i.history&&A!==a.$$state;(z||m)&&(z=!1,n.$evalAsync(function(){var $=a.absUrl(),C=n.$broadcast("$locationChangeStart",$,F,a.$$state,A).defaultPrevented;a.absUrl()===$&&(C?(a.$$parse(F),a.$$state=A):(m&&L($,T,A===a.$$state?null:a.$$state),I(F,A)))}))}a.$$replace=!1}),a;function I(D,F){n.$broadcast("$locationChangeSuccess",a.absUrl(),D,a.$$state,F)}}]}function Ph(){var e=!0,t=this;this.debugEnabled=function(n){return he(n)?(e=n,this):e},this.$get=["$window",function(n){var r=k||/\bEdge\//.test(n.navigator&&n.navigator.userAgent);return{log:l("log"),info:l("info"),warn:l("warn"),error:l("error"),debug:function(){var u=l("debug");return function(){e&&u.apply(t,arguments)}}()};function i(u){return Me(u)&&(u.stack&&r?u=u.message&&u.stack.indexOf(u.message)===-1?"Error: "+u.message+` |
|
`+u.stack:u.stack:u.sourceURL&&(u=u.message+` |
|
`+u.sourceURL+":"+u.line)),u}function l(u){var a=n.console||{},o=a[u]||a.log||Ae;return function(){var h=[];return R(arguments,function(d){h.push(i(d))}),Function.prototype.apply.call(o,a,h)}}}]}var nr=_("$parse"),Rh={}.constructor.prototype.valueOf;function Ca(e){return e+""}var wi=nt();R("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){wi[e]=!0});var Fh={n:` |
|
`,f:"\f",r:"\r",t:" ",v:"\v","'":"'",'"':'"'},Ai=function(t){this.options=t};Ai.prototype={constructor:Ai,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if(t==='"'||t==="'")this.readString(t);else if(this.isNumber(t)||t==="."&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),i=wi[t],l=wi[n],u=wi[r];if(i||l||u){var a=u?r:l?n:t;this.tokens.push({index:this.index,text:a,operator:!0}),this.index+=a.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return t.indexOf(e)!==-1},peek:function(e){var t=e||1;return this.index+t<this.text.length?this.text.charAt(this.index+t):!1},isNumber:function(e){return"0"<=e&&e<="9"&&typeof e=="string"},isWhitespace:function(e){return e===" "||e==="\r"||e===" "||e===` |
|
`||e==="\v"||e==="\xA0"},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&e<="z"||"A"<=e&&e<="Z"||e==="_"||e==="$"},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return e.length===1?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return n>=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){return e==="-"||e==="+"||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=he(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw nr("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=ue(this.text.charAt(this.index));if(n==="."||this.isNumber(n))e+=n;else{var r=this.peek();if(n==="e"&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&e.charAt(e.length-1)==="e")e+=n;else if(this.isExpOperator(n)&&(!r||!this.isNumber(r))&&e.charAt(e.length-1)==="e")this.throwError("Invalid exponent");else break}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var l=this.text.charAt(this.index);if(r+=l,i){if(l==="u"){var u=this.text.substring(this.index+1,this.index+5);u.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+u+"]"),this.index+=4,n+=String.fromCharCode(parseInt(u,16))}else{var a=Fh[l];n=n+(a||l)}i=!1}else if(l==="\\")i=!0;else if(l===e){this.index++,this.tokens.push({index:t,text:r,constant:!0,value:n});return}else n+=l;this.index++}this.throwError("Unterminated quote",t)}};var ne=function(t,n){this.lexer=t,this.options=n};ne.Program="Program",ne.ExpressionStatement="ExpressionStatement",ne.AssignmentExpression="AssignmentExpression",ne.ConditionalExpression="ConditionalExpression",ne.LogicalExpression="LogicalExpression",ne.BinaryExpression="BinaryExpression",ne.UnaryExpression="UnaryExpression",ne.CallExpression="CallExpression",ne.MemberExpression="MemberExpression",ne.Identifier="Identifier",ne.Literal="Literal",ne.ArrayExpression="ArrayExpression",ne.Property="Property",ne.ObjectExpression="ObjectExpression",ne.ThisExpression="ThisExpression",ne.LocalsExpression="LocalsExpression",ne.NGValueParameter="NGValueParameter",ne.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return this.tokens.length!==0&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:ne.Program,body:e}},expressionStatement:function(){return{type:ne.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!_a(e))throw nr("lval","Trying to assign a value to a non l-value");e={type:ne.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e=this.logicalOR(),t,n;return this.expect("?")&&(t=this.expression(),this.consume(":"))?(n=this.expression(),{type:ne.ConditionalExpression,test:e,alternate:t,consequent:n}):e},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:ne.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:ne.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e=this.relational(),t;t=this.expect("==","!=","===","!==");)e={type:ne.BinaryExpression,operator:t.text,left:e,right:this.relational()};return e},relational:function(){for(var e=this.additive(),t;t=this.expect("<",">","<=",">=");)e={type:ne.BinaryExpression,operator:t.text,left:e,right:this.additive()};return e},additive:function(){for(var e=this.multiplicative(),t;t=this.expect("+","-");)e={type:ne.BinaryExpression,operator:t.text,left:e,right:this.multiplicative()};return e},multiplicative:function(){for(var e=this.unary(),t;t=this.expect("*","/","%");)e={type:ne.BinaryExpression,operator:t.text,left:e,right:this.unary()};return e},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:ne.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=Mn(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:ne.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)t.text==="("?(e={type:ne.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):t.text==="["?(e={type:ne.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):t.text==="."?e={type:ne.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:ne.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(this.peekToken().text!==")")do e.push(this.filterChain());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:ne.Identifier,name:e.text}},constant:function(){return{type:ne.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if(this.peekToken().text!=="]")do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:ne.ArrayExpression,elements:e}},object:function(){var e=[],t;if(this.peekToken().text!=="}")do{if(this.peek("}"))break;t={type:ne.Property,kind:"init"},this.peek().constant?(t.key=this.constant(),t.computed=!1,this.consume(":"),t.value=this.expression()):this.peek().identifier?(t.key=this.identifier(),t.computed=!1,this.peek(":")?(this.consume(":"),t.value=this.expression()):t.value=t.key):this.peek("[")?(this.consume("["),t.key=this.expression(),this.consume("]"),t.computed=!0,this.consume(":"),t.value=this.expression()):this.throwError("invalid key",this.peek()),e.push(t)}while(this.expect(","));return this.consume("}"),{type:ne.ObjectExpression,properties:e}},throwError:function(e,t){throw nr("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(this.tokens.length===0)throw nr("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(this.tokens.length===0)throw nr("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var l=this.tokens[e],u=l.text;if(u===t||u===n||u===r||u===i||!t&&!n&&!r&&!i)return l}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},selfReferential:{this:{type:ne.ThisExpression},$locals:{type:ne.LocalsExpression}}};function Dh(e,t){return typeof e<"u"?e:t}function Ea(e,t){return typeof e>"u"?t:typeof t>"u"?e:e+t}function Lh(e,t){var n=e(t);return!n.$stateful}var wa=1,Aa=2;function Ih(e,t){switch(e.type){case ne.MemberExpression:if(e.computed)return!1;break;case ne.UnaryExpression:return wa;case ne.BinaryExpression:return e.operator!=="+"?wa:!1;case ne.CallExpression:return!1}return t===void 0?Aa:t}function yt(e,t,n){var r,i,l,u=e.isPure=Ih(e,n);switch(e.type){case ne.Program:r=!0,R(e.body,function(a){yt(a.expression,t,u),r=r&&a.expression.constant}),e.constant=r;break;case ne.Literal:e.constant=!0,e.toWatch=[];break;case ne.UnaryExpression:yt(e.argument,t,u),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case ne.BinaryExpression:yt(e.left,t,u),yt(e.right,t,u),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case ne.LogicalExpression:yt(e.left,t,u),yt(e.right,t,u),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case ne.ConditionalExpression:yt(e.test,t,u),yt(e.alternate,t,u),yt(e.consequent,t,u),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case ne.Identifier:e.constant=!1,e.toWatch=[e];break;case ne.MemberExpression:yt(e.object,t,u),e.computed&&yt(e.property,t,u),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=e.constant?[]:[e];break;case ne.CallExpression:l=e.filter?Lh(t,e.callee.name):!1,r=l,i=[],R(e.arguments,function(a){yt(a,t,u),r=r&&a.constant,i.push.apply(i,a.toWatch)}),e.constant=r,e.toWatch=l?i:[e];break;case ne.AssignmentExpression:yt(e.left,t,u),yt(e.right,t,u),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case ne.ArrayExpression:r=!0,i=[],R(e.elements,function(a){yt(a,t,u),r=r&&a.constant,i.push.apply(i,a.toWatch)}),e.constant=r,e.toWatch=i;break;case ne.ObjectExpression:r=!0,i=[],R(e.properties,function(a){yt(a.value,t,u),r=r&&a.value.constant,i.push.apply(i,a.value.toWatch),a.computed&&(yt(a.key,t,!1),r=r&&a.key.constant,i.push.apply(i,a.key.toWatch))}),e.constant=r,e.toWatch=i;break;case ne.ThisExpression:e.constant=!1,e.toWatch=[];break;case ne.LocalsExpression:e.constant=!1,e.toWatch=[];break}}function Sa(e){if(e.length===1){var t=e[0].expression,n=t.toWatch;return n.length!==1||n[0]!==t?n:void 0}}function _a(e){return e.type===ne.Identifier||e.type===ne.MemberExpression}function Ta(e){if(e.body.length===1&&_a(e.body[0].expression))return{type:ne.AssignmentExpression,left:e.body[0].expression,right:{type:ne.NGValueParameter},operator:"="}}function Nh(e){return e.body.length===0||e.body.length===1&&(e.body[0].expression.type===ne.Literal||e.body[0].expression.type===ne.ArrayExpression||e.body[0].expression.type===ne.ObjectExpression)}function qh(e){return e.constant}function ka(e){this.$filter=e}ka.prototype={compile:function(e){var t=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},yt(e,t.$filter);var n="",r;if(this.stage="assign",r=Ta(e)){this.state.computing="assign";var i=this.nextId();this.recurse(r,i),this.return_(i),n="fn.assign="+this.generateFunction("assign","s,v,l")}var l=Sa(e.body);t.stage="inputs",R(l,function(o,h){var d="fn"+h;t.state[d]={vars:[],body:[],own:{}},t.state.computing=d;var p=t.nextId();t.recurse(o,p),t.return_(p),t.state.inputs.push({name:d,isPure:o.isPure}),o.watchId=h}),this.state.computing="fn",this.stage="main",this.recurse(e);var u='"'+this.USE+" "+this.STRICT+`"; |
|
`+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+n+this.watchFns()+"return fn;",a=new Function("$filter","getStringValue","ifDefined","plus",u)(this.$filter,Ca,Dh,Ea);return this.state=this.stage=void 0,a},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return R(t,function(r){e.push("var "+r.name+"="+n.generateFunction(r.name,"s")),r.isPure&&e.push(r.name,".isPure="+JSON.stringify(r.isPure)+";")}),t.length&&e.push("fn.inputs=["+t.map(function(r){return r.name}).join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return R(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,r,i,l){var u,a,o=this,h,d,p;if(r=r||Ae,!l&&he(e.watchId)){t=t||this.nextId(),this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,r,i,!0));return}switch(e.type){case ne.Program:R(e.body,function(g,y){o.recurse(g.expression,void 0,void 0,function(b){a=b}),y!==e.body.length-1?o.current().body.push(a,";"):o.return_(a)});break;case ne.Literal:d=this.escape(e.value),this.assign(t,d),r(t||d);break;case ne.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(g){a=g}),d=e.operator+"("+this.ifDefined(a,0)+")",this.assign(t,d),r(d);break;case ne.BinaryExpression:this.recurse(e.left,void 0,void 0,function(g){u=g}),this.recurse(e.right,void 0,void 0,function(g){a=g}),e.operator==="+"?d=this.plus(u,a):e.operator==="-"?d=this.ifDefined(u,0)+e.operator+this.ifDefined(a,0):d="("+u+")"+e.operator+"("+a+")",this.assign(t,d),r(d);break;case ne.LogicalExpression:t=t||this.nextId(),o.recurse(e.left,t),o.if_(e.operator==="&&"?t:o.not(t),o.lazyRecurse(e.right,t)),r(t);break;case ne.ConditionalExpression:t=t||this.nextId(),o.recurse(e.test,t),o.if_(t,o.lazyRecurse(e.alternate,t),o.lazyRecurse(e.consequent,t)),r(t);break;case ne.Identifier:t=t||this.nextId(),n&&(n.context=o.stage==="inputs"?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),o.if_(o.stage==="inputs"||o.not(o.getHasOwnProperty("l",e.name)),function(){o.if_(o.stage==="inputs"||"s",function(){i&&i!==1&&o.if_(o.isNull(o.nonComputedMember("s",e.name)),o.lazyAssign(o.nonComputedMember("s",e.name),"{}")),o.assign(t,o.nonComputedMember("s",e.name))})},t&&o.lazyAssign(t,o.nonComputedMember("l",e.name))),r(t);break;case ne.MemberExpression:u=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),o.recurse(e.object,u,void 0,function(){o.if_(o.notNull(u),function(){e.computed?(a=o.nextId(),o.recurse(e.property,a),o.getStringValue(a),i&&i!==1&&o.if_(o.not(o.computedMember(u,a)),o.lazyAssign(o.computedMember(u,a),"{}")),d=o.computedMember(u,a),o.assign(t,d),n&&(n.computed=!0,n.name=a)):(i&&i!==1&&o.if_(o.isNull(o.nonComputedMember(u,e.property.name)),o.lazyAssign(o.nonComputedMember(u,e.property.name),"{}")),d=o.nonComputedMember(u,e.property.name),o.assign(t,d),n&&(n.computed=!1,n.name=e.property.name))},function(){o.assign(t,"undefined")}),r(t)},!!i);break;case ne.CallExpression:t=t||this.nextId(),e.filter?(a=o.filter(e.callee.name),h=[],R(e.arguments,function(g){var y=o.nextId();o.recurse(g,y),h.push(y)}),d=a+"("+h.join(",")+")",o.assign(t,d),r(t)):(a=o.nextId(),u={},h=[],o.recurse(e.callee,a,u,function(){o.if_(o.notNull(a),function(){R(e.arguments,function(g){o.recurse(g,e.constant?void 0:o.nextId(),void 0,function(y){h.push(y)})}),u.name?d=o.member(u.context,u.name,u.computed)+"("+h.join(",")+")":d=a+"("+h.join(",")+")",o.assign(t,d)},function(){o.assign(t,"undefined")}),r(t)}));break;case ne.AssignmentExpression:a=this.nextId(),u={},this.recurse(e.left,void 0,u,function(){o.if_(o.notNull(u.context),function(){o.recurse(e.right,a),d=o.member(u.context,u.name,u.computed)+e.operator+a,o.assign(t,d),r(t||d)})},1);break;case ne.ArrayExpression:h=[],R(e.elements,function(g){o.recurse(g,e.constant?void 0:o.nextId(),void 0,function(y){h.push(y)})}),d="["+h.join(",")+"]",this.assign(t,d),r(t||d);break;case ne.ObjectExpression:h=[],p=!1,R(e.properties,function(g){g.computed&&(p=!0)}),p?(t=t||this.nextId(),this.assign(t,"{}"),R(e.properties,function(g){g.computed?(u=o.nextId(),o.recurse(g.key,u)):u=g.key.type===ne.Identifier?g.key.name:""+g.key.value,a=o.nextId(),o.recurse(g.value,a),o.assign(o.member(t,u,g.computed),a)})):(R(e.properties,function(g){o.recurse(g.value,e.constant?void 0:o.nextId(),void 0,function(y){h.push(o.escape(g.key.type===ne.Identifier?g.key.name:""+g.key.value)+":"+y)})}),d="{"+h.join(",")+"}",this.assign(t,d)),r(t||d);break;case ne.ThisExpression:this.assign(t,"s"),r(t||"s");break;case ne.LocalsExpression:this.assign(t,"l"),r(t||"l");break;case ne.NGValueParameter:this.assign(t,"v"),r(t||"v");break}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){if(!!e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(e===!0)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/^[$_a-zA-Z][$_a-zA-Z0-9]*$/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},lazyRecurse:function(e,t,n,r,i,l){var u=this;return function(){u.recurse(e,t,n,r,i,l)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(V(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(ve(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(e===null)return"null";if(typeof e>"u")return"undefined";throw nr("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}};function Oa(e){this.$filter=e}Oa.prototype={compile:function(e){var t=this;yt(e,t.$filter);var n,r;(n=Ta(e))&&(r=this.recurse(n));var i=Sa(e.body),l;i&&(l=[],R(i,function(o,h){var d=t.recurse(o);d.isPure=o.isPure,o.input=d,l.push(d),o.watchId=h}));var u=[];R(e.body,function(o){u.push(t.recurse(o.expression))});var a=e.body.length===0?Ae:e.body.length===1?u[0]:function(o,h){var d;return R(u,function(p){d=p(o,h)}),d};return r&&(a.assign=function(o,h,d){return r(o,d,h)}),l&&(a.inputs=l),a},recurse:function(e,t,n){var r,i,l=this,u;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case ne.Literal:return this.value(e.value,t);case ne.UnaryExpression:return i=this.recurse(e.argument),this["unary"+e.operator](i,t);case ne.BinaryExpression:return r=this.recurse(e.left),i=this.recurse(e.right),this["binary"+e.operator](r,i,t);case ne.LogicalExpression:return r=this.recurse(e.left),i=this.recurse(e.right),this["binary"+e.operator](r,i,t);case ne.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case ne.Identifier:return l.identifier(e.name,t,n);case ne.MemberExpression:return r=this.recurse(e.object,!1,!!n),e.computed||(i=e.property.name),e.computed&&(i=this.recurse(e.property)),e.computed?this.computedMember(r,i,t,n):this.nonComputedMember(r,i,t,n);case ne.CallExpression:return u=[],R(e.arguments,function(a){u.push(l.recurse(a))}),e.filter&&(i=this.$filter(e.callee.name)),e.filter||(i=this.recurse(e.callee,!0)),e.filter?function(a,o,h,d){for(var p=[],g=0;g<u.length;++g)p.push(u[g](a,o,h,d));var y=i.apply(void 0,p,d);return t?{context:void 0,name:void 0,value:y}:y}:function(a,o,h,d){var p=i(a,o,h,d),g;if(p.value!=null){for(var y=[],b=0;b<u.length;++b)y.push(u[b](a,o,h,d));g=p.value.apply(p.context,y)}return t?{value:g}:g};case ne.AssignmentExpression:return r=this.recurse(e.left,!0,1),i=this.recurse(e.right),function(a,o,h,d){var p=r(a,o,h,d),g=i(a,o,h,d);return p.context[p.name]=g,t?{value:g}:g};case ne.ArrayExpression:return u=[],R(e.elements,function(a){u.push(l.recurse(a))}),function(a,o,h,d){for(var p=[],g=0;g<u.length;++g)p.push(u[g](a,o,h,d));return t?{value:p}:p};case ne.ObjectExpression:return u=[],R(e.properties,function(a){a.computed?u.push({key:l.recurse(a.key),computed:!0,value:l.recurse(a.value)}):u.push({key:a.key.type===ne.Identifier?a.key.name:""+a.key.value,computed:!1,value:l.recurse(a.value)})}),function(a,o,h,d){for(var p={},g=0;g<u.length;++g)u[g].computed?p[u[g].key(a,o,h,d)]=u[g].value(a,o,h,d):p[u[g].key]=u[g].value(a,o,h,d);return t?{value:p}:p};case ne.ThisExpression:return function(a){return t?{value:a}:a};case ne.LocalsExpression:return function(a,o){return t?{value:o}:o};case ne.NGValueParameter:return function(a,o,h){return t?{value:h}:h}}},"unary+":function(e,t){return function(n,r,i,l){var u=e(n,r,i,l);return he(u)?u=+u:u=0,t?{value:u}:u}},"unary-":function(e,t){return function(n,r,i,l){var u=e(n,r,i,l);return he(u)?u=-u:u=-0,t?{value:u}:u}},"unary!":function(e,t){return function(n,r,i,l){var u=!e(n,r,i,l);return t?{value:u}:u}},"binary+":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u),o=t(r,i,l,u),h=Ea(a,o);return n?{value:h}:h}},"binary-":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u),o=t(r,i,l,u),h=(he(a)?a:0)-(he(o)?o:0);return n?{value:h}:h}},"binary*":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)*t(r,i,l,u);return n?{value:a}:a}},"binary/":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)/t(r,i,l,u);return n?{value:a}:a}},"binary%":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)%t(r,i,l,u);return n?{value:a}:a}},"binary===":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)===t(r,i,l,u);return n?{value:a}:a}},"binary!==":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)!==t(r,i,l,u);return n?{value:a}:a}},"binary==":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)==t(r,i,l,u);return n?{value:a}:a}},"binary!=":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)!=t(r,i,l,u);return n?{value:a}:a}},"binary<":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)<t(r,i,l,u);return n?{value:a}:a}},"binary>":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)>t(r,i,l,u);return n?{value:a}:a}},"binary<=":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)<=t(r,i,l,u);return n?{value:a}:a}},"binary>=":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)>=t(r,i,l,u);return n?{value:a}:a}},"binary&&":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)&&t(r,i,l,u);return n?{value:a}:a}},"binary||":function(e,t,n){return function(r,i,l,u){var a=e(r,i,l,u)||t(r,i,l,u);return n?{value:a}:a}},"ternary?:":function(e,t,n,r){return function(i,l,u,a){var o=e(i,l,u,a)?t(i,l,u,a):n(i,l,u,a);return r?{value:o}:o}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n){return function(r,i,l,u){var a=i&&e in i?i:r;n&&n!==1&&a&&a[e]==null&&(a[e]={});var o=a?a[e]:void 0;return t?{context:a,name:e,value:o}:o}},computedMember:function(e,t,n,r){return function(i,l,u,a){var o=e(i,l,u,a),h,d;return o!=null&&(h=t(i,l,u,a),h=Ca(h),r&&r!==1&&o&&!o[h]&&(o[h]={}),d=o[h]),n?{context:o,name:h,value:d}:d}},nonComputedMember:function(e,t,n,r){return function(i,l,u,a){var o=e(i,l,u,a);r&&r!==1&&o&&o[t]==null&&(o[t]={});var h=o?.[t];return n?{context:o,name:t,value:h}:h}},inputs:function(e,t){return function(n,r,i,l){return l?l[t]:e(n,r,i)}}};function Si(e,t,n){this.ast=new ne(e,n),this.astCompiler=n.csp?new Oa(t):new ka(t)}Si.prototype={constructor:Si,parse:function(e){var t=this.getAst(e),n=this.astCompiler.compile(t.ast);return n.literal=Nh(t.ast),n.constant=qh(t.ast),n.oneTime=t.oneTime,n},getAst:function(e){var t=!1;return e=e.trim(),e.charAt(0)===":"&&e.charAt(1)===":"&&(t=!0,e=e.substring(2)),{ast:this.ast.ast(e),oneTime:t}}};function Ps(e){return $e(e.valueOf)?e.valueOf():Rh.call(e)}function Uh(){var e=nt(),t={true:!0,false:!1,null:null,undefined:void 0},n,r;this.addLiteral=function(i,l){t[i]=l},this.setIdentifierFns=function(i,l){return n=i,r=l,this},this.$get=["$filter",function(i){var l=Pn().noUnsafeEval,u={csp:l,literals:Mn(t),isIdentifierStart:$e(n)&&n,isIdentifierContinue:$e(r)&&r};return a.$$getAst=o,a;function a(I,D){var F,q;switch(typeof I){case"string":if(I=I.trim(),q=I,F=e[q],!F){var A=new Ai(u),T=new Si(A,i,u);F=T.parse(I),e[q]=b(F)}return z(F,D);case"function":return z(I,D);default:return z(Ae,D)}}function o(I){var D=new Ai(u),F=new Si(D,i,u);return F.getAst(I).ast}function h(I,D,F){return I==null||D==null?I===D:typeof I=="object"&&(I=Ps(I),typeof I=="object"&&!F)?!1:I===D||I!==I&&D!==D}function d(I,D,F,q,A){var T=q.inputs,m;if(T.length===1){var $=h;return T=T[0],I.$watch(function(W){var Q=T(W);return h(Q,$,T.isPure)||(m=q(W,void 0,void 0,[Q]),$=Q&&Ps(Q)),m},D,F,A)}for(var C=[],E=[],x=0,U=T.length;x<U;x++)C[x]=h,E[x]=null;return I.$watch(function(W){for(var Q=!1,re=0,J=T.length;re<J;re++){var oe=T[re](W);(Q||(Q=!h(oe,C[re],T[re].isPure)))&&(E[re]=oe,C[re]=oe&&Ps(oe))}return Q&&(m=q(W,void 0,void 0,E)),m},D,F,A)}function p(I,D,F,q,A){var T=q.literal?g:he,m,$,C=q.$$intercepted||q,E=q.$$interceptor||_t,x=q.inputs&&!C.inputs;return P.literal=q.literal,P.constant=q.constant,P.inputs=q.inputs,b(P),m=I.$watch(P,D,F,A),m;function U(){T($)&&m()}function P(W,Q,re,J){return $=x&&J?J[0]:C(W,Q,re,J),T($)&&W.$$postDigest(U),E($)}}function g(I){var D=!0;return R(I,function(F){he(F)||(D=!1)}),D}function y(I,D,F,q){var A=I.$watch(function(m){return A(),q(m)},D,F);return A}function b(I){return I.constant?I.$$watchDelegate=y:I.oneTime?I.$$watchDelegate=p:I.inputs&&(I.$$watchDelegate=d),I}function L(I,D){function F(q){return D(I(q))}return F.$stateful=I.$stateful||D.$stateful,F.$$pure=I.$$pure&&D.$$pure,F}function z(I,D){if(!D)return I;I.$$interceptor&&(D=L(I.$$interceptor,D),I=I.$$intercepted);var F=!1,q=function(T,m,$,C){var E=F&&C?C[0]:I(T,m,$,C);return D(E)};return q.$$intercepted=I,q.$$interceptor=D,q.literal=I.literal,q.oneTime=I.oneTime,q.constant=I.constant,D.$stateful||(F=!I.inputs,q.inputs=I.inputs?I.inputs:[I],D.$$pure||(q.inputs=q.inputs.map(function(A){return A.isPure===Aa?function(m){return A(m)}:A}))),b(q)}}]}function Bh(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,n){return xa(function(r){t.$evalAsync(r)},n,e)}],this.errorOnUnhandledRejections=function(t){return he(t)?(e=t,this):e}}function Vh(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,n){return xa(function(r){t.defer(r)},n,e)}],this.errorOnUnhandledRejections=function(t){return he(t)?(e=t,this):e}}function xa(e,t,n){var r=_("$q",TypeError),i=0,l=[];function u(){return new a}function a(){var $=this.promise=new o;this.resolve=function(C){g($,C)},this.reject=function(C){b($,C)},this.notify=function(C){z($,C)}}function o(){this.$$state={status:0}}Fe(o.prototype,{then:function($,C,E){if(pe($)&&pe(C)&&pe(E))return this;var x=new o;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([x,$,C,E]),this.$$state.status>0&&p(this.$$state),x},catch:function($){return this.then(null,$)},finally:function($,C){return this.then(function(E){return D(E,q,$)},function(E){return D(E,I,$)},C)}});function h($){var C,E,x;x=$.pending,$.processScheduled=!1,$.pending=void 0;try{for(var U=0,P=x.length;U<P;++U){Rs($),E=x[U][0],C=x[U][$.status];try{$e(C)?g(E,C($.value)):$.status===1?g(E,$.value):b(E,$.value)}catch(W){b(E,W),W&&W.$$passToExceptionHandler===!0&&t(W)}}}finally{--i,n&&i===0&&e(d)}}function d(){for(;!i&&l.length;){var $=l.shift();if(!Ma($)){Rs($);var C="Possibly unhandled rejection: "+Bo($.value);Me($.value)?t($.value,C):t(C)}}}function p($){n&&!$.pending&&$.status===2&&!Ma($)&&(i===0&&l.length===0&&e(d),l.push($)),!($.processScheduled||!$.pending)&&($.processScheduled=!0,++i,e(function(){h($)}))}function g($,C){$.$$state.status||(C===$?L($,r("qcycle","Expected promise to be resolved with value other than itself '{0}'",C)):y($,C))}function y($,C){var E,x=!1;try{(Y(C)||$e(C))&&(E=C.then),$e(E)?($.$$state.status=-1,E.call(C,U,P,W)):($.$$state.value=C,$.$$state.status=1,p($.$$state))}catch(Q){P(Q)}function U(Q){x||(x=!0,y($,Q))}function P(Q){x||(x=!0,L($,Q))}function W(Q){z($,Q)}}function b($,C){$.$$state.status||L($,C)}function L($,C){$.$$state.value=C,$.$$state.status=2,p($.$$state)}function z($,C){var E=$.$$state.pending;$.$$state.status<=0&&E&&E.length&&e(function(){for(var x,U,P=0,W=E.length;P<W;P++){U=E[P][0],x=E[P][3];try{z(U,$e(x)?x(C):C)}catch(Q){t(Q)}}})}function I($){var C=new o;return b(C,$),C}function D($,C,E){var x=null;try{$e(E)&&(x=E())}catch(U){return I(U)}return si(x)?x.then(function(){return C($)},I):C($)}function F($,C,E,x){var U=new o;return g(U,$),U.then(C,E,x)}var q=F;function A($){var C=new o,E=0,x=ae($)?[]:{};return R($,function(U,P){E++,F(U).then(function(W){x[P]=W,--E||g(C,x)},function(W){b(C,W)})}),E===0&&g(C,x),C}function T($){var C=u();return R($,function(E){F(E).then(C.resolve,C.reject)}),C.promise}function m($){if(!$e($))throw r("norslvr","Expected resolverFn, got '{0}'",$);var C=new o;function E(U){g(C,U)}function x(U){b(C,U)}return $(E,x),C}return m.prototype=o.prototype,m.defer=u,m.reject=I,m.when=F,m.resolve=q,m.all=A,m.race=T,m}function Ma(e){return!!e.pur}function Rs(e){e.pur=!0}function Pa(e){e.$$state&&Rs(e.$$state)}function jh(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,l=i?function(u){var a=n(u);return function(){r(a)}}:function(u){var a=t(u,16.66,!1);return function(){t.cancel(a)}};return l.supported=i,l}]}function Hh(){var e=10,t=_("$rootScope"),n=null,r=null;this.digestTtl=function(l){return arguments.length&&(e=l),e};function i(l){function u(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=vt(),this.$$ChildScope=null,this.$$suspended=!1}return u.prototype=l,u}this.$get=["$exceptionHandler","$parse","$browser",function(l,u,a){function o(m){m.currentScope.$$destroyed=!0}function h(m){k===9&&(m.$$childHead&&h(m.$$childHead),m.$$nextSibling&&h(m.$$nextSibling)),m.$parent=m.$$nextSibling=m.$$prevSibling=m.$$childHead=m.$$childTail=m.$root=m.$$watchers=null}function d(){this.$id=vt(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$suspended=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}d.prototype={constructor:d,$new:function(m,$){var C;return $=$||this,m?(C=new d,C.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=i(this)),C=new this.$$ChildScope),C.$parent=$,C.$$prevSibling=$.$$childTail,$.$$childHead?($.$$childTail.$$nextSibling=C,$.$$childTail=C):$.$$childHead=$.$$childTail=C,(m||$!==this)&&C.$on("$destroy",o),C},$watch:function(m,$,C,E){var x=u(m),U=$e($)?$:Ae;if(x.$$watchDelegate)return x.$$watchDelegate(this,U,C,x,m);var P=this,W=P.$$watchers,Q={fn:U,last:q,get:x,exp:E||m,eq:!!C};return n=null,W||(W=P.$$watchers=[],W.$$digestWatchIndex=-1),W.unshift(Q),W.$$digestWatchIndex++,D(this,1),function(){var J=Fr(W,Q);J>=0&&(D(P,-1),J<W.$$digestWatchIndex&&W.$$digestWatchIndex--),n=null}},$watchGroup:function(m,$){var C=new Array(m.length),E=new Array(m.length),x=[],U=this,P=!1,W=!0;if(!m.length){var Q=!0;return U.$evalAsync(function(){Q&&$(E,E,U)}),function(){Q=!1}}if(m.length===1)return this.$watch(m[0],function(oe,ke,_e){E[0]=oe,C[0]=ke,$(E,oe===ke?E:C,_e)});R(m,function(J,oe){var ke=U.$watch(J,function(Re){E[oe]=Re,P||(P=!0,U.$evalAsync(re))});x.push(ke)});function re(){P=!1;try{W?(W=!1,$(E,E,U)):$(E,C,U)}finally{for(var J=0;J<m.length;J++)C[J]=E[J]}}return function(){for(;x.length;)x.shift()()}},$watchCollection:function(m,$){_e.$$pure=u(m).literal,_e.$stateful=!_e.$$pure;var C=this,E,x,U,P=$.length>1,W=0,Q=u(m,_e),re=[],J={},oe=!0,ke=0;function _e(Ue){E=Ue;var Be,Ge,ot,et,wt;if(!pe(E)){if(!Y(E))x!==E&&(x=E,W++);else if(De(E)){x!==re&&(x=re,ke=x.length=0,W++),Be=E.length,ke!==Be&&(W++,x.length=ke=Be);for(var dt=0;dt<Be;dt++)wt=x[dt],et=E[dt],ot=wt!==wt&&et!==et,!ot&&wt!==et&&(W++,x[dt]=et)}else{x!==J&&(x=J={},ke=0,W++),Be=0;for(Ge in E)fe.call(E,Ge)&&(Be++,et=E[Ge],wt=x[Ge],Ge in x?(ot=wt!==wt&&et!==et,!ot&&wt!==et&&(W++,x[Ge]=et)):(ke++,x[Ge]=et,W++));if(ke>Be){W++;for(Ge in x)fe.call(E,Ge)||(ke--,delete x[Ge])}}return W}}function Re(){if(oe?(oe=!1,$(E,E,C)):$(E,U,C),P)if(!Y(E))U=E;else if(De(E)){U=new Array(E.length);for(var Ue=0;Ue<E.length;Ue++)U[Ue]=E[Ue]}else{U={};for(var Be in E)fe.call(E,Be)&&(U[Be]=E[Be])}}return this.$watch(Q,Re)},$digest:function(){var m,$,C,E,x,U,P,W=e,Q,re,J=g.length?p:this,oe=[],ke,_e;z("$digest"),a.$$checkUrlChange(),this===p&&r!==null&&(a.defer.cancel(r),A()),n=null;do{P=!1,re=J;for(var Re=0;Re<g.length;Re++){try{_e=g[Re],E=_e.fn,E(_e.scope,_e.locals)}catch(Ue){l(Ue)}n=null}g.length=0;e:do{if(U=!re.$$suspended&&re.$$watchers)for(U.$$digestWatchIndex=U.length;U.$$digestWatchIndex--;)try{if(m=U[U.$$digestWatchIndex],m){if(x=m.get,($=x(re))!==(C=m.last)&&!(m.eq?tn($,C):je($)&&je(C)))P=!0,n=m,m.last=m.eq?Mn($,null):$,E=m.fn,E($,C===q?$:C,re),W<5&&(ke=4-W,oe[ke]||(oe[ke]=[]),oe[ke].push({msg:$e(m.exp)?"fn: "+(m.exp.name||m.exp.toString()):m.exp,newVal:$,oldVal:C}));else if(m===n){P=!1;break e}}}catch(Ue){l(Ue)}if(!(Q=!re.$$suspended&&re.$$watchersCount&&re.$$childHead||re!==J&&re.$$nextSibling))for(;re!==J&&!(Q=re.$$nextSibling);)re=re.$parent}while(re=Q);if((P||g.length)&&!W--)throw I(),t("infdig",`{0} $digest() iterations reached. Aborting! |
|
Watchers fired in the last 5 iterations: {1}`,e,oe)}while(P||g.length);for(I();L<y.length;)try{y[L++]()}catch(Ue){l(Ue)}y.length=L=0,a.$$checkUrlChange()},$suspend:function(){this.$$suspended=!0},$isSuspended:function(){return this.$$suspended},$resume:function(){this.$$suspended=!1},$destroy:function(){if(!this.$$destroyed){var m=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===p&&a.$$applicationDestroyed(),D(this,-this.$$watchersCount);for(var $ in this.$$listenerCount)F(this,this.$$listenerCount[$],$);m&&m.$$childHead===this&&(m.$$childHead=this.$$nextSibling),m&&m.$$childTail===this&&(m.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=Ae,this.$on=this.$watch=this.$watchGroup=function(){return Ae},this.$$listeners={},this.$$nextSibling=null,h(this)}},$eval:function(m,$){return u(m)(this,$)},$evalAsync:function(m,$){!p.$$phase&&!g.length&&a.defer(function(){g.length&&p.$digest()},null,"$evalAsync"),g.push({scope:this,fn:u(m),locals:$})},$$postDigest:function(m){y.push(m)},$apply:function(m){try{z("$apply");try{return this.$eval(m)}finally{I()}}catch($){l($)}finally{try{p.$digest()}catch($){throw l($),$}}},$applyAsync:function(m){var $=this;m&&b.push(C),m=u(m),T();function C(){$.$eval(m)}},$on:function(m,$){var C=this.$$listeners[m];C||(this.$$listeners[m]=C=[]),C.push($);var E=this;do E.$$listenerCount[m]||(E.$$listenerCount[m]=0),E.$$listenerCount[m]++;while(E=E.$parent);var x=this;return function(){var U=C.indexOf($);U!==-1&&(delete C[U],F(x,1,m))}},$emit:function(m,$){var C=[],E,x=this,U=!1,P={name:m,targetScope:x,stopPropagation:function(){U=!0},preventDefault:function(){P.defaultPrevented=!0},defaultPrevented:!1},W=Dr([P],arguments,1),Q,re;do{for(E=x.$$listeners[m]||C,P.currentScope=x,Q=0,re=E.length;Q<re;Q++){if(!E[Q]){E.splice(Q,1),Q--,re--;continue}try{E[Q].apply(null,W)}catch(J){l(J)}}if(U)break;x=x.$parent}while(x);return P.currentScope=null,P},$broadcast:function(m,$){var C=this,E=C,x=C,U={name:m,targetScope:C,preventDefault:function(){U.defaultPrevented=!0},defaultPrevented:!1};if(!C.$$listenerCount[m])return U;for(var P=Dr([U],arguments,1),W,Q,re;E=x;){for(U.currentScope=E,W=E.$$listeners[m]||[],Q=0,re=W.length;Q<re;Q++){if(!W[Q]){W.splice(Q,1),Q--,re--;continue}try{W[Q].apply(null,P)}catch(J){l(J)}}if(!(x=E.$$listenerCount[m]&&E.$$childHead||E!==C&&E.$$nextSibling))for(;E!==C&&!(x=E.$$nextSibling);)E=E.$parent}return U.currentScope=null,U}};var p=new d,g=p.$$asyncQueue=[],y=p.$$postDigestQueue=[],b=p.$$applyAsyncQueue=[],L=0;return p;function z(m){if(p.$$phase)throw t("inprog","{0} already in progress",p.$$phase);p.$$phase=m}function I(){p.$$phase=null}function D(m,$){do m.$$watchersCount+=$;while(m=m.$parent)}function F(m,$,C){do m.$$listenerCount[C]-=$,m.$$listenerCount[C]===0&&delete m.$$listenerCount[C];while(m=m.$parent)}function q(){}function A(){for(;b.length;)try{b.shift()()}catch(m){l(m)}r=null}function T(){r===null&&(r=a.defer(function(){p.$apply(A)},null,"$applyAsync"))}}]}function Wh(){var e=/^\s*(https?|s?ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationTrustedUrlList=function(n){return he(n)?(e=n,this):e},this.imgSrcSanitizationTrustedUrlList=function(n){return he(n)?(t=n,this):t},this.$get=function(){return function(r,i){var l=i?t:e,u=It(r&&r.trim()).href;return u!==""&&!u.match(l)?"unsafe:"+u:r}}}var An=_("$sce"),ht={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},zh=/_([a-z])/g;function Fs(e){return e.replace(zh,Vo)}function Gh(e){if(e==="self")return e;if(V(e)){if(e.indexOf("***")>-1)throw An("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Ro(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}else{if(Tt(e))return new RegExp("^"+e.source+"$");throw An("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}}function Ra(e){var t=[];return he(e)&&R(e,function(n){t.push(Gh(n))}),t}function Xh(){this.SCE_CONTEXTS=ht;var e=["self"],t=[];this.trustedResourceUrlList=function(n){return arguments.length&&(e=Ra(n)),e},Object.defineProperty(this,"resourceUrlWhitelist",{get:function(){return this.trustedResourceUrlList},set:function(n){this.trustedResourceUrlList=n}}),this.bannedResourceUrlList=function(n){return arguments.length&&(t=Ra(n)),t},Object.defineProperty(this,"resourceUrlBlacklist",{get:function(){return this.bannedResourceUrlList},set:function(n){this.bannedResourceUrlList=n}}),this.$get=["$injector","$$sanitizeUri",function(n,r){var i=function(b){throw An("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(i=n.get("$sanitize"));function l(y,b){return y==="self"?sd(b)||od(b):!!y.exec(b.href)}function u(y){var b=It(y.toString()),L,z,I=!1;for(L=0,z=e.length;L<z;L++)if(l(e[L],b)){I=!0;break}if(I){for(L=0,z=t.length;L<z;L++)if(l(t[L],b)){I=!1;break}}return I}function a(y){var b=function(z){this.$$unwrapTrustedValue=function(){return z}};return y&&(b.prototype=new y),b.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},b.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},b}var o=a(),h={};h[ht.HTML]=a(o),h[ht.CSS]=a(o),h[ht.MEDIA_URL]=a(o),h[ht.URL]=a(h[ht.MEDIA_URL]),h[ht.JS]=a(o),h[ht.RESOURCE_URL]=a(h[ht.URL]);function d(y,b){var L=h.hasOwnProperty(y)?h[y]:null;if(!L)throw An("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",y,b);if(b===null||pe(b)||b==="")return b;if(typeof b!="string")throw An("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",y);return new L(b)}function p(y){return y instanceof o?y.$$unwrapTrustedValue():y}function g(y,b){if(b===null||pe(b)||b==="")return b;var L=h.hasOwnProperty(y)?h[y]:null;if(L&&b instanceof L)return b.$$unwrapTrustedValue();if($e(b.$$unwrapTrustedValue)&&(b=b.$$unwrapTrustedValue()),y===ht.MEDIA_URL||y===ht.URL)return r(b.toString(),y===ht.MEDIA_URL);if(y===ht.RESOURCE_URL){if(u(b))return b;throw An("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",b.toString())}else if(y===ht.HTML)return i(b);throw An("unsafe","Attempting to use an unsafe value in a safe context.")}return{trustAs:d,getTrusted:g,valueOf:p}}]}function Yh(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&k<8)throw An("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text <!doctype html> to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var r=nn(ht);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(a,o){return o},r.valueOf=_t),r.parseAs=function(o,h){var d=t(h);return d.literal&&d.constant?d:t(h,function(p){return r.getTrusted(o,p)})};var i=r.parseAs,l=r.getTrusted,u=r.trustAs;return R(ht,function(a,o){var h=ue(o);r[Fs("parse_as_"+h)]=function(d){return i(a,d)},r[Fs("get_trusted_"+h)]=function(d){return l(a,d)},r[Fs("trust_as_"+h)]=function(d){return u(a,d)}}),r}]}function Jh(){this.$get=["$window","$document",function(e,t){var n={},r=e.nw&&e.nw.process,i=!r&&e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id),l=!i&&e.history&&e.history.pushState,u=Ye((/android (\d+)/.exec(ue((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),o=t[0]||{},h=o.body&&o.body.style,d=!1,p=!1;return h&&(d="transition"in h||"webkitTransition"in h,p="animation"in h||"webkitAnimation"in h),{history:!!(l&&!(u<4)&&!a),hasEvent:function(g){if(g==="input"&&k)return!1;if(pe(n[g])){var y=o.createElement("div");n[g]="on"+g in y}return n[g]},csp:Pn(),transitions:d,animations:p,android:u}}]}function Kh(){this.$get=st(function(e){return new Zh(e)})}function Zh(e){var t=this,n={},r=[],i=t.ALL_TASKS_TYPE="$$all$$",l=t.DEFAULT_TASK_TYPE="$$default$$";t.completeTask=u,t.incTaskCount=d,t.notifyWhenNoPendingTasks=p;function u(g,y){y=y||l;try{g()}finally{a(y);var b=n[y],L=n[i];if(!L||!b)for(var z=L?h:o,I;I=z(y);)try{I()}catch(D){e.error(D)}}}function a(g){g=g||l,n[g]&&(n[g]--,n[i]--)}function o(){var g=r.pop();return g&&g.cb}function h(g){for(var y=r.length-1;y>=0;--y){var b=r[y];if(b.type===g)return r.splice(y,1),b.cb}}function d(g){g=g||l,n[g]=(n[g]||0)+1,n[i]=(n[i]||0)+1}function p(g,y){y=y||i,n[y]?r.push({type:y,cb:g}):g()}}var Qh=_("$templateRequest");function ed(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,r,i,l){function u(a,o){u.totalPendingRequests++,(!V(a)||pe(n.get(a)))&&(a=l.getTrustedResourceUrl(a));var h=r.defaults&&r.defaults.transformResponse;return ae(h)?h=h.filter(function(p){return p!==Ts}):h===Ts&&(h=null),r.get(a,Fe({cache:n,transformResponse:h},e)).finally(function(){u.totalPendingRequests--}).then(function(p){return n.put(a,p.data)},d);function d(p){return o||(p=Qh("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,p.status,p.statusText),t(p)),i.reject(p)}}return u.totalPendingRequests=0,u}]}function td(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var r={};return r.findBindings=function(i,l,u){var a=i.getElementsByClassName("ng-binding"),o=[];return R(a,function(h){var d=ce.element(h).data("$binding");d&&R(d,function(p){if(u){var g=new RegExp("(^|\\s)"+Ro(l)+"(\\s|\\||$)");g.test(p)&&o.push(h)}else p.indexOf(l)!==-1&&o.push(h)})}),o},r.findModels=function(i,l,u){for(var a=["ng-","data-ng-","ng\\:"],o=0;o<a.length;++o){var h=u?"=":"*=",d="["+a[o]+"model"+h+'"'+l+'"]',p=i.querySelectorAll(d);if(p.length)return p}},r.getLocation=function(){return n.url()},r.setLocation=function(i){i!==n.url()&&(n.url(i),e.$digest())},r.whenStable=function(i){t.notifyWhenNoOutstandingRequests(i)},r}]}var nd=_("$timeout");function rd(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){var l={};function u(a,o,h){$e(a)||(h=o,o=a,a=Ae);var d=Lr(arguments,3),p=he(h)&&!h,g=(p?r:n).defer(),y=g.promise,b;return b=t.defer(function(){try{g.resolve(a.apply(null,d))}catch(L){g.reject(L),i(L)}finally{delete l[y.$$timeoutId]}p||e.$apply()},o,"$timeout"),y.$$timeoutId=b,l[b]=g,y}return u.cancel=function(a){if(!a)return!1;if(!a.hasOwnProperty("$$timeoutId"))throw nd("badprom","`$timeout.cancel()` called with a promise that was not generated by `$timeout()`.");if(!l.hasOwnProperty(a.$$timeoutId))return!1;var o=a.$$timeoutId,h=l[o];return Pa(h.promise),h.reject("canceled"),delete l[o],t.defer.cancel(o)},u}]}var Et=c.document.createElement("a"),Fa=It(c.location.href),rr;Et.href="http://[::1]";var id=Et.hostname==="[::1]";function It(e){if(!V(e))return e;var t=e;k&&(Et.setAttribute("href",t),t=Et.href),Et.setAttribute("href",t);var n=Et.hostname;return!id&&n.indexOf(":")>-1&&(n="["+n+"]"),{href:Et.href,protocol:Et.protocol?Et.protocol.replace(/:$/,""):"",host:Et.host,search:Et.search?Et.search.replace(/^\?/,""):"",hash:Et.hash?Et.hash.replace(/^#/,""):"",hostname:n,port:Et.port,pathname:Et.pathname.charAt(0)==="/"?Et.pathname:"/"+Et.pathname}}function sd(e){return Ds(e,Fa)}function od(e){return Ds(e,ud())}function ad(e){var t=[Fa].concat(e.map(It));return function(r){var i=It(r);return t.some(Ds.bind(null,i))}}function Ds(e,t){return e=It(e),t=It(t),e.protocol===t.protocol&&e.host===t.host}function ud(){return c.document.baseURI?c.document.baseURI:(rr||(rr=c.document.createElement("a"),rr.href=".",rr=rr.cloneNode(!1)),rr.href)}function cd(){this.$get=st(c)}function Da(e){var t=e[0]||{},n={},r="";function i(u){try{return u.cookie||""}catch{return""}}function l(u){try{return decodeURIComponent(u)}catch{return u}}return function(){var u,a,o,h,d,p=i(t);if(p!==r)for(r=p,u=r.split("; "),n={},o=0;o<u.length;o++)a=u[o],h=a.indexOf("="),h>0&&(d=l(a.substring(0,h)),pe(n[d])&&(n[d]=l(a.substring(h+1))));return n}}Da.$inject=["$document"];function fd(){this.$get=Da}La.$inject=["$provide"];function La(e){var t="Filter";function n(r,i){if(Y(r)){var l={};return R(r,function(u,a){l[a]=n(a,u)}),l}else return e.factory(r+t,i)}this.register=n,this.$get=["$injector",function(r){return function(i){return r.get(i+t)}}],n("currency",qa),n("date",Ha),n("filter",ld),n("json",Ed),n("limitTo",Sd),n("lowercase",wd),n("number",Ua),n("orderBy",Wa),n("uppercase",Ad)}function ld(){return function(e,t,n,r){if(!De(e)){if(e==null)return e;throw _("filter")("notarray","Expected array but received: {0}",e)}r=r||"$";var i=Ls(t),l,u;switch(i){case"function":l=t;break;case"boolean":case"null":case"number":case"string":u=!0;case"object":l=hd(t,n,r,u);break;default:return e}return Array.prototype.filter.call(e,l)}}function hd(e,t,n,r){var i=Y(e)&&n in e,l;return t===!0?t=tn:$e(t)||(t=function(u,a){return pe(u)?!1:u===null||a===null?u===a:Y(a)||Y(u)&&!Ht(u)?!1:(u=ue(""+u),a=ue(""+a),u.indexOf(a)!==-1)}),l=function(u){return i&&!Y(u)?In(u,e[n],t,n,!1):In(u,e,t,n,r)},l}function In(e,t,n,r,i,l){var u=Ls(e),a=Ls(t);if(a==="string"&&t.charAt(0)==="!")return!In(e,t.substring(1),n,r,i);if(ae(e))return e.some(function(g){return In(g,t,n,r,i)});switch(u){case"object":var o;if(i){for(o in e)if(o.charAt&&o.charAt(0)!=="$"&&In(e[o],t,n,r,!0))return!0;return l?!1:In(e,t,n,r,!1)}else if(a==="object"){for(o in t){var h=t[o];if(!($e(h)||pe(h))){var d=o===r,p=d?e:e[o];if(!In(p,h,n,r,d,d))return!1}}return!0}else return n(e,t);case"function":return!1;default:return n(e,t)}}function Ls(e){return e===null?"null":typeof e}var Ia=22,Na=".",Is="0";qa.$inject=["$locale"];function qa(e){var t=e.NUMBER_FORMATS;return function(n,r,i){pe(r)&&(r=t.CURRENCY_SYM),pe(i)&&(i=t.PATTERNS[1].maxFrac);var l=r?/\u00A4/g:/\s*\u00A4\s*/g;return n==null?n:Ba(n,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,i).replace(l,r)}}Ua.$inject=["$locale"];function Ua(e){var t=e.NUMBER_FORMATS;return function(n,r){return n==null?n:Ba(n,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,r)}}function dd(e){var t=0,n,r,i,l,u;for((r=e.indexOf(Na))>-1&&(e=e.replace(Na,"")),(i=e.search(/e/i))>0?(r<0&&(r=i),r+=+e.slice(i+1),e=e.substring(0,i)):r<0&&(r=e.length),i=0;e.charAt(i)===Is;i++);if(i===(u=e.length))n=[0],r=1;else{for(u--;e.charAt(u)===Is;)u--;for(r-=i,n=[],l=0;i<=u;i++,l++)n[l]=+e.charAt(i)}return r>Ia&&(n=n.splice(0,Ia-1),t=r-1,r=1),{d:n,e:t,i:r}}function pd(e,t,n,r){var i=e.d,l=i.length-e.i;t=pe(t)?Math.min(Math.max(n,l),r):+t;var u=t+e.i,a=i[u];if(u>0){i.splice(Math.max(e.i,u));for(var o=u;o<i.length;o++)i[o]=0}else{l=Math.max(0,l),e.i=1,i.length=Math.max(1,u=t+1),i[0]=0;for(var h=1;h<u;h++)i[h]=0}if(a>=5)if(u-1<0){for(var d=0;d>u;d--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[u-1]++;for(;l<Math.max(0,t);l++)i.push(0);var p=i.reduceRight(function(g,y,b,L){return y=y+g,L[b]=y%10,Math.floor(y/10)},0);p&&(i.unshift(p),e.i++)}function Ba(e,t,n,r,i){if(!(V(e)||ve(e))||isNaN(e))return"";var l=!isFinite(e),u=!1,a=Math.abs(e)+"",o="",h;if(l)o="\u221E";else{h=dd(a),pd(h,i,t.minFrac,t.maxFrac);var d=h.d,p=h.i,g=h.e,y=[];for(u=d.reduce(function(L,z){return L&&!z},!0);p<0;)d.unshift(0),p++;p>0?y=d.splice(p,d.length):(y=d,d=[0]);var b=[];for(d.length>=t.lgSize&&b.unshift(d.splice(-t.lgSize,d.length).join(""));d.length>t.gSize;)b.unshift(d.splice(-t.gSize,d.length).join(""));d.length&&b.unshift(d.join("")),o=b.join(n),y.length&&(o+=r+y.join("")),g&&(o+="e+"+g)}return e<0&&!u?t.negPre+o+t.negSuf:t.posPre+o+t.posSuf}function _i(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length<t;)e=Is+e;return n&&(e=e.substr(e.length-t)),i+e}function kt(e,t,n,r,i){return n=n||0,function(l){var u=l["get"+e]();return(n>0||u>-n)&&(u+=n),u===0&&n===-12&&(u=12),_i(u,t,r,i)}}function Hr(e,t,n){return function(r,i){var l=r["get"+e](),u=(n?"STANDALONE":"")+(t?"SHORT":""),a=Te(u+e);return i[a][l]}}function vd(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=_i(Math[r>0?"floor":"ceil"](r/60),2)+_i(Math.abs(r%60),2),i}function Va(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function gd(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function ja(e){return function(t){var n=Va(t.getFullYear()),r=gd(t),i=+r-+n,l=1+Math.round(i/6048e5);return _i(l,e)}}function $d(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function Ns(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function md(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}var yd={yyyy:kt("FullYear",4,0,!1,!0),yy:kt("FullYear",2,0,!0,!0),y:kt("FullYear",1,0,!1,!0),MMMM:Hr("Month"),MMM:Hr("Month",!0),MM:kt("Month",2,1),M:kt("Month",1,1),LLLL:Hr("Month",!1,!0),dd:kt("Date",2),d:kt("Date",1),HH:kt("Hours",2),H:kt("Hours",1),hh:kt("Hours",2,-12),h:kt("Hours",1,-12),mm:kt("Minutes",2),m:kt("Minutes",1),ss:kt("Seconds",2),s:kt("Seconds",1),sss:kt("Milliseconds",3),EEEE:Hr("Day"),EEE:Hr("Day",!0),a:$d,Z:vd,ww:ja(2),w:ja(1),G:Ns,GG:Ns,GGG:Ns,GGGG:md},bd=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,Cd=/^-?\d+$/;Ha.$inject=["$locale"];function Ha(e){var t=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;function n(r){var i;if(i=r.match(t)){var l=new Date(0),u=0,a=0,o=i[8]?l.setUTCFullYear:l.setFullYear,h=i[8]?l.setUTCHours:l.setHours;i[9]&&(u=Ye(i[9]+i[10]),a=Ye(i[9]+i[11])),o.call(l,Ye(i[1]),Ye(i[2])-1,Ye(i[3]));var d=Ye(i[4]||0)-u,p=Ye(i[5]||0)-a,g=Ye(i[6]||0),y=Math.round(parseFloat("0."+(i[7]||0))*1e3);return h.call(l,d,p,g,y),l}return r}return function(r,i,l){var u="",a=[],o,h;if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,V(r)&&(r=Cd.test(r)?Ye(r):n(r)),ve(r)&&(r=new Date(r)),!Ee(r)||!isFinite(r.getTime()))return r;for(;i;)h=bd.exec(i),h?(a=Dr(a,h,1),i=a.pop()):(a.push(i),i=null);var d=r.getTimezoneOffset();return l&&(d=fs(l,d),r=ls(r,l,!0)),R(a,function(p){o=yd[p],u+=o?o(r,e.DATETIME_FORMATS,d):p==="''"?"'":p.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function Ed(){return function(e,t){return pe(t)&&(t=2),Ir(e,t)}}var wd=st(ue),Ad=st(Te);function Sd(){return function(e,t,n){return Math.abs(Number(t))===1/0?t=Number(t):t=Ye(t),je(t)||(ve(e)&&(e=e.toString()),!De(e))?e:(n=!n||isNaN(n)?0:Ye(n),n=n<0?Math.max(0,e.length+n):n,t>=0?qs(e,n,n+t):n===0?qs(e,t,e.length):qs(e,Math.max(0,n+t),n))}}function qs(e,t,n){return V(e)?e.slice(t,n):se.call(e,t,n)}Wa.$inject=["$parse"];function Wa(e){return function(u,a,o,h){if(u==null)return u;if(!De(u))throw _("orderBy")("notarray","Expected array but received: {0}",u);ae(a)||(a=[a]),a.length===0&&(a=["+"]);var d=t(a),p=o?-1:1,g=$e(h)?h:l,y=Array.prototype.map.call(u,b);return y.sort(L),u=y.map(function(z){return z.value}),u;function b(z,I){return{value:z,tieBreaker:{value:I,type:"number",index:I},predicateValues:d.map(function(D){return i(D.get(z),I)})}}function L(z,I){for(var D=0,F=d.length;D<F;D++){var q=g(z.predicateValues[D],I.predicateValues[D]);if(q)return q*d[D].descending*p}return(g(z.tieBreaker,I.tieBreaker)||l(z.tieBreaker,I.tieBreaker))*p}};function t(u){return u.map(function(a){var o=1,h=_t;if($e(a))h=a;else if(V(a)&&((a.charAt(0)==="+"||a.charAt(0)==="-")&&(o=a.charAt(0)==="-"?-1:1,a=a.substring(1)),a!==""&&(h=e(a),h.constant))){var d=h();h=function(p){return p[d]}}return{get:h,descending:o}})}function n(u){switch(typeof u){case"number":case"boolean":case"string":return!0;default:return!1}}function r(u){return $e(u.valueOf)&&(u=u.valueOf(),n(u))||Ht(u)&&(u=u.toString(),n(u)),u}function i(u,a){var o=typeof u;return u===null?o="null":o==="object"&&(u=r(u)),{value:u,type:o,index:a}}function l(u,a){var o=0,h=u.type,d=a.type;if(h===d){var p=u.value,g=a.value;h==="string"?(p=p.toLowerCase(),g=g.toLowerCase()):h==="object"&&(Y(p)&&(p=u.index),Y(g)&&(g=a.index)),p!==g&&(o=p<g?-1:1)}else o=h==="undefined"?1:d==="undefined"?-1:h==="null"?1:d==="null"||h<d?-1:1;return o}}function ir(e){return $e(e)&&(e={link:e}),e.restrict=e.restrict||"AC",st(e)}var _d=st({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(n,r){if(r[0].nodeName.toLowerCase()==="a"){var i=M.call(r.prop("href"))==="[object SVGAnimatedString]"?"xlink:href":"href";r.on("click",function(l){r.attr(i)||l.preventDefault()})}}}}),Ti={};R(mi,function(e,t){if(e==="multiple")return;function n(l,u,a){l.$watch(a[r],function(h){a.$set(t,!!h)})}var r=rn("ng-"+t),i=n;e==="checked"&&(i=function(l,u,a){a.ngModel!==a[r]&&n(l,u,a)}),Ti[r]=function(){return{restrict:"A",priority:100,link:i}}}),R(ea,function(e,t){Ti[t]=function(){return{priority:100,link:function(n,r,i){if(t==="ngPattern"&&i.ngPattern.charAt(0)==="/"){var l=i.ngPattern.match(j);if(l){i.$set("ngPattern",new RegExp(l[1],l[2]));return}}n.$watch(i[t],function(a){i.$set(t,a)})}}}}),R(["src","srcset","href"],function(e){var t=rn("ng-"+e);Ti[t]=["$sce",function(n){return{priority:99,link:function(r,i,l){var u=e,a=e;e==="href"&&M.call(i.prop("href"))==="[object SVGAnimatedString]"&&(a="xlinkHref",l.$attr[a]="xlink:href",u=null),l.$set(t,n.getTrustedMediaUrl(l[t])),l.$observe(t,function(o){if(!o){e==="href"&&l.$set(a,null);return}l.$set(a,o),k&&u&&i.prop(u,l[a])})}}}]});var Wr={$addControl:Ae,$getControls:st([]),$$renameControl:Td,$removeControl:Ae,$setValidity:Ae,$setDirty:Ae,$setPristine:Ae,$setSubmitted:Ae,$$setSubmitted:Ae},za="ng-pending",Ga="ng-submitted";function Td(e,t){e.$name=t}ki.$inject=["$element","$attrs","$scope","$animate","$interpolate"];function ki(e,t,n,r,i){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=i(t.name||t.ngForm||"")(n),this.$dirty=!1,this.$pristine=!0,this.$valid=!0,this.$invalid=!1,this.$submitted=!1,this.$$parentForm=Wr,this.$$element=e,this.$$animate=r,Ya(this)}ki.prototype={$rollbackViewValue:function(){R(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){R(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){Zn(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$getControls:function(){return nn(this.$$controls)},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],R(this.$pending,function(t,n){this.$setValidity(n,null,e)},this),R(this.$error,function(t,n){this.$setValidity(n,null,e)},this),R(this.$$success,function(t,n){this.$setValidity(n,null,e)},this),Fr(this.$$controls,e),e.$$parentForm=Wr},$setDirty:function(){this.$$animate.removeClass(this.$$element,or),this.$$animate.addClass(this.$$element,xi),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,or,xi+" "+Ga),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,R(this.$$controls,function(e){e.$setPristine()})},$setUntouched:function(){R(this.$$controls,function(e){e.$setUntouched()})},$setSubmitted:function(){for(var e=this;e.$$parentForm&&e.$$parentForm!==Wr;)e=e.$$parentForm;e.$$setSubmitted()},$$setSubmitted:function(){this.$$animate.addClass(this.$$element,Ga),this.$submitted=!0,R(this.$$controls,function(e){e.$$setSubmitted&&e.$$setSubmitted()})}},Ja({clazz:ki,set:function(e,t,n){var r=e[t];if(!r)e[t]=[n];else{var i=r.indexOf(n);i===-1&&r.push(n)}},unset:function(e,t,n){var r=e[t];!r||(Fr(r,n),r.length===0&&delete e[t])}});var Xa=function(e){return["$timeout","$parse",function(t,n){var r={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:ki,compile:function(u,a){u.addClass(or).addClass(Gr);var o=a.name?"name":e&&a.ngForm?"ngForm":!1;return{pre:function(d,p,g,y){var b=y[0];if(!("action"in g)){var L=function(D){d.$apply(function(){b.$commitViewValue(),b.$setSubmitted()}),D.preventDefault()};p[0].addEventListener("submit",L),p.on("$destroy",function(){t(function(){p[0].removeEventListener("submit",L)},0,!1)})}var z=y[1]||b.$$parentForm;z.$addControl(b);var I=o?i(b.$name):Ae;o&&(I(d,b),g.$observe(o,function(D){b.$name!==D&&(I(d,void 0),b.$$parentForm.$$renameControl(b,D),I=i(b.$name),I(d,b))})),p.on("$destroy",function(){b.$$parentForm.$removeControl(b),I(d,void 0),Fe(b,Wr)})}}}};return r;function i(l){return l===""?n('this[""]').assign:n(l).assign||Ae}}]},kd=Xa(),Od=Xa(!0);function Ya(e){e.$$classCache={},e.$$classCache[fu]=!(e.$$classCache[Gr]=e.$$element.hasClass(Gr))}function Ja(e){var t=e.clazz,n=e.set,r=e.unset;t.prototype.$setValidity=function(o,h,d){pe(h)?i(this,"$pending",o,d):l(this,"$pending",o,d),mn(h)?h?(r(this.$error,o,d),n(this.$$success,o,d)):(n(this.$error,o,d),r(this.$$success,o,d)):(r(this.$error,o,d),r(this.$$success,o,d)),this.$pending?(u(this,za,!0),this.$valid=this.$invalid=void 0,a(this,"",null)):(u(this,za,!1),this.$valid=Ka(this.$error),this.$invalid=!this.$valid,a(this,"",this.$valid));var p;this.$pending&&this.$pending[o]?p=void 0:this.$error[o]?p=!1:this.$$success[o]?p=!0:p=null,a(this,o,p),this.$$parentForm.$setValidity(o,p,this)};function i(o,h,d,p){o[h]||(o[h]={}),n(o[h],d,p)}function l(o,h,d,p){o[h]&&r(o[h],d,p),Ka(o[h])&&(o[h]=void 0)}function u(o,h,d){d&&!o.$$classCache[h]?(o.$$animate.addClass(o.$$element,h),o.$$classCache[h]=!0):!d&&o.$$classCache[h]&&(o.$$animate.removeClass(o.$$element,h),o.$$classCache[h]=!1)}function a(o,h,d){h=h?"-"+qo(h,"-"):"",u(o,Gr+h,d===!0),u(o,fu+h,d===!1)}}function Ka(e){if(e){for(var t in e)if(e.hasOwnProperty(t))return!1}return!0}var xd=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Md=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Pd=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Rd=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Za=/^(\d{4,})-(\d{2})-(\d{2})$/,Qa=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Us=/^(\d{4,})-W(\d\d)$/,eu=/^(\d{4,})-(\d\d)$/,tu=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Fd="keydown wheel mousedown",nu=nt();R("date,datetime-local,month,time,week".split(","),function(e){nu[e]=!0});var ru={text:Dd,date:zr("date",Za,Oi(Za,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":zr("datetimelocal",Qa,Oi(Qa,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:zr("time",tu,Oi(tu,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:zr("week",Us,Ld,"yyyy-Www"),month:zr("month",eu,Oi(eu,["yyyy","MM"]),"yyyy-MM"),number:Id,url:qd,email:Ud,radio:Bd,range:Nd,checkbox:Vd,hidden:Ae,button:Ae,submit:Ae,reset:Ae,file:Ae};function Bs(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function Dd(e,t,n,r,i,l){sr(e,t,n,r,i,l),Bs(r)}function sr(e,t,n,r,i,l){var u=ue(t[0].type);if(!i.android){var a=!1;t.on("compositionstart",function(){a=!0}),t.on("compositionupdate",function(p){(pe(p.data)||p.data==="")&&(a=!1)}),t.on("compositionend",function(){a=!1,h()})}var o,h=function(p){if(o&&(l.defer.cancel(o),o=null),!a){var g=t.val(),y=p&&p.type;u!=="password"&&(!n.ngTrim||n.ngTrim!=="false")&&(g=tt(g)),(r.$viewValue!==g||g===""&&r.$$hasNativeValidators)&&r.$setViewValue(g,y)}};if(i.hasEvent("input"))t.on("input",h);else{var d=function(p,g,y){o||(o=l.defer(function(){o=null,(!g||g.value!==y)&&h(p)}))};t.on("keydown",function(p){var g=p.keyCode;g===91||15<g&&g<19||37<=g&&g<=40||d(p,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut drop",d)}t.on("change",h),nu[u]&&r.$$hasNativeValidators&&u===n.type&&t.on(Fd,function(p){if(!o){var g=this[K],y=g.badInput,b=g.typeMismatch;o=l.defer(function(){o=null,(g.badInput!==y||g.typeMismatch!==b)&&h(p)})}}),r.$render=function(){var p=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==p&&t.val(p)}}function Ld(e,t){if(Ee(e))return e;if(V(e)){Us.lastIndex=0;var n=Us.exec(e);if(n){var r=+n[1],i=+n[2],l=0,u=0,a=0,o=0,h=Va(r),d=(i-1)*7;return t&&(l=t.getHours(),u=t.getMinutes(),a=t.getSeconds(),o=t.getMilliseconds()),new Date(r,0,h.getDate()+d,l,u,a,o)}}return NaN}function Oi(e,t){return function(n,r){var i,l;if(Ee(n))return n;if(V(n)){if(n.charAt(0)==='"'&&n.charAt(n.length-1)==='"'&&(n=n.substring(1,n.length-1)),xd.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n),i){i.shift(),r?l={yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:l={yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},R(i,function(a,o){o<t.length&&(l[t[o]]=+a)});var u=new Date(l.yyyy,l.MM-1,l.dd,l.HH,l.mm,l.ss||0,l.sss*1e3||0);return l.yyyy<100&&u.setFullYear(l.yyyy),u}}return NaN}}function zr(e,t,n,r){return function(l,u,a,o,h,d,p,g){Vs(l,u,a,o,e),sr(l,u,a,o,h,d);var y=e==="time"||e==="datetimelocal",b,L;if(o.$parsers.push(function($){if(o.$isEmpty($))return null;if(t.test($))return T($,b);o.$$parserName=e}),o.$formatters.push(function($){if($&&!Ee($))throw Xr("datefmt","Expected `{0}` to be a date",$);if(q($)){b=$;var C=o.$options.getOption("timezone");return C&&(L=C,b=ls(b,C,!0)),m($,C)}else return b=null,L=null,""}),he(a.min)||a.ngMin){var z=a.min||g(a.ngMin)(l),I=A(z);o.$validators.min=function($){return!q($)||pe(I)||n($)>=I},a.$observe("min",function($){$!==z&&(I=A($),z=$,o.$validate())})}if(he(a.max)||a.ngMax){var D=a.max||g(a.ngMax)(l),F=A(D);o.$validators.max=function($){return!q($)||pe(F)||n($)<=F},a.$observe("max",function($){$!==D&&(F=A($),D=$,o.$validate())})}function q($){return $&&!($.getTime&&$.getTime()!==$.getTime())}function A($){return he($)&&!Ee($)?T($)||void 0:$}function T($,C){var E=o.$options.getOption("timezone");L&&L!==E&&(C=Lo(C,fs(L)));var x=n($,C);return!isNaN(x)&&E&&(x=ls(x,E)),x}function m($,C){var E=r;y&&V(o.$options.getOption("timeSecondsFormat"))&&(E=r.replace("ss.sss",o.$options.getOption("timeSecondsFormat")).replace(/:$/,""));var x=p("date")($,E,C);return y&&o.$options.getOption("timeStripZeroSeconds")&&(x=x.replace(/(?::00)?(?:\.000)?$/,"")),x}}}function Vs(e,t,n,r,i){var l=t[0],u=r.$$hasNativeValidators=Y(l.validity);u&&r.$parsers.push(function(a){var o=t.prop(K)||{};if(o.badInput||o.typeMismatch){r.$$parserName=i;return}return a})}function iu(e){e.$parsers.push(function(t){if(e.$isEmpty(t))return null;if(Rd.test(t))return parseFloat(t);e.$$parserName="number"}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!ve(t))throw Xr("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t})}function zt(e){return he(e)&&!ve(e)&&(e=parseFloat(e)),je(e)?void 0:e}function js(e){return(e|0)===e}function Hs(e){var t=e.toString(),n=t.indexOf(".");if(n===-1){if(-1<e&&e<1){var r=/e-(\d+)$/.exec(t);if(r)return Number(r[1])}return 0}return t.length-n-1}function su(e,t,n){var r=Number(e),i=!js(r),l=!js(t),u=!js(n);if(i||l||u){var a=i?Hs(r):0,o=l?Hs(t):0,h=u?Hs(n):0,d=Math.max(a,o,h),p=Math.pow(10,d);r=r*p,t=t*p,n=n*p,i&&(r=Math.round(r)),l&&(t=Math.round(t)),u&&(n=Math.round(n))}return(r-t)%n===0}function Id(e,t,n,r,i,l,u,a){Vs(e,t,n,r,"number"),iu(r),sr(e,t,n,r,i,l);var o;if(he(n.min)||n.ngMin){var h=n.min||a(n.ngMin)(e);o=zt(h),r.$validators.min=function(b,L){return r.$isEmpty(L)||pe(o)||L>=o},n.$observe("min",function(b){b!==h&&(o=zt(b),h=b,r.$validate())})}if(he(n.max)||n.ngMax){var d=n.max||a(n.ngMax)(e),p=zt(d);r.$validators.max=function(b,L){return r.$isEmpty(L)||pe(p)||L<=p},n.$observe("max",function(b){b!==d&&(p=zt(b),d=b,r.$validate())})}if(he(n.step)||n.ngStep){var g=n.step||a(n.ngStep)(e),y=zt(g);r.$validators.step=function(b,L){return r.$isEmpty(L)||pe(y)||su(L,o||0,y)},n.$observe("step",function(b){b!==g&&(y=zt(b),g=b,r.$validate())})}}function Nd(e,t,n,r,i,l){Vs(e,t,n,r,"range"),iu(r),sr(e,t,n,r,i,l);var u=r.$$hasNativeValidators&&t[0].type==="range",a=u?0:void 0,o=u?100:void 0,h=u?1:void 0,d=t[0].validity,p=he(n.min),g=he(n.max),y=he(n.step),b=r.$render;r.$render=u&&he(d.rangeUnderflow)&&he(d.rangeOverflow)?function(){b(),r.$setViewValue(t.val())}:b,p&&(a=zt(n.min),r.$validators.min=u?function(){return!0}:function(q,A){return r.$isEmpty(A)||pe(a)||A>=a},L("min",z)),g&&(o=zt(n.max),r.$validators.max=u?function(){return!0}:function(q,A){return r.$isEmpty(A)||pe(o)||A<=o},L("max",I)),y&&(h=zt(n.step),r.$validators.step=u?function(){return!d.stepMismatch}:function(q,A){return r.$isEmpty(A)||pe(h)||su(A,a||0,h)},L("step",D));function L(F,q){t.attr(F,n[F]);var A=n[F];n.$observe(F,function(m){m!==A&&(A=m,q(m))})}function z(F){if(a=zt(F),!je(r.$modelValue))if(u){var q=t.val();a>q&&(q=a,t.val(q)),r.$setViewValue(q)}else r.$validate()}function I(F){if(o=zt(F),!je(r.$modelValue))if(u){var q=t.val();o<q&&(t.val(o),q=o<a?a:o),r.$setViewValue(q)}else r.$validate()}function D(F){h=zt(F),!je(r.$modelValue)&&(u?r.$viewValue!==t.val()&&r.$setViewValue(t.val()):r.$validate())}}function qd(e,t,n,r,i,l){sr(e,t,n,r,i,l),Bs(r),r.$validators.url=function(u,a){var o=u||a;return r.$isEmpty(o)||Md.test(o)}}function Ud(e,t,n,r,i,l){sr(e,t,n,r,i,l),Bs(r),r.$validators.email=function(u,a){var o=u||a;return r.$isEmpty(o)||Pd.test(o)}}function Bd(e,t,n,r){var i=!n.ngTrim||tt(n.ngTrim)!=="false";pe(n.name)&&t.attr("name",vt());var l=function(u){var a;t[0].checked&&(a=n.value,i&&(a=tt(a)),r.$setViewValue(a,u&&u.type))};t.on("change",l),r.$render=function(){var u=n.value;i&&(u=tt(u)),t[0].checked=u===r.$viewValue},n.$observe("value",r.$render)}function ou(e,t,n,r,i){var l;if(he(r)){if(l=e(r),!l.constant)throw Xr("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return l(t)}return i}function Vd(e,t,n,r,i,l,u,a){var o=ou(a,e,"ngTrueValue",n.ngTrueValue,!0),h=ou(a,e,"ngFalseValue",n.ngFalseValue,!1),d=function(p){r.$setViewValue(t[0].checked,p&&p.type)};t.on("change",d),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(p){return p===!1},r.$formatters.push(function(p){return tn(p,o)}),r.$parsers.push(function(p){return p?o:h})}var au=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,l,u,a){a[0]&&(ru[ue(u.type)]||ru.text)(i,l,u,a[0],t,e,n,r)}}}}],jd=function(){var e={configurable:!0,enumerable:!1,get:function(){return this.getAttribute("value")||""},set:function(t){this.setAttribute("value",t)}};return{restrict:"E",priority:200,compile:function(t,n){if(ue(n.type)==="hidden")return{pre:function(r,i,l,u){var a=i[0];a.parentNode&&a.parentNode.insertBefore(a,a.nextSibling),Object.defineProperty&&Object.defineProperty(a,"value",e)}}}}},Hd=/^(true|false|\d+)$/,Wd=function(){function e(t,n,r){var i=he(r)?r:k===9?"":null;t.prop("value",i),n.$set("value",r)}return{restrict:"A",priority:100,compile:function(t,n){return Hd.test(n.ngValue)?function(i,l,u){var a=i.$eval(u.ngValue);e(l,u,a)}:function(i,l,u){i.$watch(u.ngValue,function(o){e(l,u,o)})}}}},zd=["$compile",function(e){return{restrict:"AC",compile:function(n){return e.$$addBindingClass(n),function(i,l,u){e.$$addBindingInfo(l,u.ngBind),l=l[0],i.$watch(u.ngBind,function(o){l.textContent=ps(o)})}}}}],Gd=["$interpolate","$compile",function(e,t){return{compile:function(r){return t.$$addBindingClass(r),function(l,u,a){var o=e(u.attr(a.$attr.ngBindTemplate));t.$$addBindingInfo(u,o.expressions),u=u[0],a.$observe("ngBindTemplate",function(h){u.textContent=pe(h)?"":h})}}}}],Xd=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(i,l){var u=t(l.ngBindHtml),a=t(l.ngBindHtml,function(h){return e.valueOf(h)});return n.$$addBindingClass(i),function(h,d,p){n.$$addBindingInfo(d,p.ngBindHtml),h.$watch(a,function(){var y=u(h);d.html(e.getTrustedHtml(y)||"")})}}}}],Yd=st({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}});function Ws(e,t){e="ngClass"+e;var n;return["$parse",function(u){return{restrict:"AC",link:function(a,o,h){var d=o.data("$classCounts"),p=!0,g;d||(d=nt(),o.data("$classCounts",d)),e!=="ngClass"&&(n||(n=u("$index",function(q){return q&1})),a.$watch(n,I)),a.$watch(u(h[e],l),D);function y(F){F=z(i(F),1),h.$addClass(F)}function b(F){F=z(i(F),-1),h.$removeClass(F)}function L(F,q){var A=i(F),T=i(q),m=r(A,T),$=r(T,A),C=z(m,-1),E=z($,1);h.$addClass(E),h.$removeClass(C)}function z(F,q){var A=[];return R(F,function(T){(q>0||d[T])&&(d[T]=(d[T]||0)+q,d[T]===+(q>0)&&A.push(T))}),A.join(" ")}function I(F){F===t?y(g):b(g),p=F}function D(F){p===t&&L(g,F),g=F}}}}];function r(u,a){if(!u||!u.length)return[];if(!a||!a.length)return u;var o=[];e:for(var h=0;h<u.length;h++){for(var d=u[h],p=0;p<a.length;p++)if(d===a[p])continue e;o.push(d)}return o}function i(u){return u&&u.split(" ")}function l(u){if(!u)return u;var a=u;return ae(u)?a=u.map(l).join(" "):Y(u)?a=Object.keys(u).filter(function(o){return u[o]}).join(" "):V(u)||(a=u+""),a}}var Jd=Ws("",!0),Kd=Ws("Odd",0),Zd=Ws("Even",1),Qd=ir({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),ep=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],uu={},tp={blur:!0,focus:!0};R("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=rn("ng-"+e);uu[t]=["$parse","$rootScope","$exceptionHandler",function(n,r,i){return cu(n,r,i,t,e,tp[e])}]});function cu(e,t,n,r,i,l){return{restrict:"A",compile:function(u,a){var o=e(a[r]);return function(d,p){p.on(i,function(g){var y=function(){o(d,{$event:g})};if(!t.$$phase)d.$apply(y);else if(l)d.$evalAsync(y);else try{y()}catch(b){n(b)}})}}}}var np=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,l,u){var a,o,h;n.$watch(i.ngIf,function(p){p?o||u(function(g,y){o=y,g[g.length++]=t.$$createComment("end ngIf",i.ngIf),a={clone:g},e.enter(g,r.parent(),r)}):(h&&(h.remove(),h=null),o&&(o.$destroy(),o=null),a&&(h=ui(a.clone),e.leave(h).done(function(g){g!==!1&&(h=null)}),a=null))})}}}],rp=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:ce.noop,compile:function(r,i){var l=i.ngInclude||i.src,u=i.onload||"",a=i.autoscroll;return function(o,h,d,p,g){var y=0,b,L,z,I=function(){L&&(L.remove(),L=null),b&&(b.$destroy(),b=null),z&&(n.leave(z).done(function(D){D!==!1&&(L=null)}),L=z,z=null)};o.$watch(l,function(F){var q=function(T){T!==!1&&he(a)&&(!a||o.$eval(a))&&t()},A=++y;F?(e(F,!0).then(function(T){if(!o.$$destroyed&&A===y){var m=o.$new();p.template=T;var $=g(m,function(C){I(),n.enter(C,null,h).done(q)});b=m,z=$,b.$emit("$includeContentLoaded",F),o.$eval(u)}},function(){o.$$destroyed||A===y&&(I(),o.$emit("$includeContentError",F))}),o.$emit("$includeContentRequested",F)):(I(),p.template=null)})}}}}],ip=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(t,n,r,i){if(M.call(n[0]).match(/SVG/)){n.empty(),e(zo(i.template,c.document).childNodes)(t,function(u){n.append(u)},{futureParentElement:n});return}n.html(i.template),e(n.contents())(t)}}}],sp=ir({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),op=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var i=n.ngList||", ",l=n.ngTrim!=="false",u=l?tt(i):i,a=function(o){if(!pe(o)){var h=[];return o&&R(o.split(u),function(d){d&&h.push(l?tt(d):d)}),h}};r.$parsers.push(a),r.$formatters.push(function(o){if(ae(o))return o.join(i)}),r.$isEmpty=function(o){return!o||!o.length}}}},Gr="ng-valid",fu="ng-invalid",or="ng-pristine",xi="ng-dirty",zs="ng-untouched",lu="ng-touched",hu="ng-empty",du="ng-not-empty",Xr=_("ngModel");Mi.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"];function Mi(e,t,n,r,i,l,u,a,o){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=o(n.name||"",!1)(e),this.$$parentForm=Wr,this.$options=Pi,this.$$updateEvents="",this.$$updateEventHandler=this.$$updateEventHandler.bind(this),this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$parserName="parse",this.$$currentValidationRunId=0,this.$$scope=e,this.$$rootScope=e.$root,this.$$attr=n,this.$$element=r,this.$$animate=l,this.$$timeout=u,this.$$parse=i,this.$$q=a,this.$$exceptionHandler=t,Ya(this),ap(this)}Mi.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(n){var r=this.$$parsedNgModel(n);return $e(r)&&(r=e(n)),r},this.$$ngModelSet=function(n,r){$e(this.$$parsedNgModel(n))?t(n,{$$$p:r}):this.$$parsedNgModelAssign(n,r)}}else if(!this.$$parsedNgModel.assign)throw Xr("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,cn(this.$$element))},$render:Ae,$isEmpty:function(e){return pe(e)||e===""||e===null||e!==e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,du),this.$$animate.addClass(this.$$element,hu)):(this.$$animate.removeClass(this.$$element,hu),this.$$animate.addClass(this.$$element,du))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,xi),this.$$animate.addClass(this.$$element,or)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,or),this.$$animate.addClass(this.$$element,xi),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,zs,lu)},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,lu,zs)},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!je(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),l=this;this.$$runValidators(t,e,function(u){!i&&n!==u&&(l.$modelValue=u?t:void 0,l.$modelValue!==r&&l.$$writeModelToScope())})}},$$runValidators:function(e,t,n){this.$$currentValidationRunId++;var r=this.$$currentValidationRunId,i=this;if(!l()){h(!1);return}if(!u()){h(!1);return}a();function l(){var d=i.$$parserName;if(pe(i.$$parserValid))o(d,null);else return i.$$parserValid||(R(i.$validators,function(p,g){o(g,null)}),R(i.$asyncValidators,function(p,g){o(g,null)})),o(d,i.$$parserValid),i.$$parserValid;return!0}function u(){var d=!0;return R(i.$validators,function(p,g){var y=Boolean(p(e,t));d=d&&y,o(g,y)}),d?!0:(R(i.$asyncValidators,function(p,g){o(g,null)}),!1)}function a(){var d=[],p=!0;R(i.$asyncValidators,function(g,y){var b=g(e,t);if(!si(b))throw Xr("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",b);o(y,void 0),d.push(b.then(function(){o(y,!0)},function(){p=!1,o(y,!1)}))}),d.length?i.$$q.all(d).then(function(){h(p)},Ae):h(!0)}function o(d,p){r===i.$$currentValidationRunId&&i.$setValidity(d,p)}function h(d){r===i.$$currentValidationRunId&&n(d)}},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),!(this.$$lastCommittedViewValue===e&&(e!==""||!this.$$hasNativeValidators))&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){var e=this.$$lastCommittedViewValue,t=e,n=this;if(this.$$parserValid=pe(t)?void 0:!0,this.$setValidity(this.$$parserName,null),this.$$parserName="parse",this.$$parserValid){for(var r=0;r<this.$parsers.length;r++)if(t=this.$parsers[r](t),pe(t)){this.$$parserValid=!1;break}}je(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var i=this.$modelValue,l=this.$options.getOption("allowInvalid");this.$$rawModelValue=t,l&&(this.$modelValue=t,u()),this.$$runValidators(t,this.$$lastCommittedViewValue,function(a){l||(n.$modelValue=a?t:void 0,u())});function u(){n.$modelValue!==i&&n.$$writeModelToScope()}},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),R(this.$viewChangeListeners,function(e){try{e()}catch(t){this.$$exceptionHandler(t)}},this)},$setViewValue:function(e,t){this.$viewValue=e,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(t)},$$debounceViewValueCommit:function(e){var t=this.$options.getOption("debounce");ve(t[e])?t=t[e]:ve(t.default)&&this.$options.getOption("updateOn").indexOf(e)===-1?t=t.default:ve(t["*"])&&(t=t["*"]),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;t>0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},t):this.$$rootScope.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})},$overrideModelOptions:function(e){this.$options=this.$options.createChild(e),this.$$setUpdateOnEvents()},$processModelValue:function(){var e=this.$$format();this.$viewValue!==e&&(this.$$updateEmptyClasses(e),this.$viewValue=this.$$lastCommittedViewValue=e,this.$render(),this.$$runValidators(this.$modelValue,this.$viewValue,Ae))},$$format:function(){for(var e=this.$formatters,t=e.length,n=this.$modelValue;t--;)n=e[t](n);return n},$$setModelValue:function(e){this.$modelValue=this.$$rawModelValue=e,this.$$parserValid=void 0,this.$processModelValue()},$$setUpdateOnEvents:function(){this.$$updateEvents&&this.$$element.off(this.$$updateEvents,this.$$updateEventHandler),this.$$updateEvents=this.$options.getOption("updateOn"),this.$$updateEvents&&this.$$element.on(this.$$updateEvents,this.$$updateEventHandler)},$$updateEventHandler:function(e){this.$$debounceViewValueCommit(e&&e.type)}};function ap(e){e.$$scope.$watch(function(n){var r=e.$$ngModelGet(n);return r!==e.$modelValue&&(e.$modelValue===e.$modelValue||r===r)&&e.$$setModelValue(r),r})}Ja({clazz:Mi,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var up=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Mi,priority:1,compile:function(n){return n.addClass(or).addClass(zs).addClass(Gr),{pre:function(i,l,u,a){var o=a[0],h=a[1]||o.$$parentForm,d=a[2];d&&(o.$options=d.$options),o.$$initGetterSetters(),h.$addControl(o),u.$observe("name",function(p){o.$name!==p&&o.$$parentForm.$$renameControl(o,p)}),i.$on("$destroy",function(){o.$$parentForm.$removeControl(o)})},post:function(i,l,u,a){var o=a[0];o.$$setUpdateOnEvents();function h(){o.$setTouched()}l.on("blur",function(){o.$touched||(e.$$phase?i.$evalAsync(h):i.$apply(h))})}}}}}],Pi,cp=/(\s+|^)default(\s+|$)/;function Gs(e){this.$$options=e}Gs.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return e=Fe({},e),R(e,function(n,r){n==="$inherit"?r==="*"?t=!0:(e[r]=this.$$options[r],r==="updateOn"&&(e.updateOnDefault=this.$$options.updateOnDefault)):r==="updateOn"&&(e.updateOnDefault=!1,e[r]=tt(n.replace(cp,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],pu(e,this.$$options)),pu(e,Pi.$$options),new Gs(e)}},Pi=new Gs({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var fp=function(){e.$inject=["$attrs","$scope"];function e(t,n){this.$$attrs=t,this.$$scope=n}return e.prototype={$onInit:function(){var t=this.parentCtrl?this.parentCtrl.$options:Pi,n=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=t.createChild(n)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}};function pu(e,t){R(t,function(n,r){he(e[r])||(e[r]=n)})}var lp=ir({terminal:!0,priority:1e3}),hp=_("ngOptions"),dp=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,pp=["$compile","$document","$parse",function(e,t,n){function r(a,o,h){var d=a.match(dp);if(!d)throw hp("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",a,cn(o));var p=d[5]||d[7],g=d[6],y=/ as /.test(d[0])&&d[1],b=d[9],L=n(d[2]?d[1]:p),z=y&&n(y),I=z||L,D=b&&n(b),F=b?function(P,W){return D(h,W)}:function(W){return tr(W)},q=function(P,W){return F(P,E(P,W))},A=n(d[2]||d[1]),T=n(d[3]||""),m=n(d[4]||""),$=n(d[8]),C={},E=g?function(P,W){return C[g]=W,C[p]=P,C}:function(P){return C[p]=P,C};function x(P,W,Q,re,J){this.selectValue=P,this.viewValue=W,this.label=Q,this.group=re,this.disabled=J}function U(P){var W;if(!g&&De(P))W=P;else{W=[];for(var Q in P)P.hasOwnProperty(Q)&&Q.charAt(0)!=="$"&&W.push(Q)}return W}return{trackBy:b,getTrackByValue:q,getWatchables:n($,function(P){var W=[];P=P||[];for(var Q=U(P),re=Q.length,J=0;J<re;J++){var oe=P===Q?J:Q[J],ke=P[oe],_e=E(ke,oe),Re=F(ke,_e);if(W.push(Re),d[2]||d[1]){var Ue=A(h,_e);W.push(Ue)}if(d[4]){var Be=m(h,_e);W.push(Be)}}return W}),getOptions:function(){for(var P=[],W={},Q=$(h)||[],re=U(Q),J=re.length,oe=0;oe<J;oe++){var ke=Q===re?oe:re[oe],_e=Q[ke],Re=E(_e,ke),Ue=I(h,Re),Be=F(Ue,Re),Ge=A(h,Re),ot=T(h,Re),et=m(h,Re),wt=new x(Be,Ue,Ge,ot,et);P.push(wt),W[Be]=wt}return{items:P,selectValueMap:W,getOptionFromViewValue:function(dt){return W[q(dt)]},getViewValueFromOption:function(dt){return b?Mn(dt.viewValue):dt.viewValue}}}}}var i=c.document.createElement("option"),l=c.document.createElement("optgroup");function u(a,o,h,d){for(var p=d[0],g=d[1],y=h.multiple,b=0,L=o.children(),z=L.length;b<z;b++)if(L[b].value===""){p.hasEmptyOption=!0,p.emptyOption=L.eq(b);break}o.empty();var I=!!p.emptyOption,D=w(i.cloneNode(!1));D.val("?");var F,q=r(h.ngOptions,o,a),A=t[0].createDocumentFragment();p.generateUnknownOptionValue=function(E){return"?"},y?(p.writeValue=function(x){if(!!F){var U=x&&x.map(m)||[];F.items.forEach(function(P){P.element.selected&&!us(U,P)&&(P.element.selected=!1)})}},p.readValue=function(){var x=o.val()||[],U=[];return R(x,function(P){var W=F.selectValueMap[P];W&&!W.disabled&&U.push(F.getViewValueFromOption(W))}),U},q.trackBy&&a.$watchCollection(function(){if(ae(g.$viewValue))return g.$viewValue.map(function(E){return q.getTrackByValue(E)})},function(){g.$render()})):(p.writeValue=function(x){if(!!F){var U=o[0].options[o[0].selectedIndex],P=F.getOptionFromViewValue(x);U&&U.removeAttribute("selected"),P?(o[0].value!==P.selectValue&&(p.removeUnknownOption(),o[0].value=P.selectValue,P.element.selected=!0),P.element.setAttribute("selected","selected")):p.selectUnknownOrEmptyOption(x)}},p.readValue=function(){var x=F.selectValueMap[o.val()];return x&&!x.disabled?(p.unselectEmptyOption(),p.removeUnknownOption(),F.getViewValueFromOption(x)):null},q.trackBy&&a.$watch(function(){return q.getTrackByValue(g.$viewValue)},function(){g.$render()})),I&&(e(p.emptyOption)(a),o.prepend(p.emptyOption),p.emptyOption[0].nodeType===qr?(p.hasEmptyOption=!1,p.registerOption=function(E,x){x.val()===""&&(p.hasEmptyOption=!0,p.emptyOption=x,p.emptyOption.removeClass("ng-scope"),g.$render(),x.on("$destroy",function(){var U=p.$isEmptyOptionSelected();p.hasEmptyOption=!1,p.emptyOption=void 0,U&&g.$render()}))}):p.emptyOption.removeClass("ng-scope")),a.$watchCollection(q.getWatchables,C);function T(E,x){var U=i.cloneNode(!1);x.appendChild(U),$(E,U)}function m(E){var x=F.getOptionFromViewValue(E),U=x&&x.element;return U&&!U.selected&&(U.selected=!0),x}function $(E,x){E.element=x,x.disabled=E.disabled,E.label!==x.label&&(x.label=E.label,x.textContent=E.label),x.value=E.selectValue}function C(){var E=F&&p.readValue();if(F)for(var x=F.items.length-1;x>=0;x--){var U=F.items[x];he(U.group)?$i(U.element.parentNode):$i(U.element)}F=q.getOptions();var P={};if(F.items.forEach(function(J){var oe;he(J.group)?(oe=P[J.group],oe||(oe=l.cloneNode(!1),A.appendChild(oe),oe.label=J.group===null?"null":J.group,P[J.group]=oe),T(J,oe)):T(J,A)}),o[0].appendChild(A),g.$render(),!g.$isEmpty(E)){var W=p.readValue(),Q=q.trackBy||y;(Q?!tn(E,W):E!==W)&&(g.$setViewValue(W),g.$render())}}}return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(o,h,d,p){p[0].registerOption=Ae},post:u}}}],vp=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(l,u,a){var o=a.count,h=a.$attr.when&&u.attr(a.$attr.when),d=a.offset||0,p=l.$eval(h)||{},g={},y=t.startSymbol(),b=t.endSymbol(),L=y+o+"-"+d+b,z=ce.noop,I;R(a,function(F,q){var A=i.exec(q);if(A){var T=(A[1]?"-":"")+ue(A[2]);p[T]=u.attr(a.$attr[q])}}),R(p,function(F,q){g[q]=t(F.replace(r,L))}),l.$watch(o,function(q){var A=parseFloat(q),T=je(A);if(!T&&!(A in p)&&(A=e.pluralCat(A-d)),A!==I&&!(T&&je(I))){z();var m=g[A];pe(m)?(q!=null&&n.debug("ngPluralize: no rule defined for '"+A+"' in "+h),z=Ae,D()):z=l.$watch(m,D),I=A}});function D(F){u.text(F||"")}}}}],vu=_("ngRef"),gp=["$parse",function(e){return{priority:-1,restrict:"A",compile:function(t,n){var r=rn(en(t)),i=e(n.ngRef),l=i.assign||function(){throw vu("nonassign",'Expression in ngRef="{0}" is non-assignable!',n.ngRef)};return function(u,a,o){var h;if(o.hasOwnProperty("ngRefRead")){if(o.ngRefRead==="$element")h=a;else if(h=a.data("$"+o.ngRefRead+"Controller"),!h)throw vu("noctrl",'The controller for ngRefRead="{0}" could not be found on ngRef="{1}"',o.ngRefRead,n.ngRef)}else h=a.data("$"+r+"Controller");h=h||a,l(u,h),a.on("$destroy",function(){i(u)===h&&l(u,null)})}}}}],$p=["$parse","$animate","$compile",function(e,t,n){var r="$$NG_REMOVED",i=_("ngRepeat"),l=function(d,p,g,y,b,L,z){d[g]=y,b&&(d[b]=L),d.$index=p,d.$first=p===0,d.$last=p===z-1,d.$middle=!(d.$first||d.$last),d.$odd=!(d.$even=(p&1)===0)},u=function(d){return d.clone[0]},a=function(d){return d.clone[d.clone.length-1]},o=function(d,p,g){return tr(g)},h=function(d,p){return p};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(p,g){var y=g.ngRepeat,b=n.$$createComment("end ngRepeat",y),L=y.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!L)throw i("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",y);var z=L[1],I=L[2],D=L[3],F=L[4];if(L=z.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/),!L)throw i("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",z);var q=L[3]||L[1],A=L[2];if(D&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(D)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(D)))throw i("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",D);var T;if(F){var m={$id:tr},$=e(F);T=function(C,E,x,U){return A&&(m[A]=E),m[q]=x,m.$index=U,$(C,m)}}return function(E,x,U,P,W){var Q=nt();E.$watchCollection(I,function(J){var oe,ke,_e=x[0],Re,Ue=nt(),Be,Ge,ot,et,wt,dt,bt,it,qn;if(D&&(E[D]=J),De(J))dt=J,wt=T||o;else{wt=T||h,dt=[];for(var Un in J)fe.call(J,Un)&&Un.charAt(0)!=="$"&&dt.push(Un)}for(Be=dt.length,it=new Array(Be),oe=0;oe<Be;oe++)if(Ge=J===dt?oe:dt[oe],ot=J[Ge],et=wt(E,Ge,ot,oe),Q[et])bt=Q[et],delete Q[et],Ue[et]=bt,it[oe]=bt;else{if(Ue[et])throw R(it,function(sn){sn&&sn.scope&&(Q[sn.id]=sn)}),i("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",y,et,ot);it[oe]={id:et,scope:void 0,clone:void 0},Ue[et]=!0}m&&(m[q]=void 0);for(var Xs in Q){if(bt=Q[Xs],qn=ui(bt.clone),t.leave(qn),qn[0].parentNode)for(oe=0,ke=qn.length;oe<ke;oe++)qn[oe][r]=!0;bt.scope.$destroy()}for(oe=0;oe<Be;oe++)if(Ge=J===dt?oe:dt[oe],ot=J[Ge],bt=it[oe],bt.scope){Re=_e;do Re=Re.nextSibling;while(Re&&Re[r]);u(bt)!==Re&&t.move(ui(bt.clone),null,_e),_e=a(bt),l(bt.scope,oe,q,ot,A,Ge,Be)}else W(function(Sn,Ys){bt.scope=Ys;var Yr=b.cloneNode(!1);Sn[Sn.length++]=Yr,t.enter(Sn,null,_e),_e=Yr,bt.clone=Sn,Ue[bt.id]=bt,l(bt.scope,oe,q,ot,A,Ge,Be)});Q=Ue})}}}}],gu="ng-hide",$u="ng-hide-animate",mp=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(l){e[l?"removeClass":"addClass"](n,gu,{tempClasses:$u})})}}}],yp=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(l){e[l?"addClass":"removeClass"](n,gu,{tempClasses:$u})})}}}],bp=ir(function(e,t,n){e.$watchCollection(n.ngStyle,function(i,l){l&&i!==l&&R(l,function(u,a){t.css(a,"")}),i&&t.css(i)})}),Cp=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,l){var u=i.ngSwitch||i.on,a=[],o=[],h=[],d=[],p=function(g,y){return function(b){b!==!1&&g.splice(y,1)}};n.$watch(u,function(y){for(var b,L;h.length;)e.cancel(h.pop());for(b=0,L=d.length;b<L;++b){var z=ui(o[b].clone);d[b].$destroy();var I=h[b]=e.leave(z);I.done(p(h,b))}o.length=0,d.length=0,(a=l.cases["!"+y]||l.cases["?"])&&R(a,function(D){D.transclude(function(F,q){d.push(q);var A=D.element;F[F.length++]=t.$$createComment("end ngSwitchWhen");var T={clone:F};o.push(T),e.enter(F,A.parent(),A)})})})}}}],Ep=ir({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){var l=n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(u,a,o){return o[a-1]!==u});R(l,function(u){r.cases["!"+u]=r.cases["!"+u]||[],r.cases["!"+u].push({transclude:i,element:t})})}}),wp=ir({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Ap=_("ngTransclude"),Sp=["$compile",function(e){return{restrict:"EAC",compile:function(n){var r=e(n.contents());return n.empty(),function(l,u,a,o,h){if(!h)throw Ap("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",cn(u));a.ngTransclude===a.$attr.ngTransclude&&(a.ngTransclude="");var d=a.ngTransclude||a.ngTranscludeSlot;h(p,null,d),d&&!h.isSlotFilled(d)&&g();function p(b,L){b.length&&y(b)?u.append(b):(g(),L.$destroy())}function g(){r(l,function(b){u.append(b)})}function y(b){for(var L=0,z=b.length;L<z;L++){var I=b[L];if(I.nodeType!==wn||I.nodeValue.trim())return!0}}}}}}],_p=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if(n.type==="text/ng-template"){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Tp={$setViewValue:Ae,$render:Ae};function Nn(e,t){e.prop("selected",t),e.attr("selected",t)}var kp=["$element","$scope",function(e,t){var n=this,r=new yi;n.selectValueMap={},n.ngModelCtrl=Tp,n.multiple=!1,n.unknownOption=w(c.document.createElement("option")),n.hasEmptyOption=!1,n.emptyOption=void 0,n.renderUnknownOption=function(o){var h=n.generateUnknownOptionValue(o);n.unknownOption.val(h),e.prepend(n.unknownOption),Nn(n.unknownOption,!0),e.val(h)},n.updateUnknownOption=function(o){var h=n.generateUnknownOptionValue(o);n.unknownOption.val(h),Nn(n.unknownOption,!0),e.val(h)},n.generateUnknownOptionValue=function(o){return"? "+tr(o)+" ?"},n.removeUnknownOption=function(){n.unknownOption.parent()&&n.unknownOption.remove()},n.selectEmptyOption=function(){n.emptyOption&&(e.val(""),Nn(n.emptyOption,!0))},n.unselectEmptyOption=function(){n.hasEmptyOption&&Nn(n.emptyOption,!1)},t.$on("$destroy",function(){n.renderUnknownOption=Ae}),n.readValue=function(){var h=e.val(),d=h in n.selectValueMap?n.selectValueMap[h]:h;return n.hasOption(d)?d:null},n.writeValue=function(h){var d=e[0].options[e[0].selectedIndex];if(d&&Nn(w(d),!1),n.hasOption(h)){n.removeUnknownOption();var p=tr(h);e.val(p in n.selectValueMap?p:h);var g=e[0].options[e[0].selectedIndex];Nn(w(g),!0)}else n.selectUnknownOrEmptyOption(h)},n.addOption=function(o,h){if(h[0].nodeType!==qr){Zn(o,'"option value"'),o===""&&(n.hasEmptyOption=!0,n.emptyOption=h);var d=r.get(o)||0;r.set(o,d+1),l()}},n.removeOption=function(o){var h=r.get(o);h&&(h===1?(r.delete(o),o===""&&(n.hasEmptyOption=!1,n.emptyOption=void 0)):r.set(o,h-1))},n.hasOption=function(o){return!!r.get(o)},n.$hasEmptyOption=function(){return n.hasEmptyOption},n.$isUnknownOptionSelected=function(){return e[0].options[0]===n.unknownOption[0]},n.$isEmptyOptionSelected=function(){return n.hasEmptyOption&&e[0].options[e[0].selectedIndex]===n.emptyOption[0]},n.selectUnknownOrEmptyOption=function(o){o==null&&n.emptyOption?(n.removeUnknownOption(),n.selectEmptyOption()):n.unknownOption.parent().length?n.updateUnknownOption(o):n.renderUnknownOption(o)};var i=!1;function l(){i||(i=!0,t.$$postDigest(function(){i=!1,n.ngModelCtrl.$render()}))}var u=!1;function a(o){u||(u=!0,t.$$postDigest(function(){t.$$destroyed||(u=!1,n.ngModelCtrl.$setViewValue(n.readValue()),o&&n.ngModelCtrl.$render())}))}n.registerOption=function(o,h,d,p,g){if(d.$attr.ngValue){var y,b;d.$observe("value",function(z){var I,D=h.prop("selected");he(b)&&(n.removeOption(y),delete n.selectValueMap[b],I=!0),b=tr(z),y=z,n.selectValueMap[b]=z,n.addOption(z,h),h.attr("value",b),I&&D&&a()})}else p?d.$observe("value",function(z){n.readValue();var I,D=h.prop("selected");he(y)&&(n.removeOption(y),I=!0),y=z,n.addOption(z,h),I&&D&&a()}):g?o.$watch(g,function(z,I){d.$set("value",z);var D=h.prop("selected");I!==z&&n.removeOption(I),n.addOption(z,h),I&&D&&a()}):n.addOption(d.value,h);d.$observe("disabled",function(L){(L==="true"||L&&h.prop("selected"))&&(n.multiple?a(!0):(n.ngModelCtrl.$setViewValue(null),n.ngModelCtrl.$render()))}),h.on("$destroy",function(){var L=n.readValue(),z=d.value;n.removeOption(z),l(),(n.multiple&&L&&L.indexOf(z)!==-1||L===z)&&a(!0)})}}],Op=function(){return{restrict:"E",require:["select","?ngModel"],controller:kp,priority:1,link:{pre:e,post:t}};function e(n,r,i,l){var u=l[0],a=l[1];if(!a){u.registerOption=Ae;return}if(u.ngModelCtrl=a,r.on("change",function(){u.removeUnknownOption(),n.$apply(function(){a.$setViewValue(u.readValue())})}),i.multiple){u.multiple=!0,u.readValue=function(){var p=[];return R(r.find("option"),function(g){if(g.selected&&!g.disabled){var y=g.value;p.push(y in u.selectValueMap?u.selectValueMap[y]:y)}}),p},u.writeValue=function(p){R(r.find("option"),function(g){var y=!!p&&(us(p,g.value)||us(p,u.selectValueMap[g.value])),b=g.selected;y!==b&&Nn(w(g),y)})};var o,h=NaN;n.$watch(function(){h===a.$viewValue&&!tn(o,a.$viewValue)&&(o=nn(a.$viewValue),a.$render()),h=a.$viewValue}),a.$isEmpty=function(d){return!d||d.length===0}}}function t(n,r,i,l){var u=l[1];if(!!u){var a=l[0];u.$render=function(){a.writeValue(u.$viewValue)}}}},xp=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){var r,i;return he(n.ngValue)||(he(n.value)?r=e(n.value,!0):(i=e(t.text(),!0),i||n.$set("value",t.text()))),function(l,u,a){var o="$selectController",h=u.parent(),d=h.data(o)||h.parent().data(o);d&&d.registerOption(l,u,a,r,i)}}}}],mu=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(!!i){var l=r.hasOwnProperty("required")||e(r.ngRequired)(t);r.ngRequired||(r.required=!0),i.$validators.required=function(u,a){return!l||!i.$isEmpty(a)},r.$observe("required",function(u){l!==u&&(l=u,i.$validate())})}}}}],yu=["$parse",function(e){return{restrict:"A",require:"?ngModel",compile:function(t,n){var r,i;return n.ngPattern&&(r=n.ngPattern,n.ngPattern.charAt(0)==="/"&&j.test(n.ngPattern)?i=function(){return n.ngPattern}:i=e(n.ngPattern)),function(l,u,a,o){if(!!o){var h=a.pattern;a.ngPattern?h=i(l):r=a.pattern;var d=Eu(h,r,u);a.$observe("pattern",function(p){var g=d;d=Eu(p,r,u),(g&&g.toString())!==(d&&d.toString())&&o.$validate()}),o.$validators.pattern=function(p,g){return o.$isEmpty(g)||pe(d)||d.test(g)}}}}}}],bu=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(!!i){var l=r.maxlength||e(r.ngMaxlength)(t),u=Ri(l);r.$observe("maxlength",function(a){l!==a&&(u=Ri(a),l=a,i.$validate())}),i.$validators.maxlength=function(a,o){return u<0||i.$isEmpty(o)||o.length<=u}}}}}],Cu=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,r,i){if(!!i){var l=r.minlength||e(r.ngMinlength)(t),u=Ri(l)||-1;r.$observe("minlength",function(a){l!==a&&(u=Ri(a)||-1,l=a,i.$validate())}),i.$validators.minlength=function(a,o){return i.$isEmpty(o)||o.length>=u}}}}}];function Eu(e,t,n){if(!!e){if(V(e)&&(e=new RegExp("^"+e+"$")),!e.test)throw _("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",t,e,cn(n));return e}}function Ri(e){var t=Ye(e);return je(t)?-1:t}if(c.angular.bootstrap){c.console&&console.log("WARNING: Tried to load AngularJS more than once.");return}tl(),ul(ce),ce.module("ngLocale",[],["$provide",function(e){var t={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};function n(i){i=i+"";var l=i.indexOf(".");return l==-1?0:i.length-l-1}function r(i,l){var u=l;u===void 0&&(u=Math.min(n(i),3));var a=Math.pow(10,u),o=(i*a|0)%a;return{v:u,f:o}}e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-\xA4",negSuf:"",posPre:"\xA4",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(i,l){var u=i|0,a=r(i,l);return u==1&&a.v==0?t.ONE:t.OTHER}})}]),w(function(){Kf(c.document,No)})})(window);!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend(window.angular.element("<style>").text('@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}'))});var Nu=we((j$,Iu)=>{Lu();Iu.exports=angular});var qu=we(()=>{(function(c,s){"use strict";function f(M,G){if(_(M)){G=G||[];for(var X=0,ce=M.length;X<ce;X++)G[X]=M[X]}else if(j(M)){G=G||{};for(var xe in M)xe.charAt(0)==="$"&&xe.charAt(1)==="$"||(G[xe]=M[xe])}return G||M}function v(M,G){var X=[],ce=M.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)(\*\?|[?*])?/g,function(xe,qe,De,R){var We=R==="?"||R==="*?",Ze=R==="*"||R==="*?";return X.push({name:De,optional:We}),qe=qe||"",(We?"(?:"+qe:qe+"(?:")+(Ze?"(.+?)":"([^/]+)")+(We?"?)?":")")}).replace(/([/$*])/g,"\\$1");return G.ignoreTrailingSlashes&&(ce=ce.replace(/\/+$/,"")+"/*"),{keys:X,regexp:new RegExp("^"+ce+"(?:[?#]|$)",G.caseInsensitiveMatch?"i":"")}}var _,j,K,fe,ue=s.module("ngRoute",[]).info({angularVersion:"1.8.2"}).provider("$route",w).run(Z),Te=s.$$minErr("ngRoute"),k;function w(){_=s.isArray,j=s.isObject,K=s.isDefined,fe=s.noop;function M(X,ce){return s.extend(Object.create(X),ce)}var G={};this.when=function(X,ce){var xe=f(ce);if(s.isUndefined(xe.reloadOnUrl)&&(xe.reloadOnUrl=!0),s.isUndefined(xe.reloadOnSearch)&&(xe.reloadOnSearch=!0),s.isUndefined(xe.caseInsensitiveMatch)&&(xe.caseInsensitiveMatch=this.caseInsensitiveMatch),G[X]=s.extend(xe,{originalPath:X},X&&v(X,xe)),X){var qe=X[X.length-1]==="/"?X.substr(0,X.length-1):X+"/";G[qe]=s.extend({originalPath:X,redirectTo:X},v(qe,xe))}return this},this.caseInsensitiveMatch=!1,this.otherwise=function(X){return typeof X=="string"&&(X={redirectTo:X}),this.when(null,X),this},k=!0,this.eagerInstantiationEnabled=function(ce){return K(ce)?(k=ce,this):k},this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce","$browser",function(X,ce,xe,qe,De,R,We,Ze){var vt=!1,Qe,Ct,Fe={routes:G,reload:function(){vt=!0;var Y={defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0,vt=!1}};X.$evalAsync(function(){Ye(Y),Y.defaultPrevented||je()})},updateParams:function(Y){if(this.current&&this.current.$$route)Y=s.extend({},this.current.params,Y),ce.path(he(this.current.$$route.originalPath,Y)),ce.search(Y);else throw Te("norout","Tried updating route with no current route")}};return X.$on("$locationChangeStart",Ye),X.$on("$locationChangeSuccess",je),Fe;function qt(Y,Se){var V=Se.keys,ve={};if(!Se.regexp)return null;var Ee=Se.regexp.exec(Y);if(!Ee)return null;for(var ae=1,Me=Ee.length;ae<Me;++ae){var $e=V[ae-1],Tt=Ee[ae];$e&&Tt&&(ve[$e.name]=Tt)}return ve}function Ye(Y){var Se=Fe.current;Qe=Ht(),Ct=pe(Qe,Se),!Ct&&(Se||Qe)&&X.$broadcast("$routeChangeStart",Qe,Se).defaultPrevented&&Y&&Y.preventDefault()}function je(){var Y=Fe.current,Se=Qe;if(Ct)Y.params=Se.params,s.copy(Y.params,xe),X.$broadcast("$routeUpdate",Y);else if(Se||Y){vt=!1,Fe.current=Se;var V=qe.resolve(Se);Ze.$$incOutstandingRequestCount("$route"),V.then(Lt).then(Ae).then(function(ve){return ve&&V.then(_t).then(function(Ee){Se===Fe.current&&(Se&&(Se.locals=Ee,s.copy(Se.params,xe)),X.$broadcast("$routeChangeSuccess",Se,Y))})}).catch(function(ve){Se===Fe.current&&X.$broadcast("$routeChangeError",Se,Y,ve)}).finally(function(){Ze.$$completeOutstandingRequest(fe,"$route")})}}function Lt(Y){var Se={route:Y,hasRedirection:!1};if(Y){if(Y.redirectTo)if(s.isString(Y.redirectTo))Se.path=he(Y.redirectTo,Y.params),Se.search=Y.params,Se.hasRedirection=!0;else{var V=ce.path(),ve=ce.search(),Ee=Y.redirectTo(Y.pathParams,V,ve);s.isDefined(Ee)&&(Se.url=Ee,Se.hasRedirection=!0)}else if(Y.resolveRedirectTo)return qe.resolve(De.invoke(Y.resolveRedirectTo)).then(function(ae){return s.isDefined(ae)&&(Se.url=ae,Se.hasRedirection=!0),Se})}return Se}function Ae(Y){var Se=!0;if(Y.route!==Fe.current)Se=!1;else if(Y.hasRedirection){var V=ce.url(),ve=Y.url;ve?ce.url(ve).replace():ve=ce.path(Y.path).search(Y.search).replace().url(),ve!==V&&(Se=!1)}return Se}function _t(Y){if(Y){var Se=s.extend({},Y.resolve);s.forEach(Se,function(ve,Ee){Se[Ee]=s.isString(ve)?De.get(ve):De.invoke(ve,null,null,Ee)});var V=st(Y);return s.isDefined(V)&&(Se.$template=V),qe.all(Se)}}function st(Y){var Se,V;return s.isDefined(Se=Y.template)?s.isFunction(Se)&&(Se=Se(Y.params)):s.isDefined(V=Y.templateUrl)&&(s.isFunction(V)&&(V=V(Y.params)),s.isDefined(V)&&(Y.loadedTemplateUrl=We.valueOf(V),Se=R(V))),Se}function Ht(){var Y,Se;return s.forEach(G,function(V,ve){!Se&&(Y=qt(ce.path(),V))&&(Se=M(V,{params:s.extend({},ce.search(),Y),pathParams:Y}),Se.$$route=V)}),Se||G[null]&&M(G[null],{params:{},pathParams:{}})}function pe(Y,Se){return!vt&&Y&&Se&&Y.$$route===Se.$$route&&(!Y.reloadOnUrl||!Y.reloadOnSearch&&s.equals(Y.pathParams,Se.pathParams))}function he(Y,Se){var V=[];return s.forEach((Y||"").split(":"),function(ve,Ee){if(Ee===0)V.push(ve);else{var ae=ve.match(/(\w+)(?:[?*])?(.*)/),Me=ae[1];V.push(Se[Me]),V.push(ae[2]||""),delete Se[Me]}}),V.join("")}}]}Z.$inject=["$injector"];function Z(M){k&&M.get("$route")}ue.provider("$routeParams",se);function se(){this.$get=function(){return{}}}ue.directive("ngView",ge),ue.directive("ngView",B),ge.$inject=["$route","$anchorScroll","$animate"];function ge(M,G,X){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(ce,xe,qe,De,R){var We,Ze,vt,Qe=qe.autoscroll,Ct=qe.onload||"";ce.$on("$routeChangeSuccess",qt),qt();function Fe(){vt&&(X.cancel(vt),vt=null),We&&(We.$destroy(),We=null),Ze&&(vt=X.leave(Ze),vt.done(function(Ye){Ye!==!1&&(vt=null)}),Ze=null)}function qt(){var Ye=M.current&&M.current.locals,je=Ye&&Ye.$template;if(s.isDefined(je)){var Lt=ce.$new(),Ae=M.current,_t=R(Lt,function(st){X.enter(st,null,Ze||xe).done(function(pe){pe!==!1&&s.isDefined(Qe)&&(!Qe||ce.$eval(Qe))&&G()}),Fe()});Ze=_t,We=Ae.scope=Lt,We.$emit("$viewContentLoaded"),We.$eval(Ct)}else Fe()}}}}B.$inject=["$compile","$controller","$route"];function B(M,G,X){return{restrict:"ECA",priority:-400,link:function(ce,xe){var qe=X.current,De=qe.locals;xe.html(De.$template);var R=M(xe.contents());if(qe.controller){De.$scope=ce;var We=G(qe.controller,De);qe.controllerAs&&(ce[qe.controllerAs]=We),xe.data("$ngControllerController",We),xe.children().data("$ngControllerController",We)}ce[qe.resolveAs||"$resolve"]=De,R(ce)}}}})(window,window.angular)});var Bu=we((z$,Uu)=>{qu();Uu.exports="ngRoute"});var Vu=we(()=>{(function(c,s){"use strict";var f=s.$$minErr("$sanitize"),v,_,j,K,fe,ue,Te,k,w,Z;function se(){var B=!1,M=!1;this.$get=["$$sanitizeUri",function(V){return B=!0,M&&_(Qe,Ze),function(ve){var Ee=[];return w(ve,Z(Ee,function(ae,Me){return!/^unsafe:/.test(V(ae,Me))})),Ee.join("")}}],this.enableSvg=function(V){return fe(V)?(M=V,this):M},this.addValidElements=function(V){return B||(K(V)&&(V={htmlElements:V}),Ae(Ze,V.svgElements),Ae(ce,V.htmlVoidElements),Ae(Qe,V.htmlVoidElements),Ae(Qe,V.htmlElements)),this},this.addValidAttrs=function(V){return B||_(Ye,Lt(V,!0)),this},v=s.bind,_=s.extend,j=s.forEach,K=s.isArray,fe=s.isDefined,ue=s.$$lowercase,Te=s.noop,w=st,Z=he,k=c.Node.prototype.contains||function(V){return!!(this.compareDocumentPosition(V)&16)};var G=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,X=/([^#-~ |!])/g,ce=je("area,br,col,hr,img,wbr"),xe=je("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),qe=je("rp,rt"),De=_({},qe,xe),R=_({},xe,je("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,section,table,ul")),We=_({},qe,je("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")),Ze=je("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,stop,svg,switch,text,title,tspan"),vt=je("script,style"),Qe=_({},ce,R,We,De),Ct=je("background,cite,href,longdesc,src,xlink:href,xml:base"),Fe=je("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,tabindex,target,title,type,valign,value,vspace,width"),qt=je("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,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",!0),Ye=_({},Ct,qt,Fe);function je(V,ve){return Lt(V.split(","),ve)}function Lt(V,ve){var Ee={},ae;for(ae=0;ae<V.length;ae++)Ee[ve?ue(V[ae]):V[ae]]=!0;return Ee}function Ae(V,ve){ve&&ve.length&&_(V,Lt(ve))}var _t=function(V,ve){if(Me())return $e;if(!ve||!ve.implementation)throw f("noinert","Can't create an inert html document");var Ee=ve.implementation.createHTMLDocument("inert"),ae=(Ee.documentElement||Ee.getDocumentElement()).querySelector("body");return Tt;function Me(){try{return!!$e("")}catch{return!1}}function $e(Mt){Mt="<remove></remove>"+Mt;try{var Ut=new V.DOMParser().parseFromString(Mt,"text/html").body;return Ut.firstChild.remove(),Ut}catch{return}}function Tt(Mt){return ae.innerHTML=Mt,ve.documentMode&&Y(ae),ae}}(c,c.document);function st(V,ve){V==null?V="":typeof V!="string"&&(V=""+V);var Ee=_t(V);if(!Ee)return"";var ae=5;do{if(ae===0)throw f("uinput","Failed to sanitize html because the input is unstable");ae--,V=Ee.innerHTML,Ee=_t(V)}while(V!==Ee.innerHTML);for(var Me=Ee.firstChild;Me;){switch(Me.nodeType){case 1:ve.start(Me.nodeName.toLowerCase(),Ht(Me.attributes));break;case 3:ve.chars(Me.textContent);break}var $e;if(!($e=Me.firstChild)&&(Me.nodeType===1&&ve.end(Me.nodeName.toLowerCase()),$e=Se("nextSibling",Me),!$e))for(;$e==null&&(Me=Se("parentNode",Me),Me!==Ee);)$e=Se("nextSibling",Me),Me.nodeType===1&&ve.end(Me.nodeName.toLowerCase());Me=$e}for(;Me=Ee.firstChild;)Ee.removeChild(Me)}function Ht(V){for(var ve={},Ee=0,ae=V.length;Ee<ae;Ee++){var Me=V[Ee];ve[Me.name]=Me.value}return ve}function pe(V){return V.replace(/&/g,"&").replace(G,function(ve){var Ee=ve.charCodeAt(0),ae=ve.charCodeAt(1);return"&#"+((Ee-55296)*1024+(ae-56320)+65536)+";"}).replace(X,function(ve){return"&#"+ve.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}function he(V,ve){var Ee=!1,ae=v(V,V.push);return{start:function(Me,$e){Me=ue(Me),!Ee&&vt[Me]&&(Ee=Me),!Ee&&Qe[Me]===!0&&(ae("<"),ae(Me),j($e,function(Tt,Mt){var Ut=ue(Mt),ii=Me==="img"&&Ut==="src"||Ut==="background";Ye[Ut]===!0&&(Ct[Ut]!==!0||ve(Tt,ii))&&(ae(" "),ae(Mt),ae('="'),ae(pe(Tt)),ae('"'))}),ae(">"))},end:function(Me){Me=ue(Me),!Ee&&Qe[Me]===!0&&ce[Me]!==!0&&(ae("</"),ae(Me),ae(">")),Me==Ee&&(Ee=!1)},chars:function(Me){Ee||ae(pe(Me))}}}function Y(V){for(;V;){if(V.nodeType===c.Node.ELEMENT_NODE)for(var ve=V.attributes,Ee=0,ae=ve.length;Ee<ae;Ee++){var Me=ve[Ee],$e=Me.name.toLowerCase();($e==="xmlns:ns1"||$e.lastIndexOf("ns1:",0)===0)&&(V.removeAttributeNode(Me),Ee--,ae--)}var Tt=V.firstChild;Tt&&Y(Tt),V=Se("nextSibling",V)}}function Se(V,ve){var Ee=ve[V];if(Ee&&k.call(ve,Ee))throw f("elclob","Failed to sanitize html because the element is clobbered: {0}",ve.outerHTML||ve.outerText);return Ee}}function ge(B){var M=[],G=Z(M,Te);return G.chars(B),M.join("")}s.module("ngSanitize",[]).provider("$sanitize",se).info({angularVersion:"1.8.2"}),s.module("ngSanitize").filter("linky",["$sanitize",function(B){var M=/((s?ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,G=/^mailto:/i,X=s.$$minErr("linky"),ce=s.isDefined,xe=s.isFunction,qe=s.isObject,De=s.isString;return function(R,We,Ze){if(R==null||R==="")return R;if(!De(R))throw X("notstring","Expected string but received: {0}",R);for(var vt=xe(Ze)?Ze:qe(Ze)?function(){return Ze}:function(){return{}},Qe,Ct=R,Fe=[],qt,Ye;Qe=Ct.match(M);)qt=Qe[0],!Qe[2]&&!Qe[4]&&(qt=(Qe[3]?"http://":"mailto:")+qt),Ye=Qe.index,je(Ct.substr(0,Ye)),Lt(qt,Qe[0].replace(G,"")),Ct=Ct.substring(Ye+Qe[0].length);return je(Ct),B(Fe.join(""));function je(Ae){!Ae||Fe.push(ge(Ae))}function Lt(Ae,_t){var st,Ht=vt(Ae);Fe.push("<a ");for(st in Ht)Fe.push(st+'="'+Ht[st]+'" ');ce(We)&&!("target"in Ht)&&Fe.push('target="',We,'" '),Fe.push('href="',Ae.replace(/"/g,"""),'">'),je(_t),Fe.push("</a>")}}}])})(window,window.angular)});var Hu=we((Y$,ju)=>{Vu();ju.exports="ngSanitize"});var Wu=we(()=>{(function(c,s){"use strict";var f=s.module("ngTouch",[]);f.info({angularVersion:"1.8.2"});function v(j){return s.$$lowercase(j.nodeName||j[0]&&j[0].nodeName)}f.factory("$swipe",[function(){var j=10,K={mouse:{start:"mousedown",move:"mousemove",end:"mouseup"},touch:{start:"touchstart",move:"touchmove",end:"touchend",cancel:"touchcancel"},pointer:{start:"pointerdown",move:"pointermove",end:"pointerup",cancel:"pointercancel"}};function fe(Te){var k=Te.originalEvent||Te,w=k.touches&&k.touches.length?k.touches:[k],Z=k.changedTouches&&k.changedTouches[0]||w[0];return{x:Z.clientX,y:Z.clientY}}function ue(Te,k){var w=[];return s.forEach(Te,function(Z){var se=K[Z][k];se&&w.push(se)}),w.join(" ")}return{bind:function(Te,k,w){var Z,se,ge,B,M=!1;w=w||["mouse","touch","pointer"],Te.on(ue(w,"start"),function(X){ge=fe(X),M=!0,Z=0,se=0,B=ge,k.start&&k.start(ge,X)});var G=ue(w,"cancel");G&&Te.on(G,function(X){M=!1,k.cancel&&k.cancel(X)}),Te.on(ue(w,"move"),function(X){if(!!M&&!!ge){var ce=fe(X);if(Z+=Math.abs(ce.x-B.x),se+=Math.abs(ce.y-B.y),B=ce,!(Z<j&&se<j))if(se>Z){M=!1,k.cancel&&k.cancel(X);return}else X.preventDefault(),k.move&&k.move(ce,X)}}),Te.on(ue(w,"end"),function(X){!M||(M=!1,k.end&&k.end(fe(X),X))})}}}]);function _(j,K,fe){f.directive(j,["$parse","$swipe",function(ue,Te){var k=75,w=.3,Z=30;return function(se,ge,B){var M=ue(B[j]),G,X;function ce(qe){if(!G)return!1;var De=Math.abs(qe.y-G.y),R=(qe.x-G.x)*K;return X&&De<k&&R>0&&R>Z&&De/R<w}var xe=["touch"];s.isDefined(B.ngSwipeDisableMouse)||xe.push("mouse"),Te.bind(ge,{start:function(qe,De){G=qe,X=!0},cancel:function(qe){X=!1},end:function(qe,De){ce(qe)&&se.$apply(function(){ge.triggerHandler(fe),M(se,{$event:De})})}},xe)}}])}_("ngSwipeLeft",-1,"swipeleft"),_("ngSwipeRight",1,"swiperight")})(window,window.angular)});var Gu=we((Z$,zu)=>{Wu();zu.exports="ngTouch"});var jn=we((Q$,Xu)=>{Xu.exports=window.angular});var Yu=we(()=>{var Gp=jn();Gp.module("bsDisconnect",[]).directive("disconnectElem",function(){return{restrict:"E",scope:{},template:`<section bs-overlay ng-class="{'active': ui.visible}"> |
|
<p><icon icon="block"></icon></p> |
|
<h1>{{ui.heading}} {{ui.message}}</h1> |
|
<p>Possible reasons are:</p> |
|
<ul bs-list> |
|
<li>1. Your process was exited by another tool</li> |
|
</ul> |
|
<p>You should check your terminal window to see what happened. <br/>(Or simply try reloading this page.)</p> |
|
</section>`,controller:["$scope","$rootScope","$window",Xp]}});function Xp(c,s,f){let v="Browsersync",_="Disconnected";c._disconnected=!1,c.ui={visible:!1,heading:v,message:_},c.socketEvents={connection:function(){c._disconnected&&f.location.reload(!0),c.ui.visible=!1,c.$digest()},disconnect:function(){c._disconnected=!0,c.ui.visible=!0,c.$digest()}},s.$on("ui:connection",c.socketEvents.connection),s.$on("ui:disconnect",c.socketEvents.disconnect)}});var Ju=we(()=>{var Yp=jn();Yp.module("bsNotify",[]).directive("notifyElem",function(){return{restrict:"E",scope:{},template:`<div bs-notify ng-class="{'active': ui.visible}"> |
|
<p class="notification__text">{{ui.heading}} <span class="color--lime">{{ui.message}}</span></p> |
|
</div>`,controller:["$scope","$rootScope",Jp]}});function Jp(c,s){var f="info",v="Browsersync:",_="Welcome to Browsersync",j=2e3;c.ui={status:f,heading:v,message:_},c.show=function(K,fe){fe=fe||{},c._timer&&clearTimeout(c._timer),c._timer=window.setTimeout(c.reset,fe.timeout||j),c.ui.visible=!0,c.ui.status=fe.status||f,c.ui.heading=fe.heading||v,c.ui.message=fe.message||v},c.reset=function(){c.ui.visible=!1,c.$digest()},s.$on("notify:flash",c.show)}});var Ku=we(()=>{var Kp=jn();Kp.module("bsHistory",["bsSocket"]).service("History",["Socket",Zp]);function Zp(c){var s=[],f=[];return c.on("ui:history:update",function(v){f.forEach(function(_){_(v)})}),{visited:s,updateHistory:function(v){s=v},get:function(){return c.getData("visited")},remove:function(v){c.emit("ui",{namespace:"history",event:"remove",data:v})},clear:function(){c.emit("ui",{namespace:"history",event:"clear"})},on:function(v,_){f.push(_)},off:function(v){var _=f.indexOf(v);_>-1&&(f=f.splice(_,1))}}}});var Zu=we(()=>{var Qp=jn();Qp.module("bsClients",["bsSocket"]).service("Clients",["Socket",ev]);function ev(c){var s={reloadAll:function(){c.clientEvent("browser:reload")},sendAllTo:function(f){c.emit("ui",{namespace:"history",event:"sendAllTo",data:{path:f}})},scrollAllTo:function(){c.clientEvent("scroll",{position:{raw:0,proportional:0},override:!0})},highlight:function(f){c.emit("ui:highlight",f)}};return s}});var ao=we((um,Qu)=>{var tv=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,nv=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];Qu.exports=function(s){var f=s,v=s.indexOf("["),_=s.indexOf("]");v!=-1&&_!=-1&&(s=s.substring(0,v)+s.substring(v,_).replace(/:/g,";")+s.substring(_,s.length));for(var j=tv.exec(s||""),K={},fe=14;fe--;)K[nv[fe]]=j[fe]||"";return v!=-1&&_!=-1&&(K.source=f,K.host=K.host.substring(1,K.host.length-1).replace(/;/g,":"),K.authority=K.authority.replace("[","").replace("]","").replace(/;/g,":"),K.ipv6uri=!0),K.pathNames=rv(K,K.path),K.queryKey=iv(K,K.query),K};function rv(c,s){var f=/\/{2,9}/g,v=s.replace(f,"/").split("/");return(s.substr(0,1)=="/"||s.length===0)&&v.splice(0,1),s.substr(s.length-1,1)=="/"&&v.splice(v.length-1,1),v}function iv(c,s){var f={};return s.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(v,_,j){_&&(f[_]=j)}),f}});var tc=we((cm,ec)=>{var hr=1e3,dr=hr*60,pr=dr*60,Hn=pr*24,sv=Hn*7,ov=Hn*365.25;ec.exports=function(c,s){s=s||{};var f=typeof c;if(f==="string"&&c.length>0)return av(c);if(f==="number"&&isFinite(c))return s.long?cv(c):uv(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function av(c){if(c=String(c),!(c.length>100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(!!s){var f=parseFloat(s[1]),v=(s[2]||"ms").toLowerCase();switch(v){case"years":case"year":case"yrs":case"yr":case"y":return f*ov;case"weeks":case"week":case"w":return f*sv;case"days":case"day":case"d":return f*Hn;case"hours":case"hour":case"hrs":case"hr":case"h":return f*pr;case"minutes":case"minute":case"mins":case"min":case"m":return f*dr;case"seconds":case"second":case"secs":case"sec":case"s":return f*hr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return f;default:return}}}}function uv(c){var s=Math.abs(c);return s>=Hn?Math.round(c/Hn)+"d":s>=pr?Math.round(c/pr)+"h":s>=dr?Math.round(c/dr)+"m":s>=hr?Math.round(c/hr)+"s":c+"ms"}function cv(c){var s=Math.abs(c);return s>=Hn?qi(c,s,Hn,"day"):s>=pr?qi(c,s,pr,"hour"):s>=dr?qi(c,s,dr,"minute"):s>=hr?qi(c,s,hr,"second"):c+" ms"}function qi(c,s,f,v){var _=s>=f*1.5;return Math.round(c/f)+" "+v+(_?"s":"")}});var rc=we((fm,nc)=>{function fv(c){f.debug=f,f.default=f,f.coerce=ue,f.disable=j,f.enable=_,f.enabled=K,f.humanize=tc(),f.destroy=Te,Object.keys(c).forEach(k=>{f[k]=c[k]}),f.names=[],f.skips=[],f.formatters={};function s(k){let w=0;for(let Z=0;Z<k.length;Z++)w=(w<<5)-w+k.charCodeAt(Z),w|=0;return f.colors[Math.abs(w)%f.colors.length]}f.selectColor=s;function f(k){let w,Z=null,se,ge;function B(...M){if(!B.enabled)return;let G=B,X=Number(new Date),ce=X-(w||X);G.diff=ce,G.prev=w,G.curr=X,w=X,M[0]=f.coerce(M[0]),typeof M[0]!="string"&&M.unshift("%O");let xe=0;M[0]=M[0].replace(/%([a-zA-Z%])/g,(De,R)=>{if(De==="%%")return"%";xe++;let We=f.formatters[R];if(typeof We=="function"){let Ze=M[xe];De=We.call(G,Ze),M.splice(xe,1),xe--}return De}),f.formatArgs.call(G,M),(G.log||f.log).apply(G,M)}return B.namespace=k,B.useColors=f.useColors(),B.color=f.selectColor(k),B.extend=v,B.destroy=f.destroy,Object.defineProperty(B,"enabled",{enumerable:!0,configurable:!1,get:()=>Z!==null?Z:(se!==f.namespaces&&(se=f.namespaces,ge=f.enabled(k)),ge),set:M=>{Z=M}}),typeof f.init=="function"&&f.init(B),B}function v(k,w){let Z=f(this.namespace+(typeof w>"u"?":":w)+k);return Z.log=this.log,Z}function _(k){f.save(k),f.namespaces=k,f.names=[],f.skips=[];let w,Z=(typeof k=="string"?k:"").split(/[\s,]+/),se=Z.length;for(w=0;w<se;w++)!Z[w]||(k=Z[w].replace(/\*/g,".*?"),k[0]==="-"?f.skips.push(new RegExp("^"+k.substr(1)+"$")):f.names.push(new RegExp("^"+k+"$")))}function j(){let k=[...f.names.map(fe),...f.skips.map(fe).map(w=>"-"+w)].join(",");return f.enable(""),k}function K(k){if(k[k.length-1]==="*")return!0;let w,Z;for(w=0,Z=f.skips.length;w<Z;w++)if(f.skips[w].test(k))return!1;for(w=0,Z=f.names.length;w<Z;w++)if(f.names[w].test(k))return!0;return!1}function fe(k){return k.toString().substring(2,k.toString().length-2).replace(/\.\*\?$/,"*")}function ue(k){return k instanceof Error?k.stack||k.message:k}function Te(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return f.enable(f.load()),f}nc.exports=fv});var Qr=we((Bt,Ui)=>{Bt.formatArgs=hv;Bt.save=dv;Bt.load=pv;Bt.useColors=lv;Bt.storage=vv();Bt.destroy=(()=>{let c=!1;return()=>{c||(c=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();Bt.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function lv(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function hv(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+Ui.exports.humanize(this.diff),!this.useColors)return;let s="color: "+this.color;c.splice(1,0,s,"color: inherit");let f=0,v=0;c[0].replace(/%[a-zA-Z%]/g,_=>{_!=="%%"&&(f++,_==="%c"&&(v=f))}),c.splice(v,0,s)}Bt.log=console.debug||console.log||(()=>{});function dv(c){try{c?Bt.storage.setItem("debug",c):Bt.storage.removeItem("debug")}catch{}}function pv(){let c;try{c=Bt.storage.getItem("debug")}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=process.env.DEBUG),c}function vv(){try{return localStorage}catch{}}Ui.exports=rc()(Bt);var{formatters:gv}=Ui.exports;gv.j=function(c){try{return JSON.stringify(c)}catch(s){return"[UnexpectedJSONParseError]: "+s.message}}});var oc=we(vr=>{"use strict";var sc=vr&&vr.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(vr,"__esModule",{value:!0});vr.url=void 0;var $v=sc(ao()),mv=sc(Qr()),ic=mv.default("socket.io-client:url");function yv(c,s="",f){let v=c;f=f||typeof location<"u"&&location,c==null&&(c=f.protocol+"//"+f.host),typeof c=="string"&&(c.charAt(0)==="/"&&(c.charAt(1)==="/"?c=f.protocol+c:c=f.host+c),/^(https?|wss?):\/\//.test(c)||(ic("protocol-less url %s",c),typeof f<"u"?c=f.protocol+"//"+c:c="https://"+c),ic("parse %s",c),v=$v.default(c)),v.port||(/^(http|ws)$/.test(v.protocol)?v.port="80":/^(http|ws)s$/.test(v.protocol)&&(v.port="443")),v.path=v.path||"/";let j=v.host.indexOf(":")!==-1?"["+v.host+"]":v.host;return v.id=v.protocol+"://"+j+":"+v.port+s,v.href=v.protocol+"://"+j+(f&&f.port===v.port?"":":"+v.port),v}vr.url=yv});var ac=we((hm,uo)=>{try{uo.exports=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{uo.exports=!1}});var ei=we(co=>{"use strict";Object.defineProperty(co,"__esModule",{value:!0});co.default=(()=>typeof self<"u"?self:typeof window<"u"?window:Function("return this")())()});var cc=we(ti=>{"use strict";var uc=ti&&ti.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(ti,"__esModule",{value:!0});var bv=uc(ac()),Cv=uc(ei());function Ev(c){let s=c.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!s||bv.default))return new XMLHttpRequest}catch{}if(!s)try{return new Cv.default[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}ti.default=Ev});var lc=we((vm,fc)=>{var gr=1e3,$r=gr*60,mr=$r*60,Wn=mr*24,wv=Wn*7,Av=Wn*365.25;fc.exports=function(c,s){s=s||{};var f=typeof c;if(f==="string"&&c.length>0)return Sv(c);if(f==="number"&&isFinite(c))return s.long?Tv(c):_v(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function Sv(c){if(c=String(c),!(c.length>100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(!!s){var f=parseFloat(s[1]),v=(s[2]||"ms").toLowerCase();switch(v){case"years":case"year":case"yrs":case"yr":case"y":return f*Av;case"weeks":case"week":case"w":return f*wv;case"days":case"day":case"d":return f*Wn;case"hours":case"hour":case"hrs":case"hr":case"h":return f*mr;case"minutes":case"minute":case"mins":case"min":case"m":return f*$r;case"seconds":case"second":case"secs":case"sec":case"s":return f*gr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return f;default:return}}}}function _v(c){var s=Math.abs(c);return s>=Wn?Math.round(c/Wn)+"d":s>=mr?Math.round(c/mr)+"h":s>=$r?Math.round(c/$r)+"m":s>=gr?Math.round(c/gr)+"s":c+"ms"}function Tv(c){var s=Math.abs(c);return s>=Wn?Bi(c,s,Wn,"day"):s>=mr?Bi(c,s,mr,"hour"):s>=$r?Bi(c,s,$r,"minute"):s>=gr?Bi(c,s,gr,"second"):c+" ms"}function Bi(c,s,f,v){var _=s>=f*1.5;return Math.round(c/f)+" "+v+(_?"s":"")}});var dc=we((gm,hc)=>{function kv(c){f.debug=f,f.default=f,f.coerce=ue,f.disable=j,f.enable=_,f.enabled=K,f.humanize=lc(),f.destroy=Te,Object.keys(c).forEach(k=>{f[k]=c[k]}),f.names=[],f.skips=[],f.formatters={};function s(k){let w=0;for(let Z=0;Z<k.length;Z++)w=(w<<5)-w+k.charCodeAt(Z),w|=0;return f.colors[Math.abs(w)%f.colors.length]}f.selectColor=s;function f(k){let w,Z=null,se,ge;function B(...M){if(!B.enabled)return;let G=B,X=Number(new Date),ce=X-(w||X);G.diff=ce,G.prev=w,G.curr=X,w=X,M[0]=f.coerce(M[0]),typeof M[0]!="string"&&M.unshift("%O");let xe=0;M[0]=M[0].replace(/%([a-zA-Z%])/g,(De,R)=>{if(De==="%%")return"%";xe++;let We=f.formatters[R];if(typeof We=="function"){let Ze=M[xe];De=We.call(G,Ze),M.splice(xe,1),xe--}return De}),f.formatArgs.call(G,M),(G.log||f.log).apply(G,M)}return B.namespace=k,B.useColors=f.useColors(),B.color=f.selectColor(k),B.extend=v,B.destroy=f.destroy,Object.defineProperty(B,"enabled",{enumerable:!0,configurable:!1,get:()=>Z!==null?Z:(se!==f.namespaces&&(se=f.namespaces,ge=f.enabled(k)),ge),set:M=>{Z=M}}),typeof f.init=="function"&&f.init(B),B}function v(k,w){let Z=f(this.namespace+(typeof w>"u"?":":w)+k);return Z.log=this.log,Z}function _(k){f.save(k),f.namespaces=k,f.names=[],f.skips=[];let w,Z=(typeof k=="string"?k:"").split(/[\s,]+/),se=Z.length;for(w=0;w<se;w++)!Z[w]||(k=Z[w].replace(/\*/g,".*?"),k[0]==="-"?f.skips.push(new RegExp("^"+k.substr(1)+"$")):f.names.push(new RegExp("^"+k+"$")))}function j(){let k=[...f.names.map(fe),...f.skips.map(fe).map(w=>"-"+w)].join(",");return f.enable(""),k}function K(k){if(k[k.length-1]==="*")return!0;let w,Z;for(w=0,Z=f.skips.length;w<Z;w++)if(f.skips[w].test(k))return!1;for(w=0,Z=f.names.length;w<Z;w++)if(f.names[w].test(k))return!0;return!1}function fe(k){return k.toString().substring(2,k.toString().length-2).replace(/\.\*\?$/,"*")}function ue(k){return k instanceof Error?k.stack||k.message:k}function Te(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return f.enable(f.load()),f}hc.exports=kv});var yr=we((Vt,Vi)=>{Vt.formatArgs=xv;Vt.save=Mv;Vt.load=Pv;Vt.useColors=Ov;Vt.storage=Rv();Vt.destroy=(()=>{let c=!1;return()=>{c||(c=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();Vt.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Ov(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function xv(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+Vi.exports.humanize(this.diff),!this.useColors)return;let s="color: "+this.color;c.splice(1,0,s,"color: inherit");let f=0,v=0;c[0].replace(/%[a-zA-Z%]/g,_=>{_!=="%%"&&(f++,_==="%c"&&(v=f))}),c.splice(v,0,s)}Vt.log=console.debug||console.log||(()=>{});function Mv(c){try{c?Vt.storage.setItem("debug",c):Vt.storage.removeItem("debug")}catch{}}function Pv(){let c;try{c=Vt.storage.getItem("debug")}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=process.env.DEBUG),c}function Rv(){try{return localStorage}catch{}}Vi.exports=dc()(Vt);var{formatters:Fv}=Vi.exports;Fv.j=function(c){try{return JSON.stringify(c)}catch(s){return"[UnexpectedJSONParseError]: "+s.message}}});var br=we(Tn=>{"use strict";var Dv=Tn&&Tn.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Tn,"__esModule",{value:!0});Tn.installTimerFunctions=Tn.pick=void 0;var ji=Dv(ei());function Lv(c,...s){return s.reduce((f,v)=>(c.hasOwnProperty(v)&&(f[v]=c[v]),f),{})}Tn.pick=Lv;var Iv=setTimeout,Nv=clearTimeout;function qv(c,s){s.useNativeTimers?(c.setTimeoutFn=Iv.bind(ji.default),c.clearTimeoutFn=Nv.bind(ji.default)):(c.setTimeoutFn=setTimeout.bind(ji.default),c.clearTimeoutFn=clearTimeout.bind(ji.default))}Tn.installTimerFunctions=qv});var zn=we(pc=>{pc.Emitter=Dt;function Dt(c){if(c)return Uv(c)}function Uv(c){for(var s in Dt.prototype)c[s]=Dt.prototype[s];return c}Dt.prototype.on=Dt.prototype.addEventListener=function(c,s){return this._callbacks=this._callbacks||{},(this._callbacks["$"+c]=this._callbacks["$"+c]||[]).push(s),this};Dt.prototype.once=function(c,s){function f(){this.off(c,f),s.apply(this,arguments)}return f.fn=s,this.on(c,f),this};Dt.prototype.off=Dt.prototype.removeListener=Dt.prototype.removeAllListeners=Dt.prototype.removeEventListener=function(c,s){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var f=this._callbacks["$"+c];if(!f)return this;if(arguments.length==1)return delete this._callbacks["$"+c],this;for(var v,_=0;_<f.length;_++)if(v=f[_],v===s||v.fn===s){f.splice(_,1);break}return f.length===0&&delete this._callbacks["$"+c],this};Dt.prototype.emit=function(c){this._callbacks=this._callbacks||{};for(var s=new Array(arguments.length-1),f=this._callbacks["$"+c],v=1;v<arguments.length;v++)s[v-1]=arguments[v];if(f){f=f.slice(0);for(var v=0,_=f.length;v<_;++v)f[v].apply(this,s)}return this};Dt.prototype.emitReserved=Dt.prototype.emit;Dt.prototype.listeners=function(c){return this._callbacks=this._callbacks||{},this._callbacks["$"+c]||[]};Dt.prototype.hasListeners=function(c){return!!this.listeners(c).length}});var fo=we(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.ERROR_PACKET=kn.PACKET_TYPES_REVERSE=kn.PACKET_TYPES=void 0;var pn=Object.create(null);kn.PACKET_TYPES=pn;pn.open="0";pn.close="1";pn.ping="2";pn.pong="3";pn.message="4";pn.upgrade="5";pn.noop="6";var vc=Object.create(null);kn.PACKET_TYPES_REVERSE=vc;Object.keys(pn).forEach(c=>{vc[pn[c]]=c});var Bv={type:"error",data:"parser error"};kn.ERROR_PACKET=Bv});var $c=we(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});var Vv=fo(),jv=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Hv=typeof ArrayBuffer=="function",Wv=c=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(c):c&&c.buffer instanceof ArrayBuffer,zv=({type:c,data:s},f,v)=>jv&&s instanceof Blob?f?v(s):gc(s,v):Hv&&(s instanceof ArrayBuffer||Wv(s))?f?v(s):gc(new Blob([s]),v):v(Vv.PACKET_TYPES[c]+(s||"")),gc=(c,s)=>{let f=new FileReader;return f.onload=function(){let v=f.result.split(",")[1];s("b"+v)},f.readAsDataURL(c)};lo.default=zv});var yc=we((Hi,mc)=>{(function(c,s){typeof Hi=="object"&&typeof mc<"u"?s(Hi):typeof define=="function"&&define.amd?define(["exports"],s):(c=typeof globalThis<"u"?globalThis:c||self,s(c["base64-arraybuffer"]={}))})(Hi,function(c){"use strict";for(var s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",f=typeof Uint8Array>"u"?[]:new Uint8Array(256),v=0;v<s.length;v++)f[s.charCodeAt(v)]=v;var _=function(K){var fe=new Uint8Array(K),ue,Te=fe.length,k="";for(ue=0;ue<Te;ue+=3)k+=s[fe[ue]>>2],k+=s[(fe[ue]&3)<<4|fe[ue+1]>>4],k+=s[(fe[ue+1]&15)<<2|fe[ue+2]>>6],k+=s[fe[ue+2]&63];return Te%3===2?k=k.substring(0,k.length-1)+"=":Te%3===1&&(k=k.substring(0,k.length-2)+"=="),k},j=function(K){var fe=K.length*.75,ue=K.length,Te,k=0,w,Z,se,ge;K[K.length-1]==="="&&(fe--,K[K.length-2]==="="&&fe--);var B=new ArrayBuffer(fe),M=new Uint8Array(B);for(Te=0;Te<ue;Te+=4)w=f[K.charCodeAt(Te)],Z=f[K.charCodeAt(Te+1)],se=f[K.charCodeAt(Te+2)],ge=f[K.charCodeAt(Te+3)],M[k++]=w<<2|Z>>4,M[k++]=(Z&15)<<4|se>>2,M[k++]=(se&3)<<6|ge&63;return B};c.decode=j,c.encode=_,Object.defineProperty(c,"__esModule",{value:!0})})});var Cc=we(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});var Wi=fo(),Gv=yc(),Xv=typeof ArrayBuffer=="function",Yv=(c,s)=>{if(typeof c!="string")return{type:"message",data:bc(c,s)};let f=c.charAt(0);return f==="b"?{type:"message",data:Jv(c.substring(1),s)}:Wi.PACKET_TYPES_REVERSE[f]?c.length>1?{type:Wi.PACKET_TYPES_REVERSE[f],data:c.substring(1)}:{type:Wi.PACKET_TYPES_REVERSE[f]}:Wi.ERROR_PACKET},Jv=(c,s)=>{if(Xv){let f=(0,Gv.decode)(c);return bc(f,s)}else return{base64:!0,data:c}},bc=(c,s)=>{switch(s){case"blob":return c instanceof ArrayBuffer?new Blob([c]):c;case"arraybuffer":default:return c}};ho.default=Yv});var ni=we(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.decodePayload=Xt.decodePacket=Xt.encodePayload=Xt.encodePacket=Xt.protocol=void 0;var Ec=$c();Xt.encodePacket=Ec.default;var wc=Cc();Xt.decodePacket=wc.default;var Ac=String.fromCharCode(30),Kv=(c,s)=>{let f=c.length,v=new Array(f),_=0;c.forEach((j,K)=>{(0,Ec.default)(j,!1,fe=>{v[K]=fe,++_===f&&s(v.join(Ac))})})};Xt.encodePayload=Kv;var Zv=(c,s)=>{let f=c.split(Ac),v=[];for(let _=0;_<f.length;_++){let j=(0,wc.default)(f[_],s);if(v.push(j),j.type==="error")break}return v};Xt.decodePayload=Zv;Xt.protocol=4});var zi=we(Cr=>{"use strict";var Qv=Cr&&Cr.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Cr,"__esModule",{value:!0});Cr.Transport=void 0;var eg=ni(),tg=zn(),ng=br(),rg=Qv(yr()),ig=(0,rg.default)("engine.io-client:transport"),Sc=class extends tg.Emitter{constructor(s){super();this.writable=!1,(0,ng.installTimerFunctions)(this,s),this.opts=s,this.query=s.query,this.readyState="",this.socket=s.socket}onError(s,f){let v=new Error(s);return v.type="TransportError",v.description=f,super.emit("error",v),this}open(){return(this.readyState==="closed"||this.readyState==="")&&(this.readyState="opening",this.doOpen()),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(s){this.readyState==="open"?this.write(s):ig("transport is not open, discarding packets")}onOpen(){this.readyState="open",this.writable=!0,super.emit("open")}onData(s){let f=(0,eg.decodePacket)(s,this.socket.binaryType);this.onPacket(f)}onPacket(s){super.emit("packet",s)}onClose(){this.readyState="closed",super.emit("close")}};Cr.Transport=Sc});var go=we((Am,xc)=>{"use strict";var kc="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),Gi=64,Oc={},_c=0,On=0,Tc;function po(c){var s="";do s=kc[c%Gi]+s,c=Math.floor(c/Gi);while(c>0);return s}function sg(c){var s=0;for(On=0;On<c.length;On++)s=s*Gi+Oc[c.charAt(On)];return s}function vo(){var c=po(+new Date);return c!==Tc?(_c=0,Tc=c):c+"."+po(_c++)}for(;On<Gi;On++)Oc[kc[On]]=On;vo.encode=po;vo.decode=sg;xc.exports=vo});var Xi=we($o=>{$o.encode=function(c){var s="";for(var f in c)c.hasOwnProperty(f)&&(s.length&&(s+="&"),s+=encodeURIComponent(f)+"="+encodeURIComponent(c[f]));return s};$o.decode=function(c){for(var s={},f=c.split("&"),v=0,_=f.length;v<_;v++){var j=f[v].split("=");s[decodeURIComponent(j[0])]=decodeURIComponent(j[1])}return s}});var Rc=we(Er=>{"use strict";var mo=Er&&Er.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Er,"__esModule",{value:!0});Er.Polling=void 0;var og=zi(),ag=mo(yr()),ug=mo(go()),cg=mo(Xi()),Mc=ni(),an=(0,ag.default)("engine.io-client:polling"),Pc=class extends og.Transport{constructor(){super(...arguments);this.polling=!1}get name(){return"polling"}doOpen(){this.poll()}pause(s){this.readyState="pausing";let f=()=>{an("paused"),this.readyState="paused",s()};if(this.polling||!this.writable){let v=0;this.polling&&(an("we are currently polling - waiting to pause"),v++,this.once("pollComplete",function(){an("pre-pause polling complete"),--v||f()})),this.writable||(an("we are currently writing - waiting to pause"),v++,this.once("drain",function(){an("pre-pause writing complete"),--v||f()}))}else f()}poll(){an("polling"),this.polling=!0,this.doPoll(),this.emit("poll")}onData(s){an("polling got data %s",s);let f=v=>{if(this.readyState==="opening"&&v.type==="open"&&this.onOpen(),v.type==="close")return this.onClose(),!1;this.onPacket(v)};(0,Mc.decodePayload)(s,this.socket.binaryType).forEach(f),this.readyState!=="closed"&&(this.polling=!1,this.emit("pollComplete"),this.readyState==="open"?this.poll():an('ignoring poll - transport state "%s"',this.readyState))}doClose(){let s=()=>{an("writing close packet"),this.write([{type:"close"}])};this.readyState==="open"?(an("transport open - closing"),s()):(an("transport not open - deferring close"),this.once("open",s))}write(s){this.writable=!1,(0,Mc.encodePayload)(s,f=>{this.doWrite(f,()=>{this.writable=!0,this.emit("drain")})})}uri(){let s=this.query||{},f=this.opts.secure?"https":"http",v="";this.opts.timestampRequests!==!1&&(s[this.opts.timestampParam]=(0,ug.default)()),!this.supportsBinary&&!s.sid&&(s.b64=1),this.opts.port&&(f==="https"&&Number(this.opts.port)!==443||f==="http"&&Number(this.opts.port)!==80)&&(v=":"+this.opts.port);let _=cg.default.encode(s),j=this.opts.hostname.indexOf(":")!==-1;return f+"://"+(j?"["+this.opts.hostname+"]":this.opts.hostname)+v+this.opts.path+(_.length?"?"+_:"")}};Er.Polling=Pc});var Nc=we(xn=>{"use strict";var bo=xn&&xn.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(xn,"__esModule",{value:!0});xn.Request=xn.XHR=void 0;var Lc=bo(cc()),fg=bo(yr()),lg=bo(ei()),Fc=br(),hg=zn(),dg=Rc(),yo=(0,fg.default)("engine.io-client:polling-xhr");function pg(){}var vg=function(){return new Lc.default({xdomain:!1}).responseType!=null}(),Ic=class extends dg.Polling{constructor(s){super(s);if(typeof location<"u"){let v=location.protocol==="https:",_=location.port;_||(_=v?"443":"80"),this.xd=typeof location<"u"&&s.hostname!==location.hostname||_!==s.port,this.xs=s.secure!==v}let f=s&&s.forceBase64;this.supportsBinary=vg&&!f}request(s={}){return Object.assign(s,{xd:this.xd,xs:this.xs},this.opts),new Yt(this.uri(),s)}doWrite(s,f){let v=this.request({method:"POST",data:s});v.on("success",f),v.on("error",_=>{this.onError("xhr post error",_)})}doPoll(){yo("xhr poll");let s=this.request();s.on("data",this.onData.bind(this)),s.on("error",f=>{this.onError("xhr poll error",f)}),this.pollXhr=s}};xn.XHR=Ic;var Yt=class extends hg.Emitter{constructor(s,f){super();(0,Fc.installTimerFunctions)(this,f),this.opts=f,this.method=f.method||"GET",this.uri=s,this.async=f.async!==!1,this.data=f.data!==void 0?f.data:null,this.create()}create(){let s=(0,Fc.pick)(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");s.xdomain=!!this.opts.xd,s.xscheme=!!this.opts.xs;let f=this.xhr=new Lc.default(s);try{yo("xhr open %s: %s",this.method,this.uri),f.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){f.setDisableHeaderCheck&&f.setDisableHeaderCheck(!0);for(let v in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(v)&&f.setRequestHeader(v,this.opts.extraHeaders[v])}}catch{}if(this.method==="POST")try{f.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{f.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in f&&(f.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(f.timeout=this.opts.requestTimeout),f.onreadystatechange=()=>{f.readyState===4&&(f.status===200||f.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof f.status=="number"?f.status:0)},0))},yo("xhr data %s",this.data),f.send(this.data)}catch(v){this.setTimeoutFn(()=>{this.onError(v)},0);return}typeof document<"u"&&(this.index=Yt.requestsCount++,Yt.requests[this.index]=this)}onSuccess(){this.emit("success"),this.cleanup()}onData(s){this.emit("data",s),this.onSuccess()}onError(s){this.emit("error",s),this.cleanup(!0)}cleanup(s){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=pg,s)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Yt.requests[this.index],this.xhr=null}}onLoad(){let s=this.xhr.responseText;s!==null&&this.onData(s)}abort(){this.cleanup()}};xn.Request=Yt;Yt.requestsCount=0;Yt.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Dc);else if(typeof addEventListener=="function"){let c="onpagehide"in lg.default?"pagehide":"unload";addEventListener(c,Dc,!1)}}function Dc(){for(let c in Yt.requests)Yt.requests.hasOwnProperty(c)&&Yt.requests[c].abort()}});var Uc=we(Jt=>{"use strict";var gg=Jt&&Jt.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Jt,"__esModule",{value:!0});Jt.defaultBinaryType=Jt.usingBrowserWebSocket=Jt.WebSocket=Jt.nextTick=void 0;var qc=gg(ei());Jt.nextTick=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?s=>Promise.resolve().then(s):(s,f)=>f(s,0))();Jt.WebSocket=qc.default.WebSocket||qc.default.MozWebSocket;Jt.usingBrowserWebSocket=!0;Jt.defaultBinaryType="arraybuffer"});var Vc=we(wr=>{"use strict";var Co=wr&&wr.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(wr,"__esModule",{value:!0});wr.WS=void 0;var $g=zi(),mg=Co(Xi()),yg=Co(go()),bg=br(),vn=Uc(),Cg=Co(yr()),Eg=ni(),wg=(0,Cg.default)("engine.io-client:websocket"),Bc=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative",Yi=class extends $g.Transport{constructor(s){super(s);this.supportsBinary=!s.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;let s=this.uri(),f=this.opts.protocols,v=Bc?{}:(0,bg.pick)(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(v.headers=this.opts.extraHeaders);try{this.ws=vn.usingBrowserWebSocket&&!Bc?f?new vn.WebSocket(s,f):new vn.WebSocket(s):new vn.WebSocket(s,f,v)}catch(_){return this.emit("error",_)}this.ws.binaryType=this.socket.binaryType||vn.defaultBinaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=this.onClose.bind(this),this.ws.onmessage=s=>this.onData(s.data),this.ws.onerror=s=>this.onError("websocket error",s)}write(s){this.writable=!1;for(let f=0;f<s.length;f++){let v=s[f],_=f===s.length-1;(0,Eg.encodePacket)(v,this.supportsBinary,j=>{let K={};vn.usingBrowserWebSocket||(v.options&&(K.compress=v.options.compress),this.opts.perMessageDeflate&&(typeof j=="string"?Buffer.byteLength(j):j.length)<this.opts.perMessageDeflate.threshold&&(K.compress=!1));try{vn.usingBrowserWebSocket?this.ws.send(j):this.ws.send(j,K)}catch{wg("websocket closed before onclose event")}_&&(0,vn.nextTick)(()=>{this.writable=!0,this.emit("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let s=this.query||{},f=this.opts.secure?"wss":"ws",v="";this.opts.port&&(f==="wss"&&Number(this.opts.port)!==443||f==="ws"&&Number(this.opts.port)!==80)&&(v=":"+this.opts.port),this.opts.timestampRequests&&(s[this.opts.timestampParam]=(0,yg.default)()),this.supportsBinary||(s.b64=1);let _=mg.default.encode(s),j=this.opts.hostname.indexOf(":")!==-1;return f+"://"+(j?"["+this.opts.hostname+"]":this.opts.hostname)+v+this.opts.path+(_.length?"?"+_:"")}check(){return!!vn.WebSocket&&!("__initialize"in vn.WebSocket&&this.name===Yi.prototype.name)}};wr.WS=Yi});var Eo=we(Ji=>{"use strict";Object.defineProperty(Ji,"__esModule",{value:!0});Ji.transports=void 0;var Ag=Nc(),Sg=Vc();Ji.transports={websocket:Sg.WS,polling:Ag.XHR}});var Wc=we(Ar=>{"use strict";var wo=Ar&&Ar.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Ar,"__esModule",{value:!0});Ar.Socket=void 0;var _g=Eo(),Tg=br(),kg=wo(Xi()),jc=wo(ao()),Og=wo(yr()),xg=zn(),Hc=ni(),pt=(0,Og.default)("engine.io-client:socket"),En=class extends xg.Emitter{constructor(s,f={}){super();s&&typeof s=="object"&&(f=s,s=null),s?(s=(0,jc.default)(s),f.hostname=s.host,f.secure=s.protocol==="https"||s.protocol==="wss",f.port=s.port,s.query&&(f.query=s.query)):f.host&&(f.hostname=(0,jc.default)(f.host).host),(0,Tg.installTimerFunctions)(this,f),this.secure=f.secure!=null?f.secure:typeof location<"u"&&location.protocol==="https:",f.hostname&&!f.port&&(f.port=this.secure?"443":"80"),this.hostname=f.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=f.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=f.transports||["polling","websocket"],this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},f),this.opts.path=this.opts.path.replace(/\/$/,"")+"/",typeof this.opts.query=="string"&&(this.opts.query=kg.default.decode(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&addEventListener("beforeunload",()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},!1),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close")},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(s){pt('creating transport "%s"',s);let f=Mg(this.opts.query);f.EIO=Hc.protocol,f.transport=s,this.id&&(f.sid=this.id);let v=Object.assign({},this.opts.transportOptions[s],this.opts,{query:f,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return pt("options: %j",v),new _g.transports[s](v)}open(){let s;if(this.opts.rememberUpgrade&&En.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)s="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else s=this.transports[0];this.readyState="opening";try{s=this.createTransport(s)}catch(f){pt("error while creating transport: %s",f),this.transports.shift(),this.open();return}s.open(),this.setTransport(s)}setTransport(s){pt("setting transport %s",s.name),this.transport&&(pt("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=s,s.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",()=>{this.onClose("transport close")})}probe(s){pt('probing transport "%s"',s);let f=this.createTransport(s),v=!1;En.priorWebsocketSuccess=!1;let _=()=>{v||(pt('probe transport "%s" opened',s),f.send([{type:"ping",data:"probe"}]),f.once("packet",w=>{if(!v)if(w.type==="pong"&&w.data==="probe"){if(pt('probe transport "%s" pong',s),this.upgrading=!0,this.emitReserved("upgrading",f),!f)return;En.priorWebsocketSuccess=f.name==="websocket",pt('pausing current transport "%s"',this.transport.name),this.transport.pause(()=>{v||this.readyState!=="closed"&&(pt("changing transport and sending upgrade packet"),k(),this.setTransport(f),f.send([{type:"upgrade"}]),this.emitReserved("upgrade",f),f=null,this.upgrading=!1,this.flush())})}else{pt('probe transport "%s" failed',s);let Z=new Error("probe error");Z.transport=f.name,this.emitReserved("upgradeError",Z)}}))};function j(){v||(v=!0,k(),f.close(),f=null)}let K=w=>{let Z=new Error("probe error: "+w);Z.transport=f.name,j(),pt('probe transport "%s" failed because of error: %s',s,w),this.emitReserved("upgradeError",Z)};function fe(){K("transport closed")}function ue(){K("socket closed")}function Te(w){f&&w.name!==f.name&&(pt('"%s" works - aborting "%s"',w.name,f.name),j())}let k=()=>{f.removeListener("open",_),f.removeListener("error",K),f.removeListener("close",fe),this.off("close",ue),this.off("upgrading",Te)};f.once("open",_),f.once("error",K),f.once("close",fe),this.once("close",ue),this.once("upgrading",Te),f.open()}onOpen(){if(pt("socket open"),this.readyState="open",En.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade&&this.transport.pause){pt("starting upgrade probes");let s=0,f=this.upgrades.length;for(;s<f;s++)this.probe(this.upgrades[s])}}onPacket(s){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(pt('socket receive: type "%s", data "%s"',s.type,s.data),this.emitReserved("packet",s),this.emitReserved("heartbeat"),s.type){case"open":this.onHandshake(JSON.parse(s.data));break;case"ping":this.resetPingTimeout(),this.sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong");break;case"error":let f=new Error("server error");f.code=s.data,this.onError(f);break;case"message":this.emitReserved("data",s.data),this.emitReserved("message",s.data);break}else pt('packet received with socket readyState "%s"',this.readyState)}onHandshake(s){this.emitReserved("handshake",s),this.id=s.sid,this.transport.query.sid=s.sid,this.upgrades=this.filterUpgrades(s.upgrades),this.pingInterval=s.pingInterval,this.pingTimeout=s.pingTimeout,this.onOpen(),this.readyState!=="closed"&&this.resetPingTimeout()}resetPingTimeout(){this.clearTimeoutFn(this.pingTimeoutTimer),this.pingTimeoutTimer=this.setTimeoutFn(()=>{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(pt("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emitReserved("flush"))}write(s,f,v){return this.sendPacket("message",s,f,v),this}send(s,f,v){return this.sendPacket("message",s,f,v),this}sendPacket(s,f,v,_){if(typeof f=="function"&&(_=f,f=void 0),typeof v=="function"&&(_=v,v=null),this.readyState==="closing"||this.readyState==="closed")return;v=v||{},v.compress=v.compress!==!1;let j={type:s,data:f,options:v};this.emitReserved("packetCreate",j),this.writeBuffer.push(j),_&&this.once("flush",_),this.flush()}close(){let s=()=>{this.onClose("forced close"),pt("socket closing - telling transport to close"),this.transport.close()},f=()=>{this.off("upgrade",f),this.off("upgradeError",f),s()},v=()=>{this.once("upgrade",f),this.once("upgradeError",f)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?v():s()}):this.upgrading?v():s()),this}onError(s){pt("socket error %j",s),En.priorWebsocketSuccess=!1,this.emitReserved("error",s),this.onClose("transport error",s)}onClose(s,f){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(pt('socket close with reason: "%s"',s),this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&removeEventListener("offline",this.offlineEventListener,!1),this.readyState="closed",this.id=null,this.emitReserved("close",s,f),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(s){let f=[],v=0,_=s.length;for(;v<_;v++)~this.transports.indexOf(s[v])&&f.push(s[v]);return f}};Ar.Socket=En;En.protocol=Hc.protocol;function Mg(c){let s={};for(let f in c)c.hasOwnProperty(f)&&(s[f]=c[f]);return s}});var Gc=we(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});Kt.installTimerFunctions=Kt.transports=Kt.Transport=Kt.protocol=Kt.Socket=void 0;var zc=Wc();Object.defineProperty(Kt,"Socket",{enumerable:!0,get:function(){return zc.Socket}});Kt.protocol=zc.Socket.protocol;var Pg=zi();Object.defineProperty(Kt,"Transport",{enumerable:!0,get:function(){return Pg.Transport}});var Rg=Eo();Object.defineProperty(Kt,"transports",{enumerable:!0,get:function(){return Rg.transports}});var Fg=br();Object.defineProperty(Kt,"installTimerFunctions",{enumerable:!0,get:function(){return Fg.installTimerFunctions}})});var Ao=we(Sr=>{"use strict";Object.defineProperty(Sr,"__esModule",{value:!0});Sr.hasBinary=Sr.isBinary=void 0;var Dg=typeof ArrayBuffer=="function",Lg=c=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(c):c.buffer instanceof ArrayBuffer,Xc=Object.prototype.toString,Ig=typeof Blob=="function"||typeof Blob<"u"&&Xc.call(Blob)==="[object BlobConstructor]",Ng=typeof File=="function"||typeof File<"u"&&Xc.call(File)==="[object FileConstructor]";function Yc(c){return Dg&&(c instanceof ArrayBuffer||Lg(c))||Ig&&c instanceof Blob||Ng&&c instanceof File}Sr.isBinary=Yc;function Ki(c,s){if(!c||typeof c!="object")return!1;if(Array.isArray(c)){for(let f=0,v=c.length;f<v;f++)if(Ki(c[f]))return!0;return!1}if(Yc(c))return!0;if(c.toJSON&&typeof c.toJSON=="function"&&arguments.length===1)return Ki(c.toJSON(),!0);for(let f in c)if(Object.prototype.hasOwnProperty.call(c,f)&&Ki(c[f]))return!0;return!1}Sr.hasBinary=Ki});var Jc=we(_r=>{"use strict";Object.defineProperty(_r,"__esModule",{value:!0});_r.reconstructPacket=_r.deconstructPacket=void 0;var qg=Ao();function Ug(c){let s=[],f=c.data,v=c;return v.data=So(f,s),v.attachments=s.length,{packet:v,buffers:s}}_r.deconstructPacket=Ug;function So(c,s){if(!c)return c;if(qg.isBinary(c)){let f={_placeholder:!0,num:s.length};return s.push(c),f}else if(Array.isArray(c)){let f=new Array(c.length);for(let v=0;v<c.length;v++)f[v]=So(c[v],s);return f}else if(typeof c=="object"&&!(c instanceof Date)){let f={};for(let v in c)Object.prototype.hasOwnProperty.call(c,v)&&(f[v]=So(c[v],s));return f}return c}function Bg(c,s){return c.data=_o(c.data,s),c.attachments=void 0,c}_r.reconstructPacket=Bg;function _o(c,s){if(!c)return c;if(c&&c._placeholder)return s[c.num];if(Array.isArray(c))for(let f=0;f<c.length;f++)c[f]=_o(c[f],s);else if(typeof c=="object")for(let f in c)Object.prototype.hasOwnProperty.call(c,f)&&(c[f]=_o(c[f],s));return c}});var Zc=we((Dm,Kc)=>{var Tr=1e3,kr=Tr*60,Or=kr*60,Gn=Or*24,Vg=Gn*7,jg=Gn*365.25;Kc.exports=function(c,s){s=s||{};var f=typeof c;if(f==="string"&&c.length>0)return Hg(c);if(f==="number"&&isFinite(c))return s.long?zg(c):Wg(c);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(c))};function Hg(c){if(c=String(c),!(c.length>100)){var s=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(c);if(!!s){var f=parseFloat(s[1]),v=(s[2]||"ms").toLowerCase();switch(v){case"years":case"year":case"yrs":case"yr":case"y":return f*jg;case"weeks":case"week":case"w":return f*Vg;case"days":case"day":case"d":return f*Gn;case"hours":case"hour":case"hrs":case"hr":case"h":return f*Or;case"minutes":case"minute":case"mins":case"min":case"m":return f*kr;case"seconds":case"second":case"secs":case"sec":case"s":return f*Tr;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return f;default:return}}}}function Wg(c){var s=Math.abs(c);return s>=Gn?Math.round(c/Gn)+"d":s>=Or?Math.round(c/Or)+"h":s>=kr?Math.round(c/kr)+"m":s>=Tr?Math.round(c/Tr)+"s":c+"ms"}function zg(c){var s=Math.abs(c);return s>=Gn?Zi(c,s,Gn,"day"):s>=Or?Zi(c,s,Or,"hour"):s>=kr?Zi(c,s,kr,"minute"):s>=Tr?Zi(c,s,Tr,"second"):c+" ms"}function Zi(c,s,f,v){var _=s>=f*1.5;return Math.round(c/f)+" "+v+(_?"s":"")}});var ef=we((Lm,Qc)=>{function Gg(c){f.debug=f,f.default=f,f.coerce=ue,f.disable=j,f.enable=_,f.enabled=K,f.humanize=Zc(),f.destroy=Te,Object.keys(c).forEach(k=>{f[k]=c[k]}),f.names=[],f.skips=[],f.formatters={};function s(k){let w=0;for(let Z=0;Z<k.length;Z++)w=(w<<5)-w+k.charCodeAt(Z),w|=0;return f.colors[Math.abs(w)%f.colors.length]}f.selectColor=s;function f(k){let w,Z=null,se,ge;function B(...M){if(!B.enabled)return;let G=B,X=Number(new Date),ce=X-(w||X);G.diff=ce,G.prev=w,G.curr=X,w=X,M[0]=f.coerce(M[0]),typeof M[0]!="string"&&M.unshift("%O");let xe=0;M[0]=M[0].replace(/%([a-zA-Z%])/g,(De,R)=>{if(De==="%%")return"%";xe++;let We=f.formatters[R];if(typeof We=="function"){let Ze=M[xe];De=We.call(G,Ze),M.splice(xe,1),xe--}return De}),f.formatArgs.call(G,M),(G.log||f.log).apply(G,M)}return B.namespace=k,B.useColors=f.useColors(),B.color=f.selectColor(k),B.extend=v,B.destroy=f.destroy,Object.defineProperty(B,"enabled",{enumerable:!0,configurable:!1,get:()=>Z!==null?Z:(se!==f.namespaces&&(se=f.namespaces,ge=f.enabled(k)),ge),set:M=>{Z=M}}),typeof f.init=="function"&&f.init(B),B}function v(k,w){let Z=f(this.namespace+(typeof w>"u"?":":w)+k);return Z.log=this.log,Z}function _(k){f.save(k),f.namespaces=k,f.names=[],f.skips=[];let w,Z=(typeof k=="string"?k:"").split(/[\s,]+/),se=Z.length;for(w=0;w<se;w++)!Z[w]||(k=Z[w].replace(/\*/g,".*?"),k[0]==="-"?f.skips.push(new RegExp("^"+k.substr(1)+"$")):f.names.push(new RegExp("^"+k+"$")))}function j(){let k=[...f.names.map(fe),...f.skips.map(fe).map(w=>"-"+w)].join(",");return f.enable(""),k}function K(k){if(k[k.length-1]==="*")return!0;let w,Z;for(w=0,Z=f.skips.length;w<Z;w++)if(f.skips[w].test(k))return!1;for(w=0,Z=f.names.length;w<Z;w++)if(f.names[w].test(k))return!0;return!1}function fe(k){return k.toString().substring(2,k.toString().length-2).replace(/\.\*\?$/,"*")}function ue(k){return k instanceof Error?k.stack||k.message:k}function Te(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return f.enable(f.load()),f}Qc.exports=Gg});var tf=we((jt,Qi)=>{jt.formatArgs=Yg;jt.save=Jg;jt.load=Kg;jt.useColors=Xg;jt.storage=Zg();jt.destroy=(()=>{let c=!1;return()=>{c||(c=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();jt.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Xg(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Yg(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+Qi.exports.humanize(this.diff),!this.useColors)return;let s="color: "+this.color;c.splice(1,0,s,"color: inherit");let f=0,v=0;c[0].replace(/%[a-zA-Z%]/g,_=>{_!=="%%"&&(f++,_==="%c"&&(v=f))}),c.splice(v,0,s)}jt.log=console.debug||console.log||(()=>{});function Jg(c){try{c?jt.storage.setItem("debug",c):jt.storage.removeItem("debug")}catch{}}function Kg(){let c;try{c=jt.storage.getItem("debug")}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=process.env.DEBUG),c}function Zg(){try{return localStorage}catch{}}Qi.exports=ef()(jt);var{formatters:Qg}=Qi.exports;Qg.j=function(c){try{return JSON.stringify(c)}catch(s){return"[UnexpectedJSONParseError]: "+s.message}}});var ts=we(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.Decoder=un.Encoder=un.PacketType=un.protocol=void 0;var e$=zn(),nf=Jc(),rf=Ao(),t$=tf(),To=t$.default("socket.io-parser");un.protocol=5;var mt;(function(c){c[c.CONNECT=0]="CONNECT",c[c.DISCONNECT=1]="DISCONNECT",c[c.EVENT=2]="EVENT",c[c.ACK=3]="ACK",c[c.CONNECT_ERROR=4]="CONNECT_ERROR",c[c.BINARY_EVENT=5]="BINARY_EVENT",c[c.BINARY_ACK=6]="BINARY_ACK"})(mt=un.PacketType||(un.PacketType={}));var sf=class{encode(s){return To("encoding packet %j",s),(s.type===mt.EVENT||s.type===mt.ACK)&&rf.hasBinary(s)?(s.type=s.type===mt.EVENT?mt.BINARY_EVENT:mt.BINARY_ACK,this.encodeAsBinary(s)):[this.encodeAsString(s)]}encodeAsString(s){let f=""+s.type;return(s.type===mt.BINARY_EVENT||s.type===mt.BINARY_ACK)&&(f+=s.attachments+"-"),s.nsp&&s.nsp!=="/"&&(f+=s.nsp+","),s.id!=null&&(f+=s.id),s.data!=null&&(f+=JSON.stringify(s.data)),To("encoded %j as %s",s,f),f}encodeAsBinary(s){let f=nf.deconstructPacket(s),v=this.encodeAsString(f.packet),_=f.buffers;return _.unshift(v),_}};un.Encoder=sf;var es=class extends e$.Emitter{constructor(){super()}add(s){let f;if(typeof s=="string")f=this.decodeString(s),f.type===mt.BINARY_EVENT||f.type===mt.BINARY_ACK?(this.reconstructor=new of(f),f.attachments===0&&super.emitReserved("decoded",f)):super.emitReserved("decoded",f);else if(rf.isBinary(s)||s.base64)if(this.reconstructor)f=this.reconstructor.takeBinaryData(s),f&&(this.reconstructor=null,super.emitReserved("decoded",f));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+s)}decodeString(s){let f=0,v={type:Number(s.charAt(0))};if(mt[v.type]===void 0)throw new Error("unknown packet type "+v.type);if(v.type===mt.BINARY_EVENT||v.type===mt.BINARY_ACK){let j=f+1;for(;s.charAt(++f)!=="-"&&f!=s.length;);let K=s.substring(j,f);if(K!=Number(K)||s.charAt(f)!=="-")throw new Error("Illegal attachments");v.attachments=Number(K)}if(s.charAt(f+1)==="/"){let j=f+1;for(;++f&&!(s.charAt(f)===","||f===s.length););v.nsp=s.substring(j,f)}else v.nsp="/";let _=s.charAt(f+1);if(_!==""&&Number(_)==_){let j=f+1;for(;++f;){let K=s.charAt(f);if(K==null||Number(K)!=K){--f;break}if(f===s.length)break}v.id=Number(s.substring(j,f+1))}if(s.charAt(++f)){let j=n$(s.substr(f));if(es.isPayloadValid(v.type,j))v.data=j;else throw new Error("invalid payload")}return To("decoded %s as %j",s,v),v}static isPayloadValid(s,f){switch(s){case mt.CONNECT:return typeof f=="object";case mt.DISCONNECT:return f===void 0;case mt.CONNECT_ERROR:return typeof f=="string"||typeof f=="object";case mt.EVENT:case mt.BINARY_EVENT:return Array.isArray(f)&&f.length>0;case mt.ACK:case mt.BINARY_ACK:return Array.isArray(f)}}destroy(){this.reconstructor&&this.reconstructor.finishedReconstruction()}};un.Decoder=es;function n$(c){try{return JSON.parse(c)}catch{return!1}}var of=class{constructor(s){this.packet=s,this.buffers=[],this.reconPack=s}takeBinaryData(s){if(this.buffers.push(s),this.buffers.length===this.reconPack.attachments){let f=nf.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),f}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}});var ko=we(ns=>{"use strict";Object.defineProperty(ns,"__esModule",{value:!0});ns.on=void 0;function r$(c,s,f){return c.on(s,f),function(){c.off(s,f)}}ns.on=r$});var Oo=we(xr=>{"use strict";var i$=xr&&xr.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(xr,"__esModule",{value:!0});xr.Socket=void 0;var Zt=ts(),rs=ko(),s$=zn(),o$=i$(Qr()),Nt=o$.default("socket.io-client:socket"),a$=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1}),af=class extends s$.Emitter{constructor(s,f,v){super();this.connected=!1,this.disconnected=!0,this.receiveBuffer=[],this.sendBuffer=[],this.ids=0,this.acks={},this.flags={},this.io=s,this.nsp=f,v&&v.auth&&(this.auth=v.auth),this.io._autoConnect&&this.open()}subEvents(){if(this.subs)return;let s=this.io;this.subs=[rs.on(s,"open",this.onopen.bind(this)),rs.on(s,"packet",this.onpacket.bind(this)),rs.on(s,"error",this.onerror.bind(this)),rs.on(s,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...s){return s.unshift("message"),this.emit.apply(this,s),this}emit(s,...f){if(a$.hasOwnProperty(s))throw new Error('"'+s+'" is a reserved event name');f.unshift(s);let v={type:Zt.PacketType.EVENT,data:f};if(v.options={},v.options.compress=this.flags.compress!==!1,typeof f[f.length-1]=="function"){let K=this.ids++;Nt("emitting packet with ack id %d",K);let fe=f.pop();this._registerAckCallback(K,fe),v.id=K}let _=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!_||!this.connected)?Nt("discard packet as the transport is not currently writable"):this.connected?this.packet(v):this.sendBuffer.push(v),this.flags={},this}_registerAckCallback(s,f){let v=this.flags.timeout;if(v===void 0){this.acks[s]=f;return}let _=this.io.setTimeoutFn(()=>{delete this.acks[s];for(let j=0;j<this.sendBuffer.length;j++)this.sendBuffer[j].id===s&&(Nt("removing packet with ack id %d from the buffer",s),this.sendBuffer.splice(j,1));Nt("event with ack id %d has timed out after %d ms",s,v),f.call(this,new Error("operation has timed out"))},v);this.acks[s]=(...j)=>{this.io.clearTimeoutFn(_),f.apply(this,[null,...j])}}packet(s){s.nsp=this.nsp,this.io._packet(s)}onopen(){Nt("transport is open - connecting"),typeof this.auth=="function"?this.auth(s=>{this.packet({type:Zt.PacketType.CONNECT,data:s})}):this.packet({type:Zt.PacketType.CONNECT,data:this.auth})}onerror(s){this.connected||this.emitReserved("connect_error",s)}onclose(s){Nt("close (%s)",s),this.connected=!1,this.disconnected=!0,delete this.id,this.emitReserved("disconnect",s)}onpacket(s){if(s.nsp===this.nsp)switch(s.type){case Zt.PacketType.CONNECT:if(s.data&&s.data.sid){let _=s.data.sid;this.onconnect(_)}else this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Zt.PacketType.EVENT:this.onevent(s);break;case Zt.PacketType.BINARY_EVENT:this.onevent(s);break;case Zt.PacketType.ACK:this.onack(s);break;case Zt.PacketType.BINARY_ACK:this.onack(s);break;case Zt.PacketType.DISCONNECT:this.ondisconnect();break;case Zt.PacketType.CONNECT_ERROR:this.destroy();let v=new Error(s.data.message);v.data=s.data.data,this.emitReserved("connect_error",v);break}}onevent(s){let f=s.data||[];Nt("emitting event %j",f),s.id!=null&&(Nt("attaching ack callback to event"),f.push(this.ack(s.id))),this.connected?this.emitEvent(f):this.receiveBuffer.push(Object.freeze(f))}emitEvent(s){if(this._anyListeners&&this._anyListeners.length){let f=this._anyListeners.slice();for(let v of f)v.apply(this,s)}super.emit.apply(this,s)}ack(s){let f=this,v=!1;return function(..._){v||(v=!0,Nt("sending ack %j",_),f.packet({type:Zt.PacketType.ACK,id:s,data:_}))}}onack(s){let f=this.acks[s.id];typeof f=="function"?(Nt("calling ack %s with %j",s.id,s.data),f.apply(this,s.data),delete this.acks[s.id]):Nt("bad ack %s",s.id)}onconnect(s){Nt("socket connected with id %s",s),this.id=s,this.connected=!0,this.disconnected=!1,this.emitBuffered(),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(s=>this.emitEvent(s)),this.receiveBuffer=[],this.sendBuffer.forEach(s=>this.packet(s)),this.sendBuffer=[]}ondisconnect(){Nt("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(s=>s()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&(Nt("performing disconnect (%s)",this.nsp),this.packet({type:Zt.PacketType.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(s){return this.flags.compress=s,this}get volatile(){return this.flags.volatile=!0,this}timeout(s){return this.flags.timeout=s,this}onAny(s){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(s),this}prependAny(s){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(s),this}offAny(s){if(!this._anyListeners)return this;if(s){let f=this._anyListeners;for(let v=0;v<f.length;v++)if(s===f[v])return f.splice(v,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}};xr.Socket=af});var cf=we((Um,uf)=>{uf.exports=Mr;function Mr(c){c=c||{},this.ms=c.min||100,this.max=c.max||1e4,this.factor=c.factor||2,this.jitter=c.jitter>0&&c.jitter<=1?c.jitter:0,this.attempts=0}Mr.prototype.duration=function(){var c=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var s=Math.random(),f=Math.floor(s*this.jitter*c);c=(Math.floor(s*10)&1)==0?c-f:c+f}return Math.min(c,this.max)|0};Mr.prototype.reset=function(){this.attempts=0};Mr.prototype.setMin=function(c){this.ms=c};Mr.prototype.setMax=function(c){this.max=c};Mr.prototype.setJitter=function(c){this.jitter=c}});var df=we(Qt=>{"use strict";var u$=Qt&&Qt.__createBinding||(Object.create?function(c,s,f,v){v===void 0&&(v=f),Object.defineProperty(c,v,{enumerable:!0,get:function(){return s[f]}})}:function(c,s,f,v){v===void 0&&(v=f),c[v]=s[f]}),c$=Qt&&Qt.__setModuleDefault||(Object.create?function(c,s){Object.defineProperty(c,"default",{enumerable:!0,value:s})}:function(c,s){c.default=s}),f$=Qt&&Qt.__importStar||function(c){if(c&&c.__esModule)return c;var s={};if(c!=null)for(var f in c)f!=="default"&&Object.prototype.hasOwnProperty.call(c,f)&&u$(s,c,f);return c$(s,c),s},lf=Qt&&Qt.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(Qt,"__esModule",{value:!0});Qt.Manager=void 0;var ff=Gc(),l$=Oo(),h$=f$(ts()),Xn=ko(),d$=lf(cf()),p$=zn(),v$=lf(Qr()),St=v$.default("socket.io-client:manager"),hf=class extends p$.Emitter{constructor(s,f){var v;super();this.nsps={},this.subs=[],s&&typeof s=="object"&&(f=s,s=void 0),f=f||{},f.path=f.path||"/socket.io",this.opts=f,ff.installTimerFunctions(this,f),this.reconnection(f.reconnection!==!1),this.reconnectionAttempts(f.reconnectionAttempts||1/0),this.reconnectionDelay(f.reconnectionDelay||1e3),this.reconnectionDelayMax(f.reconnectionDelayMax||5e3),this.randomizationFactor((v=f.randomizationFactor)!==null&&v!==void 0?v:.5),this.backoff=new d$.default({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(f.timeout==null?2e4:f.timeout),this._readyState="closed",this.uri=s;let _=f.parser||h$;this.encoder=new _.Encoder,this.decoder=new _.Decoder,this._autoConnect=f.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(s){return arguments.length?(this._reconnection=!!s,this):this._reconnection}reconnectionAttempts(s){return s===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=s,this)}reconnectionDelay(s){var f;return s===void 0?this._reconnectionDelay:(this._reconnectionDelay=s,(f=this.backoff)===null||f===void 0||f.setMin(s),this)}randomizationFactor(s){var f;return s===void 0?this._randomizationFactor:(this._randomizationFactor=s,(f=this.backoff)===null||f===void 0||f.setJitter(s),this)}reconnectionDelayMax(s){var f;return s===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=s,(f=this.backoff)===null||f===void 0||f.setMax(s),this)}timeout(s){return arguments.length?(this._timeout=s,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(s){if(St("readyState %s",this._readyState),~this._readyState.indexOf("open"))return this;St("opening %s",this.uri),this.engine=new ff.Socket(this.uri,this.opts);let f=this.engine,v=this;this._readyState="opening",this.skipReconnect=!1;let _=Xn.on(f,"open",function(){v.onopen(),s&&s()}),j=Xn.on(f,"error",K=>{St("error"),v.cleanup(),v._readyState="closed",this.emitReserved("error",K),s?s(K):v.maybeReconnectOnOpen()});if(this._timeout!==!1){let K=this._timeout;St("connect attempt will timeout after %d",K),K===0&&_();let fe=this.setTimeoutFn(()=>{St("connect attempt timed out after %d",K),_(),f.close(),f.emit("error",new Error("timeout"))},K);this.opts.autoUnref&&fe.unref(),this.subs.push(function(){clearTimeout(fe)})}return this.subs.push(_),this.subs.push(j),this}connect(s){return this.open(s)}onopen(){St("open"),this.cleanup(),this._readyState="open",this.emitReserved("open");let s=this.engine;this.subs.push(Xn.on(s,"ping",this.onping.bind(this)),Xn.on(s,"data",this.ondata.bind(this)),Xn.on(s,"error",this.onerror.bind(this)),Xn.on(s,"close",this.onclose.bind(this)),Xn.on(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(s){this.decoder.add(s)}ondecoded(s){this.emitReserved("packet",s)}onerror(s){St("error",s),this.emitReserved("error",s)}socket(s,f){let v=this.nsps[s];return v||(v=new l$.Socket(this,s,f),this.nsps[s]=v),v}_destroy(s){let f=Object.keys(this.nsps);for(let v of f)if(this.nsps[v].active){St("socket %s is still active, skipping close",v);return}this._close()}_packet(s){St("writing packet %j",s);let f=this.encoder.encode(s);for(let v=0;v<f.length;v++)this.engine.write(f[v],s.options)}cleanup(){St("cleanup"),this.subs.forEach(s=>s()),this.subs.length=0,this.decoder.destroy()}_close(){St("disconnect"),this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(s){St("closed due to %s",s),this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",s),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let s=this;if(this.backoff.attempts>=this._reconnectionAttempts)St("reconnect failed"),this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{let f=this.backoff.duration();St("will wait %dms before reconnect attempt",f),this._reconnecting=!0;let v=this.setTimeoutFn(()=>{s.skipReconnect||(St("attempting reconnect"),this.emitReserved("reconnect_attempt",s.backoff.attempts),!s.skipReconnect&&s.open(_=>{_?(St("reconnect attempt error"),s._reconnecting=!1,s.reconnect(),this.emitReserved("reconnect_error",_)):(St("reconnect success"),s.onreconnect())}))},f);this.opts.autoUnref&&v.unref(),this.subs.push(function(){clearTimeout(v)})}}onreconnect(){let s=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",s)}};Qt.Manager=hf});var $f=we((xt,gf)=>{"use strict";var g$=xt&&xt.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(xt,"__esModule",{value:!0});xt.default=xt.connect=xt.io=xt.Socket=xt.Manager=xt.protocol=void 0;var $$=oc(),is=df();Object.defineProperty(xt,"Manager",{enumerable:!0,get:function(){return is.Manager}});var vf=Oo();Object.defineProperty(xt,"Socket",{enumerable:!0,get:function(){return vf.Socket}});var m$=g$(Qr()),pf=m$.default("socket.io-client"),ri={};function Yn(c,s){typeof c=="object"&&(s=c,c=void 0),s=s||{};let f=$$.url(c,s.path||"/socket.io"),v=f.source,_=f.id,j=f.path,K=ri[_]&&j in ri[_].nsps,fe=s.forceNew||s["force new connection"]||s.multiplex===!1||K,ue;return fe?(pf("ignoring socket cache for %s",v),ue=new is.Manager(v,s)):(ri[_]||(pf("new io instance for %s",v),ri[_]=new is.Manager(v,s)),ue=ri[_]),f.query&&!s.query&&(s.query=f.queryKey),ue.socket(f.path,s)}xt.io=Yn;xt.connect=Yn;xt.default=Yn;Object.assign(Yn,{Manager:is.Manager,Socket:vf.Socket,io:Yn,connect:Yn});var y$=ts();Object.defineProperty(xt,"protocol",{enumerable:!0,get:function(){return y$.protocol}});gf.exports=Yn});var mf=we(()=>{var b$=jn(),xo=$f(),C$=window.___browserSync___.socketConfig,E$=window.___browserSync___.socketUrl,gn=xo(E$,C$);b$.module("bsSocket",[]).service("Socket",["$q","$rootScope",w$]);function w$(c,s){var f=c.defer(),v;gn.on("connection",function(j){if(v=j.session,s.$emit("ui:connection",j),f.resolve(j,this),window.name==="")window.name=JSON.stringify({id:xo.id});else{var K=JSON.parse(window.name);K.id,xo.id}}),gn.on("disconnect",function(){s.$emit("ui:disconnect")});var _={on:function(j,K){gn.on(j,K)},off:function(j,K){gn.off(j,K)},removeEvent:function(j,K){gn.removeListener(j,K)},emit:function(j,K){gn.emit(j,K||{})},clientEvent:function(j,K){gn.emit("ui:client:proxy",{event:j,data:K})},options:function(){return f.promise},getData:function(j){var K=c.defer();return gn.on("ui:receive:"+j,function(fe){K.resolve(fe)}),gn.emit("ui:get:"+j),K.promise},uiEvent:function(j){gn.emit("ui",j)},newSession:function(){}};return Object.defineProperty(_,"sessionId",{get:function(){return v}}),_}});var Pr=we((Hm,yf)=>{yf.exports=window.angular.module("BrowserSync")});var bf=we(()=>{var A$=Pr();A$.service("Pages",["pagesConfig","$location",S$]);function S$(c,s){return{enable:function(f){return angular.forEach(c,function(v){v.active=!1}),f.active=!0,c},transform:function(f,v){if(typeof v=="function")return f=v(f);throw new TypeError("Noooo")},current:function(){if(s.path()==="/")return c.overview;var f;return angular.forEach(c,function(v){v.path===s.path()&&(f=v)}),f}}}});var Cf=we(()=>{var _$=Pr();_$.factory("Options",["Socket",T$]);function T$(c){return{all:function(){return c.getData("options")}}}});var wf=we((Mo,Ef)=>{"use strict";(function(c,s){typeof define=="function"&&define.amd?define([],s):typeof Mo=="object"?Ef.exports=s():c.store=s()})(Mo,function(){var c={},s=typeof window<"u"?window:global,f=s.document,v="localStorage",_="script",j;c.disabled=!1,c.version="1.3.20",c.set=function(se,ge){},c.get=function(se,ge){},c.has=function(se){return c.get(se)!==void 0},c.remove=function(se){},c.clear=function(){},c.transact=function(se,ge,B){B==null&&(B=ge,ge=null),ge==null&&(ge={});var M=c.get(se,ge);B(M),c.set(se,M)},c.getAll=function(){},c.forEach=function(){},c.serialize=function(se){return JSON.stringify(se)},c.deserialize=function(se){if(typeof se=="string")try{return JSON.parse(se)}catch{return se||void 0}};function K(){try{return v in s&&s[v]}catch{return!1}}if(K())j=s[v],c.set=function(se,ge){return ge===void 0?c.remove(se):(j.setItem(se,c.serialize(ge)),ge)},c.get=function(se,ge){var B=c.deserialize(j.getItem(se));return B===void 0?ge:B},c.remove=function(se){j.removeItem(se)},c.clear=function(){j.clear()},c.getAll=function(){var se={};return c.forEach(function(ge,B){se[ge]=B}),se},c.forEach=function(se){for(var ge=0;ge<j.length;ge++){var B=j.key(ge);se(B,c.get(B))}};else if(f&&f.documentElement.addBehavior){var fe,ue;try{ue=new ActiveXObject("htmlfile"),ue.open(),ue.write("<"+_+">document.w=window</"+_+'><iframe src="/favicon.ico"></iframe>'),ue.close(),fe=ue.w.frames[0].document,j=fe.createElement("div")}catch{j=f.createElement("div"),fe=f.body}var Te=function(se){return function(){var ge=Array.prototype.slice.call(arguments,0);ge.unshift(j),fe.appendChild(j),j.addBehavior("#default#userData"),j.load(v);var B=se.apply(c,ge);return fe.removeChild(j),B}},k=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g"),w=function(se){return se.replace(/^d/,"___$&").replace(k,"___")};c.set=Te(function(se,ge,B){return ge=w(ge),B===void 0?c.remove(ge):(se.setAttribute(ge,c.serialize(B)),se.save(v),B)}),c.get=Te(function(se,ge,B){ge=w(ge);var M=c.deserialize(se.getAttribute(ge));return M===void 0?B:M}),c.remove=Te(function(se,ge){ge=w(ge),se.removeAttribute(ge),se.save(v)}),c.clear=Te(function(se){var ge=se.XMLDocument.documentElement.attributes;se.load(v);for(var B=ge.length-1;B>=0;B--)se.removeAttribute(ge[B].name);se.save(v)}),c.getAll=function(se){var ge={};return c.forEach(function(B,M){ge[B]=M}),ge},c.forEach=Te(function(se,ge){for(var B=se.XMLDocument.documentElement.attributes,M=0,G;G=B[M];++M)ge(G.name,c.deserialize(se.getAttribute(G.name)))})}try{var Z="__storejs__";c.set(Z,Z),c.get(Z)!=Z&&(c.disabled=!0),c.remove(Z)}catch{c.disabled=!0}return c.enabled=!c.disabled,c})});var Sf=we((Af,ss)=>{(function(c,s){"use strict";typeof ss=="object"&&typeof ss.exports=="object"?ss.exports=s():typeof define=="function"&&define.amd?define([],s):c.objectPath=s()})(Af,function(){"use strict";var c=Object.prototype.toString;function s(k,w){return k==null?!1:Object.prototype.hasOwnProperty.call(k,w)}function f(k){if(!k||j(k)&&k.length===0)return!0;if(typeof k!="string"){for(var w in k)if(s(k,w))return!1;return!0}return!1}function v(k){return c.call(k)}function _(k){return typeof k=="object"&&v(k)==="[object Object]"}var j=Array.isArray||function(k){return c.call(k)==="[object Array]"};function K(k){return typeof k=="boolean"||v(k)==="[object Boolean]"}function fe(k){var w=parseInt(k);return w.toString()===k?w:k}function ue(k){k=k||{};var w=function(B){return Object.keys(w).reduce(function(M,G){return G==="create"||typeof w[G]=="function"&&(M[G]=w[G].bind(w,B)),M},{})},Z;k.includeInheritedProps?Z=function(){return!0}:Z=function(B,M){return typeof M=="number"&&Array.isArray(B)||s(B,M)};function se(B,M){if(Z(B,M))return B[M]}function ge(B,M,G,X){if(typeof M=="number"&&(M=[M]),!M||M.length===0)return B;if(typeof M=="string")return ge(B,M.split(".").map(fe),G,X);var ce=M[0],xe=se(B,ce);if(k.includeInheritedProps&&(ce==="__proto__"||ce==="constructor"&&typeof xe=="function"))throw new Error("For security reasons, object's magic properties cannot be set");return M.length===1?((xe===void 0||!X)&&(B[ce]=G),xe):(xe===void 0&&(typeof M[1]=="number"?B[ce]=[]:B[ce]={}),ge(B[ce],M.slice(1),G,X))}return w.has=function(B,M){if(typeof M=="number"?M=[M]:typeof M=="string"&&(M=M.split(".")),!M||M.length===0)return!!B;for(var G=0;G<M.length;G++){var X=fe(M[G]);if(typeof X=="number"&&j(B)&&X<B.length||(k.includeInheritedProps?X in Object(B):s(B,X)))B=B[X];else return!1}return!0},w.ensureExists=function(B,M,G){return ge(B,M,G,!0)},w.set=function(B,M,G,X){return ge(B,M,G,X)},w.insert=function(B,M,G,X){var ce=w.get(B,M);X=~~X,j(ce)||(ce=[],w.set(B,M,ce)),ce.splice(X,0,G)},w.empty=function(B,M){if(!f(M)&&B!=null){var G,X;if(!!(G=w.get(B,M))){if(typeof G=="string")return w.set(B,M,"");if(K(G))return w.set(B,M,!1);if(typeof G=="number")return w.set(B,M,0);if(j(G))G.length=0;else if(_(G))for(X in G)Z(G,X)&&delete G[X];else return w.set(B,M,null)}}},w.push=function(B,M){var G=w.get(B,M);j(G)||(G=[],w.set(B,M,G)),G.push.apply(G,Array.prototype.slice.call(arguments,2))},w.coalesce=function(B,M,G){for(var X,ce=0,xe=M.length;ce<xe;ce++)if((X=w.get(B,M[ce]))!==void 0)return X;return G},w.get=function(B,M,G){if(typeof M=="number"&&(M=[M]),!M||M.length===0)return B;if(B==null)return G;if(typeof M=="string")return w.get(B,M.split("."),G);var X=fe(M[0]),ce=se(B,X);return ce===void 0?G:M.length===1?ce:w.get(B[X],M.slice(1),G)},w.del=function(M,G){if(typeof G=="number"&&(G=[G]),M==null||f(G))return M;if(typeof G=="string")return w.del(M,G.split("."));var X=fe(G[0]);if(!Z(M,X))return M;if(G.length===1)j(M)?M.splice(X,1):delete M[X];else return w.del(M[X],G.slice(1));return M},w}var Te=ue();return Te.create=ue,Te.withInheritedProps=ue({includeInheritedProps:!0}),Te})});var _f=we(()=>{var k$=jn(),$n=wf(),O$=Sf();k$.module("bsStore",[]).service("Store",["$q","$rootScope",M$]);function x$(c){var s=$n.get("bs",{});Object.keys(s).length||$n.set("bs",{}),this.ns=c,this.get=function(f){var v=$n.get("bs",{});return Object.keys(v).length||$n.set("bs",{}),O$.get(v,[c].concat(f).join("."))},this.set=function(f,v){var _=$n.get("bs",{});Object.keys(_).length||$n.set("bs",{}),_[c]||(_[c]={}),_[c][f]=v,$n.set("bs",_)},this.remove=function(f){var v=$n.get("bs",{});Object.keys(v).length||$n.set("bs",{}),v[c]||(v[c]={}),v[c][f]&&delete v[c][f],$n.set("bs",v)}}function M$(){return{create:function(c){var s=new x$(c);return s}}}});var Tf=we(()=>{var P$=Pr();P$.controller("MainController",["$scope","$rootScope","$location","$injector",R$]);function R$(c,s,f,v){var _=this;_.options=!1,_.browsers=[],_.socketId="";var j=v.get("pagesConfig"),K=v.get("Pages"),fe=v.get("Socket"),ue=v.get("Clients");_.ui={menu:j,sectionMenu:!1,disconnected:!1},_.setActiveSection=function(Te){K.enable(Te),f.path(Te.path),_.ui.sectionMenu=!1},_.reloadAll=function(){ue.reloadAll(),s.$emit("notify:flash",{heading:"Instruction sent:",message:"Reload All Browsers \u2714"})},_.scrollAllTo=function(){ue.scrollAllTo(0),s.$emit("notify:flash",{heading:"Instruction sent:",message:"Scroll all browsers to Y=0 \u2714"})},_.sendAllTo=function(Te){ue.sendAllTo(Te),s.$emit("notify:flash",{heading:"Instruction sent:",message:"Reset all Browsers to /"})},_.toggleMenu=function(){_.ui.sectionMenu=!_.ui.sectionMenu},_.socketEvents={connection:function(Te){_.update(Te)},disconnect:function(){_.ui.disconnected=!0}},_.update=function(Te){_.options=F$(Te),_.ui.disconnected=!1,K.transform(j.overview,function(k){return k})},_.setActiveSection(K.current()),fe.options().then(_.socketEvents.connection),s.$on("ui:disconnect",_.socketEvents.disconnect),s.$on("ui:connection",function(Te,k){_.socketEvents.connection(k),c.$digest()})}function F$(c){return c.displayUrl=D$(c.urls),c}function D$(c){return c?c.external||c.local:!1}});var Of=we((Qm,kf)=>{kf.exports={ucfirst:function(c){return c.charAt(0).toUpperCase()+c.slice(1)},localRootUrl:function(c,s){return[s,"://",window.location.hostname,":",c].join("")},localUrl:function(c,s,f){return f==="snippet"?c:["//",window.location.hostname,":",s,c].join("")},orderObjectBy:function(c,s,f){var v=[];return Object.keys(c).forEach(function(_){v.push(c[_])}),v.sort(function(_,j){return _[s]>j[s]?1:-1}),f&&v.reverse(),v}}});var xf=we((ey,Po)=>{var Po=Pr(),os=Of();Po.filter("ucfirst",function(){return os.ucfirst}).filter("localRootUrl",function(){return os.localRootUrl}).filter("localUrl",function(){return os.localRootUrl}).filter("orderObjectBy",function(){return os.orderObjectBy})});var Pf=we((ty,Mf)=>{Mf.exports=function(){return{scope:{icon:"@"},restrict:"E",replace:!0,template:'<svg bs-svg-icon><use xlink:href="{{iconName}}"></use></svg>',link:function(c,s,f){return c.iconName="#svg-"+c.icon,c}}}});var Ff=we((ny,Rf)=>{Rf.exports=function(){return{restrict:"E",replace:!1,transclude:!0,scope:{path:"@"},template:"<a href='#' ng-click='navi(path)' ng-transclude=''>as</a>",controller:["$scope","$location","$injector",function(c,s,f){var v=f.get("pagesConfig"),_=f.get("Pages");c.navi=function(j){var K=v[j];_.enable(K),s.path(j)}}]}}});var Lf=we((ry,Df)=>{Df.exports=function(){return{scope:{toggle:"&",item:"=",switchid:"@",title:"@",tagline:"@",active:"=",prop:"@"},restrict:"E",replace:!0,transclude:!0,templateUrl:"bs-switch.html",controllerAs:"ctrl",controller:["$scope",function(c){var s=this;s.item=c.item}]}}});var Nf=we((iy,If)=>{If.exports=function(){return{scope:{url:"@",mode:"@"},restrict:"E",replace:!0,template:`<a href="{{url}}" bs-button="subtle-alt icon" target="_blank" title="Open a new tab" ng-show="mode !== 'snippet'"><icon icon="newtab"></icon> New Tab </a>`}}});var qf=we((sy,Rr)=>{var Rr=Pr();Rr.directive("icon",Pf());Rr.directive("linkTo",Ff());Rr.directive("switch",Lf());Rr.directive("newTab",Nf())});Nu();Bu();Hu();Gu();var L$=window.angular;L$.module("BrowserSync",["bsHistory","bsClients","bsDisconnect","bsNotify","bsSocket","bsStore","ngRoute","ngTouch","ngSanitize"]).config(["$locationProvider",I$]);function I$(c){c.html5Mode({enabled:!0,requireBase:!1})}var oy=Yu(),ay=Ju(),uy=Ku(),cy=Zu(),fy=mf(),ly=bf(),hy=Cf(),dy=_f(),py=Tf(),vy=xf(),gy=qf();})(); |
|
/** |
|
* @license AngularJS v1.8.2 |
|
* (c) 2010-2020 Google LLC. http://angularjs.org |
|
* License: MIT |
|
*/
|
|
|