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.
30 lines
275 KiB
30 lines
275 KiB
2 years ago
|
(()=>{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
|
||
|
`+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
|
||
|
`,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++]]
|
||
|
`),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(G
|
||
|
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
|
||
|
`+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,altern
|
||
|
`+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.A
|
||
|
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')}}fu
|
||
|
<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]})
|
||
|
/**
|
||
|
* @license AngularJS v1.8.2
|
||
|
* (c) 2010-2020 Google LLC. http://angularjs.org
|
||
|
* License: MIT
|
||
|
*/
|